Use copysign instead of ternary conditions for positive constants
[glibc.git] / ChangeLog
blob7f51edd866706ab4e6aa9a70f501729603ecb8a8
1 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
4         instead of ternary condition.
5         (do_sin_slow): Likewise.
6         (do_sincos_1): Likewise.
7         (do_sincos_2): Likewise.
8         (__cos): Likewise.
9         (sloww): Likewise.
10         (sloww1): Likewise.
11         (sloww2): Likewise.
12         (bsloww): Likewise.
13         (bsloww1): Likewise.
14         (bsloww2): Likewise.
16         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
17         check from here...
18         (slow2): ... and here...
19         (__sin): ... to here.
21 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
23         * math/math.h
24         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
25         Cast argument to its own type.
26         * math/test-iszero-excess-precision.c: New file.
27         * math/Makefile (tests): Add test-iszero-excess-precision.
28         (CFLAGS-test-iszero-excess-precision.c): New variable.
30 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
32         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
33         field, add err field.
34         (__spawni_child): Report error through err member instead of pipe.
35         (__spawnix): Likewise.
37 2016-09-28  Zack Weinberg  <zackw@panix.com>
39         * scripts/check-installed-headers.sh: Generalize treatment of
40         sys/elf.h to all target architectures.
42         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
43         deleted typedef ucontext_t.
45 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
47         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
48         (__INTERNAL_SYSCALL1): Likewise.
49         (__INTERNAL_SYSCALL2): Likewise.
50         (__INTERNAL_SYSCALL3): Likewise.
51         (__INTERNAL_SYSCALL4): Likewise.
52         (__INTERNAL_SYSCALL5): Likewise.
53         (__INTERNAL_SYSCALL6): Likewise.
54         (__INTERNAL_SYSCALL7): Likewise.
55         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
56         (__INTERNAL_SYSCALL_NARGS): Likewise.
57         (__INTERNAL_SYSCALL_DISP): Likewise.
58         (INTERNAL_SYSCALL_CALL): Likewise.
59         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
60         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
61         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
62         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
63         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
64         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
65         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
66         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
67         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
68         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
69         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
70         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
71         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
73 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
75         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
76         macro.
77         * math/libm-test.inc (iszero_test_data): New array.
78         (iszero_test): New function.
79         (main): Call iszero_test.
80         * manual/arith.texi (Floating Point Classes): Document iszero.
81         * manual/libm-err-tab.pl: Update comment on interfaces without
82         ulps tabulated.
84 2016-09-23  Zack Weinberg  <zackw@panix.com>
86         * scripts/check-installed-headers.sh: New script.
87         * Rules: In each directory that defines header files to be installed,
88         run check-installed-headers.sh on them as a special test.
89         * Makefile: Likewise for the headers installed at top level.
91         * include/aliases.h, include/alloca.h, include/argz.h
92         * include/arpa/nameser.h, include/arpa/nameser_compat.h
93         * include/elf.h, include/envz.h, include/err.h
94         * include/execinfo.h, include/fpu_control.h, include/getopt.h
95         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
96         * include/link.h, include/malloc.h, include/mcheck.h
97         * include/mntent.h, include/netinet/ether.h
98         * include/nss.h, include/obstack.h, include/printf.h
99         * include/pty.h, include/resolv.h, include/rpc/auth.h
100         * include/rpc/auth_des.h, include/rpc/auth_unix.h
101         * include/rpc/clnt.h, include/rpc/des_crypt.h
102         * include/rpc/key_prot.h, include/rpc/netdb.h
103         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
104         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
105         * include/rpc/rpc_msg.h, include/rpc/svc.h
106         * include/rpc/svc_auth.h, include/rpc/xdr.h
107         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
108         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
109         * include/rpcsvc/ypupd.h, include/shadow.h
110         * include/stdio_ext.h, include/sys/epoll.h
111         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
112         * include/sys/prctl.h, include/sys/profil.h
113         * include/sys/statfs.h, include/sys/sysctl.h
114         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
115         * sysdeps/arm/nacl/include/bits/setjmp.h
116         * sysdeps/mips/include/sys/asm.h
117         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
118         * sysdeps/unix/sysv/linux/include/sys/timex.h
119         * sysdeps/x86/fpu/include/bits/fenv.h:
120         Add #ifndef _ISOMAC guard around internal declarations.
121         Add multiple-inclusion guard if not already present.
123 2016-09-23  Zack Weinberg  <zackw@panix.com>
125         * sysdeps/generic/sys/ucontext.h
126         * sysdeps/arm/sys/ucontext.h
127         * sysdeps/i386/sys/ucontext.h
128         * sysdeps/m68k/sys/ucontext.h
129         * sysdeps/mips/sys/ucontext.h
130         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
131         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
132         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
133         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
134         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
135         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
136         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
137         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
138         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
139         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
140         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
141         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
142         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
143         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
144         Include both bits/sigcontext.h and bits/sigstack.h.
145         Fix grammar error in comment, if present.
147         * bits/sigstack.h
148         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
149         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
150         * sysdeps/unix/sysv/linux/bits/sigstack.h
151         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
152         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
153         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
154         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
155         * bits/sigcontext.h
156         * sysdeps/mach/hurd/i386/bits/sigcontext.h
157         * sysdeps/unix/sysv/linux/bits/sigcontext.h
158         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
159         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
160         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
161         as well as signal.h, if this was not already allowed.  Request
162         definition of size_t if necessary.  Minimize semantically-null
163         differences across files.
165 2016-09-23  Zack Weinberg  <zackw@panix.com>
167         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
168         Remove all logic conditional on __need macros.  Move all the
169         conditionally defined types to their own headers...
170         * time/bits/types/clock_t.h: Define clock_t here.
171         * time/bits/types/clockid_t.h: Define clockid_t here.
172         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
173         * time/bits/types/struct_timespec.h: Define struct timespec here.
174         * time/bits/types/struct_timeval.h: Define struct timeval here.
175         * time/bits/types/struct_tm.h: Define struct tm here.
176         * time/bits/types/time_t.h: Define time_t here.
177         * time/bits/types/timer_t.h: Define timer_t here.
178         * time/Makefile: Install the new headers.
180         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
181         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
182         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
183         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
184         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
185         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
186         * sysdeps/unix/sysv/linux/bits/resource.h
187         * sysdeps/unix/sysv/linux/bits/timex.h
188         * sysdeps/unix/sysv/linux/mips/bits/resource.h
189         * sysdeps/unix/sysv/linux/net/ppp_defs.h
190         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
191         * sysdeps/unix/sysv/linux/sys/acct.h
192         * sysdeps/unix/sysv/linux/sys/timerfd.h
193         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
194         * time/sys/time.h, time/sys/timeb.h
195         Use the new bits/types headers.
197         * include/time.h: Remove __need logic.
198         * include/bits/time.h
199         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
200         * include/bits/types/time_t.h, include/bits/types/timer_t.h
201         * include/bits/types/struct_itimerspec.h
202         * include/bits/types/struct_timespec.h
203         * include/bits/types/struct_timeval.h
204         * include/bits/types/struct_tm.h:
205         New wrapper headers.
207 2016-09-23  Zack Weinberg  <zackw@panix.com>
209         * sysdeps/mach/hurd/net/if_ppp.h
210         * sysdeps/unix/sysv/linux/net/if_ppp.h:
211         Only define struct ifpppstatsreq and struct ifpppcstatsreq
212         if __USE_MISC is defined, to ensure struct ifreq is declared.
214         * inet/netinet/ether.h: Condition all function prototypes
215         on __USE_MISC, to ensure struct ether_addr is declared.
217         * socket/bits/types/struct_osockaddr.h: New header.
218         * include/bits/types/struct_osockaddr.h: New wrapper.
219         * socket/Makefile: Install the new header.
220         * socket/sys/socket.h, inet/protocols/talkd.h:
221         Refer to bits/types/struct_osockaddr.h for the definition of
222         struct osockaddr.
224 2016-09-23  Zack Weinberg  <zackw@panix.com>
226         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
227         * inet/protocols/routed.h, inet/protocols/talkd.h
228         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
229         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
230         * sysdeps/generic/netinet/if_ether.h
231         * sysdeps/generic/netinet/in_systm.h
232         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
233         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
234         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
235         * sysdeps/mach/hurd/net/if_arp.h
236         * sysdeps/mach/hurd/net/if_ppp.h
237         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
238         * sysdeps/unix/sysv/linux/bits/in.h
239         * sysdeps/unix/sysv/linux/net/ethernet.h
240         * sysdeps/unix/sysv/linux/net/if_arp.h
241         * sysdeps/unix/sysv/linux/net/if_ppp.h
242         * sysdeps/unix/sysv/linux/net/if_shaper.h
243         * sysdeps/unix/sysv/linux/net/route.h
244         * sysdeps/unix/sysv/linux/netinet/if_ether.h
245         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
246         * sysdeps/unix/sysv/linux/netinet/if_tr.h
247         * sysdeps/unix/sysv/linux/netipx/ipx.h
248         * sysdeps/unix/sysv/linux/sys/acct.h
249         * include/arpa/nameser.h, include/resolv.h:
250         Change all uses of u_char to unsigned char,
251         u_short and ushort to unsigned short, u_int and uint to unsigned int,
252         u_long and ulong to unsigned long, u_int8_t to uint8_t,
253         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
254         and u_int64_t and u_quad_t to uint64_t.
256         * mach/sys/reboot.h: Remove two casts of integer literals
257         to the types they already have.
259         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
260         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
261         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
262         from referring to 'unsigned char' to 'uint8_t' for consistency with
263         the macro definition below.
265         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
266         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
267         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
268         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
269         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
270         * sysdeps/unix/sysv/linux/sys/acct.h
271         * include/arpa/nameser.h, include/resolv.h:
272         Fix indentation disrupted by mechanical edits.
274         * inet/protocols/talkd.h, resolv/arpa/nameser.h
275         * sysdeps/generic/netinet/in_systm.h
276         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
277         * sysdeps/gnu/netinet/udp.h
278         * sysdeps/unix/sysv/linux/net/ethernet.h
279         * sysdeps/unix/sysv/linux/net/if_arp.h
280         * sysdeps/unix/sysv/linux/net/if_ppp.h
281         * sysdeps/unix/sysv/linux/net/if_shaper.h
282         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
283         * sysdeps/unix/sysv/linux/netinet/if_tr.h
284         * sysdeps/unix/sysv/linux/netipx/ipx.h
285         * sysdeps/unix/sysv/linux/sys/acct.h
286         Include stdint.h for uintNN_t definitions.
287         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
289 2016-09-23  Zack Weinberg  <zackw@panix.com>
291         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
292         * sysdeps/unix/sysv/linux/netrose/rose.h:
293         Include sys/socket.h and netax25/ax25.h.
295         * inet/netinet/icmp6.h, inet/netinet/ip6.h
296         * resolv/arpa/nameser_compat.h:
297         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
299         * sysdeps/unix/sysv/linux/sys/quota.h:
300         Use __caddr_t instead of caddr_t.
301         * sysdeps/unix/sysv/linux/sys/timerfd.h:
302         Use __clockid_t instead of clockid_t.
304         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
306         * argp/argp.h: Check whether _LIBC is defined before expanding it.
307         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
308         expanding it.
310         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
311         Define __glibc_c99_flexarr_available to 1 when the compiler
312         supports C99-compatible flexible array members, 0 otherwise.
313         * sysdeps/unix/sysv/linux/bits/socket.h
314         * sysdeps/mach/hurd/bits/socket.h
315         * bits/socket.h: Use __glibc_c99_flexarr_available in
316         definitions of struct cmsghdr and CMSG_DATA.
318 2016-09-23  Florian Weimer  <fweimer@redhat.com>
320         * manual/nss.texi (NSS Modules Interface): Adjust function return
321         type to enum nss_status.  Document errnop argument.  Clarify
322         h_errnop semantics.  Fix cross-reference formatting.
323         (NSS Module Function Internals): Mention that *errnop needs to be
324         set on failure, but not to zero.
326 2016-09-23  Florian Weimer  <fweimer@redhat.com>
328         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
329         (get_random_name): New functions.
330         (check_wrapper_flags_mode): Use linkat to give the new file a name
331         determined by get_random_name.
332         (do_test): Add calls to test open64 and openat64.
334 2016-09-23  Florian Weimer  <fweimer@redhat.com>
336         * test-skeleton.c: Remove #include <stdarg.h>.
338 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
340         [BZ #19826]
341         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
342         initialization of static TLS entries.
343         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
344         * nptl/allocatestack.c (init_one_static_tls): Likewise.
346 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
348         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
349         _hurd_malloc_fork_prepare.
350         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
351         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
352         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
353         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
354         (_hurd_fork_child_hook): Drop malloc_fork_child.
355         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
356         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
357         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
358         after locking locks (notably hurd_dtable_lock). Call
359         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
360         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
361         __malloc_fork_unlock_child.
362         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
364 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
366         * soft-fp/extendhftf2.c: New.
367         * soft-fp/fixhfti.c: Likewise.
368         * soft-fp/fixunshfti.c: Likewise.
369         * soft-fp/floattihf.c: Likewise.
370         * soft-fp/floatuntihf.c: Likewise.
371         * soft-fp/half.h: Likewise.
372         * soft-fp/trunctfhf2.c: Likewise.
374 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
376         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
377         macro.
378         * math/libm-test.inc (issubnormal_test_data): New array.
379         (issubnormal_test): New function.
380         * manual/arith.texi (Floating Point Classes): Document
381         issubnormal.
382         * manual/libm-err-tab.pl: Update comment on interfaces without
383         ulps tabulated.
385         * sysdeps/generic/stdint.h: Define
386         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
387         <bits/libc-header-start.h> instead of including <features.h>.
388         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
389         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
390         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
391         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
392         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
393         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
394         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
395         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
396         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
397         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
398         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
399         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
400         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
401         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
402         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
403         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
404         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
405         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
406         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
407         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
408         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
409         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
410         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
411         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
412         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
413         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
414         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
415         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
416         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
417         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
418         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
419         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
420         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
421         * manual/arith.texi (Integers): Document these macros for types
422         specified by width properties.
423         * manual/lang.texi (Width of Type): Document these macros for
424         other standard typedefs.
425         * stdlib/tst-width-stdint.c: New file.
426         * stdlib/Makefile (tests): Add tst-width-stdint.
428 2016-09-21  Florian Weimer  <fweimer@redhat.com>
430         [BZ #20016]
431         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
432         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
433         Move ...
434         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
435         ... here, as compatibility symbols in a new file.
436         * resolv/Makefile (libresolv-routines): Add compat-hooks.
437         * resolv/res_init.c (__res_vinit): Adjust member names.
438         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
439         * resolv/resolv.h (res_sendhookact, res_send_qhook)
440         (res_send_rhook): Remove.
441         (struct __res_state): Rename qhook, rhook members.
443 2016-09-21  Florian Weimer  <fweimer@redhat.com>
445         malloc: Use __libc_lock wrappers.
446         * malloc/arena.c (list_lock, free_list_lock): Define using
447         __libc_lock_define_initialized.
448         (arena_lock): Adjust formatting.
449         * malloc/malloc.c (struct malloc_state): Define mutex using
450         __libc_lock_define.
451         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
452         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
453         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
454         (mutex_unlock, mutex_trylock): Remove.
455         (__pthread_initialize): Remove unused macro.
456         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
457         (mutex_unlock, mutex_trylock): Remove.
459 2016-09-21  Florian Weimer  <fweimer@redhat.com>
461         [BZ #20592]
462         Remove RR type classification macros.
463         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
464         (ns_t_udp_p, ns_t_xfr_p): Remove.
466 2016-09-21  Florian Weimer  <fweimer@redhat.com>
468         Remove misleading version information.
469         * resolv/arpa/nameser.h (__NAMESER): Remove.
470         * resolv/arpa/nameser_compat.h (__BIND): Remove.
472 2016-09-21  Florian Weimer  <fweimer@redhat.com>
474         Remove the always-defined BIND_4_COMPAT macro.
475         * resolv/arpa/nameser.h: Unconditionally include
476         <arpa/nameser_compat.h>.
477         (BIND_4_COMPAT): Remove.
478         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
480 2016-09-21  Florian Weimer  <fweimer@redhat.com>
482         [BZ #20591]
483         Remove obsolete DNSSEC support.
484         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
485         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
486         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
487         (ns_verify_tcp, ns_verify_tcp_init): Remove.
488         (ns_cert_types): Add comment.
489         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
490         separately.
491         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
492         (dst_s_dns_key_id): Remove.
493         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
494         variables.
496 2016-09-21  Florian Weimer  <fweimer@redhat.com>
498         [BZ #20524]
499         * manual/string.texi (String/Array Comparison): Clarify the
500         strverscmp behavior.
502 2016-09-21  Florian Weimer  <fweimer@redhat.com>
504         * test-skeleton.c (xasprintf): Add function.
505         * io/tst-open-tmpfile.c: New test.
506         * io/Makefile (tests): Add it.
508 2016-09-21  Florian Weimer  <fweimer@redhat.com>
510         Avoid running $(CXX) during build to obtain header file paths.
511         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
512         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
513         * Makerules (cstdlib, cmath): Remove variables.  Use
514         $(c++-cstdlib-header), $(c++-cmath-header) instead.
515         * configure: Regenerate.
517 2016-09-21  Florian Weimer  <fweimer@redhat.com>
519         * Makeconfig (all-object-suffixes): Include .op only if
520         $(build-profile).
522 2016-09-21  Florian Weimer  <fweimer@redhat.com>
524         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
525         conditionals.  Do not define PATH_MAX.
527 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
529         * posix/Makefile (tests): Add tst-spawn3.
530         * posix/tst-spawn3.c: New file.
531         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
532         if it is already opened for open action.
534         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
535         all signals when executing the clone vfork child.
536         (SIGALL_SET): Remove macro.
538         * nptl/Makefile (tests): Add tst-exec5.
539         * nptl/tst-exec5.c: New file.
540         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
541         asynchronous cancellation.
543 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
545         * hurd/exc2signal.c: #include <hurd/signal.h>
546         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
547         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
548         accordingly.
549         * mach/mach_error.c (mach_error): Fix old-style function definition.
550         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
552 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
554         * math/Makefile (libm-calls): Remove s_nanF.
555         (gen-libm-calls): Add s_nanF.
557         * math/s_nan.c: Refactor into ...
558         * math/s_nan_template.c: New file.
560         * math/s_nanf.c: Removed.
561         * math/s_nanl.c: Removed.
562         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
563         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
565         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
566         (LDOUBLE_nanl_libm_version): New macro.
568         * sysdeps/generic/math-type-macros-double.h:
569         (M_STRTO_NAN): New macro.
570         * sysdeps/generic/math-type-macros-float.h: Likewise.
571         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
573         * sysdeps/generic/math-type-macros.h: Document
574         M_STRTO_NAN.
576 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
578         * math/s_nanf.c: Remove __nanf undef.
579         * math/s_nan.c: Remove __nan undef.
580         * math/s_nanl.c: Remove __nanl undef.
582         * sysdeps/generic/math_private.h (__nan): Remove macro
583         override.
584         (__nanf): Likewise.
585         (__nanl): Likewise.
587 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
589         * math/Makefile (gen-all-calls): New variable.
590         (generated): Replace gen-libm-calls with gen-all-calls.
591         (gen-libm-templates.stmp): Likewise.  Also, ensure
592         the output directory exists or is created and add
593         dependency on the Makefile.
594         (calls): Move s_ldexpF into gen-calls.
595         (gen-calls): New variable.
597         * math/s_ldexpf.c: Removed.
598         * math/s_ldexpl.c: Removed.
599         * math/s_ldexp.c: Refactored into ...
600         * math/s_ldexp_template.c: New file.
602         * sysdeps/generic/math-type-macros-double.h: Remove
603         redundant fall-through definition of declare_mgen_alias.
604         (declare_mgen_alias_2): New macro.
606         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
607         New macro for function aliased to two exported symbols.
609         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
610         new template file.
611         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
613 2016-09-20  Florian Weimer  <fweimer@redhat.com>
615         * Makeconfig (all-object-suffixes): Remove .og.
616         * Makerules (elide-routines.og): Remove.
617         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
618         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
619         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
621 2016-09-20  Florian Weimer  <fweimer@redhat.com>
623         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
624         .os objects.
626 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
628         [BZ #20615]
629         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
630         fpu directory by non-fpu.
631         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
632         on non-fpu directory from a fpu directory.
634 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
636         * include/limits.h: Define
637         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
638         <bits/libc-header-start.h> instead of including <features.h>.
639         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
640         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
641         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
642         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
643         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
644         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
645         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
647         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
648         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
649         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
650         * manual/lang.texi (Width of Type): Document these macros.
651         * stdlib/tst-width.c: New file.
652         * stdlib/Makefile (tests): Add tst-width.
654 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
656         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
657         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
659 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
661         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
662         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
663         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
665 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
667         [BZ #18243]
668         * rt/Makefile (test): Add tst-shm-cancel.
669         * rt/tst-shm-cancel.c: New file.
670         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
672         [BZ #18243]
673         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
674         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
675         definition.
676         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
677         uncontended case.
678         * nptl/sem_wait.c (__new_sem_wait): Likewise.
679         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
680         (tf): Fix check for uncontended case.
681         (do_test): Likewise.
682         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
683         (tf): Fix check for uncontended case.
684         (do_test): Likewise.
685         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
686         (tf): Fix check for uncontended case.
687         (do_test): Likewise.
688         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
689         (tf): Fix check for uncontended case.
690         (do_test): Likewise.
692         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
693         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
695         [BZ #15765]
696         * nptl/Makefile (tests): Add tst-sem16.
697         * nptl/tst-sem16.c: New file.
698         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
700         * nptl/sem_open.c (sem_open): Init pad value to 0.
701         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
702         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
704 2016-09-15  Florian Weimer  <fweimer@redhat.com>
706         [BZ #20611]
707         * inet/Makefile (routines): Add inet6_scopeid_pton.
708         (tests): Add tst-inet6_scopeid_pton.
709         * inet/inet6_scopeid_pton.c: New file.
710         * inet/net-internal.h: Likewise.
711         * inet/tst-inet6_scopeid_pton.c: New test.
712         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
713         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
716 2016-09-14  Florian Weimer  <fweimer@redhat.com>
718         Remove support for compiling wrappers with PTW.
719         * sysdeps/nptl/Makeconfig: Drop ptw- support.
720         * nptl/Makefile (pthread-compat-wrappers): Define.
721         (libpthread-routines): Use pthread-compat-wrappers.
722         * sysdeps/unix/sysv/linux/alpha/Makefile
723         (libpthread-routines, libpthread-shared-only-routines): Remove
724         ptw- prefix.
725         * sysdeps/s390/nptl/Makefile
726         (libpthread-routines, libpthread-shared-only-routines): Likewise.
727         * sysdeps/ia64/nptl/Makefile
728         (libpthread-routines, libpthread-shared-only-routines): Likewise.
729         * sysdeps/nacl/Makefile (libpthread-routines): Use
730         pthread-compat-wrappers to filter the routines list instead of the
731         ptw- prefix.
733 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
735         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
736         with L() and remove explicit suffix, convert real literals
737         which can be equivalentally substituted with integers, and
738         transform -L(x) to L(-x).
740         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
741         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
742         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
743         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
744         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
745         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
746         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
747         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
748         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
749         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
750         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
751         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
752         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
753         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
754         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
755         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
756         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
757         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
758         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
759         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
760         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
761         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
762         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
763         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
764         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
765         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
766         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
767         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
768         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
769         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
770         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
771         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
772         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
773         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
774         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
775         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
776         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
777         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
778         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
779         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
780         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
781         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
782         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
783         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
784         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
785         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
786         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
787         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
788         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
789         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
791 2016-09-13  Florian Weimer  <fweimer@redhat.com>
793         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
795 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
797         * malloc/Makefile (tests): Remove individual static test names
798         and just add all of tests-static.
800         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
802 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
804         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
805         file.
807         * sysdeps/sparc/fpu/fegetmode.c: New file.
808         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
810         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
811         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
813         * sysdeps/s390/fpu/fegetmode.c: New file.
814         * sysdeps/s390/fpu/fesetmode.c: Likewise.
816         * sysdeps/powerpc/fpu/fegetmode.c: New file.
817         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
818         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
819         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
820         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
821         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
823         * sysdeps/mips/fpu/fegetmode.c: New file.
824         * sysdeps/mips/fpu/fesetmode.c: Likewise.
826         * sysdeps/m68k/fpu/fegetmode.c: New file.
827         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
829         * sysdeps/ia64/fpu/fegetmode.c: New file.
830         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
832         * sysdeps/hppa/fpu/fegetmode.c: New file.
833         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
835         * sysdeps/arm/fegetmode.c: New file.
836         * sysdeps/arm/fesetmode.c: Likewise.
838         * sysdeps/alpha/fpu/fegetmode.c: New file.
839         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
841         * sysdeps/aarch64/fpu/fegetmode.c: New file.
842         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
844         * math/fegetmode.c: New file.
845         * math/fesetmode.c: Likewise.
846         * sysdeps/i386/fpu/fegetmode.c: Likewise.
847         * sysdeps/i386/fpu/fesetmode.c: Likewise.
848         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
849         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
850         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
851         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
852         declaration.
853         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
854         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
855         typedef.
856         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
857         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
858         (femode_t): New typedef.
859         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
860         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
861         (femode_t): New typedef.
862         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
863         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
864         (femode_t): New typedef.
865         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
866         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
867         (femode_t): New typedef.
868         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
869         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
870         (femode_t): New typedef.
871         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
872         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
873         (femode_t): New typedef.
874         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
875         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
876         (femode_t): New typedef.
877         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
878         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
879         (femode_t): New typedef.
880         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
881         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
882         (femode_t): New typedef.
883         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
884         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
885         (femode_t): New typedef.
886         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
887         declaration.
888         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
889         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
890         (femode_t): New typedef.
891         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
892         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
893         (femode_t): New typedef.
894         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
895         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
896         (femode_t): New typedef.
897         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
898         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
899         (femode_t): New typedef.
900         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
901         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
902         (femode_t): New typedef.
903         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
904         * manual/arith.texi (FE_DFL_MODE): Document macro.
905         (fegetmode): Document function.
906         (fesetmode): Likewise.
907         * math/Versions (fegetmode): New libm symbol at version
908         GLIBC_2.25.
909         (fesetmode): Likewise.
910         * math/Makefile (libm-support): Add fegetmode and fesetmode.
911         (tests): Add test-femode and test-femode-traps.
912         * math/test-femode-traps.c: New file.
913         * math/test-femode.c: Likewise.
914         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
915         alias for __fe_dfl_env.
916         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
917         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
918         (__fe_dfl_mode): Likewise.
919         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
920         version GLIBC_2.25.
921         * sysdeps/nacl/libm.abilist: Update.
922         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
923         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
924         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
925         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
926         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
927         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
928         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
929         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
930         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
931         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
932         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
933         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
935         Likewise.
936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
937         Likewise.
938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
939         Likewise.
940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
941         Likewise.
942         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
943         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
944         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
945         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
946         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
948         Likewise.
949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
950         Likewise.
951         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
952         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
953         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
955 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
957         [BZ #20495]
958         [BZ #20508]
959         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
960         processors, set Use_dl_runtime_resolve_slow and set
961         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
962         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
963         New.
964         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
965         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
966         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
967         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
968         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
969         if Use_dl_runtime_resolve_opt is set.  Use
970         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
971         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
972         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
973         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
974         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
975         New.
976         (_dl_runtime_resolve_opt): Likewise.
977         (_dl_runtime_profile): Define only if _dl_runtime_profile is
978         defined.
980 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
982         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
983         __libc_memalign with "+ RELA R_390_GLOB_DAT".
985 2016-09-06  Florian Weimer  <fweimer@redhat.com>
987         Convert malloc to __libc_lock.  Automated part, using this Perl
988         s/// command:
989           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
990             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
991         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
992         conversion.
994 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
996         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
997         (linknamespace-symlists-tests): Likewise.
998         (linknamespace-header-tests): Likewise.
1000 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1002         [BZ #19810]
1003         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1004         * elf/tst-noload.c: New test case.
1005         * elf/Makefile (tests): Add tst-noload.
1007 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1009         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1011         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1012         not any more.
1014         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1016 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1018         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1019         (do_cos_slow): Likewise.
1020         (do_sin): Likewise.
1021         (do_sin_slow): Likewise.
1022         (slow): Likewise.
1023         (slow1): Likewise.
1024         (slow2): Likewise.
1025         (sloww): Likewise.
1026         (sloww1): Likewise.
1027         (sloww2): Likewise.
1028         (bsloww): Likewise.
1029         (bsloww1): Likewise.
1030         (bsloww2): Likewise.
1031         (cslow2): Likewise.
1033         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1035         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1036         arguments.  Consolidate input partitioning from callers here.
1037         (do_cos_slow): Likewise.
1038         (do_sin): Likewise.
1039         (do_sin_slow): Likewise.
1040         (do_sincos_1): Remove the no longer necessary input partitioning.
1041         (do_sincos_2): Likewise.
1042         (__sin): Likewise.
1043         (__cos): Likewise.
1044         (slow1): Likewise.
1045         (slow2): Likewise.
1046         (sloww1): Likewise.
1047         (sloww2): Likewise.
1048         (bsloww1): Likewise.
1049         (bsloww2): Likewise.
1050         (cslow2): Likewise.
1052 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1054         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1055         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1056         outside of allocated array.
1058 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1060         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1061         instead of MB_CUR_MAX to avoid variable-length array.
1063 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1065         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1066         (type-double-routines): Add k_rem_pio2.
1067         (type-float-routines): Add k_rem_pio2f.
1069         * sysdeps/generic/math_private.h:
1070         (__kernel_rem_pio2l): Removed.
1072         * math/k_rem_pio2l.c: Removed.
1073         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1074         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1075         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1076         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1078 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1080         * math/Makefile (gen-libm-calls): Add s_fmin
1081         (libm-calls): Remove above.
1083         * math/s_fmin.c: Refactor into ...
1084         * math/s_fmin_template.c: New file.
1086         * math/s_fminf.c: Removed.
1087         * math/s_fminl.c: Removed.
1088         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1089         (LDOUBLE_fmin_libm_version): New macro.
1091         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1092         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1094 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1096         * math/Makefile: (gen-libm-calls): Add s_fmax.
1097         (libm-calls): Remove above.
1099         * math/s_fmax.c: Refactor into ...
1100         * math/s_fmax_template.c: New file.
1101         * math/s_fmaxf.c: Removed.
1102         * math/s_fmaxl.c: Removed.
1104         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1105         (LDOUBLE_fmaxl_libm_version): New macro.
1107         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1108         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1110         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1111         s_fmin.c to pick the aarch64 version of the file.
1112         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1113         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1115 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1117         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1118         (libm-calls): Remove above.
1120         * math/s_nextdown.c: Refactor into ...
1121         * math/s_nextdown_template.c: New file.
1122         * math/s_nextdownf.c: Removed.
1123         * math/s_nextdownl.c: Removed.
1125         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1127 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1129         * math/Makefile (gen-libm-calls): Add s_fdim.
1130         (libm-calls): Move to above.
1132         * math/s_fdim.c: Renamed and refactored into to ...
1133         * math/s_fdim_template.c: New file.
1134         * math/s_fdiml.c: Removed.
1135         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1136         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1138         * sysdeps/generic/math-type-macros-double.h:
1139         (declare_mgen_alias): Don't declare if already declared.
1140         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1141         Likewise.
1143         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1144         (declare_mgen_alias): Don't declare if already declared.
1145         (M_LIBM_NEED_COMPAT): Likewise.
1146         (declare_mgen_libm_compat): Likewise.
1147         (LDOUBLE_fdiml_libm_version): New macro.
1149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1150         Include math/s_fdim.c now that ldbl-opt version is not needed.
1151         (declare_mgen_alias): New macro to disable aliasing.
1153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1154         (declare_mgen_alias): Likewise.
1155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1156         (declare_mgen_alias): Likewise.
1157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1158         (declare_mgen_alias): Likewise.
1159         (M_LIBM_NEED_COMPAT): Likewise.
1161 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1163         [BZ #20525]
1164         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1165         Include <linux/quota.h>.
1166         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1167         and btodb.
1168         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1169         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1170         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1171         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1172         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1173         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1174         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1175         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1176         types.
1177         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1178         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1180 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1182         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1183         (gammal_positive): Fix spacing.
1184         (__ieee754_gammal_r): Likewise.
1186 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1188         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1189         (_Float128): Define as long double, always.
1190         (L): Apply long double type suffix, always.
1192         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1193         _Float128, excepting comments.
1195         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1196         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1197         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1198         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1199         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1200         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1201         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1202         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1203         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1204         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1205         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1206         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1207         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1208         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1209         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1210         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1211         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1212         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1213         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1214         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1215         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1216         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1217         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1218         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1219         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1220         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1221         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1222         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1223         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1224         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1225         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1226         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1227         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1228         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1229         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1230         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1231         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1232         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1233         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1234         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1235         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1236         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1237         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1238         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1239         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1240         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1241         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1242         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1243         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1244         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1245         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1246         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1247         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1248         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1249         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1250         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1251         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1252         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1253         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1254         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1255         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1256         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1257         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1258         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1259         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1260         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1261         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1262         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1264         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1265         _Float128, and include math_private.h.
1266         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1268         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1269         long double semantics.
1270         (_Float128): Likewise.
1271         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1272         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1273         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1274         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1276 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1278         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1279         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1280         * sysdeps/s390/configure: Regenerated.
1281         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1282         instruction for raising over-/underflow if z196 zarch is supported
1283         by default.
1284         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1286 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1288         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1289         it point to a dumb buffer for RPC to fill it.
1291 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1293         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1294         instead of if/else.
1295         (do_sin_slow): Likewise.
1296         (do_sincos_1): Use fabs instead of if/else.
1297         (do_sincos_2): Likewise.
1298         (__sin): Likewise.
1299         (__cos): Likewise.
1300         (slow2): Likewise.
1301         (sloww): Likewise.
1302         (sloww1): Likewise.  Drop argument M.
1303         (sloww2): Use fabs instead of if/else.
1304         (bsloww): Likewise.
1305         (bsloww1): Likewise.
1306         (bsloww2): Likewise.
1308         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1309         fall through comment.
1310         (do_sincos_1): Likewise.
1312         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1313         Consolidate switch cases 0 and 2.
1315 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1317         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1318         (libm-calls): Remove the above.
1320         * math/s_cexp_template.c: Update using type-generic macros.
1321         * math/s_clog10_template.c: Likewise.
1322         * math/s_cpow_template.c: Likewise.
1323         * math/s_clog_template.c: Likewise.
1324         * math/s_cproj_template.c: Likewise.
1325         * math/s_csqrt_template.c: Likewise.
1327         * math/s_cexp.c: Removed.
1328         * math/s_cexpf.c: Removed.
1329         * math/s_cexpl.c: Removed.
1330         * math/s_clog10.c: Removed.
1331         * math/s_clog10f.c: Removed.
1332         * math/s_clog10l.c: Removed.
1333         * math/s_cpow.c: Removed.
1334         * math/s_cpowf.c: Removed.
1335         * math/s_cpowl.c: Removed.
1336         * math/s_clog.c: Removed.
1337         * math/s_clogf.c: Removed.
1338         * math/s_clogl.c: Removed.
1339         * math/s_cproj.c: Removed.
1340         * math/s_cprojf.c: Removed.
1341         * math/s_cprojl.c: Removed.
1342         * math/s_csqrt.c: Removed.
1343         * math/s_csqrtf.c: Removed.
1344         * math/s_csqrtl.c: Removed.
1346         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1347         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1348         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1349         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1350         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1351         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1353         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1354         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1355         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1356         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1357         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1358         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1359         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1360         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1361         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1362         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1363         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1365         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1366         version.
1368         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1369         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1370         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1371         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1373 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1375         * s_cexp_template.c: Copy of s_cexp.c.
1376         * s_clog_template.c: Copy of s_clog.c.
1377         * s_clog10_template.c: Copy of s_clog10.c.
1378         * s_cpow_template.c: Copy of s_cpow.c.
1379         * s_cproj_template.c: Copy of s_cproj.c.
1380         * s_csqrt_template.c: Copy of s_csqrt.c.
1382 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1384         [BZ #20517]
1385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1386         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1387         exported.
1389 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1391         * math/fetestexceptflag.c: New file.
1392         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1393         Stefan Liebler.
1394         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1395         (fetestexceptflag): New function declaration.
1396         * manual/arith.texi (fetestexceptflag): Document function.
1397         * math/Versions (fetestexceptflag): New libm symbol at version
1398         GLIBC_2.25.
1399         * math/Makefile (libm-support): Add fetestexceptflag.
1400         (tests): Add test-fetestexceptflag.
1401         * math/test-fetestexceptflag.c: New file.
1402         * sysdeps/nacl/libm.abilist: Update.
1403         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1404         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1405         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1406         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1407         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1408         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1409         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1410         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1411         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1412         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1413         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1414         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1416         Likewise.
1417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1418         Likewise.
1419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1420         Likewise.
1421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1422         Likewise.
1423         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1424         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1425         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1426         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1427         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1429         Likewise.
1430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1431         Likewise.
1432         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1433         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1434         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1436 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1438         [BZ #20432]
1439         Avoid strong references to malloc-internal symbols when linking
1440         statically, to support statically interposed mallocs.
1441         * include/libc-symbols.h (call_function_static_weak): New macro.
1442         * malloc/Makefile (tests): Add tst-interpose-nothread,
1443         tst-interpose-thread, tst-interpose-static-nothread,
1444         tst-interpose-static-thread.
1445         (tests-static): Add tst-interpose-static-nothread,
1446         tst-interpose-static-thread.
1447         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1448         tst-interpose-aux-thread.o.
1449         (test-extras): Add tst-interpose-aux-nothread,
1450         tst-interpose-aux-thread.
1451         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1452         tst-interpose-aux-nothread.o.
1453         (tst-interpose-thread, tst-interpose-static-thread): Link with
1454         tst-interpose-aux-thread.o and libthread.
1455         * malloc/tst-interpose-aux-nothread.c: New file.
1456         * malloc/tst-interpose-aux-thread.c: Likewise.
1457         * malloc/tst-interpose-aux.c: Likewise.
1458         * malloc/tst-interpose-aux.h: Likewise.
1459         * malloc/tst-interpose-nothread.c: Likewise.
1460         * malloc/tst-interpose-skeleton.c: Likewise.
1461         * malloc/tst-interpose-static-nothread.c: Likewise.
1462         * malloc/tst-interpose-static-thread.c: Likewise.
1463         * malloc/tst-interpose-thread.c: Likewise.
1464         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1465         * sysdeps/mach/hurd/fork.c (__fork): Only call
1466         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1467         __malloc_fork_unlock_child if defined.
1468         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1470 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1472         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1473         timespec C99 designated initialization.
1475 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1477         [BZ #19946]
1478         Avoid expected SIGALRM signals.
1479         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1480         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1481         (xpthread_create, xpthread_detach, xpthread_join)
1482         (delayed_exit_thread, delayed_exit): New functions.
1483         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1484         (tf): Use xpthread_cond_wait.
1485         (do_test): Likewise.  Replace alarm with delayed_exit.
1486         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1487         (do_test): Call delayed_exit.  Report failure.
1488         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1489         (do_test): Call delayed_exit.
1490         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1491         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1492         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1493         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1494         error.
1495         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1496         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1497         error.
1498         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1499         (do_test): Call delayed_exit.
1500         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1501         (do_test): Call delayed_exit.
1502         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1503         (do_test): Call delayed_exit instead of alarm.  Use
1504         xpthread_mutex_lock.
1505         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1506         (do_test): Call delayed_exit instead of alarm.  Use
1507         xpthread_mutex_lock.
1508         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1509         (do_test): Call delayed_exit instead of alarm.
1510         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1511         (do_test): Call delayed_exit instead of alarm.  Use
1512         xpthread_spin_lock.
1513         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1514         (do_test): Call delayed_exit instead of alarm.  Use
1515         xpthread_join.
1517 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1519         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1520         adjust CFA when allocating register save area on re-aligned
1521         stack.
1523 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1525         * string/tst-cmp.c: New test.
1526         * string/Makefile (tests): Add it.
1528 2016-08-25  Mark Wielaard  <mark@klomp.org>
1530         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1531         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1532         (check_tree_recurse): Use newly defined accessors.
1533         (check_tree): Likewise.
1534         (maybe_split_for_insert): Likewise.
1535         (__tfind): Likewise.
1536         (__tdelete): Likewise.
1537         (trecurse): Likewise.
1538         (tdestroy_recurse): Likewise.
1539         (__tsearch): Likewise. And add asserts for malloc alignment.
1540         (__twalk): Cast root to node in case CHECK_TREE is defined.
1542 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1544         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1546 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1548         * math/Makefile (libm-gen-calls): Add
1549         catan, catanh, ctan, ctanh.
1550         (libm-calls): Remove the above.
1552         * math/s_catan_template.c: Update using type-generic macros.
1553         * math/s_catanh_template.c: Likewise.
1554         * math/s_ctan_template.c: Likewise.
1555         * math/s_ctanh_template.c: Likewise.
1557         * math/s_catanf.c: Removed.
1558         * math/s_catan.c: Removed.
1559         * math/s_catanl.c: Removed.
1560         * math/s_catanhf.c: Removed.
1561         * math/s_catanh.c: Removed.
1562         * math/s_catanhl.c: Removed.
1563         * math/s_ctanf.c: Removed.
1564         * math/s_ctan.c: Removed.
1565         * math/s_ctanl.c: Removed.
1566         * math/s_ctanhf.c: Removed.
1567         * math/s_ctanh.c: Removed.
1568         * math/s_ctanhl.c: Removed.
1570         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1571         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1572         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1573         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1574         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1575         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1577         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1578         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1579         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1580         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1582 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1584         * s_catan_template.c: Copy of s_catan.c.
1585         * s_catanh_template.c: Copy of s_catanh.c.
1586         * s_ctan_template.c: Copy of s_ctan.c.
1587         * s_ctanh_template.c: Copy of s_ctanh.c.
1589 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1591         * math/Makefile (gen-libm-calls): Move
1592         casin, casinh, csin, csinh here.
1593         (libm-calls): Remove the above.
1595         * math/s_casin_template.c: Update using type-generic macros.
1596         * math/s_casinh_template.c: Likewise.
1597         * math/s_csin_template.c: Likewise.
1598         * math/s_csinh_template.c: Likewise.
1599         * math/k_casinh_template.c: Likewise.
1601         * math/s_casinf.c: Removed.
1602         * math/s_casin.c: Removed.
1603         * math/s_casinl.c: Removed.
1604         * math/s_casinh.c: Removed.
1605         * math/s_casinhf.c: Removed.
1606         * math/s_casinhl.c: Removed.
1607         * math/s_csin.c: Removed.
1608         * math/s_csinf.c: Removed.
1609         * math/s_csinl.c: Removed.
1610         * math/s_csinh.c: Removed.
1611         * math/s_csinhf.c: Removed.
1612         * math/s_csinhl.c: Removed.
1613         * math/k_casinh.c: Removed.
1614         * math/k_casinhf.c: Removed.
1615         * math/k_casinhl.c: Removed.
1617         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1618         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1619         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1620         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1622         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1623         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1624         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1625         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1626         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1627         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1628         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1629         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1631         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1632         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1633         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1634         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1636         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1637         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1638         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1639         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1641 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1643         * s_casin_template.c: Copy of s_casin.c.
1644         * s_casinh_template.c: Copy of s_casinh.c.
1645         * s_csin_template.c: Copy of s_csin.c.
1646         * s_csinh_template.c: Copy of s_csinh.c.
1647         * k_casinh_template.c: Copy of k_casinh.c.
1649 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1651         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1653 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1655         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1656         (mul_split) Remove, rename as mul_splitl, remove
1657         redundant float.h include, and include via mul_splitl.h
1659         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1660         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1661         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1662         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1663         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1665         * math/mul_splitl.h: New file.
1667         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1668         Move into mul_split.h, and remove redundant float.h include.
1670         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1671         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1672         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1673         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1675         * math/mul_split.h: New file.
1677 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1679         * math/Makefile (libm-gen-calls): Move
1680         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1681         (libm-calls): Remove above.
1683         * math/s_cacos_template.c: Update using type-generic macros.
1684         * math/s_cacosh_template.c: Likewise.
1685         * math/s_ccos_template.c: Likewise.
1686         * math/s_ccosh_template.c: Likwise.
1688         * math/s_cacosf.c: Removed.
1689         * math/s_cacos.c: Removed.
1690         * math/s_cacosl.c: Removed.
1691         * math/s_cacoshf.c: Removed.
1692         * math/s_cacosh.c: Removed.
1693         * math/s_cacoshl.c: Removed.
1694         * math/s_ccosf.c: Removed.
1695         * math/s_ccos.c: Removed.
1696         * math/s_ccosl.c: Removed.
1697         * math/s_ccoshf.c: Removed.
1698         * math/s_ccosh.c: Removed.
1699         * math/s_ccoshl.c: Removed.
1701         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1702         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1703         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1704         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1705         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1706         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1708         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1709         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1710         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1711         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1713         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1714         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1715         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1716         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1718 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1720         * s_cacos_template.c: Copy of s_cacos.c.
1721         * s_cacosh_template.c: Copy of s_cacosh.c.
1722         * s_ccos_template.c: Copy of s_ccos.c.
1723         * s_ccosh_template.c: Copy of s_ccosh.c.
1725 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1727         * stdlib/tst-strtod-round-skeleton.c:
1728         Refactored from tst-strtod-round.c.
1730         (L_): New macro to apply literal modifier.
1731         (FNPFX): New macro to select str or wcs prefix.
1732         (CHAR): New macro to choose wchar_t or char.
1733         (STRM): New macro to choose printf for tested character type.
1735         (STRTO): New macro to choose appropriate string -> real function.
1736         (FNPFXS): Stringitized version of FNPFX.
1737         (STR): Support for above macro.
1738         (STRX): Likewise.
1740         (TEST): Update with above macros.
1741         (test): Likewise.
1742         (GEN_ONE_TEST): Likewise.
1743         (test_in_one_mode): Likewise.
1745         * stdlib/tst-strtod-round.c: New file.
1746         * wcsmbs/tst-wcstod-round.c: New file.
1748         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1749         (tst-wcstod-round): Add libm depencency for fesetround.
1751 2016-08-19  Zack Weinberg  <zackw@panix.com>
1753         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1755 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1757         [BZ #20477]
1758         * resolv/res_hconf.c (do_init): Use atomic access.
1759         * resolv/res_hconf.h: Add comments.
1760         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1761         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1764 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1766         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1767         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1768         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1769         Likewise.
1771 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1773         [BZ #16907]
1774         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1775         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1776         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1777         (__attribute__): Remove definition.
1779 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1781         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1782         Remove unused sqrtl declaration.
1784 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1786         * math/Makefile: (gen-libm-templates.stmp): New rule.
1787         (libm-calls): Move carg conj cimag and cabs into ...
1788         (gen-libm-calls): New variable.
1789         (generated): Inform Make objects from gen-libm-calls
1790         may be generated.
1792         * sysdeps/generic/math-type-macros.h: New file.
1793         * sysdeps/generic/math-type-macros-float.h: Likewise.
1794         * sysdeps/generic/math-type-macros-double.h: Likewise.
1795         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1796         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1797         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1799         * math/cabs.c: Refactor into
1800         * math/cabs_template.c: new file.
1801         * math/cabsf.c: Removed.
1802         * math/cabsl.c: Removed.
1803         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1804         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1806         * math/carg.c: Refactor into
1807         * math/carg_template.c: new file.
1808         * math/cargf.c: Removed.
1809         * math/cargl.c: Removed.
1810         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1811         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1813         * math/conj.c: Refactor into
1814         * math/conj_template.c: new file.
1815         * math/conjf.c: Removed.
1816         * math/conjl.c: Removed.
1817         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1818         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1820         * math/cimag.c: Refactor into
1821         * math/cimag_template.c: new file.
1822         * math/cimagf.c: Removed.
1823         * math/cimagl.c: Removed.
1824         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1825         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1827         * math/cimag.c: Refactor into
1828         * math/cimag_template.c: new file.
1829         * math/cimagf.c: Removed.
1830         * math/cimagl.c: Removed.
1831         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1832         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1834 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1836         Reduce time to expected nptl/tst-once5 failure.
1837         * nptl/tst-once5.cc (TIMEOUT): Define.
1839 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1841         [BZ #20452]
1842         Avoid additional copies of objects in libc.a in static libraries.
1843         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1844         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1845         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1846         rt-sysdep.
1847         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1848         Add nptl-sysdep.
1849         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1850         Add ptw-sysdep.
1851         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1852         rt-sysdep.
1853         * sysdeps/unix/sysv/linux/alpha/Makefile
1854         (libpthread-shared-only-routines): Add ptw-sysdep,
1855         ptw-sigprocmask, ptw-rt_sigaction.
1856         * sysdeps/unix/sysv/linux/ia64/Makefile
1857         (librt-shared-only-routines): Add rt-sysdep.
1858         * sysdeps/unix/sysv/linux/i386/Makefile
1859         (libpthread-shared-only-routines): Add libc-do-syscall.
1860         * sysdeps/unix/sysv/linux/microblaze/Makefile
1861         (libpthread-shared-only-routines): Add sysdep.
1862         * sysdeps/unix/sysv/linux/powerpc/Makefile
1863         (librt-shared-only-routines): Add rt-sysdep.
1864         (libpthread-shared-only-routines): Add sysdep.
1865         * sysdeps/unix/sysv/linux/s390/Makefile
1866         (librt-shared-only-routines): Add rt-sysdep.
1867         * sysdeps/unix/sysv/linux/sparc/Makefile
1868         (librt-shared-only-routines): Add rt-sysdep.
1869         (libpthread-shared-only-routines): Add sysdep.
1870         * sysdeps/unix/sysv/linux/tile/Makefile
1871         (libpthread-shared-only-routines): Likewise.
1873 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1875         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1876         Mask implicit bit out of unpacked value.
1877         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1878         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1879         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1881         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1883         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1885         * sysdeps/s390/fpu/fesetexcept.c: New file.
1887         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1888         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1889         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1891         * sysdeps/mips/fpu/fesetexcept.c: New file.
1893         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1895         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1897         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1899         * sysdeps/arm/fesetexcept.c: New file.
1901         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1903         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1905         * math/fesetexcept.c: New file.
1906         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1907         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1908         * math/fenv.h: Define
1909         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1910         <bits/libc-header-start.h> instead of including <features.h>.
1911         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1912         declaration.
1913         * manual/arith.texi (fesetexcept): Document function.
1914         * math/Versions (fesetexcept): New libm symbol at version
1915         GLIBC_2.25.
1916         * math/Makefile (libm-support): Add fesetexcept.
1917         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1918         * math/test-fesetexcept.c: New file.
1919         * math/test-fesetexcept-traps.c: Likewise.
1920         * sysdeps/nacl/libm.abilist: Update.
1921         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1922         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1923         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1924         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1925         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1926         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1927         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1928         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1929         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1930         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1931         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1932         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1934         Likewise.
1935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1936         Likewise.
1937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1938         Likewise.
1939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1940         Likewise.
1941         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1942         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1943         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1944         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1945         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1947         Likewise.
1948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1949         Likewise.
1950         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1951         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1952         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1954 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1956         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1957         New.
1958         (do_test): Apply default_stack_size_in_mb if not set.
1959         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1961 2016-08-15  Andreas Schwab  <schwab@suse.de>
1963         [BZ #20435]
1964         CVE-2016-6323
1965         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1966         as .cantunwind.
1968 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1970         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1971         comment from fraiseexcpt.c.
1973         * math/test-fexcept.c (feraiseexcept_exact): New function.
1974         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1975         (test_except): Likewise.
1977 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1979         [BZ #20455]
1980         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1981         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1982         to be restored.
1984         * math/test-fexcept-traps.c: New file.
1985         * math/test-fexcept.c: Likewise.
1986         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1987         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1988         macro.
1989         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1990         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1992 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1994         * include/atomic.h (atomic_fetch_and_relaxed,
1995         atomic_fetch_and_release, atomic_fetch_or_release,
1996         atomic_fetch_xor_release): New.
1998 2016-08-06  Christian Seiler  <christian@iwakd.de>
2000         [BZ #20444]
2001         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2002         MACH_PORT_NULL.
2004 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2006         * math/s_fdim.c: Avoid alias renamed.
2007         * math/s_fdimf.c: Likewise.
2008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2009         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2010         Add s_fdimf-vis3, s_fdim-vis3.
2011         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2012         (CFLAGS-s_fdim-vis3.c): Likewise.
2013         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2014         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2016 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2019         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2020         Remove s_fdimf-vis3, s_fdim-vis3.
2021         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2022         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2029         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2030         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2032 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2034         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2035         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2036         -Wa,-Av9a -mvis.
2038 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2040         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2041         LIT() to individual constants in simple expressions
2042         after splitting on spaces.
2043         (_apply_lit): Rename replaced version, and use it to
2044         apply to what appears to be a token.
2046         * math/libm-test.inc: Fix many, many issues with
2047         spacing.
2049 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2051         * math/math.h: Move comment about <bits/mathdef.h> definitions
2052         above inclusion of <bits/mathdef.h>.  Do not mention
2053         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2055 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2057         * include/atomic.h (atomic_exchange_relaxed): New.
2059 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2061         * math/e_scalb.c: Do not include <fenv.h>.
2062         (invalid_fn): Do calculation resulting in NaN instead of raising
2063         FE_INVALID and returning a NaN explicitly.
2064         * math/e_scalbf.c: Do not include <fenv.h>.
2065         (invalid_fn): Do calculation resulting in NaN instead of raising
2066         FE_INVALID and returning a NaN explicitly.
2067         * math/e_scalbl.c: Do not include <fenv.h>.
2068         (invalid_fn): Do calculation resulting in NaN instead of raising
2069         FE_INVALID and returning a NaN explicitly.
2071 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2073         * po/de.po: Updated from Translation Project.
2074         * po/fi.po: Likewise.
2075         * po/sv.po: Likewise.
2077 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2079         [BZ #20452]
2080         Use sysdep.o from libc.a in static libraries.
2081         * sysdeps/unix/sysv/linux/i386/Makefile
2082         (libpthread-shared-only-routines): Add sysdep.
2083         (librt-shared-only-routines): Likewise.
2085 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2087         * math/tgmath.h (nextdown): Define if
2088         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2089         (nextup): Likewise.
2091         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2092         macro.
2093         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2094         Document.
2095         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2096         Document macro.
2097         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2098         (exp10f): Likewise.
2099         (exp10l): Likewise.
2100         * math/bits/mathcalls.h (exp10): Declare if
2101         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2103         * manual/arith.texi (nextup): Fix typo in last change.
2105 2016-08-03  Zack Weinberg  <zackw@panix.com>
2107         [BZ #19239]
2108         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2109         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2110         define major, minor, and makedev to issue deprecation warnings on use.
2111         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2112         previously-activated deprecation warnings for these macros and prevent
2113         subsequent inclusions of this header from having any effect.
2114         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2115         including <sys/sysmacros.h>, and undefine it again afterward.
2117 2016-08-03  Zack Weinberg  <zackw@panix.com>
2119         * sysdeps/generic/sys/sysmacros.h: Delete file.
2120         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2121         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2122         * bits/sysmacros.h: ... here; this encoding is now the generic
2123         encoding.  Now defines only the following macros:
2124         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2125         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2126         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2128         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2129         bits/sysmacros.h and the above new macros to generate the
2130         public implementations of major, minor, and makedev.
2131         * misc/tst-makedev.c: New test.
2132         * include/sys/sysmacros.h: New wrapper.
2134         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2135         (routines): Add makedev.
2136         (tests): Add tst-makedev.
2137         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2138         gnu_dev_makedev.
2139         * posix/Makefile (headers): Remove sys/sysmacros.h.
2140         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2142         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2143         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2144         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2145         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2146         * sysdeps/unix/sysv/linux/arm/libc.abilist
2147         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2148         * sysdeps/unix/sysv/linux/i386/libc.abilist
2149         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2150         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2151         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2152         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2153         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2154         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2155         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2156         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2157         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2162         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2163         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2164         * sysdeps/unix/sysv/linux/sh/libc.abilist
2165         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2166         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2169         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2170         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2171         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2172         Add GLIBC_2.25.
2174         * include/features.h (__glibc_clang_prereq): New macro.
2175         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2176         (__attribute_deprecated_msg__): New macros.
2178 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2180         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2181         macro.
2182         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2183         * manual/arith.texi (issignaling): Document as ISO from TS
2184         18661-1:2014.
2185         (nextup): Likewise.
2186         (nextupf): Likewise.
2187         (nextupl): Likewise.
2188         (nextdown): Likewise.
2189         (nextdownf): Likewise.
2190         (nextdownl): Likewise.
2191         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2192         macro.
2193         * math/math.h: Define
2194         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2195         <bits/libc-header-start.h> instead of including <features.h>.
2196         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2197         [__USE_GNU].
2198         * math/bits/mathcalls.h (nextdown): Declare if
2199         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2200         (nextup): Likewise.
2201         (__issignaling): Likewise.
2203 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2205         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2206         check, and remove __glibc_likely hint
2207         from FP_INFINITE check.
2208         * s_csinhf.c (__csinhf): Likewise.
2210         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2211         hint from FP_INFINITE check.
2212         * s_csinhl.c (__csinhl): Likewise.
2214 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2216         * math/Makefile (libm-calls): Insert F placeholder into
2217         object names.  Move w_lgamma_compat* routines into
2218         (libm-compat-calls): New variable.
2219         (libm-compat-calls-ldouble-yes): New variable.
2220         (calls): Insert F placeholder.
2221         (generated): Redefine using new type-foreach macro call.
2222         (routines): Likewise.
2224         (types): New variable to hold a list of symbolic names
2225         for each type supported by the target machine.
2226         (libm-routines): Redefine using new types variable.
2227         (type-foreach): macro to replace fooF with the
2228         appropriately suffixed foo for each types.
2230         (type-ldouble-suffix): New variable.
2231         (type-ldouble-routines): Likewise.
2232         (type-ldouble-yes): Likewise.
2233         (type-double-suffix): Likewise.
2234         (type-double-routines): Likewise.
2235         (type-float-suffix): Likewise.
2236         (type-float-routines): Likewise.
2238         (dbl-only-routines): Remove.
2239         (long-c-yes): Likewise.
2240         (long-m-routines): Likewise.
2241         (long-m-support): Likewise.
2242         (long-m-yes): Likewise.
2243         (test-longdouble-yes): Likewise.
2245         (test-float.o): Simplify by increasing the scope of the
2246         recipe which adds libm-test.stmp to the vector types.
2247         (test-ifloat.o): Likewise.
2248         (test-float-finite.o): Likewise.
2249         (test-double.o): Likewise
2250         (test-idouble.o): Likewise.
2251         (test-double-finite.o): Likewise.
2252         (test-ldouble.o): Likewise
2253         (test-ildoubl.o): Likewise.
2254         (test-ldouble-finite.o): Likewise.
2256         (libm-tests): Redefine type tests using foreach and the
2257         list of types in types.
2259         (CPPFLAGS-test-ildoubl.c): Rename to
2260         (CPPFLAGS-test-ildouble.c): New variable
2262         * math/test-ildoubl.c: Rename to
2263         * math/test-ildouble.c: New file.
2265 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2267         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2268         Use fabsl instead of fabs.
2269         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2270         Likewise.
2271         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2272         Add long double suffix to constant to ensure proper
2273         promotion to long double.
2275 2016-08-03  Tom Tromey  <tom@tromey.com>
2277         [BZ #20311]
2278         * nptl_db/Makefile (headers): Add proc_service.h.
2279         * nptl_db/proc_service.h: Add include guard.  Use
2280         __BEGIN/__END_DECLS.
2281         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2282         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2283         arguments.
2286 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2288         [BZ #17730]
2289         Avoid using memalign for TCB allocations.
2290         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2291         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2292         Avoid alignment gap in the TLS_DTV_AT_TP case.
2293         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2294         determine the pointer to free.
2295         * nptl/tst-tls3-malloc.c: New test.
2296         * nptl/Makefile (tests): Add it.
2297         (tst-tls3-malloc): Link with libdl, libpthread.
2298         (LDFLAGS-tst-tls3-malloc): Set.
2299         (tst-tls3-malloc.out): Depend on DSO used in test.
2301 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2303         [BZ #17730]
2304         Avoid using memalign for TLS allocations.
2305         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2306         is_static member with to_free member.
2307         (union dtv): Use struct dtv_pointer.
2308         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2309         dtv_pointer instead of is_static.
2310         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2311         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2312         instead of val.
2313         (allocate_dtv_entry): New function.
2314         (allocate_and_init): Return struct dtv_pointer.  Call
2315         allocate_dtv_entry instead of __libc_memalign.
2316         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2317         instead of val.
2318         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2319         instead of is_static.  Adjust call to allocate_and_init.
2320         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2321         struct dtv_pointer instead of val.
2323 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2325         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2326         (MALLOC_ALIGN_MASK): Move ...
2327         * malloc/malloc-internal.h: ... to here.
2328         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2330 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2332         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2333         (UDP_ENCAP_GTP1U): Likewise.
2335         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2336         (PF_MAX): Update value.
2337         (AF_QIPCRTR): New macro.
2339 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2341         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2342         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2343         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2344         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2345         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2346         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2347         s_truncf-vis3, s_trunc-vis3.
2348         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2349         (CFLAGS-s_ceil-vis3.c): Likewise.
2350         (CFLAGS-s_floorf-vis3.c): Likewise.
2351         (CFLAGS-s_floor-vis3.c): Likewise.
2352         (CFLAGS-s_truncf-vis3.c): Likewise.
2353         (CFLAGS-s_trunc-vis3.c): Likewise.
2354         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2355         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2356         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2357         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2358         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2359         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2360         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2361         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2362         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2363         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2364         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2365         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2367 2016-08-02  David S. Miller  <davem@davemloft.net>
2369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2370         (__nearbyint_vis3): Don't check for sNaN before float register is
2371         loaded with the incoming argument.
2372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2373         (__nearbyintf_vis3): Likewise.
2374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2375         Likewise.
2376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2377         Likewise.
2379         * string/test-strncmp.c (do_test_limit): Make sure the test data
2380         stream is aligned as required for the type "CHAR".
2381         (do_test): Likewise.
2383 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2385         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2386         by beq instructions jumping to the end of the function.
2387         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2388         clobber list. Use "i" constraint instead of "X".
2389         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2390         of "X".
2392 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2394         * bits/libc-header-start.h: New file.
2395         * Makefile (headers): Add bits/libc-header-start.h.
2396         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2397         (__GLIBC_USE): New macro.
2398         * libio/stdio.h: Define
2399         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2400         <bits/libc-header-start.h> instead of including <features.h>.
2401         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2402         (open_memstream): Likewise.
2403         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2404         (__asprintf): Likewise.
2405         (asprintf): Likewise.
2406         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2407         (getdelim): Likewise.
2408         (getline): Likewise.
2409         * string/string.h: Define
2410         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2411         <bits/libc-header-start.h> instead of including <features.h>.
2412         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2413         (strndup): Likewise.
2414         * wcsmbs/wchar.h: Define
2415         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2416         <bits/libc-header-start.h> instead of including <features.h>.
2417         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2418         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2420 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2422         Support linking against compatibility symbols, for use in tests.
2423         * include/libc-symbols.h (symbol_version_reference): New macro.
2424         (symbol_version): Use it.
2425         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2426         (compat_symbol): Use compat_symbol_reference.
2427         (compat_symbol_1, compat_symbol_2): Remove.
2428         (compat_symbol_reference, compat_symbol_reference_1)
2429         (compat_symbol_reference_2): New macro.  Use
2430         symbol_version_reference.
2432 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2434         [BZ #19469]
2435         * malloc/Makefile (CPPFLAGS): Compile tests with
2436         -DTEST_NO_MALLOPT.
2437         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2439 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2441         [BZ #20033]
2442         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2443         finite version.
2444         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2445         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2446         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2447         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2448         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2449         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2450         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2451         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2452         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2453         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2454         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2455         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2456         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2457         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2458         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2459         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2460         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2461         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2462         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2463         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2464         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2465         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2466         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2467         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2468         in zero power.
2470 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2472         [BZ #20370]
2473         * malloc/arena.c (get_free_list): Update comment.  Assert that
2474         arenas on the free list have no attached threads.
2475         (remove_from_free_list): New function.
2476         (reused_arena): Call it.
2478 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2480         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2481         when it is a NaN.
2482         [_IEEE_FP_INEXACT] Remove.
2483         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2484         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2485         when it is a NaN.
2486         [_IEEE_FP_INEXACT] Remove.
2487         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2488         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2489         when it is a NaN.
2490         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2491         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2492         when its absolute value is greater than 0x1.0p52.
2493         [_IEEE_FP_INEXACT] Remove.
2494         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2495         when its absolute value is greater than 0x1.0p23.
2496         [_IEEE_FP_INEXACT] Remove.
2498 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2500         * version.h (RELEASE): Set to "development"
2501         (VERSION): Set to 2.24.90.
2502         * NEWS: Add 2.25 section.
2504         * version.h (RELEASE): Set to "stable"
2505         (VERSION): Set to 2.24.
2506         * include/features.h (__GLIBC_MINOR__): Set to 24.
2508         * NEWS: Add 2.24 fixed bugs.
2509         * po/libc.pot: Regenerate.
2511 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2514         [$(subdir) = math] (libm-sysdep_routines): Remove.
2515         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2516         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2517         s_truncf-vis3, s_trunc-vis3.
2518         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2520         file.
2521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2542         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2543         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2544         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2547         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2548         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2549         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2550         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2551         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2552         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2553         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2554         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2555         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2556         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2557         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2558         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2559         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2560         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2561         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2562         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2563         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2565 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2567         [BZ #20384]
2568         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2569         test-double-libmvec-sincos-avx-main.o,
2570         test-double-libmvec-sincos-avx2-main.o,
2571         test-double-libmvec-sincos-main.o,
2572         test-float-libmvec-sincosf-avx-main.o,
2573         test-float-libmvec-sincosf-avx2-main.o and
2574         test-float-libmvec-sincosf-main.o.
2575         test-float-libmvec-sincosf-avx512-main.o.
2576         ($(objpfx)test-double-libmvec-sincos): Also link with
2577         $(objpfx)test-double-libmvec-sincos-main.o.
2578         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2579         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2580         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2581         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2582         ($(objpfx)test-float-libmvec-sincosf): Also link with
2583         $(objpfx)test-float-libmvec-sincosf-main.o.
2584         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2585         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2586         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2587         test-double-libmvec-sincos-avx512-main.o and
2588         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2589         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2590         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2591         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2592         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2593         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2594         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2595         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2596         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2597         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2598         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2599         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2600         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2601         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2602         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2603         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2604         -DREQUIRE_AVX2.
2605         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2606         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2607         -DREQUIRE_AVX512F.
2608         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2609         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2610         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2611         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2612         file.
2613         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2614         Likewise.
2615         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2616         Likewise.
2617         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2618         Likewise.
2619         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2620         Likewise.
2621         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2622         Likewise.
2623         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2624         Likewise.
2625         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2626         Likewise.
2628 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2630         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2632 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2634         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2635         and typo in a comment about AT_HWCAP entry.
2637 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2639         * sysdeps/aarch64/libm-test-ulps: Updated.
2641 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2643         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2644         of r13 as it is not restored in mvcle case.
2646 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2648         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2649         Rename "ret" to "__ret".
2650         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2651         inline_syscall5, inline_syscall6): Likewise.
2653 2016-07-19   Will Newton  <will.newton@gmail.com>
2655         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2656         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2657         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2658         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2659         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2661 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2663         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2664         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2665         -mfpmath=387 with $(rtld-CFLAGS).
2666         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2667         $(rtld-CFLAGS).
2669 2016-07-18   Ross Burton  <ross.burton@intel.com>
2670              Khem Raj  <raj.khem@gmail.com>
2672         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2673         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2674         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2675         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2676         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2677         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2678         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2679         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2680         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2681         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2682         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2683         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2684         R_METAG_TLS_DTPOFF): New.
2686 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2687             Matt Clay  <mclay@lycos.com>
2689         [BZ #20357]
2690         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2691         to call __mpsin/__mpcos and to negate values.
2692         * math/auto-libm-test-in: Add test.
2693         * math/auto-libm-test-out: Regenerate.
2695 2016-07-18  Zack Weinberg  <zackw@panix.com>
2697         * grp/Makefile: Don't install the internal header grp-merge.h.
2699 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2701         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2703 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2705         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2707 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2709         [BZ #15368]
2710         * sysdeps/unix/sysv/linux/nptl-signals.h
2711         (__nptl_clear_internal_signals): New function.
2712         (__libc_signal_block_all): Likewise.
2713         (__libc_signal_block_app): Likewise.
2714         (__libc_signal_restore_set): Likewise.
2715         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2716         implementation.
2717         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2718         the cached pid/tid value in pthread structure.
2720 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2722         [BZ #20347]
2723         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2725 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2727         [BZ #20348]
2728         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2729         preadv64, pwrite64 and pwritev64.
2731 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2733         [BZ #20350]
2734         * posix/tst-preadwrite.c: Renamed to ...
2735         * posix/tst-preadwrite-common.c: This.
2736         (PREAD): Removed.
2737         (PWRITE): Likewise.
2738         (STRINGIFY): Likewise.
2739         (STRINGIFY2): Likewise.
2740         (do_prepare): Make it static and remove function arguments.
2741         (do_test): Likewise.
2742         (PREPARE): Updated.
2743         (TEST_FUNCTION): New.
2744         (name): Make it static.
2745         (fd): Likewise.
2746         (do_prepare): Use create_temp_file.
2747         (do_test): Renamed to ...
2748         (do_test_with_offset): This.  Make it static and accept offset.
2749         Properly check return value of PWRITE and PREAD.  Return bytes
2750         read.  Don't close fd nor unlink name.
2751         * posix/tst-preadwrite.c: Rewrite.
2752         * posix/tst-preadwrite64.c: Likewise.
2754 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2756         [BZ #20309]
2757         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2758         -mtls-dialect=gnu2 works.
2759         * configure: Regenerated.
2760         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2761         (tests): Add tst-gnu2-tls1.
2762         (modules-names): Add tst-gnu2-tls1mod.
2763         ($(objpfx)tst-gnu2-tls1): New.
2764         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2765         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2766         * elf/tst-gnu2-tls1.c: New file.
2767         * elf/tst-gnu2-tls1mod.c: Likewise.
2768         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2769         bytes for push in the PLT entry to align the stack.
2771 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2773         [BZ #20349]
2774         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2776 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2778         [BZ #18707]
2779         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2780         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2782 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2784         * sysdeps/unix/sysv/linux/sysdep.h
2785         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2786         guards.
2787         * misc/tst-preadvwritev-common.c: New file.
2788         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2789         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2790         a check for files larger than 2GB.
2792         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2793         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2794         * sysdeps/unix/sysv/linux/pread.c
2795         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2796         __OFF_T_MATCHES_OFF64_T.
2797         * sysdeps/unix/sysv/linux/pread64.c
2798         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2799         * sysdeps/unix/sysv/linux/preadv.c
2800         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2801         * sysdeps/unix/sysv/linux/preadv64.c
2802         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2803         * sysdeps/unix/sysv/linux/pwrite.c
2804         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2805         * sysdeps/unix/sysv/linux/pwrite64.c
2806         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2807         * sysdeps/unix/sysv/linux/pwritev.c
2808         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2809         * sysdeps/unix/sysv/linux/pwritev64.c
2810         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2812 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2814         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2815         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2817 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2819         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2821 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2823         [BZ #20240]
2824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2825         (CFLAGS-s_modf-ppc32.c): New variable.
2826         (CFLAGS-s_modff-ppc32.c): Likewise.
2827         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2828         (CFLAGS-s_modf-ppc64.c): Likewise.
2829         (CFLAGS-s_modff-ppc64.c): Likewise.
2831 2016-07-07  Andreas Schwab  <schwab@suse.de>
2833         [BZ #20263]
2834         * nptl/tst-robust10.c: New test.
2835         * nptl/Makefile (tests): Add tst-robust10.
2837 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2839         [BZ #20263]
2840         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2842 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2844         * sysdeps/s390/linkmap.h (struct link_map_machine):
2845         Remove member gotplt and add member jmprel.
2846         * sysdeps/s390/s390-32/dl-machine.h
2847         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2848         instead of gotplt with &got[3].
2849         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2850         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2852 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2854         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2856 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2858         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2859         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2860         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2861         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2862         * libio/vtables.c (_IO_vtable_check)
2863         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2864         * libio/libioP.h (IO_set_accept_foreign_vtables)
2865         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2867 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2869         [BZ #20314]
2870         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2871         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2872         $(common-objpfx)cmath.
2873         ($(common-objpfx)cstdlib): New target.
2874         ($(common-objpfx)cmath): Likewise.
2876 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2878         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2880 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2882         [BZ #20327]
2883         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2884         are not part of the string.
2886 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2888         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2889         * nptl/tst-cancel4-common.h (fifoname): New variable.
2890         (fifofd): Likewise.
2891         (cl_fifo): New function.
2892         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2893         SIGINT.
2894         (tf_open): Add early cancel test.
2896 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2898         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2900 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2902         * sysdeps/generic/ldsodefs.h
2903         (dl_symbol_visibility_binds_local_p): New inline function.
2904         * elf/dl-addr.c (determine_info): Treat hidden and internal
2905         symbols as local.
2906         * elf/dl-lookup.c (do_lookup_x): Likewise.
2907         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2909 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2911         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2912         invalid exception for a sNaN input.
2913         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2914         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2915         (__nearbyint_vis3): Likewise
2916         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2917         (__nearbyintf_vis3): Likewise
2918         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2919         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2920         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2921         Likewise.
2922         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2923         Likewise.
2925 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2927         [BZ #20139]
2928         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2929         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2930         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2931         2.24 or above.
2932         (HAVE_AVX512_ASM_SUPPORT): Removed.
2933         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2934         * sysdeps/x86_64/configure: Regenerated.
2935         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2936         check unconditional.
2937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2938         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2939         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2940         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2941         Likewise.
2942         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2943         Likewise.
2944         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2945         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2946         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2947         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2948         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2949         Likewise.
2950         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2951         Likewise.
2952         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2953         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2954         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2955         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2956         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2957         Likewise.
2958         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2959         Likewise.
2960         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2961         Likewise.
2962         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2963         Likewise.
2964         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2965         Likewise.
2966         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2967         Likewise.
2968         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2969         Likewise.
2970         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2971         Likewise.
2972         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2973         Likewise.
2974         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2975         Likewise.
2976         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2977         Likewise.
2979 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2981         [BZ #20024]
2982         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2983         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2984         of this implementation of vector function.
2985         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2986         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2987         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2988         Likewise.
2989         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2990         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2991         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2992         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2993         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2994         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2995         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2996         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2997         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2998         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2999         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3000         for testing vector sincos with fixed ABI.
3001         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3002         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3003         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3004         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3005         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3006         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3007         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3008         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3009         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3010         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3011         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3012         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3013         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3014         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3015         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3016         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3018 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3020         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3022 2016-06-30  Anton Blanchard  <anton@samba.org>
3024         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3025         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3026         s_sinf-ppc64.
3027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3030         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3032 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3035         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3036         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3037         e_expf-ppc64.
3038         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3039         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3040         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3041         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3043 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3045         [BZ #20277]
3046         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3047         when SHARED is defined.
3049 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3051         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3052         (index_arch_Prefer_ERMS): Likewise.
3053         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3054         __memcpy_erms for Prefer_ERMS.
3055         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3056         (__memmove_erms): Enabled for libc.a.
3057         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3058         __memmove_erms or Prefer_ERMS.
3059         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3060         __mempcpy_erms for Prefer_ERMS.
3061         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3062         __memset_erms for Prefer_ERMS.
3064 2016-06-30  Andreas Schwab  <schwab@suse.de>
3066         [BZ #20262]
3067         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3068         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3069         of memory.
3071 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3073         [BZ #18645]
3074         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3075         (test-extras): Add tst-cleanupx4aux.
3076         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3077         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3078         tst-cleanupx4aux.o.
3079         * nptl/tst-cleanupx4aux.c: New file.
3081 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3083         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3085 2016-06-29  Andreas Schwab  <schwab@suse.de>
3087         [BZ #20260]
3088         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3089         address before the beginning of the string as an integer to avoid
3090         array-bounds warning.
3092 2016-06-28  Richard Henderson  <rth@redhat.com>
3094         * elf/elf.h (EM_BPF): New.
3095         (EM_NUM): Update.
3096         (R_BPF_NONE, R_BPF_MAP_FD): New.
3098         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3099         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3100         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3101         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3102         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3103         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3104         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3105         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3106         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3107         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3108         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3109         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3110         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3111         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3112         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3113         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3114         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3115         (EM_NUM): Update.
3117 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3119         [BZ #18960]
3120         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3121         Set _nl_current_LC_CATEGORY_used to two instead of one.
3123 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3125         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3126         (do_test): ... this.
3127         (TEST_FUNCTION): New macro.
3128          Include test-skeleton.c.
3129         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3130         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3132 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3134         [BZ #15479]
3135         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3136         floating-point environment rather than just control word.
3137         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3138         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3139         floating-point environment, with "invalid" exceptions merged in,
3140         rather than just control word.
3141         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3142         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3143         "inexact" exceptions.
3145         [BZ #15479]
3146         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3147         floating-point environment rather than just control word.
3148         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3149         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3150         floating-point environment, with "invalid" exceptions merged in,
3151         rather than just control word.
3152         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3153         * math/libm-test.inc (floor_test_data): Do not allow spurious
3154         "inexact" exceptions.
3156         [BZ #15479]
3157         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3158         floating-point environment rather than just control word.
3159         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3160         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3161         floating-point environment, with "invalid" exceptions merged in,
3162         rather than just control word.
3163         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3164         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3165         "inexact" exceptions.
3167 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3169         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3170         __libc_vfork.
3171         (__vfork) [IS_IN (libc)]: Remove alias.
3172         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3173         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3174         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3176 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3178         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3179         of atomic_compare_and_exchange_bool_rel.
3180         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3181         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3182         catomic_compare_and_exchange_bool_rel): Remove.
3183         * sysdeps/aarch64/atomic-machine.h
3184         (atomic_compare_and_exchange_bool_rel): Likewise.
3185         * sysdeps/alpha/atomic-machine.h
3186         (atomic_compare_and_exchange_bool_rel): Likewise.
3187         * sysdeps/arm/atomic-machine.h
3188         (atomic_compare_and_exchange_bool_rel): Likewise.
3189         * sysdeps/mips/atomic-machine.h
3190         (atomic_compare_and_exchange_bool_rel): Likewise.
3191         * sysdeps/microblaze/atomic-machine.h
3192         ( __arch_compare_and_exchange_bool_8_rel,
3193         __arch_compare_and_exchange_bool_16_rel): Likewise.
3194         * sysdeps/powerpc/atomic-machine.h
3195         ( __arch_compare_and_exchange_bool_8_rel,
3196         __arch_compare_and_exchange_bool_16_rel): Likewise.
3197         * sysdeps/powerpc/powerpc32/atomic-machine.h
3198         ( __arch_compare_and_exchange_bool_32_rel,
3199         __arch_compare_and_exchange_bool_64_rel): Likewise.
3200         * sysdeps/powerpc/powerpc64/atomic-machine.h
3201         ( __arch_compare_and_exchange_bool_32_rel,
3202         __arch_compare_and_exchange_bool_64_rel): Likewise.
3203         * sysdeps/tile/atomic-machine.h
3204         (atomic_compare_and_exchange_bool_rel): Likewise.
3206 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3208         [BZ #20296]
3209         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3210         when either argument is a NaN.
3211         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3212         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3214         * math/libm-test.inc (snan_value_ld): New macro.
3215         (isgreater_test_data): Add sNaN tests.
3216         (isgreaterequal_test_data): Likewise.
3217         (isless_test_data): Likewise.
3218         (islessequal_test_data): Likewise.
3219         (islessgreater_test_data): Likewise.
3220         (isunordered_test_data): Likewise.
3221         (nextafter_test_data): Likewise.
3222         (nexttoward_test_data): Likewise.
3223         (remainder_test_data): Likewise.
3224         (remquo_test_data): Likewise.
3225         (significand_test_data): Likewise.
3226         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3228 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3230         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3231         environment macros are defined.
3232         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3234 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3236         [BZ #20191]
3237         Implement vtable verification in libio.
3238         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3239         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3240         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3241         _IO_new_file_init_internal instead of _IO_file_init.
3242         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3243         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3244         * libio/Makefile (routines): Add vtables.
3245         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3246         (_IO_init): Remove, not for internal use.
3247         (_IO_init_internal): Declare, internal replacement for _IO_init.
3248         (_IO_file_init): Remove, not for internal use.
3249         (_IO_new_file_init): Remove, not for internal use.
3250         (_IO_new_file_init_internal): Declare, internal replacement for
3251         _IO_new_file_init.
3252         (_IO_old_file_init): Remove, not for internal use.
3253         (_IO_old_file_init_internal): Declare, internal replacement for
3254         _IO_old_file_init.
3255         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3256         internal use.
3257         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3258         Declare.
3259         (libio_vtable): New macro.
3260         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3261         functions.
3262         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3263         _IO_new_file_init.
3264         (_IO_new_file_init): New externally visible wrapper which disables
3265         vtable verification.
3266         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3267         Define as vtables.
3268         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3269         (_IO_init): New externally visible wrapper which disables
3270         vtable verification.
3271         * libio/iofdopen.c (_IO_new_fdopen): Call
3272         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3273         comment.
3274         * libio/iofopen.c (__fopen_internal): Call
3275         _IO_new_file_init_internal instead of _IO_file_init.
3276         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3277         Define as vtables.
3278         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3279         _IO_new_file_init_internal instead of _IO_file_init.
3280         * libio/iopopen.c (_IO_new_popen): Likewise.
3281         (_IO_proc_jumps): Define as vtable.
3282         * libio/iovdprintf.c (_IO_vdprintf): Call
3283         _IO_new_file_init_internal instead of _IO_file_init.
3284         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3285         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3286         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3287         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3288         _IO_old_file_init.
3289         (_IO_old_file_init): New externally visible wrapper which disables
3290         vtable verification.
3291         (_IO_old_file_jumps): Define as vtable.
3292         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3293         _IO_old_file_init_internal instead of _IO_old_file_init.
3294         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3295         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3296         (_IO_old_proc_jumps): Define as vtable.
3297         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3298         Define as vtables.
3299         * libio/vtables.c: New file.
3300         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3301         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3302         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3303         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3304         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3305         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3306         instead of _IO_init.
3308 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3310         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3312 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3314         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3315         potentially unused.
3317 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3319         * test-skeleton.c (write_message): New function.
3320         * malloc/tst-mallocfork2.c (write_message): Remove.
3321         * debug/tst-longjmp_chk2.c (write_indented): New function.
3322         (write_message): Remove.
3323         (stackoverflow_handler): Call write_indented.
3325 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3327         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3328         "inexact" exceptions after fnstenv.
3329         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3330         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3331         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3333 2015-06-22  Zack Weinberg  <zackw@panix.com>
3335         * sysdeps/generic/bits/hwcap.h: Moved to ...
3336         * bits/hwcap.h: Here.
3338 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3340         * sysdeps/aarch64/memcpy.S (memcpy):
3341         Further tuning for performance.
3343 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3345         [BZ #20284]
3346         * malloc/arena.c (reused_arena): Do not return NULL if we start
3347         out with a non-corrupted arena.
3349 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3351         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3352         * misc/tst-preadvwritev.c: New file.
3353         * misc/tst-preadvwritev64.c: Likewise.
3354         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3355         usage.
3356         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3357         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3358         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3359         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3361 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3363         [BZ #19654]
3364         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3365         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3366         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3367         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3368         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3369         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3370         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3371         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3372         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3373         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3374         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3375         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3376         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3377         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3378         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3379         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3380         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3381         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3382         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3383         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3384         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3385         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3386         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3387         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3388         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3389         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3391 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3393         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3394         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3396 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3398         * sysdeps/aarch64/memcpy.S (memcpy):
3399         Rewrite of optimized memcpy and memmove.
3400         * sysdeps/aarch64/memmove.S (memmove): Remove
3401         memmove code (merged into memcpy.S).
3403 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3405         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3406         * sysdeps/generic/dl-dtv.h: New file.
3407         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3408         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3409         (dtv_t): Remove.
3410         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3411         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3412         (dtv_t): Remove.
3413         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3414         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3415         (dtv_t): Remove.
3416         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3417         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3418         (dtv_t): Remove.
3419         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3420         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3421         (dtv_t): Remove.
3422         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3423         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3424         (dtv_t): Remove.
3425         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3426         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3427         (dtv_t): Remove.
3428         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3429         (dtv_t): Remove.
3430         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3431         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3432         (dtv_t): Remove.
3433         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3434         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3435         (dtv_t): Remove.
3436         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3437         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3438         (dtv_t): Remove.
3439         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3440         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3441         (dtv_t): Remove.
3442         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3443         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3444         (dtv_t): Remove.
3445         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3446         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3447         (dtv_t): Remove.
3448         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3449         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3450         (dtv_t): Remove.
3451         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3452         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3453         (dtv_t): Remove.
3455 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3457         Revert symbol poisoning of  __malloc_initialize_hook.
3458         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3459         poisoning.
3460         * malloc/Makefile: Remove un-poisoning.
3461         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3462         instead of old__malloc_initialize_hook.
3463         * malloc/malloc-hooks.h: Likewise.
3464         * malloc/malloc.c: Likewise.
3465         * malloc/mcheck-init.c: Likewise.
3467 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3469         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3471 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3473         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3474         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3475         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3476         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3478 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3480         * NEWS: Mention addition of nextup and nextdown.
3481         * manual/arith.texi: Document nextup and nextdown.
3482         * manual/libm-err-tab.pl: Add nextup and nextdown.
3483         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3484         * math/Versions (libm): Add GLIBC_2.24.
3485         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3486         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3487         Add new test.
3488         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3489         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3490         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3491         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3492         (nextup_test_data): Likewise.
3493         (nextdown_test_data): Likewise.
3494         * math/s_nextdown.c: New file.
3495         * math/s_nextdownf.c: Likewise.
3496         * math/s_nextdownl.c: Likewise.
3497         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3498         F(nextup): New function.
3499         F(nextdown): Likewise.
3500         * math/tgmath.h: Add nextup and nextdown.
3501         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3502         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3503         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3504         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3505         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3506         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3507         Add nextup and nextdown.
3508         (CFLAGS-nldbl-nextup.c): New variable.
3509         (CFLAGS-nldbl-nextdown.c): Likewise.
3510         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3511         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3512         * sysdeps/nacl/libm.abilist: Update.
3513         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3514         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3515         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3516         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3517         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3518         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3519         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3520         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3521         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3522         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3523         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3524         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3527         Likewise.
3528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3530         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3531         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3532         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3533         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3534         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3537         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3538         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3539         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3540         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3542 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3544         * manual/pattern.texi: Fix typos & grammar errors.
3546 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3548         * manual/search.texi: Fix typos & grammar errors.
3550 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3552         * manual/message.texi: Fix typos & grammar errors.
3554 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3556         * manual/contrib.texi: Fix spelling typos.
3557         * manual/crypt.texi: Likewise.
3558         * manual/filesys.texi: Likewise.
3559         * manual/locale.texi: Likewise.
3560         * manual/message.texi: Likewise.
3561         * manual/nss.texi: Likewise.
3562         * manual/string.texi: Likewise.
3564 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3566         * manual/locale.texi: Fix typos & grammar errors.
3568 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3570         * manual/charset.texi: Fix typos & grammar errors.
3572 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3574         * manual/string.texi: Fix typos.
3576 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3578         * manual/ctype.texi: Fix typos.
3580 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3582         * manual/memory.texi: Fix various typos & grammar errors.
3584 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3586         [BZ #20255]
3587         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3588         * math/libm-test.inc (fdim_test_data): Add another test.
3590         [BZ #6796]
3591         [BZ #20255]
3592         [BZ #20256]
3593         * math/s_fdim.c: Include <math_private.h>.
3594         (__fdim): Use math_narrow_eval on result.
3595         * math/s_fdimf.c: Include <math_private.h>.
3596         (__fdimf): Use math_narrow_eval on result.
3597         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3598         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3599         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3600         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3601         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3602         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3603         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3604         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3605         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3606         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3607         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3608         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3609         overflow.  Add sNaN tests.
3611         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3612         fpclassify.
3613         * math/s_fdimf.c (__fdimf): Likewise.
3614         * math/s_fdiml.c (__fdiml): Likewise.
3616 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3618         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3619         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3621         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3622         ifunc'ed strcasecmp/strncasecmp.
3623         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3624         [EALIGN]: Removed.
3625         [END]: Likewise.
3626         [__strcasecmp]: Define instead of the above to control symbol name.
3627         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3628         for __strcasecmp_power8.
3629         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3630         for __strncasecmp_power8.
3631         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3632         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3633         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3634         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3635         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3636         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3638 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3640         [BZ #20252]
3641         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3642         arguments when second argument is a NaN.
3643         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3644         qNaN tests.
3646         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3647         (conj_test_data): Likewise.
3648         (copysign_test_data): Likewise.
3649         (creal_test_data): Likewise.
3650         (fma_test_data): Likewise.
3651         (fmod_test_data): Likewise.
3653         [BZ #20250]
3654         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3655         itself.
3656         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3657         zero input to itself.
3658         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3659         Likewise.
3660         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3661         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3662         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3663         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3664         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3666 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3668         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3669         * nptl/tst-cancel4-common.c: New file.
3670         * nptl/tst-cancel4-common.h: Likewise.
3671         * nptl/tst-cancel4.c: Move common definitions to
3672         tst-cancel4-common.{c,h} file.
3673         * nptl/tst-cancel4_1.c: New test.
3674         * nptl/tst-cancel4_2.c: New test.
3676 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3678         [BZ #20248]
3679         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3680         (write_message): New function.
3681         (stackoverflow_handler): Call it instead of printf, to avoid
3682         excessive stack usage by printf.
3683         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3685 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3687         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3688         (prio_inherit_missing): Remove define.
3689         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3690         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3691         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3692         Likewise.
3693         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3694         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3695         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3696         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3697         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3698         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3700 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3702         [BZ #19670]
3703         [BZ #19672]
3705         * io/test-lfs.c (do_prepare): Use xmalloc.
3706         * io/tst-fcntl.c (do_prepare): Likewise.
3707         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3708         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3709         * login/tst-utmp.c (do_prepare): Likewise.
3710         * posix/tst-exec.c (do_prepare): Likewise.
3711         * posix/tst-pathconf.c (prepare): Likewise.
3712         * posix/tst-spawn.c (do_prepare): Likewise.
3713         * posix/tst-truncate.c (do_prepare): Likewise.
3714         * rt/tst-aio.c (do_prepare): Likewise.
3715         * rt/tst-aio64.c (do_prepare): Likewise.
3717 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3719         [BZ #20237]
3720         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3721         (get*ent): Set entidx to NULL during initialization.  If entidx is
3722         NULL, start iteration from the beginning.
3724 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3726         * malloc/malloc.c (musable): Return correct size for dumped fake
3727         mmapped chunk.
3729 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3731         [BZ #20222]
3732         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3733         (_IO_cookie_write): Likewise.
3734         (_IO_cookie_seek): Likewise.
3735         (_IO_cookie_close): Likewise.
3736         (_IO_old_cookie_seek): Likewise.
3737         (set_callbacks): New function.
3738         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3740 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3742         * locale/programs/localedef.c (oldstyle_tables): Remove.
3743         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3745 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3747         [BZ #20240]
3748         * math/Makefile (CFLAGS-s_modf.c): New variable.
3749         (CFLAGS-s_modff.c): Likewise.
3750         (CFLAGS-s_modfl.c): Likewise.
3751         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3753 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3755         [BZ #20215]
3756         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3757         [!__GNUC_PREREQ (3,2)]: Likewise.
3759 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3761         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3762         (msghdr.msg_controllen): Likewise.
3763         (cmsghdr.cmsg_len): Likewise.
3764         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3765         ptw-oldsendmsg.
3766         (CFLAGS-oldrecvmsg.c): Remove rule.
3767         (CFLAGS-oldsendmsg.c): Likewise.
3768         (CFLAGS-recvmsg.c): Add rule.
3769         (CFLAGS-sendmsg.c): Likewise.
3770         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3771         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3772         (CFLAGS-recvmsg.c): Remove rule.
3773         (CFLAGS-sendmsg.c): Likewise.
3774         (CFLAGS-oldrecvmsg.c): Likewise.
3775         (CFLAGS-oldsendmsg.c): Likewise.
3776         (CFLAGS-recvmmsg.c): Likewise.
3777         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3778         to kernel defined interfaces.
3779         (msghdr.msg_controllen): Likewise.
3780         (cmsghdr.cmsg_len): Likewise.
3781         (msghdr.__glibc_reserved1): Remove member.
3782         (msghdr.__glibc_reserved2): Likewise.
3783         (cmsghdr.__glibc_reserved1): Likewise.
3784         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3785         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3786         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3787         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3788         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3789         version.
3790         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3791         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3792         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3793         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3794         Remove recvmsg and sendmsg.
3795         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3796         Likewise.
3797         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3798         Likewise.
3799         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3800         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3801         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3802         Likewise.
3803         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3804         Likewise.
3805         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3806         [libc] (GLIBC_2.24): Likewise.
3807         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3808         Likewise.
3809         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3810         Likewise.
3811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3812         [libc] (GLIBC_2.24): Likewise.
3813         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3814         Likewise.
3815         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3816         Likewise.
3817         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3818         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3819         Likewise.
3820         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3821         Likewise.
3822         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3823         Likewise.
3824         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3825         Likewise.
3826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3827         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3828         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3829         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3830         version for {recv,send,recm,sendm}msg.
3831         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3832         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3833         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3834         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3835         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3836         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3837         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3838         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3839         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3840         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3841         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3842         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3844         Likewise.
3845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3846         Likewise.
3847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3849         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3850         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3851         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3852         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3853         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3854         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3857         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3858         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3859         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3861 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3863         [BZ #19564]
3864         Remove __malloc_initialize_hook from the API.
3865         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3866         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3867         #pragma GCC poison.
3868         * malloc/malloc-hooks.h: New file.
3869         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3870         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3871         (old__malloc_initialize_hook): Rename from
3872         __malloc_initialize_hook to evade poisoning.  Turn into compat
3873         symbol.
3874         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3875         __malloc_initialize_hook.
3876         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3877         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3878         * manual/memory.texi (Hooks for Malloc): Remove
3879         __malloc_initialize_hook.  Adjust hook example.
3881 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3883         [BZ #20235]
3884         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3885         itself.
3886         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3887         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3889         [BZ #20234]
3890         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3891         infinity or NaN input to itself.
3893         [BZ #20233]
3894         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3895         to itself.
3897         [BZ #20232]
3898         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3899         itself.
3901 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3903         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3904         __libc_start_main via GOT.
3906 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3908         * sysdeps/x86_64/memcopy.h: New file.
3909         * sysdeps/x86_64/wordcopy.c: Likewise.
3911 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3913         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3914         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3915         <cstdlib>.
3916         (optimization_barrier): New.
3917         (do_test): Use it.  Call quick_exit in the global namespace.
3918         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3919         instead of <cstdlib>, <thread>.
3920         (optimization_barrier): New.
3921         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3922         Call quick_exit in the global namespace.
3923         (do_test): Call optimization_barrier.  Use pthread_create,
3924         pthread_join instead of std::thread.
3926 2016-06-09  Andreas Schwab  <schwab@suse.de>
3928         [BZ #19755]
3929         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3930         new entries in auto-propagate mode.
3931         * nscd/grpcache.c (cache_addgr): Likewise.
3933 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3935         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3936         New functions.
3937         (add_temp_file): Use them.
3939 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3941         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3943 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3945         [BZ #20229]
3946         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3947         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3948         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3950         [BZ #20228]
3951         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3952         itself.
3953         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3954         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3956         [BZ #20227]
3957         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3958         itself.
3959         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3960         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3961         * math/libm-test.inc (log_test_data): Add sNaN tests.
3963         [BZ #20226]
3964         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3965         itself.
3966         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3967         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3968         (exp10_test_data): Likewise.
3969         (expm1_test_data): Likewise.
3971         [BZ #20225]
3972         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3973         itself.
3974         * math/s_ldexpf.c (__ldexpf): Likewise.
3975         * math/s_ldexpl.c (__ldexpl): Likewise.
3976         * math/w_scalbln.c (__w_scalbln): Likewise.
3977         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3978         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3979         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3980         (scalbln_test_data): Likewise.
3982         [BZ #20224]
3983         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3984         argument to itself.
3985         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3987 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3989         [BZ #19776]
3990         * sysdeps/x86_64/memcpy.S: Make it dummy.
3991         * sysdeps/x86_64/mempcpy.S: Likewise.
3992         * sysdeps/x86_64/memmove.S: New file.
3993         * sysdeps/x86_64/memmove_chk.S: Likewise.
3994         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3995         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3996         * sysdeps/x86_64/memmove.c: Removed.
3997         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3998         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3999         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4000         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4001         Likewise.
4002         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4003         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4004         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4005         memcpy-sse2-unaligned, memmove-avx-unaligned,
4006         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4007         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4008         (__libc_ifunc_impl_list): Replace
4009         __memmove_chk_avx512_unaligned_2 with
4010         __memmove_chk_avx512_unaligned.  Remove
4011         __memmove_chk_avx_unaligned_2.  Replace
4012         __memmove_chk_sse2_unaligned_2 with
4013         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4014         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4015         with __memmove_avx512_unaligned.  Replace
4016         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4017         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4018         with __memcpy_chk_avx512_unaligned.  Remove
4019         __memcpy_chk_avx_unaligned_2.  Replace
4020         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4021         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4022         Replace __memcpy_avx512_unaligned_2 with
4023         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4024         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4025         with __mempcpy_chk_avx512_unaligned.  Remove
4026         __mempcpy_chk_avx_unaligned_2.  Replace
4027         __mempcpy_chk_sse2_unaligned_2 with
4028         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4029         Replace __mempcpy_avx512_unaligned_2 with
4030         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4031         Replace __mempcpy_sse2_unaligned_2 with
4032         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4033         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4034         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4035         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4036         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4037         (ENTRY): Removed.
4038         (END): Likewise.
4039         (ENTRY_CHK): Likewise.
4040         (libc_hidden_builtin_def): Likewise.
4041         Don't include ../memcpy.S.
4042         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4043         __memcpy_chk_avx512_unaligned_erms and
4044         __memcpy_chk_avx512_unaligned.  Use
4045         __memcpy_chk_avx_unaligned_erms and
4046         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4047         Default to __memcpy_chk_sse2_unaligned.
4048         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4049         Change function suffix from unaligned_2 to unaligned.
4050         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4051         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4052         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4053         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4054         (ENTRY): Removed.
4055         (END): Likewise.
4056         (ENTRY_CHK): Likewise.
4057         (libc_hidden_builtin_def): Likewise.
4058         Don't include ../mempcpy.S.
4059         (mempcpy): New.  Add a weak alias.
4060         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4061         __mempcpy_chk_avx512_unaligned_erms and
4062         __mempcpy_chk_avx512_unaligned.  Use
4063         __mempcpy_chk_avx_unaligned_erms and
4064         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4065         Default to __mempcpy_chk_sse2_unaligned.
4067 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4069         [BZ #19881]
4070         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4071         into ...
4072         * sysdeps/x86_64/memset.S: This.
4073         (__bzero): Removed.
4074         (__memset_tail): Likewise.
4075         (__memset_chk): Likewise.
4076         (memset): Likewise.
4077         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4078         defined.
4079         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4080         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4081         (__memset_zero_constant_len_parameter): Check SHARED instead of
4082         PIC.
4083         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4084         memset-avx2 and memset-sse2-unaligned-erms.
4085         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4086         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4087         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4088         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4089         (__bzero): Enabled.
4090         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4091         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4092         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4093         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4094         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4095         (memset): Removed.
4096         (__memset_chk): Likewise.
4097         (MEMSET_SYMBOL): New.
4098         (libc_hidden_builtin_def): Replace __memset_sse2 with
4099         __memset_sse2_unaligned.
4100         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4101         __memset_chk_sse2 and __memset_chk_avx2 with
4102         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4103         Use __memset_chk_sse2_unaligned_erms or
4104         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4105         __memset_chk_avx512_unaligned_erms and
4106         __memset_chk_avx512_unaligned.
4108 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4110         * math/gen-auto-libm-test.c (fp_format_desc): remove
4111         suffix member.
4112         (output_generic_value): Remove usage of suffix member,
4113         and the resulting unuse of the fp_format argument.
4114         (output_for_one_input_case): Remove unused fp_format
4115         parameter.
4117         * math/auto-libm-test-out: Regenerate.
4119         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4120         usage with TEST_COND_ibm128.
4121         (TEST_COND_flt_32): Remove.
4122         (TEST_COND_dbl_64): Remove.
4123         (TEST_COND_ldbl_96_intel): Remove.
4124         (TEST_COND_ldbl_96_m68k): Remove.
4125         (TEST_COND_ldbl_128): Remove.
4127 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4129         * auto-libm-test-in:
4130         Replace flt-32 usage with binary32.
4131         Replace dbl-64 usage with binary64.
4132         Replace ldbl-intel-96 usage with intel96.
4133         Replace ldbl-m68k-96 usage with m68k96.
4134         Replace ldbl-128ibm usage with ibm128.
4135         Replace ldbl-128 usage with binary128.
4137         * auto-libm-test-out: Regenerate.
4139 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4141         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4142         (parse_ulps): Dynamically generate type name matching
4143         string from all_floats.
4144         (get_ulps): Generate the ulps as an array instead.
4145         (output_ulps): Dynamically compose the type based
4146         on the number of supported formats, and print
4147         the indices as type specific helper macros.
4149         * math/libm-test.inc: Remove comment about CHOOSE.
4150         (ulp_data): Generate the type in libm-test-ulps.h.
4151         (ULP_IDX): New macro.
4152         (find_ulps): Update usage of max_ulp.
4154         * math/test-double-vlen2.h (CHOOSE): Remove.
4155         * math/test-double-vlen4.h (CHOOSE): Likewise.
4156         * math/test-double-vlen8.h (CHOOSE): Likewise.
4157         * math/test-float.c (CHOOSE): Likewise.
4158         * math/test-float-finite.c (CHOOSE): Likewise.
4159         * math/test-double.c (CHOOSE): Likewise.
4160         * math/test-double-finite.c (CHOOSE): Likewise.
4161         * math/test-idouble.c (CHOOSE): Likewise.
4162         * math/test-ifloat.c (CHOOSE): Likewise.
4163         * math/test-ildoubl.c (CHOOSE): Likewise.
4164         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4165         * math/test-ldouble.c (CHOOSE): Likewise.
4167         * math/test-float.h (TEST_FLOAT): Remove.
4168         * math/test-double.h (TEST_DOUBLE): Likewise.
4169         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4171 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4173         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4174         (parse_args): Strip C suffix from floating point literals
4175         typed with 'f' and wrap them with LIT().
4177         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4178         (test_ff_f_data_nexttoward): Rename to
4179         (test_fj_f_data): New struct.
4180         (nexttoward_test_data): Relabel tests as
4181         TEST_fj_f instead of TEST_ff_f.
4183 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4185         Emacs bug 23726.
4186         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4187         (__libc_realloc): Correct size computation for dumped fake mmapped
4188         chunks.
4190 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4192         [BZ #20219]
4193         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4194         to itself.
4195         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4197         [BZ #20218]
4198         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4199         to itself.
4200         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4202 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4204         [BZ #20195]
4205         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4206         check to ...
4207         (init_cpu_features): Here.
4209 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4211         [BZ #20214]
4212         * sysdeps/unix/sysv/linux/bits/in.h
4213         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4214          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4215         Define to 1.
4216         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4217          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4218         Define to 0.
4219         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4220         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4222 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4224         [BZ #20198]
4225         * stdlib/Makefile (tests): Add tst-quick_exit, and
4226         tst-thread-quick_exit.
4227         [ifeq ($(have-cxx-thread_local),yes)]
4228         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4229         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4230         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4231         (LDLIBS-tst-thread-quick_exit): Likewise.
4232         [ifneq ($(have-cxx-thread_local),yes)]
4233         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4234         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4235         If run_dtors is true call __call_tls_dtors.
4236         (exit): Call __run_exit_handlers with run_dtors set to true.
4237         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4238         definition.
4239         * stdlib/quick_exit.c (quick_exit): Remove function.
4240         (__new_quick_exit): New function.
4241         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4242         function.
4243         * stdlib/tst-quick_exit.cc: New file.
4244         * stdlib/tst-thread-quick_exit.cc: New file.
4245         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4246         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4247         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4248         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4249         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4250         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4251         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4252         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4253         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4254         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4255         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4256         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4257         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4258         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4259         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4260         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4265         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4266         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4267         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4268         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4269         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4272         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4273         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4274         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4276 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4278         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4279         a typo in comments.
4281 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4283         [BZ #20213]
4284         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4285         argument to itself.
4286         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4288 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4290         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4291         required flags.
4292         (CFLAGS-pwritev64.c): Likewise.
4293         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4294         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4295         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4296         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4297         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4298         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4299         syscall from auto-generation.
4300         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4301         [WORDSIZE == 64] (pwritev64): Remove macro.
4302         [!PWRITEV] (PWRITEV): Likewise.
4303         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4304         [!PWRITEV] (PWRITE): Likewise.
4305         [!PWRITEV] (OFF_T): Likewise.
4306         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4307         (LO_HI_LONG): Remove macro.
4308         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4309         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4310         (PWRITEV): Remove macro.
4311         (PWRITEV_REPLACEMENTE): Likewise.
4312         (PWRITE): Likewise.
4313         (OFF_T): Likewise.
4314         (pwritev64): New function.
4315         * nptl/tst-cancel4.c (tf_writev): Add test.
4317         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4318         required flags.
4319         (CFLAGS-preadv64.c): Likewise.
4320         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4321         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4322         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4323         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4324         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4325         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4326         syscall from auto-generation.
4327         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4328         [WORDSIZE == 64] (preadv64): Remove macro.
4329         [!PREADV] (PREADV): Likewise.
4330         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4331         [!PREADV] (PREAD): Likewise.
4332         [!PREADV] (OFF_T): Likewise.
4333         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4334         (LO_HI_LONG): Remove macro.
4335         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4336         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4337         (PREADV): Remove macro.
4338         (PREADV_REPLACEMENTE): Likewise.
4339         (PREAD): Likewise.
4340         (OFF_T): Likewise.
4341         (preadv64): New function.
4342         * nptl/tst-cancel4.c (tf_preadv): Add test.
4344 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4346         [BZ #20212]
4347         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4348         argument to itself.
4349         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4351 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4353         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4354         New symbol defined as libc_hidden_def.
4355         (strcasestr): Became a weak alias to __strcasestr.
4356         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4357         according to multi-arch support.  Move __stpncpy hidden
4358         definition from here to...
4359         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4360         symbol stpncpy.
4361         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4362         libc_hidden_builtin_def.
4363         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4364         memset symbol to use when multi-arch support is available.
4366 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4368         * dlfcn/tst-rec-dlopen.c: Include string.h.
4370 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4372         * manual/install.texi: Remove mention of --without-tls
4373         * INSTALL: Regenerate.
4375 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4377         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4378         Remove.
4379         (call_function, interposed_malloc_called): New variables.
4380         (malloc): New function.
4381         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4382         and clear call_function as needed.
4384 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4386         * include/wchar.h (__wmemset): Use __typeof.
4388 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4390         * include/wchar.h (__wmemset): Declare function without typeof.
4392 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4394         [BZ #20205]
4395         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4396         exponent when incrementing negative subnormal with low mantissa
4397         word zero.
4398         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4399         Add another test.
4401 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4403         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4404         __wmemset instead of wmemset.
4406 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4408         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4409         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4410         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4411         __USE_KERNEL_IPV6_DEFS to 0.
4412         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4413         Update comment.
4415 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4417         [BZ #19861]
4418         Do not use IFUNC resolver with potentially unrelocated symbol.
4419         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4420         (DEFINE_FORK): Remove macro and inline definition.
4421         (fork_alias): Renamed from fork_ifunc.
4422         (__fork_alias): Renamed from __fork_ifunc.
4424 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4426         [BZ 19653]
4427         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4428         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4430 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4432         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4433         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4434         i386-linux-gnu).
4435         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4436         Set to no.
4437         * sysdeps/mach/hurd/configure: Refresh.
4439 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4441         [BZ #20178]
4442         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4443         on failure instead of exit.
4445 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4447         [BZ #3629]
4448         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4449         of POSIX.1-2008.
4451 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4453         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4454           Use PLT entry for calling _hurd_self_sigstate.
4456 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4458         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4459         available logical processors with SMT level type sharing L2
4460         cache for Intel processors.
4462 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4464         [BZ #20160]
4465         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4466         argument to itself before returning the result.
4467         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4468         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4469         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4470         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4471         Likewise.
4472         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4473         Likewise.
4474         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4475         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4476         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4477         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4478         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4479         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4481         [BZ #20160]
4482         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4483         argument to itself before returning the result.
4484         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4485         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4486         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4487         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4488         Likewise.
4489         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4490         Likewise.
4491         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4492         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4493         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4494         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4495         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4496         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4498 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4500         * libm-test.inc: Replace usage of M_El with
4501         (lit_e): New macro.
4503 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4505         * libm-test.inc: Replace usage of M_PI_4l with
4506         (lit_pi_4_d): New macro.
4508 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4510         * libm-test.inc: Replace usage of M_PIl with
4511         (lit_pi): New macro.
4513 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4515         * libm-test.inc: Replace usage of M_PI2l with
4516         (lit_pi_2_d): New macro.
4518         * math/test-double.h (LITM): New macro.
4519         * math/test-float.h (LITM): Likewise.
4520         * math/test-ldouble.h (LITM): Likewise.
4522 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4524         * libm-test.inc (M_PI_34l): Rename to
4525         (lit_pi_3_m_4_d): New Macro.
4526         (M_PI_34_LOG10El): Rename to
4527         (lit_pi_3_m_4_ln10_m_d): New Macro.
4528         (M_PI2_LOG10El): Rename to
4529         (lit_pi_2_ln10_m_d):  New Macro.
4530         (M_PI4_LOG10El): Rename to
4531         (lit_pi_4_ln10_m_d):  New Macro.
4532         (M_PI_LOG10El): Rename to
4533         (lit_pi_ln10_d):  New Macro.
4535 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4537         [BZ #20157]
4538         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4539         determine whether to negate low half if [_ARCH_PPCGR], and integer
4540         comparison otherwise.
4541         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4542         determine whether to negate low half.
4544         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4545         (NO_TEST_INLINE_DOUBLE): Likewise.
4546         (TEST_COND_x86_64): Likewise.
4547         (TEST_COND_x86): Likewise.
4548         (M_PI_6l): Likewise.
4550 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4552         * math/libm-test.inc:
4553         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4554         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4555         (TEST_LDOUBLE): Update usage to evaluate as true if
4556         the guarded tests match the property being tested.
4557         (LDBL_MAX_EXP): Change to MAX_EXP.
4558         (LDBL_MIN_EXP): Change to MIN_EXP.
4559         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4560         nexttoward tests.
4562 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4564         * math/libm-test.inc:
4565         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4566         (TYPE_MIN): Likewise.
4567         (TYPE_TRUE_MIN): Likewise.
4568         (TYPE_MAX): Likewise.
4569         (MIN_EXP): Likewise.
4570         (MAX_EXP): Likewise.
4571         (MANT_DIG): Likewise.
4573         (FSTR_MAX): New macro.
4574         (__CONCATX): Likewise.
4575         (QTYPE_STR): Likewise.
4576         (TEST_COND_binary32): Likewise.
4577         (TEST_COND_binary64): Likewise.
4578         (TEST_COND_binary128): Likewise.
4579         (TEST_COND_ibm128): Likewise.
4580         (TEST_COND_intel96): Likewise.
4581         (TEST_COND_m68k96): Likewise.
4583         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4584         (TEST_COND_dbl_64): Likewise.
4585         (TEST_COND_ldbl_96_intel): Likewise.
4586         (TEST_COND_ldbl_96_m68k): Likewise.
4587         (TEST_COND_ldbl_128): Likewise.
4588         (TEST_COND_ldbl_128ibm): Likewise.
4590         (plus_zero): Redefine using LIT macro.
4591         (minus_zero): Likewise.
4592         (plus_infty): Redefine as (INF).
4593         (minux_infty): Redefine as (-INF).
4594         (max_value): Redefine as TYPE_MAX.
4595         (min_value): Redefine as TYPE_MIN.
4596         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4598         (print_float): Refactor to use snprintf to convert FLOAT values
4599         to string. This brings it closer to dropin replacement of strtof
4600         for the TS 18661 defined types.
4601         (update_stats): Likewise.
4602         (print_complex_function_ulps): Likewise.
4603         (print_max_error): Likewise.
4604         (print_complex_max_error): Likewise.
4605         (check_float_internal): Likewise.
4607         * math/test-float.h (PREFIX): New macro.
4608         (LIT): Likewise.
4609         (TYPE_STR): Likewise.
4610         (FTOSTR): Likewise.
4612         * math/test-double.h (PREFIX): New macro.
4613         (LIT): Likewise.
4614         (TYPE_STR): Likewise.
4615         (FTOSTR): Likewise.
4617         * math/test-ldouble.h (PREFIX): New macro.
4618         (LIT): Likewise.
4619         (TYPE_STR): Likewise.
4620         (FTOSTR): Likewise.
4622 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4624         [BZ #20156]
4625         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4626         to itself when zero or not finite.
4627         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4628         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4629         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4630         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4632 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4634         [BZ #20153]
4635         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4636         x * x + x for infinities and NaNs.
4638         [BZ #20151]
4639         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4640         argument to itself before returning result.
4641         (__ieee754_y0l): Likewise.
4642         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4643         (__ieee754_y1l).
4645         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4646         (atan_test_data): Likewise.
4647         (ceil_test_data): Likewise.
4648         (cos_test_data): Likewise.
4649         (cosh_test_data): Likewise.
4650         (erf_test_data): Likewise.
4651         (exp2_test_data): Likewise.
4652         (fabs_test_data): Likewise.
4653         (floor_test_data): Likewise.
4654         (ilogb_test_data): Likewise.
4655         (j0_test_data): Likewise.
4656         (j1_test_data): Likewise.
4657         (jn_test_data): Likewise.
4658         (lgamma_test_data): Likewise.
4659         (lrint_test_data): Likewise.
4660         (llrint_test_data): Likewise.
4661         (logb_test_data): Likewise.
4662         (lround_test_data): Likewise.
4663         (llround_test_data): Likewise.
4664         (nearbyint_test_data): Likewise.
4665         (rint_test_data): Likewise.
4666         (round_test_data): Likewise.
4667         (sin_test_data): Likewise.
4668         (sincos_test_data): Likewise.
4669         (sinh_test_data): Likewise.
4670         (sqrt_test_data): Likewise.
4671         (tan_test_data): Likewise.
4672         (tanh_test_data): Likewise.
4673         (tgamma_test_data): Likewise.
4674         (trunc_test_data): Likewise.
4675         (y0_test_data): Likewise.
4676         (y1_test_data): Likewise.
4677         (yn_test_data): Likewise.
4679         * math/libm-test.inc: Update comment about NaN testing.
4680         (TEST_SNAN): New macro.
4681         (snan_value): Likewise.
4682         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4683         (fpclassify_test_data): Add sNaN tests.
4684         (isfinite_test_data): Likewise.
4685         (isinf_test_data): Likewise.
4686         (isnan_test_data): Likewise.
4687         (isnormal_test_data): Likewise.
4688         (issignaling_test_data): Likewise.
4689         (signbit_test_data): Likewise.
4690         * math/gen-libm-test.pl (%beautify): Add snan_value.
4691         (show_exceptions): Add argument $test_snan.
4692         (parse_args): Handle snan_value as non-finite.  Update call to
4693         show_exceptions.
4694         * math/Makefile (libm-test-no-inline-cflags): Add
4695         -fsignaling-nans.
4697 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4699         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4700         (CFLAGS-oldsendmsg.c): Add rule.
4701         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4702         Correct recvmsg symbol name.
4703         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4704         Likewise.
4706 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4708         * sysdeps/unix/sysv/linux/Makefile
4709         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4710         oldsendmmsg.
4711         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4712         sendmmsg.
4713         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4714         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4715         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4716         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4718         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4719         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4721         Likewise.
4722         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4723         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4724         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4725         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4726         iovlen and controllen fields to adjust to POSIX specification.
4727         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4729         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4730         and change to correct expected type.
4731         (msghdr.msg_controllen): Likewise.
4732         (cmsghdr.cmsg_len): Likewise.
4733         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4734         expected POSIX assumption about the size.
4735         (msghdr.msg_controllen): Likewise.
4736         (msghdr.__glibc_reserved1): Likewise.
4737         (msghdr.__glibc_reserved2): Likewise.
4738         (cmsghdr.cmsg_len): Likewise.
4739         (cmsghdr.__glibc_reserved1): Likewise.
4740         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4741         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4742         (CFLAGS-sendmsg.c): Remove rule.
4743         (CFLAGS-recvmsg.c): Likewise.
4744         (CFLAGS-oldsendmsg.c): Add rule.
4745         (CFLAGS-oldrecvmsg.c): Likewise.
4746         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4747         recvmsg and sendmsg.
4748         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4749         Likewise.
4750         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4751         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4752         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4753         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4754         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4755         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4756         Likewise.
4757         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4758         Likewise.
4759         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4760         Likewise.
4761         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4762         Likewise.
4763         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4764         Likewise.
4765         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4766         Likewise.
4767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4768         (GLIBC_2.24): Likewise.
4769         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4770         Likewise.
4771         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4772         Likewise.
4773         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4774         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4775         Likewise.
4776         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4777         Likewise.
4778         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4779         Likewise.
4780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4781         (GLIBC_2.24): Likewise.
4782         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4783         Likewise.
4784         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4785         Likewise.
4786         * sysdeps/unix/sysv/linux/Makefile
4787         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4788         (CFLAGS-sendmsg.c): Add rule.
4789         (CFLAGS-recvmsg.c): Likewise.
4790         (CFLAGS-oldsendmsg.c): Likewise.
4791         (CFLAGS-oldrecvmsg.c): Likewise.
4792         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4793         initialization.
4794         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4795         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4796         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4797         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4798         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4799         iovlen and controllen fields to adjust to POSIX specification.
4800         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4801         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4802         added recvmsg and sendmsg.
4803         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4804         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4805         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4806         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4807         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4808         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4809         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4810         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4811         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4812         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4813         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4814         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4816         Likewise.
4817         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4819         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4820         Likewise.
4821         Likewise.
4822         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4823         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4824         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4825         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4826         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4827         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4829         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4831         Likewise.
4832         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4833         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4835         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4836         from auto-generation.
4837         (sendmsg): Likewise.
4838         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4839         (sendmsg): Likewise.
4840         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4841         (sendmsg): Likewise.
4842         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4843         (sendmsg): Likewise.
4844         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4845         (sendmsg): Likewise.
4846         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4847         (sendmsg): Likewise.
4848         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4849         Likewise.
4850         (sendmsg): Likewise.
4851         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4852         (sendmsg): Likewise.
4853         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4854         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4855         Remove.
4856         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4857         Likewise.
4858         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4859         Undefine.
4860         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4861         Likewise.
4862         * sysdeps/unix/sysv/linux/kernel-features.h
4863         (__ASSUME_SENDMSG_SYSCALL): Define.
4864         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4865         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4866         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4867         Remove.
4868         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4869         Likewise.
4870         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4871         Undefine.
4872         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4873         Likewise.
4874         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4875         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4876         Remove.
4877         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4878         Likewise.
4879         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4880         Undefine.
4881         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4882         Likewise.
4883         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4884         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4885         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4886         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4887         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4888         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4889         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4890         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4891         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4893 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4895         * stdlib/gen-tst-strtod-round.c: Add backslash to
4896         compile command in comment.
4897         (printfp): Remove the literal suffix, and define an infinite
4898         value as INF to avoid expansion clash with INFINITY.
4899         (round_str): Remove the literal suffix.
4900         (round_for_all): Likewise, remove the now duplicate ldbl-64
4901         entry, and remove some magic constants.
4903         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4904         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4905         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4906         (_CONCAT): New macro.
4907         (CONCAT): Likewise.
4908         (CHOOSE_ld): Likewise.
4909         (CHOOSE_f): Likewise.
4910         (CHOOSE_d): Likewise.
4911         (FTYPE_MEMBER): Likewise.
4912         (BOOL_MEMBER): Likewise.
4913         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4914         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4915         (_XNTRY): Likewise.
4916         (XNTRY): Likewise.
4917         (_ENTRY): Likewise.
4918         (ENTRY): Likewise.
4919         (test_exactness): Generate members via macro.
4920         (test_results): Likewise.
4921         (test): Update members.
4922         (TEST): Redefine using new macros.
4923         (INF): New macro.
4924         (fetestmodes): New structure.
4925         (do_test): Refactor to be type generic.
4926         (test_in_one_mode): Refactor duplicate code into
4927         (GEN_ONE_TEST): New macro.
4929         * stdlib/tst-strtod-round-data.h: Regenerate.
4931         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4932         Extend to pass additional arbitrary parameters to
4933         generators.
4935 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4937         [BZ #15479]
4938         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4939         floating-point state after first floating-point operation on
4940         input.  Restore full floating-point state instead of just rounding
4941         mode.
4942         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4943         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4944         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4945         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4946         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4948         [BZ #15479]
4949         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4950         floating-point state after first floating-point operation on
4951         input.  Restore full floating-point state instead of just rounding
4952         mode.
4953         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4954         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4955         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4956         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4957         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4959 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4961         [BZ #19727]
4962         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4963         valid high surrogate.
4964         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4965         of an utf16 surrogate.
4966         * iconv/gconv_simple.c (BODY): Likewise.
4967         * iconvdata/bug-iconv12.c: New file.
4968         * iconvdata/Makefile (tests): Add bug-iconv12.
4970 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4972         [BZ #19726]
4973         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4974         outptrp in case of an illegal input.
4975         * iconv/tst-iconv6.c: New file.
4976         * iconv/Makefile (tests): Add tst-iconv6.
4978 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4980         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4981         an error in case of a value in range of an utf16 low surrogate.
4983 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4985         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4986         an error in case of a value in range of an utf16 low surrogate.
4988 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4990         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4991         Move to ...
4992         * sysdeps/s390/Makefile: ... here.
4993         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4994         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4995         (BRANCH_ON_COUNT): New define.
4996         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4997         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4998         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4999         run on s390-32, too.
5000         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5001         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5002         run on s390-32, too.
5003         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5004         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5005         run on s390-32, too.
5007 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5009         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5010         etf3eh or new vector loop-variant.
5012 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5014         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5015         etf3eh or new vector loop-variant.
5017 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5019         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5020         or new vector loop-variant.
5022 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5024         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5025         Rename to TR_LOOP and usage of tr instead of troo instruction.
5027 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5029         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5030         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5032 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5034         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5035         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5036         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5037         New override define.
5038         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5040 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5042         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5043         * sysdeps/s390/configure.ac: Add test for S390 vector register
5044         support in gcc.
5045         * sysdeps/s390/configure: Regenerated.
5047 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5049         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5050         Install file from $(objpfx)gconv-modules.
5051         ($(objpfx)gconv-modules): Concatenate architecture specific file
5052         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5053         * sysdeps/s390/gconv-modules: New file.
5054         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5055         Deleted.
5056         ($(objpfx)gconv-modules-s390): Deleted.
5057         (sysdeps-gconv-modules): New variable.
5059 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5061         [BZ #15479]
5062         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5063         of immediate operand to rounding instruction.
5064         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5065         Likewise.
5066         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5067         Likewise.
5068         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5069         Likewise.
5071 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5073         * math/libm-test.inc (MIN_EXP): Directly define as
5074         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5076 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5078         * math/libm-test.inc (MANT_DIG): Directly define as
5079         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5081 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5083         * stdlib/gen-tst-strtod-round.c (main):
5084           Change usage to more closely match the generated
5085           output.  Add usage and compilation instructions.
5086           (string_to_fp): Add and use FILE* parameter as
5087           output target.
5088           (print_fp): Likewise.
5089           (round_str): Likewise.
5090           (round_for_all): Likewise.
5091         * stdlib/tst-strtod-round.c (tests): Move into
5092         * stdlib/tst-strtod-round-data.h: New file.
5094 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5096         [BZ #15479]
5097         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5098         (__round): Do not force "inexact" exception.
5099         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5100         variable.
5101         (__round): Do not force "inexact" exception.
5102         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5103         (__roundf): Do not force "inexact" exception.
5104         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5105         (__roundl): Do not force "inexact" exception.
5106         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5107         (__roundl): Do not force "inexact" exception.
5108         * math/libm-test.inc (round_test_data): Do not allow spurious
5109         "inexact" exceptions.
5111         [BZ #15479]
5112         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5113         exception in comment.
5114         (huge): Remove variable.
5115         (__floor): Do not force "inexact" exception.
5116         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5117         "inexact" exception in comment.
5118         (huge): Remove variable.
5119         (__floor): Do not force "inexact" exception.
5120         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5121         exception in comment.
5122         (huge): Remove variable.
5123         (__floorf): Do not force "inexact" exception.
5124         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5125         exception in comment.
5126         (huge): Remove variable.
5127         (__floorl): Do not force "inexact" exception.
5129         [BZ #15479]
5130         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5131         exception in comment.
5132         (huge): Remove variable.
5133         (__ceil): Do not force "inexact" exception.
5134         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5135         "inexact" exception in comment.
5136         (huge): Remove variable.
5137         (__ceil): Do not force "inexact" exception.
5138         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5139         (__ceilf): Do not force "inexact" exception.
5140         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5141         exception in comment.
5142         (huge): Remove variable.
5143         (__ceill): Do not force "inexact" exception.
5145 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5147         * config.h.in (BIND_NOW): New.
5148         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5149         * configure: Regenerated.
5150         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5151         indirect branch via the GOT slot.
5153 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5155         [BZ #19765]
5156         * sysdeps/s390/mempcpy.S: New File.
5157         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5158         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5159         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5160         Add mempcpy variants.
5161         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5162         (memcpy): Adjust to be usable from mempcpy entry point.
5163         (__memcpy_mvcle): Likewise.
5164         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5165         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5166         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5167         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5168         (__memcpy_z10): Likewise.
5169         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5171 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5173         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5174         Remove __GI_ symbol.
5175         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5176         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5177         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5178         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5179         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5180         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5182 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5184         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5185         Use cghi instead of chi to compare 64bit value.
5187 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5189         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5190         Jump to 1MB check before executing mvc-loop.
5192 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5194         [BZ #6527]
5195         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5196         unconditionally.
5197         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5199 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5201         * stdlib/tst-strtod6.c (do_test): Use new type generic
5202         invocation of the test function.
5203         (test): Refactor into ...
5204         (TEST_STRTOD): New macro base function.
5206 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5208         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5209         (TEST_STRTOD): New macro.
5210         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5212 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5214         * stdlib/tst-strtod6.c (do_test): Use new type generic
5215         invocation of the test function.
5216         (test): Refactor into ...
5217         (TEST_STRTOD): New macro base function.
5219 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5221         CVE-2016-4429
5222         [BZ #20112]
5223         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5224         payload.
5226 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5228         [BZ #20111]
5229         * bits/sockaddr.h (_SS_SIZE): Define.
5230         * bits/socket.h (_SS_SIZE): Remove.
5231         (_SS_PADSIZE): Adjust to account for all padding.
5232         (struct sockaddr_storage): Update comment.  Avoid implicit
5233         padding.
5234         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5235         (_SS_PADSIZE): Adjust to account for all padding.
5236         (struct sockaddr_storage): Update comment.  Avoid implicit
5237         padding.
5238         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5239         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5240         (_SS_PADSIZE): Adjust to account for all padding.
5241         (struct sockaddr_storage): Update comment.  Avoid implicit
5242         padding.
5243         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5244         __SS_SIZE is 126 in this version.
5245         * inet/tst-sockaddr.c: New file.
5246         * inet/Makefile (tests): Add tst-sockaddr.c
5247         (tst-sockaddr.c): Compile with non-strict aliasing.
5249 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5251         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5252         [XPG3 || XPG4].
5253         (NL_ARGMAX): Also expect for [XPG3].
5254         (NL_LANGMAX): Likewise.
5255         (NL_MSGMAX): Likewise.
5256         (NL_NMAX): Likewise.
5257         (NL_SETMAX): Likewise.
5258         (NL_TEXTMAX): Likewise.
5259         (NZERO): Likewise.
5260         (TMP_MAX): Likewise.
5261         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5262         variable.
5264         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5265         (PF_MAX): Update value.
5266         (AF_KCM): New macro.
5267         (SOL_NETBEUI): Likewise.
5268         (SOL_LLC): Likewise.
5269         (SOL_DCCP): Likewise.
5270         (SOL_NETLINK): Likewise.
5271         (SOL_TIPC): Likewise.
5272         (SOL_RXRPC): Likewise.
5273         (SOL_PPPOL2TP): Likewise.
5274         (SOL_BLUETOOTH): Likewise.
5275         (SOL_PNPIPE): Likewise.
5276         (SOL_RDS): Likewise.
5277         (SOL_IUCV): Likewise.
5278         (SOL_CAIF): Likewise.
5279         (SOL_ALG): Likewise.
5280         (SOL_NFC): Likewise.
5281         (SOL_KCM): Likewise.
5282         (MSG_BATCH): New enum value and macro.
5284 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5286         [BZ #18185]
5287         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5288         sharing L2 cache to 2 for Knights Landing.
5290 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5292         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5293         (FTW_DP): Do not expect for [XPG3 || XPG4].
5294         (FTW_SL): Do not expect for [XPG3].
5295         (FTW_SLN): Likewise.
5296         (FTW_PHYS): Likewise.
5297         (FTW_MOUNT): Likewise.
5298         (FTW_DEPTH): Likewise.
5299         (FTW_CHDIR): Likewise.
5300         (nftw): Likewise.
5301         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5302         variable.
5304 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5306         * manual/errno.texi: Fix various typos & grammar errors.
5308 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5310         * manual/intro.texi: Fix duplicated typo.
5312 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5314         [BZ #13304]
5315         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5316         <float.h>, <math_private.h> and <stdlib.h>.
5317         (add_split): New function.
5318         (mul_split): Likewise.
5319         (ext_val): New typedef.
5320         (store_ext_val): New function.
5321         (mul_ext_val): New function.
5322         (compare): New function.
5323         (add_split_ext): New function.
5324         (__fmal): After checking for Inf, NaN and zero, compute result as
5325         an exact sum of scaled double values in round-to-nearest before
5326         adding those up and adjusting for other rounding modes.
5327         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5328         tests of fma.
5329         * math/auto-libm-test-out: Regenerated.
5331 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5333         [BZ #20119]
5334         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5335         processor level type mask for CPUID with EAX == 11.
5337 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5339         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5340         logical threads if the HTT bit is 0.
5341         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5342         (index_cpu_HTT): Likewise.
5343         (reg_HTT): Likewise.
5345 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5347         [BZ #20115]
5348         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5349         Remove alignments on jump targets.
5351 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5353         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5354         (getpwent): Likewise.
5355         (setpwent): Likewise.
5356         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5357         variable.
5359         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5360         (remque): Likewise.
5361         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5362         variable.
5364 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5366         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5367         not being tested.
5369 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5371         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5372         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5373         call.
5374         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5375         (__condvar_cleanup1): Likewise.
5377 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5379         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5380         New
5381         (__pthread_unwind): Renamed to ...
5382         (PTHREAD_UNWIND): This.
5383         (__pthread_enable_asynccancel): Replace
5384         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5386 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5388         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5389         (CLONE_NEWCGROUP): New macro.
5391         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5392         (Q_GETNEXTQUOTA): New macro.
5394 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5396         [BZ #19907]
5397         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5398         buffer updated by the previous run.
5399         * string/test-memcpy.c (do_one_test): Likewise.
5400         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5401         * string/test-memmove.c (do_one_test): Likewise.
5403 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5405         [BZ #20094]
5406         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5407         not [__USE_XOPEN].
5408         (unlockpt): Likewise.
5409         (ptsname): Likewise.
5410         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5411         variable.
5413         [BZ #20076]
5414         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5415         instead of [__USE_UNIX98].
5416         (S_ISSOCK): Likewise.
5417         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5418         variable.
5420         [BZ #20074]
5421         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5422         [__USE_POSIX].
5423         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5424         variable.
5426         [BZ #20051]
5427         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5428         (ttyslot): Do not declare.
5429         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5430         (ttyslot): New prototype.
5431         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5432         variable.
5433         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5435 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5437         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5439 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5441         Fix race condition in tst-mallocfork2, use fewer resources.
5442         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5443         to current process group.
5444         (signal_sender): Yield in the non-sleeping case.
5446 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5448         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5449         (ecvt): Likewise.
5450         (fcvt): Likewise.
5451         (gcvt): Likewise.
5452         (getsubopt): Likewise.
5453         (grantpt): Likewise.
5454         (initstate): Likewise.
5455         (l64a): Likewise.
5456         (mktemp): Likewise.
5457         (mkstemp): Likewise.
5458         (ptsname): Likewise.
5459         (random): Likewise.
5460         (realpath): Likewise.
5461         (setstate): Likewise.
5462         (srandom): Likewise.
5463         (ttyslot): Likewise.
5464         (unlockpt): Likewise.
5465         (valloc): Likewise.
5467         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5468         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5469         variable.
5471 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5473         [BZ #20072]
5474         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5475         init_cpu_features only if SHARED is defined.
5476         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5478 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5480         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5481         non-inclusive caches on Intel processors.
5483 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5485         * malloc/malloc.c (dumped_main_arena_start)
5486         (dumped_main_arena_end): New variables.
5487         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5488         (do_check_chunk): Skip dumped fake mmapped chunks.
5489         (munmap_chunk): Likewise.
5490         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5491         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5492         mmapped chunks.
5493         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5494         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5495         and dumped_main_arena_end to cover the dumped heap.
5497 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5499         * conform/data/time.h-data (getdate_err): Do not expect for
5500         [XPG3].
5501         (getdate): Likewise.
5502         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5503         variable.
5505         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5506         (F_ULOCK): Likewise.
5507         (F_TEST): Likewise.
5508         (F_TLOCK): Likewise.
5509         (useconds_t): Likewise.
5510         (intptr_t): Do not expect for [XPG3] or [XPG4].
5511         (brk): Do not expect for [XPG3]
5512         (fchown): Likewise.
5513         (fchdir): Likewise.
5514         (ftruncate): Likewise.
5515         (getdtablesize): Likewise.
5516         (gethostid): Likewise.
5517         (getpagesize): Likewise.
5518         (getpgid): Likewise.
5519         (getsid): Likewise.
5520         (getwd): Likewise.
5521         (lchown): Likewise.
5522         (lockf): Likewise.
5523         (readlink): Likewise.
5524         (sbrk): Likewise.
5525         (setpgrp): Likewise.
5526         (setregid): Likewise.
5527         (setreuid): Likewise.
5528         (symlink): Likewise.
5529         (sync): Likewise.
5530         (truncate): Likewise.
5531         (ualarm): Likewise.
5532         (usleep): Likewise.
5533         (vfork): Likewise.
5534         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5535         variable.
5537         [BZ #20054]
5538         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5539         not [__USE_UNIX98].
5540         * conform/data/unistd.h-data (gethostname): Do not expect for
5541         [XPG3].
5543         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5544         [!POSIX] (S_IFBLK): Likewise.
5545         [!POSIX] (S_IFCHR): Likewise.
5546         [!POSIX] (S_IFIFO): Likewise.
5547         [!POSIX] (S_IFREG): Likewise.
5548         [!POSIX] (S_IFDIR): Likewise.
5549         [!POSIX] (S_IFLNK): Likewise.
5550         [!POSIX] (S_IFSOCK): Likewise.
5551         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5552         variable.
5553         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5555 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5557         * sysdeps/aarch64/memset.S (__memset):
5558         Rewrite of optimized memset.
5560 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5562         [BZ #19703]
5563         Partially async-signal-safe fork for single-threaded processes.
5564         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5565         variable.  Do not acquire and reset/release malloc and libio locks
5566         in single-threaded processes.
5567         * malloc/tst-mallocfork2.c: New file.
5568         * malloc/Makefile (tests): Add it.
5570 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5572         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5573         argument.  Use scratch buffer instead of extend_alloca.
5574         (gethosts): Use scratch buffer instead of extend_alloca.
5575         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5576         extend_alloca.
5577         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5579 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5581         [BZ #20055]
5582         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5583         instead of [__USE_UNIX98].
5584         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5585         [__USE_UNIX98].
5586         * conform/data/termios.h-data (tcgetsid): Do not expect for
5587         [XPG3].
5588         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5589         variable.
5590         (test-xfail-XPG4/termios.h/conform): Likewise.
5592 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5594         Do not use mcheck in localedef.
5595         * locale/programs/localedef.c (turn_on_mcheck)
5596         (__malloc_initialize_hook): Remove.
5598 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5600         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5601         * sysdeps/s390/s390-64/Makefile: Likewise.
5603 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5605         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5606         Remove ifunc-defines.sym.
5607         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5608         Likewise.
5609         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5610         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5611         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5612         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5613         rtld-global-offsets.sym.
5614         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5615         * sysdeps/x86/cpu-features-offsets.sym: This.
5616         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5617         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5619 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5621         [BZ #20073]
5622         * io/sys/stat.h (fchmod): Declare for
5623         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5624         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5625         variable.
5627         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5628         [XPG3] (S_IFSOCK): Likewise.
5629         [XPG3] (S_ISVTX): Likewise.
5630         [XPG3] (S_ISLNK): Likewise.
5631         [XPG3] (S_ISSOCK): Likewise.
5632         [XPG3] (fchmod): Likewise.
5633         [XPG3] (lstat): Likewise.
5634         [XPG3] (mknod): Likewise.
5636         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5637         [XPG3].  Expect type long and XFAIL for [XPG4].
5638         (st_blocks): Likewise.
5640         [BZ #20044]
5641         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5642         (pthread_atfork): New prototype.
5643         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5644         variable.
5646         [BZ #20043]
5647         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5648         prototype.
5650 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5652         [BZ #20017]
5653         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5654         gmtime.
5656 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5658         [BZ #19994]
5659         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5660         flag in _res.options.
5662 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5664         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5665         [XPG3 || XPG4].
5666         (blksize_t): Likewise.
5667         (clockid_t): Likewise.
5668         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5669         variable.
5670         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5672 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5674         * sysdeps/unix/sysv/linux/s390/init-first.c:
5675         Add VDSO_SYMBOL(getcpu).
5676         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5677         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5678         Add VDSO_SYMBOL(getcpu).
5679         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5680         New define HAVE_GETCPU_VSYSCALL.
5681         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5683 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5685         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5686         instead of <sysdeps/x86_64/cacheinfo.c>.
5687         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5688         * sysdeps/x86/cacheinfo.c: Here.
5690 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5692         * malloc/malloc-internal.h: Adjust header file guard.
5694 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5696         [BZ #19787]
5697         * inet/getnameinfo.c (check_sprintf_result): New function.
5698         (CHECKED_SNPRINTF): New macro.
5699         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5700         to the host buffer.
5701         (gni_host_local): Use checked_copy to copy the host name.
5702         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5703         (gni_serv_local): Use checked_copy to copy the service name.
5704         (getnameinfo): Remove unnecessary truncation of result buffers.
5706 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5708         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5709         in case of inet_ntop failure.
5711 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5713         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5714         avoid long lines.
5715         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5716         variables.
5717         (gni_host_inet, gni_host_local): Add comment.
5718         (gni_host): Add comment.  Use temporary to avoid long lines.
5720 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5722         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5723         registers specifiers where general purpose registers specifiers should
5724         have been used.
5726 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5728         [BZ #19779]
5729         CVE-2016-1234
5730         Avoid copying names of directory entries.
5731         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5732         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5733         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5734         (struct readdir_result): New type.
5735         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5736         (GL_READDIR): New macros.
5737         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5738         (convert_dirent, convert_dirent64): New functions.
5739         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5740         convert_dirent64.  Adjust references to the readdir result.
5741         * sysdeps/unix/sysv/linux/i386/glob64.c:
5742         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5743         * posix/bug-glob2.c (LONG_NAME): Define.
5744         (filesystem): Add LONG_NAME.
5745         (my_DIR): Increase the size of room_for_dirent.
5747 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5749         [BZ #20041]
5750         * misc/sys/select.h (__need_timespec): Only define if
5751         [__USE_XOPEN2K].
5752         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5753         variable.
5754         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5755         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5756         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5758 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5759             Segher Boessenkool  <segher@gcc.gnu.org>
5761         [BZ #20004]
5762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5763         (__novec_swapcontext): Add missing load.
5765 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5767         [BZ #20023]
5768         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5769         <time.h>.
5770         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5771         variable.
5772         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5774 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5777         flags CLONE_VM compare.
5779 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5781         [BZ #20031]
5782         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5783         completely empty.
5785 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5787         [BZ #19573]
5788         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5789         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5790         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5791         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5792         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5793         (hesiod_free_list): Mark as hidden.
5794         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5795         res_set, res_get.
5796         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5797         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5798         (hesiod_init): Remove obsolete res_ninit call.
5799         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5800         (hesiod_bind): Do not call init.
5801         (get_txt_records): Use res_mkquery, res_send instead of
5802         res_nmkquery, res_nsend.
5803         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5804         instead of _nss_hesiod_init.
5805         (_nss_hesiod_initgroups_dyn): Likewise.
5806         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5807         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5808         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5810 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5812         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5813         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5815 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5817         * hesiod/hesiod.h: Remove RCS keyword.
5818         * hesiod/hesiod_p.h: Likewise.
5820         * hesiod/hesiod.c: Likewise.
5822 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5824         [BZ #12450]
5825         * locale/iso-639.def: Add Samogitian/sgs.
5827 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5829         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5831         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5833 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5834             Carlos O'Donell  <carlos@redhat.com>
5836         [BZ #19072]
5837         * grp/Makefile (headers): Add grp-merge.h
5838         (routines): Add grp-merge.
5839         * grp/getgrgid_r.c: Include grp-merge.h.
5840         (DEEPCOPY_FN): Define.
5841         (MERGE_FN): Define.
5842         * grp/getgrname_r.c: Include grp-merge.h.
5843         (DEEPCOPY_FN): Define.
5844         (MERGE_FN): Define.
5845         * grp/grp-merge.c: New file.
5846         * grp/grp-merge.h: New file.
5847         * include/grp-merge.h: New file.
5848         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5849         __copy_grp@GLIBC_PRIVATE.
5850         * manual/nss.texi (Actions in the NSS configuration): Describe
5851         return, continue, and merge.
5852         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5853         (DEEPCOPY_FN): Define.
5854         (MERGE_FN): Define.
5855         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5856         (DEEPCOPY_FN): Define.
5857         (MERGE_FN): Define.
5858         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5859         [!MERGE_FN]: Define __merge_einval.
5860         (CHECK_MERGE): Define.
5861         (REENTRANT_NAME): Process merge if do_merge is true.
5862         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5863         (__nss_getent_r): Likewise.
5864         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5865         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5867 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5869         [BZ #20012]
5870         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5871         length to calculate the buffer to read.
5872         (fmemopen_write): Set the buffer position based on bytes written.
5873         (fmemopen_seek): Return EINVAL for invalid whence modes.
5875         [BZ #19957]
5876         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5877         tst-getpid2.
5878         (test): Add tst-clone2.
5879         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5880         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5881         pid/tid fields for CLONE_VM.
5882         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5883         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5884         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5885         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5886         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5887         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5888         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5889         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5891         Likewise.
5892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5893         Likewise.
5894         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5895         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5896         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5897         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5898         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5899         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5900         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5901         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5903 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5905         [BZ #19642]
5906         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5907         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5908         (gni_serv_local, gni_serv): New functions extracted from
5909         getnameinfo.
5910         (getnameinfo): Call gni_host and gni_serv to perform the
5911         processing.  Always free scratch buffer.
5913 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5915         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5916         remaining bytes in the dest string, with zeros.
5918 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5920         [BZ #20010]
5921         CVE-2016-3706
5922         * sysdeps/posix/getaddrinfo.c
5923         (convert_hostent_to_gaih_addrtuple): New function.
5924         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5925         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5926         AF_INET data.
5928 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5930         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5931         callback function gl_readdir.
5932         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5933         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5934         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5935         memcpy to copy the name.
5936         * manual/pattern.texi (Calling Glob): Document requirements for
5937         implementations of the gl_readdir callback function.
5938         * manual/examples/mkdirent.c: New example.
5939         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5940         per the manual guidance.
5941         * posix/tst-gnuglob.c (my_readdir): Likewise.
5943 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5945         [BZ #20014]
5946         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5947         not [__USE_POSIX].
5948         (getchar_unlocked): Likewise.
5949         (putc_unlocked): Likewise.
5950         (putchar_unlocked): Likewise.
5951         (flockfile): Likewise.
5952         (ftrylockfile): Likewise.
5953         (funlockfile): Likewise.
5954         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5955         variable.
5956         (test-xfail-XPG4/stdio.h/conform): Likewise.
5958         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5959         Expect constant.
5960         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5961         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5962         variable.
5963         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5964         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5966         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5967         [__USE_LARGEFILE64] (off64_t): Likewise.
5968         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5969         variable.
5971 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5973         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5975 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5977         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5978         * resolv/res_init.c: Likewise.
5979         * resolv/res_mkquery.c: Likewise.
5981 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5983         * resolv/res_init.c (isascii): Do not define.  Use definition in
5984         <ctype.h>.
5985         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5986         (LOG_AUTH): Remove.
5987         (SPRINTF): Remove, adjust caller.
5988         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5990 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5992         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5993         SUNSECURITY conditional.
5994         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5996 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5998         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5999         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6000         Remove BSD-related preprocessor conditionals.
6001         * conf/portability.h: Remove.
6003 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6005         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6006         * resolv/res_data.c: Likewise.
6008 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6010         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6011         * resolv/res_data.c: Remove code conditional on ultrix.
6013 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6015         * resolv/res_init.c (RFC1535): Do not define.  Remove
6016         RFC1535 preprocessor conditionals.
6017         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6018         because there configuration options which make the resolver
6019         behavior different.
6021 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6023         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6024         RESOLVSORT preprocessor conditionals.
6025         * resolv/nss_dns/dns-host.c: Likewise.
6026         * resolv/res_init.c: Likewise.
6028 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6030         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6031         is never defined.
6033 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6035         * inet/inet_lnaof.c: Remove SCSS keyword.
6036         * inet/inet_mkadr.c: Likewise.
6037         * inet/inet_net.c: Likewise.
6038         * inet/inet_netof.c: Likewise.
6039         * inet/rcmd.c: Likewise.
6040         * inet/rexec.c: Likewise.
6041         * inet/ruserpass.c: Likewise.
6043 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6045         * resolv/inet_addr.c: Remove _LIBC conditionals.
6046         * resolv/res_data.c: Likewise.
6047         * resolv/res_init.c: Likewise.
6048         * resolv/res_mkquery.c: Likewise.
6049         * resolv/res_libc.c: Update comment.
6050         * resolv/README: Update.
6052 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6054         * resolv/gethnamaddr.c: Remove SCSS keyword.
6055         * resolv/herror.c: Likewise.
6056         * resolv/inet_addr.c: Likewise.
6057         * resolv/inet_net_ntop.c: Likewise.
6058         * resolv/inet_net_pton.c: Likewise.
6059         * resolv/inet_neta.c: Likewise.
6060         * resolv/inet_ntop.c: Likewise.
6061         * resolv/inet_pton.c: Likewise.
6062         * resolv/ns_date.c: Remove RCS keyword.
6063         * resolv/ns_name.c: Likewise.
6064         * resolv/ns_netint.c: Likewise.
6065         * resolv/ns_parse.c: Likewise.
6066         * resolv/ns_print.c: Likewise.
6067         * resolv/ns_samedomain.c: Likewise.
6068         * resolv/ns_ttl.c: Likewise.
6069         * resolv/nsap_addr.c: Likewise.
6070         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6071         * resolv/res_data.c: Remove RCS keyword.
6072         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6073         * resolv/res_init.c: Likewise.
6074         * resolv/res_mkquery.c: Likewise.
6075         * resolv/res_query.c: Likewise.
6076         * resolv/res_send.c: Likewise.
6078 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6080         * conform/data/stdio.h-data (fdopen): Expect also for
6081         [XPG3 || XPG4].
6083         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6084         (fseeko): Likewise.
6085         (ftello): Likewise.
6086         (ftrylockfile): Likewise.
6087         (funlockfile): Likewise.
6088         (getc_unlocked): Likewise.
6089         (getchar_unlocked): Likewise.
6090         (putc_unlocked): Likewise.
6091         (putchar_unlocked): Likewise.
6093 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6095         [BZ #19868]
6096         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6097         DNS packet syntax checks (which were not needed before).  Skip
6098         over non-PTR records.
6100 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6102         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6103         definition.  Include <stddef.h> instead.
6105 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6107         [BZ #19831]
6108         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6109         function.
6110         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6111         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6113 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6115         [BZ #19862]
6116         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6117         (getanswer_r): Do not call syslog.
6118         (gaih_getanswer_slice): Likewise.
6119         * resolv/gethnamaddr.c (AskedForGot): Remove.
6120         (getanswer): Do not call syslog.
6121         (gethostbyaddr): Likewise.
6123 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6125         * conform/data/signal.h-data (union sigval): Expect also if
6126         [XOPEN2K].
6127         (struct sigevent): Likewise.
6128         (SIGEV_NONE): Likewise.
6129         (SIGEV_SIGNAL): Likewise.
6130         (SIGEV_THREAD): Likewise.
6131         (SIGRTMIN): Likewise.
6132         (SIGRTMAX): Likewise.
6133         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6134         variable.
6135         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6137 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6139         [BZ #19830]
6140         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6141         (gaih_getanswer_slice): Likewise.
6142         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6143         Also check for availability of RR metadata.
6145 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6147         [BZ #19825]
6148         * resolv/res_send.c (send_vc): Remove early *resplen2
6149         initialization.  Set *resplen2 on socket error.  Call
6150         close_and_return_error for other errors.
6152 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6154         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6155         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6156         (SCM_IUCV_TRGCLS): New define.
6158 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6160         [BZ #20005]
6161         * libio/fmemopen.c (fmemopen_write): Update internal position after
6162         write.
6163         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6164         * stdio-common/tst-fmemopen4.c: New file..
6166 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6168         [BZ #19996]
6169         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6170         not [__USE_XOPEN2K].
6171         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6172         variable.
6174         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6175         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6176         variable.
6178         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6179         [__USE_XOPEN2K8].
6180         [__USE_LARGEFILE64] (off64_t): Likewise.
6181         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6182         variable.
6184 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6186         [BZ #19989]
6187         * libio/stdio.h (cuserid): Do not declare if
6188         [__USE_XOPEN2K && !__USE_GNU].
6189         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6190         variable.
6192 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6194         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6195         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6197         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6198         ifunc'ed strcspn.
6199         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6200         [EALIGN]: Removed.
6201         [END]: Likewise
6202         [STRSPN]: Define instead of the above to control symbol name.
6203         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6204         New file.
6205         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6206         Likewise.
6207         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6208         Likewise.
6209         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6210         Likewise.
6211         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6212         [INITIAL_MASK]: New macro.
6213         [STRCSPN]: Likewise.
6214         [UPDATE_MASK]: Likewise.
6215         [USE_AS_STRCSPN]: Lisewise.
6217 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6219         [BZ #19931]
6220         * stdio-common/tst-vfprintf-width-prec.c: New file.
6221         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6222         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6223         (generated): Add mtrace-related files.
6224         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6225         (tst-%-mem.out): New pattern rule, replaces
6226         tst-printf-bz18872-mem.out.
6227         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6228         specifier, deallocate any previously allocated work buffer.
6230 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6232         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6233         Add nop before __startcontext, add explaining comments.
6235 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6237         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6238         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6239         completely different API.
6241         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6242         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6243         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6244         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6245         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6246         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6247         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6248         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6249         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6250         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6252 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6254         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6256 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6258         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6259         when it is the default of 0.
6261 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6263         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6264         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6265         (sysdep_routines): Add new strcasestr targets.
6266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6267         (__libc_ifunc_impl_list): Likewise.
6268         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6269         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6270         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6271         * sysdeps/powerpc/powerpc64/power8/Makefile:
6272         New file to add strcasestr-ppc64 to sysdep_routines.
6273         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6274         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6276 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6278         * benchtests/Makefile (wcsmbs-benchset): Include only for
6279         native builds and runs.
6280         (LOCALES): Likewise.
6281         (bench-build): Build timing-type here instead of the bench
6282         target.  Generate locale only for native builds.
6283         * benchtests/README: Add note for cross-building.
6285         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6287         * benchtests/README: Update README to include instructions on
6288         using bench-build.
6290         * Makefile.in (bench-build): New target.
6291         * Rules (PHONY): Add bench-build target.
6292         * benchtests/Makefile (bench): Depend on bench-build.
6293         (bench-build): New target.
6295 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6297         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6298         profil_reply_port.
6299         (profile_waiter): Do not initialize profil_reply_port.
6300         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6301         frequency instead of tick length in us.
6303 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6305         [BZ #18712]
6306         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6307         (__old_mempcpy_small): Likewise.
6308         (__old_strcpy_small): Likewise.
6309         (__old_stpcpy_small): Likewise.
6310         (__old_strpbrk_c2): Fix compat symbol name.
6311         (__old_strpbrk_c3): Likewise.
6312         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6313         (__mempcpy_small): Remove.
6314         (__strcpy_small): Remove.
6315         (__stpcpy_small): Remove.
6317 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6319         [BZ #19400]
6320         * locale/iso-639.def: Add the Talossan/tzl language.
6322 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6324         [BZ #16983]
6325         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6326         comment.  Add "ln" to strchr check on postal_fmt.
6328 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6330         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6331         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6332         tel_dom_fmt.
6334 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6336         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6337         (sysdep_routines): Added __strlen_power8.
6338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6339         __strlen_power8 entry.
6340         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6341         Implementation for POWER8.
6342         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6343         for __strlen_power8.
6344         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6345         Implementation for POWER8.
6347 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6349         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6351 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6353         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6354         Goldmont and Airmont processors.
6356 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6358         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6359         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6360         (__STRING2_SMALL_GET32): Remove.
6361         (memset): Remove.
6362         (__memset_1): Remove.
6363         (__memset_gc): Remove.
6364         (__mempcpy): Remove.
6365         (mempcpy): Remove.
6366         (__mempcpy_args): Remove.
6367         (strchr): Remove.
6368         (strcpy): Remove.
6369         (strcpy_args): Remove.
6370         (__stpcpy_args): Remove.
6371         (__strcmp_cc): Remove.
6372         (__strcmp_gc): Remove.
6373         (strstr): Remove.
6375 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6377         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6378         * nis/nis_call.c (nis_server_cache_add): Likewise.
6380 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6382         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6384 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6386         * malloc/arena.c (__malloc_fork_lock_parent)
6387         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6388         internal_function attribute.
6390 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6392         * stdio-common/printf_fp.c (__printf_fp_l):
6393         Rename ___printf_fp_l to __printf_fp_l and
6394         remove strong alias. Use libc_hidden_def instead
6395         of ldbl_hidden_def macro.
6397 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6399         Remove malloc hooks from fork handler.  They are no longer needed
6400         because malloc runs right before fork, and no malloc calls from
6401         other fork handlers are not possible anymore.
6402         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6403         declarations.
6404         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6405         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6406         (atfork_recursive_cntr): Remove.
6407         (__malloc_fork_lock_parent): Do not override malloc hooks and
6408         thread_arena.
6409         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6410         thread_arena.
6411         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6412         thread_arena instead of save_arena.
6414 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6416         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6417         (thread_atfork, thread_atfork_static): Remove.
6418         * sysdeps/mach/hurd/malloc-machine.h:
6419         (thread_atfork, thread_atfork_static): Remove.
6421 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6423         [BZ #19431]
6424         Run the malloc fork handler as late as possible to avoid deadlocks.
6425         * malloc/malloc-internal.h: New file.
6426         * malloc/malloc.c: Include it.
6427         * malloc/arena.c (ATFORK_MEM): Remove.
6428         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6429         Update comment.
6430         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6431         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6432         Remove outdated comment.
6433         (ptmalloc_init): Do not call thread_atfork.  Remove
6434         thread_atfork_static.
6435         * malloc/tst-malloc-fork-deadlock.c: New file.
6436         * Makefile (tests): Add tst-malloc-fork-deadlock.
6437         (tst-malloc-fork-deadlock): Link against libpthread.
6438         * manual/memory.texi (Aligned Memory Blocks): Update safety
6439         annotation comments.
6440         * sysdeps/nptl/fork.c (__libc_fork): Call
6441         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6442         __malloc_fork_unlock_child.
6443         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6445 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6447         [BZ #19613]
6448         Remove union wait.
6449         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6450         (w_stopsig, w_stopval): Remove.
6451         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6452         stat_loc argument.
6453         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6454         (__WAIT_STATUS_DEFN): Remove.
6455         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6456         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6457         (wait, wait3, wait4): Use int * for the stat_loc argument.
6458         * posix/wait.c (__wait): Likewise.
6459         * posix/wait3.c (__wait3): Likewise.
6460         * posix/wait4.c (__wait4): Likewise.
6461         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6462         (__WAIT_STATUS_DEFN): Remove.
6463         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6464         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6465         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6466         argument.
6467         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6468         * sysdeps/posix/wait3.c (__wait3): Likewise.
6469         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6470         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6471         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6472         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6473         stat_loc argument.
6474         * manual/process.texi (BSD Wait Functions): Remove union wait.
6476 2016-04-13  Andreas Schwab  <schwab@suse.de>
6478         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6479         (test-extras): Add tst-tlsalign-vars.
6480         * math/Makefile: Wrap long lines.
6481         (libm-vec-test-wrappers): Define.
6482         (test-extras): Add $(libm-vec-test-wrappers).
6483         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6484         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6485         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6486         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6487         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6488         (extra-test-objs): Add corresponding objects.
6490 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6492         [BZ #19928]
6493         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6494         New.
6495         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6496         times of shared cache size.
6497         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6498         (VMOVNT): New.
6499         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6500         (VMOVNT): Likewise.
6501         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6502         (VMOVNT): Likewise.
6503         (VMOVU): Changed to movups for smaller code sizes.
6504         (VMOVA): Changed to movaps for smaller code sizes.
6505         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6506         comments.
6507         (PREFETCH): New.
6508         (PREFETCH_SIZE): Likewise.
6509         (PREFETCHED_LOAD_SIZE): Likewise.
6510         (PREFETCH_ONE_SET): Likewise.
6511         Rewrite to use forward and backward loops, which move 4 vector
6512         registers at a time, to support overlapping addresses and use
6513         non temporal store if size is above the threshold and there is
6514         no overlap between destination and source.
6516 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6518         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6519         Include dl-vdso.
6520         * sysdeps/unix/sysv/linux/mips/Versions: Add
6521         __vdso_clock_gettime.
6522         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6523         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6524         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6525         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6526         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6527         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6528         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6529         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6530         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6532 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6534         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6535         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6536         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6537         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6538         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6539         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6542         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6543         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6544         syscalls generation.
6545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6546         [__NR_pwrite64] (__NR_write): Remove define.
6547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6548         [__NR_pwrite64] (__NR_write): Remove define.
6549         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6550         Remove define.
6551         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6552         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6553         Remove define.
6554         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6555         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6556         Linux implementation as base.
6557         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6559         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6560         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6561         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6562         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6565         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6566         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6567         syscall generation.
6568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6569         [__NR_pread64] (__NR_pread): Remove define.
6570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6571         [__NR_pread64] (__NR_pread): Likewise.
6572         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6573         define.
6574         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6575         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6576         Remove define.
6577         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6578         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6579         Linux implementation as base.
6580         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6581         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6582         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6584         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6585         definition.
6586         (__ALIGNMENT_COUNT): Likewise.
6587         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6588         (__ALIGNMENT_COUNT): Likewise.
6589         (SYSCALL_LL): New define.
6590         (SYSCALL_LL64): Likewise.
6591         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6592         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6593         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6594         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6596         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6597         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6598         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6599         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6600         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6601         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6603 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6605         [BZ #19865]
6606         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6607         original buffer before retry.
6609 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6611         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6612         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6613         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6614         GLRO(dl_auxv) list.
6615         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6616         including <ldsodefs.h>.
6617         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6619 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6621         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6622         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6623         $(CPPFLAGS).
6625 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6627         [BZ #17950]
6628         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6629         Add -mfpmath=387.
6631 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6633         * sysdeps/i386/configure.ac: Change == to = when calling test.
6634         * sysdeps/x86_64/configure.ac: Likewise.
6635         * sysdeps/i386/configure: Regenerated.
6636         * sysdeps/x86_64/configure: Likewise.
6638 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6640         [BZ #16137]
6641         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6642         * benchtests/bench-strcoll.c (input_files): Likewise.
6643         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6644         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6645         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6647 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6649         [BZ #19929]
6650         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6651         [__USE_XOPEN2K8 && !__USE_GNU].
6652         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6653         variable.
6655         [BZ #19925]
6656         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6657         define if [!__USE_MISC && __USE_XOPEN2K].
6658         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6659         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6660         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6661         Likewise.
6662         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6663         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6664         variable.
6665         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6667 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6669         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6670         (sysdep_routines): Add new strspn targets.
6671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6672         (__libc_ifunc_impl_list): Add strspn.
6673         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6674         New file.
6675         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6676         Likewise.
6677         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6678         Likewise.
6679         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6680         Likewise.
6682 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6684         * misc/hsearch_r.c: Include <limits.h>.
6686 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6688         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6690 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6692         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6693         (MEMCPY_SYMBOL): New.
6694         (MEMPCPY_SYMBOL): Likewise.
6695         (MEMMOVE_CHK_SYMBOL): Likewise.
6696         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6697         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6698         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6699         Provide alias for memcpy in libc.a and ld.so.
6701 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6703         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6704         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6705         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6706         Disabled fro now.
6707         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6708         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6710 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6712         * benchtests/Makefile (string-benchset): Add memcpy-large,
6713         memmove-large and memset-large.
6714         * benchtests/bench-memcpy-large.c: New file.
6715         * benchtests/bench-memmove-large.c: Likewise.
6716         * benchtests/bench-memmove-large.c: Likewise.
6717         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6719 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6721         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6722         32-bit displacement to avoid long nop between instructions.
6724 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6726         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6727         a comment on VMOVU and VMOVA.
6729 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6731         [BZ #19633]
6732         Use specified locale for number formatting in strfmon_l.
6733         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6734         (__nl_lookup_word): New inline functions.
6735         * include/printf.h (__print_fp_l): Declare.
6736         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6737         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6738         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6739         (___printf_fp): New function.
6740         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6741         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6742         * stdlib/tst-strfmon_l.c (do_test): New test.
6743         * stdlib/Makefile (tests): Add kt.
6744         (LOCALES): Build additional locales.
6745         (tst-strfmon_l.out): Require locales.
6747 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6749         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6750         if not in libc.
6751         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6752         Likewise.
6753         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6754         Likewise.
6755         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6756         Likewise.
6758 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6760         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6761         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6762         with unaligned_erms.
6763         (__memmove_erms): Skip if source == destination.
6764         (__memmove_unaligned_erms): Don't check source == destination
6765         first.
6767 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6769         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6770         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6772 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6774         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6775         * string/strspn.c (strspn): Likewise.
6777 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6779         * benchtests/bench-memset.c (do_test): Support 64-byte
6780         alignment.
6781         (test_main): Test 64-byte alignment.
6783 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6785         * benchtests/bench-memmove.c (test_main): Test 64-byte
6786         alignment.
6788 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6790         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6792 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6794         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6795         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6796         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6798         * string/strpbrk.c (strpbrk): Rewrite function.
6799         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6800         (__strpbrk_c2): Likewise.
6801         (__strpbrk_c3): Likewise.
6802         * string/string-inlines.c
6803         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6804         Likewise.
6805         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6806         Likewise.
6808         * string/strspn.c (strcspn): Rewrite function.
6809         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6810         (__strspn_c1): Remove inline function.
6811         (__strspn_c2): Likewise.
6812         (__strspn_c3): Likewise.
6813         * string/string-inlines.c
6814         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6815         compatibility symbol.
6816         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6817         Likewise.
6818         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6819         Likewise.
6820         * string/string-inlines.c: Include generic version.
6822 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6823             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6825         * string/Version (libc): Add GLIBC_2.24.
6826         * string/strcspn.c (strcspn): Rewrite function.
6827         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6828         (__strcspn_c1): Remove inline function.
6829         (__strcspn_c2): Likewise.
6830         (__strcspn_c3): Likewise.
6831         * string/string-inline.c
6832         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6833         compatibility symbol.
6834         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6835         Likewise.
6836         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6837         Likewise.
6838         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6840 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6842         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6843         Use ahi instead of aghi to adjust stack pointer.
6845 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6847         [BZ #19853]
6848         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6849         TEST to take significant digits as second parameter.
6850         [TEST]: Redefine in terms of TEST_N taking 30
6851         significant digits.
6852         (do_test): Add test case to demonstrate precision
6853         failure in the ldbl-128ibm printf.
6854         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6855         (__mpn_extract_long_double): Carry 7 extra intermediate
6856         bits of precision to aide computing difference when
6857         signs differ.
6859 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6861         [BZ #19881]
6862         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6863         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6864         memset-avx512-unaligned-erms.
6865         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6866         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6867         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6868         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6869         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6870         __memset_sse2_unaligned_erms, __memset_erms,
6871         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6872         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6873         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6874         file.
6875         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6876         Likewise.
6877         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6878         Likewise.
6879         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6880         Likewise.
6882 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6884         [BZ #19776]
6885         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6886         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6887         memmove-avx512-unaligned-erms.
6888         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6889         (__libc_ifunc_impl_list): Test
6890         __memmove_chk_avx512_unaligned_2,
6891         __memmove_chk_avx512_unaligned_erms,
6892         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6893         __memmove_chk_sse2_unaligned_2,
6894         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6895         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6896         __memmove_avx512_unaligned_erms, __memmove_erms,
6897         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6898         __memcpy_chk_avx512_unaligned_2,
6899         __memcpy_chk_avx512_unaligned_erms,
6900         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6901         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6902         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6903         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6904         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6905         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6906         __mempcpy_chk_avx512_unaligned_erms,
6907         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6908         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6909         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6910         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6911         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6912         __mempcpy_erms.
6913         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6914         file.
6915         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6916         Likwise.
6917         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6918         Likwise.
6919         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6920         Likwise.
6922 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6924         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6925         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6926         (La_s390_64_regs): Likewise.
6927         (La_s390_32_retval): Append vector register lrv_v24.
6928         (La_s390_64_retval): Likeweise.
6929         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6930         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6931         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6932         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6934 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6936         [BZ #19916]
6937         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6938         to create a non-vector/vector version for _dl_runtime_resolve and
6939         _dl_runtime_profile. Move implementation to ...
6940         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6941         (_dl_runtime_resolve) Save and restore fpr/vrs.
6942         (_dl_runtime_profile) Save and restore vrs and fix some issues
6943         if _dl_call_pltexit is called.
6944         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6945         Choose the correct resolver function if running on a machine with vx.
6946         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6947         to create a non-vector/vector version for _dl_runtime_resolve and
6948         _dl_runtime_profile. Move implementation to ...
6949         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6950         (_dl_runtime_resolve) Save and restore fpr/vrs.
6951         (_dl_runtime_profile) Save and restore vrs and fix some issues
6952         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6953         Choose the correct resolver function if running on a machine with vx.
6955 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6957         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6959 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6961         [BZ #19509]
6962         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6963         skip_map != NULL.
6964         * elf/tst-dlsym-error.c: New file.
6965         * elf/Makefile (tests): Add tst-dlsym-error.
6966         (tst-dlsym-error): Link against libdl.
6968 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6970         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6971         (__ASSUME_FUTIMESAT): Remove macro.
6972         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6974 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6976         [BZ #19879]
6977         CVE-2016-3075
6978         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6979         copy name.
6981 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6983         [BZ #19837]
6984         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6985         error if parse_line fails.
6987 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6989         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6990         (index_cpu_ERMS): Likewise.
6991         (reg_ERMS): Likewise.
6993 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6995         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6996         PER_LINUX_FDPIC): Add.
6998 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7000         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7001         memcpy-avx512-no-vzeroupper.
7002         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7003         to ...
7004         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7005         (MEMCPY): Don't define.
7006         (MEMCPY_CHK): Likewise.
7007         (MEMPCPY): Likewise.
7008         (MEMPCPY_CHK): Likewise.
7009         (MEMPCPY_CHK): Renamed to ...
7010         (__mempcpy_chk_avx512_no_vzeroupper): This.
7011         (MEMPCPY_CHK): Renamed to ...
7012         (__mempcpy_chk_avx512_no_vzeroupper): This.
7013         (MEMCPY_CHK): Renamed to ...
7014         (__memmove_chk_avx512_no_vzeroupper): This.
7015         (MEMCPY): Renamed to ...
7016         (__memmove_avx512_no_vzeroupper): This.
7017         (__memcpy_avx512_no_vzeroupper): New alias.
7018         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7020 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7022         [BZ #18858]
7023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7024         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7025         and mempcpy-avx512-no-vzeroupper.
7026         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7027         New.
7028         (MEMPCPY): Likewise.
7029         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7030         (MEMPCPY_CHK): New.
7031         (MEMPCPY): Likewise.
7032         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7033         (MEMPCPY): Likewise.
7034         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7035         (MEMPCPY): Likewise.
7036         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7037         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7038         Likewise.
7039         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7040         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7042 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7043              Amit Pawar  <Amit.Pawar@amd.com>
7045         [BZ #19583]
7046         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7047         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7048         processors.  Set Fast_Copy_Backward for AMD Excavator
7049         processors.
7050         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7051         New.
7052         (index_arch_Fast_Unaligned_Copy): Likewise.
7053         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7054         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7056 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7058         [BZ #19791]
7059         * resolv/res_send.c (close_and_return_error): New function.
7060         (send_dg): Initialize *resplen2 after reopen failure.  Call
7061         close_and_return_error for error returns.  On error paths without
7062         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7063         successful return.
7065 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7067         [BZ# 19860]
7068         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7069         zero if the compiler does not provide the AVX512F bit.
7071 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7073         [BZ #19848]
7074         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7075         from 8 to 4.
7076         (__ieee754_powl): Compare integer exponent against 4 not 8.
7077         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7078         from 8 to 4.
7079         (__ieee754_powl): Compare integer exponent against 4 not 8.
7080         * math/auto-libm-test-in: Add more tests of pow.
7081         * math/auto-libm-test-out: Regenerated.
7082         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7085 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7087         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7088         Make code unconditional.
7089         [!__NR_utimensat]: Remove conditional code.
7090         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7091         Make code unconditional.
7092         [!__NR_utimensat]: Remove conditional code.
7093         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7094         Make code unconditional.
7095         [!__NR_utimensat]: Remove conditional code.
7097 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7099         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7100         Make code unconditional.
7102 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7104         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7105         call-clobbered %eax on retry path.
7106         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7108 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7110         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7111         Don't set %rcx twice before "rep movsb".
7113 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7115         [BZ #19583]
7116         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7117         inline.  Check family before setting family, model and
7118         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7119         bits here.
7120         (init_cpu_features): Replace HAS_CPU_FEATURE and
7121         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7122         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7123         for Intel processors with usable AVX2.  Call get_common_indeces
7124         for other processors with family == NULL.
7125         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7126         (CPU_FEATURES_ARCH_P): Likewise.
7127         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7128         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7130 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7132         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7133         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7134         $(shared-thread-library) instead of hardcoding the path to libpthread.
7136 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7138         * sysdeps/unix/sysv/linux/kernel-features.h
7139         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7140         * sysdeps/unix/sysv/linux/getdents.c
7141         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7142         [!have_no_getdents64_defined]: Likewise.
7143         (__GETDENTS): Remove __have_no_getdents64 conditional.
7145 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7147         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7148         Remove macro.
7149         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7150         <kernel-features.h>.
7151         (signalfd) [__NR_signalfd4]: Make code unconditional.
7152         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7154 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7156         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7157         style.
7159 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7161         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7162         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7163         __pthread_unwind.
7164         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7165         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7166         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7167         (__condvar_cleanup1): Likewise.
7169 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7171         [BZ #19822]
7172         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7173         move it to the final $@ location.
7175 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7177         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7178         access where posix_spawn success and pid argument is null.
7179         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7180         success case.
7182 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7184         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7186         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7188         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7189         and __fcntl.
7190         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7191         __fcntl only.
7192         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7193         adding attribute_hidden to __open and __fcntl.
7195         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7196         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7197         depend on libc-modules.h,
7198         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7200 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7202         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7203         Remove macro.
7204         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7205         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7206         entry.
7208         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7209         Remove macro.
7210         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7211         include <kernel-features.h>.
7212         [!__ASSUME_FALLOCATE]: Remove conditional code.
7213         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7215 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7217         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7218         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7219         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7220         (_ZGVdN4v_cos_avx2): Likewise.
7221         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7222         (_ZGVdN4v_cos): Likewise.
7223         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7224         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7225         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7226         (_ZGVdN4v_exp_avx2): Likewise.
7227         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7228         (_ZGVdN4v_exp): Likewise.
7229         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7230         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7231         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7232         (_ZGVdN4v_log_avx2): Likewise.
7233         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7234         (_ZGVdN4v_log): Likewise.
7235         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7236         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7237         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7238         (_ZGVdN4vv_pow_avx2): Likewise.
7239         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7240         (_ZGVdN4vv_pow): Likewise.
7241         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7242         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7243         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7244         (_ZGVdN4v_sin_avx2): Likewise.
7245         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7246         (_ZGVdN4v_sin): Likewise.
7247         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7248         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7249         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7250         (_ZGVdN4vvv_sincos_avx2): Likewise.
7251         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7252         (_ZGVdN4vvv_sincos): Likewise.
7253         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7254         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7255         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7256         (_ZGVbN4v_cosf_sse4): Likewise.
7257         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7258         (_ZGVdN8v_cosf_avx2): Likewise.
7259         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7260         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7261         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7262         (_ZGVbN4v_expf_sse4): Likewise.
7263         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7264         (_ZGVdN8v_expf_avx2): Likewise.
7265         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7266         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7267         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7268         (_ZGVbN4v_logf_sse4): Likewise.
7269         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7270         (_ZGVdN8v_logf_avx2): Likewise.
7271         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7272         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7273         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7274         (_ZGVbN4vv_powf_sse4): Likewise.
7275         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7276         (_ZGVdN8vv_powf_avx2): Likewise.
7277         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7278         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7279         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7280         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7281         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7282         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7283         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7284         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7285         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7286         (_ZGVbN4v_sinf_sse4): Likewise.
7287         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7288         (_ZGVdN8v_sinf_avx2): Likewise.
7289         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7290         Use JUMPTARGET to call callee.
7291         (WRAPPER_IMPL_SSE2_ff): Likewise.
7292         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7293         (WRAPPER_IMPL_AVX): Likewise.
7294         (WRAPPER_IMPL_AVX_ff): Likewise.
7295         (WRAPPER_IMPL_AVX_fFF): Likewise.
7296         (WRAPPER_IMPL_AVX512): Likewise.
7297         (WRAPPER_IMPL_AVX512_ff): Likewise.
7298         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7299         Likewise.
7300         (WRAPPER_IMPL_SSE2_ff): Likewise.
7301         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7302         (WRAPPER_IMPL_AVX): Likewise.
7303         (WRAPPER_IMPL_AVX_ff): Likewise.
7304         (WRAPPER_IMPL_AVX_fFF): Likewise.
7305         (WRAPPER_IMPL_AVX512): Likewise.
7306         (WRAPPER_IMPL_AVX512_ff): Likewise.
7307         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7309 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7311         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7312         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7313         qualifier.
7314         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7315         internal_function qualifiers.
7317 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7319         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7320         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7321         * math/atest-exp.c (exp_mpn): Mark chk unused.
7322         * math/atest-exp2.c (exp_mpn): Likwise.
7323         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7324         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7326 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7328         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7329         Remove macro.
7330         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7331         <kernel-features.h>.
7332         [__NR_ppoll]: Make code unconditional.
7333         [!__ASSUME_PPOLL]: Remove conditional code.
7335         * sysdeps/unix/sysv/linux/kernel-features.h
7336         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7337         (__ASSUME_ACCEPT4): Likewise.
7338         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7339         Define.
7340         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7341         Likewise.
7342         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7343         Likewise.
7344         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7345         Likewise.
7346         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7347         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7348         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7349         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7350         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7351         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7352         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7353         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7354         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7355         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7356         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7357         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7358         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7359         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7360         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7361         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7362         Likewise.
7363         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7364         Likewise.
7365         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7366         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7367         0x040300].
7368         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7369         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7370         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7371         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7372         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7373         0x030300].
7374         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7375         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7376         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7377         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7378         0x040300].
7379         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7380         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7381         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7382         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7383         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7384         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7385         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7386         0x030300].
7387         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7388         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7389         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7390         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7391         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7392         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7393         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7394         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7395         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7396         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7397         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7398         0x040300].
7399         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7400         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7401         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7402         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7403         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7404         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7405         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7406         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7407         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7408         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7409         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7410         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7411         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7412         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7413         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7414         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7415         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7416         Likewise.
7417         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7418         Likewise.
7420 2016-03-15  Andreas Schwab  <schwab@suse.de>
7422         [BZ #19257]
7423         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7424         statp->_u._ext.nscount as loop count.
7426 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7428         * math/test-signgam-finite-c99.c: Also #undef
7429         __LIBC_INTERNAL_MATH_INLINES.
7430         * math/test-signgam-main.c: Likewise.
7432 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7434         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7435         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7436         (MADV_FREE): Likewise.
7437         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7438         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7439         EPOLLEXCLUSIVE.
7441 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7443         * timezone/README: Remove mention of checktab.awk. Mention wiki
7444         SharedSourceFiles.
7446 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7448         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7449         WUNTRACED.
7451 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7453         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7454         order to match the type of p when calling atomic_exchange_acq().
7456 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7458         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7459         cfi_offset calls.
7460         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7461         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7462         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7463         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7464         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7466 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7468         * timezone/checktab.awk: Removed.
7470 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7472         * manual/math.texi (Errors in Math Functions): Document relaxed
7473         accuracy goals for IBM long double.
7474         * math/libm-test.inc (test_exceptions): Always allow spurious
7475         "underflow" and "inexact" exceptions for IBM long double.
7477 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7479         [BZ #19762]
7480         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7481         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7482         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7483         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7484         (bit_arch_*): This for feature array.
7485         (bit_*): Renamed to ...
7486         (bit_cpu_*): This for cpu array.
7487         (index_*): Renamed to ...
7488         (index_arch_*): This for feature array.
7489         (index_*): Renamed to ...
7490         (index_cpu_*): This for cpu array.
7491         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7492         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7493         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7494         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7495         bit_##name with index_cpu_##name and bit_cpu_##name.
7496         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7497         bit_##name with index_arch_##name and bit_arch_##name.
7499 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7501         [BZ #19792]
7502         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7503         Terminate FDE before return label.
7505 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7507         [BZ #19790]
7508         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7509         (rintl): Define as macro.
7510         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7511         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7512         of fesetround.  Ensure results are evaluated before end of scope.
7513         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7514         USE_AS_NEARBYINTL and include s_rintl.c.
7515         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7516         Disable exception traps in new environment.
7517         (libc_feholdsetround_ppc_ctx): Likewise.
7519 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7521         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7522         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7523         (tst_audit10_aux) [__AVX512F__]: ... here.
7525 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7527         * include/sys/auxv.h: New file.
7529 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7531         [BZ #19759]
7532         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7534 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7536         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7537         operand modifier.
7538         (feclearexcept): Likewise.
7540 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7542         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7543         to reflect the entire 32-bit HWCAP.
7544         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7545         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7547 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7549         [BZ #19783]
7550         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7551         $(test-via-rtld-prefix).
7552         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7554 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7556         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7557         union wait.  Report any non-zero exit status as error.
7559 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7561         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7562         configured with --enable-hardcoded-path-in-tests.
7564 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7566         [BZ #19677]
7567         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7568         (__ieee754_remainderl): Put zero low parts in canonical form.
7569         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7570         file.  Based on
7571         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7572         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7573         with wrapper round test-fmodrem-ldbl-128ibm.c.
7574         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7575         file.
7576         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7577         Likewise.
7578         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7579         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7581 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7583         [BZ #19610]
7584         * elf/ldconfig.c (opt_link): Update comment.
7585         (options): Update help string for option -X.
7586         (search_dir): Unlink stale symbolic link only if updating symbolic
7587         links.
7588         * elf/tst-ldconfig-X.sh: New file.
7589         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7590         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7592 2016-03-07  Andreas Schwab  <schwab@suse.de>
7594         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7595         needed arguments.
7597 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7599         [BZ #15333]
7600         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7601         to lstat64.
7603 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7605         * libio/filedoalloc.c (isatty): Remove.
7606         (local_isatty): Add comment.  Call __isatty directly.
7607         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7608         * libio/wfiledoalloc.c (isatty): Remove.
7609         (_IO_wfile_doallocate): Update comment.
7611 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7613         [BZ #19269]
7614         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7615         tst-audit4-aux.o.
7616         (tst-audit10): Depend on tst-audit10-aux.o.
7617         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7618         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7619         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7620         instead of inline AVX code.
7621         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7622         instead of inline AVX512 code.
7623         * sysdeps/x86_64/tst-audit4-aux.c: New file
7624         * sysdeps/x86_64/tst-audit10-aux.c: New file
7626         [BZ #19648]
7627         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7629 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7631         [BZ #14750]
7632         [BZ #10354]
7633         [BZ #18433]
7634         * include/sched.h (__clone): Add hidden prototype.
7635         (__clone2): Likewise.
7636         * include/unistd.h (__dup): Likewise.
7637         * posix/Makefile (tests): Add tst-spawn2.
7638         * posix/tst-spawn2.c: New file.
7639         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7640         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7641         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7642         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7643         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7644         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7645         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7646         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7647         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7648         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7649         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7651         Likewise.
7652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7653         Likewise.
7654         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7655         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7656         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7657         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7658         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7659         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7660         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7661         * sysdeps/unix/sysv/linux/nptl-signals.h
7662         (____nptl_is_internal_signal): New function.
7663         * sysdeps/unix/sysv/linux/spawni.c: New file.
7665         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7666         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7667         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7668         * posix/tst-execvp2.c (do_test): Likewise.
7669         * posix/tst-execvp3.c (do_test): Likewise.
7670         * posix/tst-execvp4.c (do_test): Likewise.
7671         * posix/tst-execvpe1.c: New file.
7672         * posix/tst-execvpe2.c: Likewise.
7673         * posix/tst-execvpe3.c: Likewise.
7674         * posix/tst-execvpe4.c: Likewise.
7675         * posix/tst-execvpe5.c: Likewise.
7676         * posix/tst-execvpe6.c: Likewise.
7678         [BZ #19534]
7679         * posix/execl.c (execl): Remove dynamic memory allocation.
7680         * posix/execle.c (execle): Likewise.
7681         * posix/execlp.c (execlp): Likewise.
7683 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7685         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7686         Replace .text with .text.avx512.
7687         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7688         Likewise.
7690 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7692         * sysdeps/generic/libnsl.abilist: New file.
7693         * sysdeps/generic/libutil.abilist: New file.
7695 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7697         [BZ #19762]
7698         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7699         HAS_ARCH_FEATURE with Fast_Rep_String.
7700         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7701         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7702         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7703         Likewise.
7704         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7705         Likewise.
7706         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7707         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7708         Likewise.
7709         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7710         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7711         Likewise.
7713 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7715         [BZ #19745]
7716         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7717         with *%rax in call.
7719 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7721         [BZ #19745]
7722         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7723         with *__libc_start_main@GOTPCREL(%rip) in call.
7725 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7727         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7728         inside conditional for nonempty $(CXX).
7730         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7731         nonempty.
7733         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7734         to test for empty $(CXX) rather than $(CXX) of "no".
7736 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7738         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7740 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7741             H.J. Lu  <hongjiu.lu@intel.com>
7743         [BZ #18880]
7744         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7745         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7746         enable __memcpy_ssse3_back.
7748 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7750         [BZ #19758]
7751         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7752         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7754 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7756         [BZ #19490]
7757         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7758         (__fentry__): Likewise.
7760 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7762         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7763         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7765 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7767         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7768         __mcount_internal directly.
7769         (C_LABEL(__fentry__)): Likewise.
7770         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7771         directly.
7773 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7775         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7776         (__start_context): Call __setcontext directly.
7778 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7780         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7781         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7782         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7783         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7784         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7785         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7786         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7787         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7788         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7789         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7790         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7791         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7792         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7793         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7794         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7795         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7796         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7797         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7798         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7799         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7800         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7801         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7802         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7803         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7804         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7805         Remove conditional code.
7806         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7807         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7808         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7809         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7810         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7811         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7812         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7813         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7814         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7815         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7816         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7817         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7819 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7821         * NEWS (2.23): Fix typo in bug 19048 text.
7823 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7825         [BZ #14259]
7826         * Makeconfig: Rename msgcatdir to localedir.
7827         Rename inst_msgcatdir to inst_localedir.
7828         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7829         * config.make.in: Add localedir.
7830         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7831         (ldd-rewrite): Likewise.
7832         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7833         (install-others): Use inst_localedir.
7834         (CPPFLAGS): Use localedir.
7835         * locale/Makefile (locale-CPPFLAGS): Likewise.
7836         * po/Makefile (mo-installed): Use inst_localedir.
7838         [BZ #19575]
7839         * localedata/charmaps/GB18030: Update comments regarding PAU to
7840         non-PUA mappings.
7842 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7844         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7845         test for header.
7846         * sysdeps/unix/sysv/linux/configure: Regenerated.
7847         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7848         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7849         Remove conditional code.
7850         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7852         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7853         Define to 3.2.0.
7854         (arch_minimum_kernel): Likewise.
7855         * sysdeps/unix/sysv/linux/configure: Regenerated.
7856         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7857         Define to 2.6.32.
7858         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7859         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7860         (arch_minimum_kernel): Define to 2.6.32.
7861         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7862         * README: Document Linux 3.2 requirement.
7863         * manual/install.texi (Linux): Document Linux 3.2 headers
7864         requirement.
7865         * INSTALL: Regenerated.
7867 2016-02-24  Andreas Schwab  <schwab@suse.de>
7869         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7870         if !NO_LONG_DOUBLE.
7872 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7874         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7875         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7877 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7879         [BZ #19512]
7880         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7882 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7884         * posix/tst-dir.c: Include libc-internal.h.
7886 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7888         [BZ #19056]
7889         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7890         * manual/filesys.texi (Reading/Closing Directory): Mention
7891         deprecaion.
7892         * posix/tst-dir.c (main): Disable deprecation warning in test.
7894 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7896         [BZ #19679]
7897         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7898         Renamed to ...
7899         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7900         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7901         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7902         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7903         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7904         * sysdeps/x86_64/dl-trampoline.h
7905         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7906         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7908 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7910         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7912 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7914         * elf/elf.h (R_386_GOT32X): New.
7915         (R_386_NUM): Update.
7916         (R_X86_64_GOTPCRELX: New.
7917         (R_X86_64_REX_GOTPCRELX): New.
7918         (R_X86_64_NUM): Update.
7920 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7922         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7924 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7926         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7927         assign attr->stackaddr to it, and adjust it down when
7928         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7929         [_STACK_GROWS_UP]: Delete assert.
7930         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7931         Implement stack grows up logic.
7932         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7933         stack grows up logic.
7935 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7937         * NEWS: Update with 2.24 template.
7939 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7941         [BZ #19678]
7942         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7943         Ensure +0.0 is returned when taking the next value below the least
7944         positive value.
7946 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7948         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7949         available.  Do not define NO_THREADS.
7950         * malloc/malloc.c: Do not check NO_THREADS.
7951         * malloc/arena.c: Likewise.
7953 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7955         * malloc/malloc.c (__libc_mallinfo): Update comment.
7956         (struct malloc_par): Remove max_total_mem member, it was always 0.
7957         (int_mallinfo): Store 0 into usmblks (no functional change).
7958         * malloc/hooks.c (struct malloc_state): Document that
7959         max_total_mem is always 0.
7960         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7961         always 0.
7962         * manual/memory.texi (Statistics of Malloc): Likewise.
7964 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7966         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7967         * malloc/arena.c (arena_max): Remove.
7968         (heap_trim, _int_new_arena): Do not update arena_max.
7970 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7972         * resolv/res_init.c (res_ninit): Update comment.
7974 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7976         [BZ #19505]
7977         * posix/spawn_int.h: Add headers and include guard.
7978         (__spawn_valid_fd): New function.
7979         * posix/spawn_faction_addopen.c
7980         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7981         * posix/spawn_faction_addclose.c
7982         (posix_spawn_file_actions_addclose): Likewise.
7983         * posix/spawn_faction_adddup2.c
7984         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7985         second file descriptor.
7986         * posix/spawn_valid_fd.c: New file.
7987         * posix/tst-posix_spawn-fd.c: New file.
7988         * posix/Makefile (routines): Add spawn_valid_fd.
7989         (tests): Add tst-posix_spawn-fd.
7991 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7993         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7994         (do_test): Limit the number of arenas, so that we can use fewer
7995         outer threads.  Limit timeout to 3 seconds, in preparation for a
7996         larger TIMEOUT value.
7998 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8000         [BZ #19674]
8001         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8002         sign in overflowing and underflowing results when overflow or
8003         underflow is detected early.  Include sign in result before rather
8004         than after scaling.
8006         [BZ #19603]
8007         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8008         (__ieee754_remainderl): Adjust sign of integer version of low part
8009         when taking absolute value of high part.
8010         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8011         * math/libm-test.inc (remainder_test_data): Add another test.
8012         (remquo_test_data): Likewise.
8014 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8016         [BZ #19602]
8017         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8018         equal high parts and both low parts zero specially.
8019         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8020         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8021         Add test-fmodl-ldbl-128ibm.
8023         [BZ #19595]
8024         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8025         common logic for all cases of shifting subnormal results.  Do not
8026         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8027         exponent to ldbl_insert_mantissa in subnormal case.
8029         [BZ #19594]
8030         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8031         on high and low parts then adjust result and use
8032         ldbl_canonicalize_int if needed.
8034         [BZ #19593]
8035         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8036         on high part and __floor or __ceil on low part then use
8037         ldbl_canonicalize_int if needed.
8039         [BZ #19592]
8040         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8041         high and low parts then use ldbl_canonicalize_int if needed.
8043         [BZ #17899]
8044         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8045         New function.
8046         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8047         on high and low parts then use ldbl_canonicalize_int if needed.
8049 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8051         * configure: Regenerated.
8053         * po/libc.pot: Regenerated.
8055         * po/be.po: Updated translation.
8056         * po/bg.po: Likewise.
8057         * po/ca.po: Likewise.
8058         * po/cs.po: Likewise.
8059         * po/da.po: Likewise.
8060         * po/el.po: Likewise.
8061         * po/eo.po: Likewise.
8062         * po/es.po: Likewise.
8063         * po/fi.po: Likewise.
8064         * po/fr.po: Likewise.
8065         * po/gl.po: Likewise.
8066         * po/hr.po: Likewise.
8067         * po/hu.po: Likewise.
8068         * po/ia.po: Likewise.
8069         * po/id.po: Likewise.
8070         * po/it.po: Likewise.
8071         * po/ja.po: Likewise.
8072         * po/lt.po: Likewise.
8073         * po/nb.po: Likewise.
8074         * po/nl.po: Likewise.
8075         * po/pt_BR.po: Likewise.
8076         * po/rw.po: Likewise.
8077         * po/sk.po: Likewise.
8078         * po/sl.po: Likewise.
8079         * po/sv.po: Likewise.
8080         * po/tr.po: Likewise.
8081         * po/zh_CN.po: Likewise.
8082         * po/zh_TW.po: Likewise.
8084         * version.h (RELEAES): Set to "development".
8085         (VERSION): Set to 2.23.90.
8087         * version.h (RELEASE): Set to "stable".
8088         (VERSION): Set to 2.23.
8089         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8091         * NEWS: Updated fixed bugs.
8093 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8094             Wilco Dijkstra  <wdijkstr@arm.com>
8096         [BZ #19462]
8097         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8098         (_STRING_INLINE_unaligned): This.
8099         * include/string.h: Include <string_private.h>.
8100         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8101         _STRING_INLINE_unaligned.
8102         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8103         (_STRING_INLINE_unaligned): New.
8104         * sysdeps/aarch64/string_private.h: New file.
8105         * sysdeps/generic/string_private.h: Likewise.
8106         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8107         * sysdeps/s390/string_private.h: Likewise.
8108         * sysdeps/x86/string_private.h: Likewise.
8109         * sysdeps/m68k/m680x0/m68020/bits/string.h
8110         (_STRING_ARCH_unaligned): Renamed to ...
8111         (_STRING_INLINE_unaligned): This.
8112         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8113         to ...
8114         (_STRING_INLINE_unaligned): This.
8115         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8116         to ...
8117         (_STRING_INLINE_unaligned): This.
8118         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8119         to ...
8120         (_STRING_INLINE_unaligned): This.
8122 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8123             H.J. Lu  <hongjiu.lu@intel.com>
8125         [BZ #19590]
8126         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8127         relocation.
8129 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8131         [BZ #18665]
8132         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8133         *herrno_p.
8134         (gaih_getanswer): Document functional behviour. Return tryagain
8135         if any result is tryagain.
8136         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8137         when freed.
8138         * resolv/res_send.c: Add copyright text.
8139         (__libc_res_nsend): Document that MAXPACKET is expected.
8140         (send_vc): Document. Remove buffer reuse.
8141         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8142         size of the buffer. Add Dprint for truncated UDP buffer.
8144 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8146         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8147         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8148         * INSTALL: Regenerate.
8150 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8151             Jonathan Wakely  <jwakely@redhat.com>
8152             Carlos O'Donell  <carlos@redhat.com>
8154         [BZ 19439]
8155         * math/Makefile (tests): Add test-math-isinff.
8156         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8157         * math/bits/mathcalls.h [__USE_MISC]: Use
8158         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8159         functions not in C++11 and which don't conflict e.g. isinff,
8160         isinfl etc.
8161         * math/test-math-isinff.cc: New file.
8163 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8165         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8167 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8169         [BZ #19529]
8170         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8172 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8174         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8176 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8178         [BZ #19550]
8179         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8180         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8181         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8182         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8183         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8184         New syscall entry.
8185         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8186         New syscall entry.
8187         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8188         syscall entry.
8190 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8192         [BZ #18240]
8193         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8194         unsigned int wraparound.
8196 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8198         [BZ #18240]
8199         * misc/bug18240.c: New test.
8200         * misc/Makefile (tests): Add it.
8202 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8203             Joseph Myers  <joseph@codesourcery.com>
8205         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8206         load in branch delay slot when less than a word of input left.
8208 2016-01-27  Andreas Schwab  <schwab@suse.de>
8210         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8211         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8212         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8213         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8215 2016-01-26  David S. Miller  <davem@davemloft.net>
8217         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8219 2016-01-25  David S. Miller  <davem@davemloft.net>
8221         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8222         __sqrtl_finite.
8223         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8224         instead using versioned_symbol.
8225         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8226         of entries.
8228         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8229         __sqrtl_finite to GLIBC_2.23
8231 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8233         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8235 2016-01-25  Andreas Schwab  <schwab@suse.de>
8237         [BZ #17514]
8238         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8239         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8240         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8241         * nptl/tst-mutex-errorcheck.c: New file.
8243 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8245         [BZ #18560]
8246         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8247         (IPCOP_semop): Likewise.
8248         (IPCOP_semget): Likewise.
8249         (IPCOP_semctl): Likewise.
8250         (IPCOP_msgsnd): Likewise.
8251         (IPCOP_msgrcv): Likewise.
8252         (IPCOP_msgget): Likewise.
8253         (IPCOP_msgctl): Likewise.
8254         (IPCOP_shmat): Likewise.
8255         (IPCOP_shmdt): Likewise.
8256         (IPCOP_shmget): Likewise.
8257         (IPCOP_shmctl): Likewise.
8259 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8261         * string/tst-endian.c: Include <libc-internal.h>.
8262         (do_test): Ignore tautological-compare warnings around
8263         "htobeXX (beXXtoh (i)) != i" and
8264         "htoleXX (leXXtoh (i)) != i" if-statements.
8266 2016-01-24  David S. Miller  <davem@davemloft.net>
8268         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8269         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8270         alias.
8271         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8272         __sqrtl_finite.
8274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8276 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8278         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8279         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8280         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8282 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8284         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8285         (thread_func): Use new function to simplify barrier check.
8286         (do_test): Use new function to simplify checking barrier exit
8287         code, and actually join the child thread.
8289 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8291         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8292         semicolon.
8293         (__libc_tend): Likewise.
8294         (__libc_tabort): Likewise.
8296 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8298         * sysdeps/nios2/libm-test-ulps: Update.
8299         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8300         (__gtsf2): Likewise.
8301         (__unorddf2): Likewise.
8302         (__unordsf2): Likewise.
8303         (__ledf2): Likewise.
8305 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8307         * nis/nis_table.c (__follow_path): Disable diagnostic for
8308         uninitialized variable that is a false positive for gcc 4.7.
8309         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8311 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8313         * sysdeps/nacl/lowlevellock-futex.h
8314         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8315         Always evaluate PRIVATE argument.
8317 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8319         [BZ #19490]
8320         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8321         (pthread_cond_broadcast): Use ENTRY/END
8322         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8323         (pthread_cond_signal): Likewise.
8324         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8325         Likewise.
8326         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8327         Likewise.
8328         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8329         Likewise.
8331 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8333         * sysdeps/ieee754/dbl-64/s_finite.c
8334         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8335         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8336         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8337         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8338         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8341         (__gtsf2): Add as optional for libc.so.
8342         (__unordsf2): Likewise.
8343         (__signbit): Remove for libc.so.
8344         (__signbitl): Likewise.
8346 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8348         * iconvdata/bug-iconv11.c (test_ibm93x):
8349         Use %zu printf format specifier for size_t argument.
8351 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8353         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8354         already-recorded ulps.
8355         * sysdeps/arm/libm-test-ulps: Regenerated.
8356         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8357         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8358         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8360 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8361             Paul Pluzhnikov  <ppluzhnikov@google.com>
8363         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8364         assembler not supporting AVX-512.
8366 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8368         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8370 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8372         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8373         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8375         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8377         * sysdeps/arm/libm-test-ulps: Regenerated.
8379 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8381         [BZ #19451]
8382         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8384 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8386         [BZ #19486]
8387         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8388         * sysdeps/generic/fix-fp-int-convert-overflow.h
8389         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8390         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8391         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8392         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8393         Likewise.
8394         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8395         Avoid conversions to long int where inexact exceptions
8396         could be raised.
8397         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8398         Likewise.
8399         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8400         Avoid conversions to long long int where inexact exceptions
8401         could be raised.
8402         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8403         Likewise.
8405 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8407         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8408         * configure: Regenerated.
8410 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8412         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8414 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8416         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8417         outside of comment.
8419 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8421         * nptl/tst-barrier1.c: Add description on first line.
8422         * nptl/tst-barrier2.c: Likewise.
8423         * nptl/tst-barrier3.c: Likewise.
8424         * nptl/tst-barrier4.c: Likewise.
8425         * nptl/tst-barrier5.c: Likewise.
8427 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8429         [BZ #18868]
8430         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8432 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8434         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8435         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8436         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8437         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8438         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8439         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8440         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8441         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8442         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8443         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8444         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8446 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8448         [BZ #13065]
8449         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8450         new implementation.
8451         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8452         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8453         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8454         (BARRIER_IN_THRESHOLD): New macro.
8455         * nptl/pthread_barrierattr_setpshared.c
8456         (pthread_barrierattr_setpshared): Clean up.
8457         * nptl/tst-barrier4.c: Correct comment.
8458         * nptl/tst-barrier5.c: New file.
8459         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8460         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8461         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8462         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8463         * nptl/lowlevelbarrier.sym: Remove.
8464         * nptl/DESIGN-barrier.txt: Remove.
8465         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8466         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8467         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8468         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8469         error.
8470         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8471         implementation.
8473 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8475         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8476         (do_child): Mask SIGRTMIN while thr is running.
8478 2016-01-15  Martin Sebor  <msebor@redhat.com>
8480         [BZ #19432]
8481         * iconvdata/Makefile: Add bug-iconv11.
8482         * iconvdata/bug-iconv11.c: New test.
8483         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8484         * iconvdata/ibm933.c: Same.
8485         * iconvdata/ibm935.c: Same.
8486         * iconvdata/ibm937.c: Same.
8487         * iconvdata/ibm939.c: Same.
8489 2016-01-15  Martin Sebor  <msebor@redhat.com>
8491         [BZ #19443]
8492         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8493         [DEBUG] (_ufc_set_bits): Declare used.
8494         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8495         [DEBUG] (print_all): Declare used.
8496         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8497         operands of the ternary ?: expression to target type.
8498         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8499         calling the undeclared abort.
8500         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8502 2016-01-15  Martin Sebor  <msebor@redhat.com>
8504         [BZ #18755]
8505         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8506         warnings.
8507         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8508         (__gai_create_helper_thread): Same.
8509         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8510         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8511         to suppress -Wmaybe-uninitialized warnings.
8513 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8515         [BZ #19465]
8516         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8517         inside if.
8518         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8519         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8520         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8522 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8524         [BZ #19466]
8525         * time/tst-mktime2.c (time_t_max): Removed.
8526         (time_t_min): Likewise.
8527         (TYPE_SIGNED): New.
8528         (TYPE_MINIMUM): Likewise.
8529         (TYPE_MAXIMUM): Likewise.
8530         (TIME_T_MIN): Likewise.
8531         (TIME_T_MAX): Likewise.
8532         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8533         and TIME_T_MIN.
8534         (do_test): Likewise.
8536 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8538         [BZ #19467]
8539         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8540         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8542 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8544         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8546 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8548         * benchtests/Makefile (PYTHON): Define.
8549         (bench-func): Use $(PYTHON) to run python scripts.
8550         ($(objpfx)bench-%.c): Likewise.
8552 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8554         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8555         leading slash when `file_name' is "/".
8557 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8559         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8560         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8561         Likewise.
8562         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8563         Likewise.
8564         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8565         Likewise.
8566         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8567         enum constant and macro.
8568         (PTRACE_SETSIGMASK): Likewise.
8569         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8570         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8571         (PTRACE_GETSIGMASK): Likewise.
8572         (PTRACE_SETSIGMASK): Likewise.
8573         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8574         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8575         Likewise.
8576         (PTRACE_SETSIGMASK): Likewise.
8577         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8578         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8579         (PTRACE_GETSIGMASK): Likewise.
8580         (PTRACE_SETSIGMASK): Likewise.
8581         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8582         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8583         Likewise.
8584         (PTRACE_SETSIGMASK): Likewise.
8585         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8586         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8587         Likewise.
8588         (PTRACE_SETSIGMASK): Likewise.
8589         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8590         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8591         Likewise.
8592         (PTRACE_SETSIGMASK): Likewise.
8593         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8595 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8596             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8598         [BZ #19439]
8599         * math/bits/mathcalls.h
8600         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8601         prototype.
8602         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8604 2016-01-11  Andreas Schwab  <schwab@suse.de>
8606         [BZ #19253]
8607         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8608         cache when TZDEFRULES was used.
8609         * time/tst-tzname.c: New file.
8610         * time/Makefile (test): Add tst-tzname.
8611         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8612         * timezone/Makefile (test-zones): Add $(posixrules-file).
8613         ($(testdata)/$(posixrules-file)): New rule.
8615 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8617         Fix doc quoting problems with Texinfo 5
8618         Without this change, in the info file output, Texinfo 5 quotes code
8619         in text with undirected single quotes 'like this' and generates
8620         code examples that with many PDF readers cannot be cut out of PDFs
8621         and pasted into code.
8622         * manual/libc.texinfo: Configure the libc manual like the GNU
8623         Emacs manual, by using @documentencoding and setting
8624         txicodequoteundirected and txicodequotebacktick.  This way,
8625         Texinfo 5 quotes code in text with directed single quotes ‘like
8626         this’ and produces examples that can be cut out of PDFs.  This
8627         change causes Texinfo 5 to generate info files that contain UTF-8
8628         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8629         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8631 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8633         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8634         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8635         barriers to their respective compiler built-ins.
8636         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8637         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8638         * sysdeps/powerpc/sysdep.h: Likewise.
8639         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8640         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8641         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8643 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8645         * scripts/config.guess: Revert previous shebang change.
8646         * scripts/config.sub: Likewise.
8647         * scripts/mkinstalldirs: Likewise.
8649 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8651         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8652         PPC_FEATURE2_HAS_IEEE128.
8653         * sysdeps/powerpc/dl-procinfo.c:
8654         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8656 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8658         [BZ #19415]
8659         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8660         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8661         (_dl_lookup_address): Rewrite using function resolver trampoline.
8662         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8663         two bits in address.
8665 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8667         * longlong.h: Change !__SHMEDIA__ to
8668         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8669         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8671 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8672             Joseph Myers  <joseph@codesourcery.com>
8673             Mark Shinwell  <shinwell@codesourcery.com>
8674             Andrew Stubbs  <ams@codesourcery.com>
8675             Rich Felker <dalias@libc.org>
8677         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8679 2016-01-07  Richard Henderson  <rth@redhat.com>
8681         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8683 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8685         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8686         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8687         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8688         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8689         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8691 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8692             Joseph Myers  <joseph@codesourcery.com>
8694         * timezone/private.h: Update from tzcode 2015g.
8695         * timezone/tzfile.h: Likewise.
8696         * timezone/tzselect.ksh: Likewise.
8697         * timezone/zdump.c: Likewise.
8698         * timezone/zic.c: Likewise.
8699         * timezone/ialloc.c: Remove file.
8700         * timezone/scheck.c: Likewise.
8701         * timezone/Makefile (extra-objs): Remove variable.
8702         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8703         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8704         -Wno-maybe-uninitialized.
8705         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8706         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8707         (CFLAGS-ialloc.c): Remove variable.
8708         (CFLAGS-scheck.c): Likewise.
8709         * timezone/README: Update list of files from tzcode.
8711 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8713         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8714         instead of __fxprintf when _LIBC is undefined.
8716 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8718         * catgets/test-gencat.sh: Remove space after shebang.
8719         * conform/GlibcConform.pm: Likewise.
8720         * conform/check-header-lists.sh: Likewise.
8721         * conform/conformtest.pl: Likewise.
8722         * conform/linknamespace.pl: Likewise.
8723         * conform/list-header-symbols.pl: Likewise.
8724         * debug/catchsegv.sh: Likewise.
8725         * elf/genrtldtbl.awk: Likewise.
8726         * elf/tst-pathopt.sh: Likewise.
8727         * elf/tst-rtld-load-self.sh: Likewise.
8728         * grp/tst_fgetgrent.sh: Likewise.
8729         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8730         * iconvdata/gen-8bit-gap.sh: Likewise.
8731         * iconvdata/gen-8bit.sh: Likewise.
8732         * iconvdata/run-iconv-test.sh: Likewise.
8733         * intl/tst-gettext.sh: Likewise.
8734         * intl/tst-gettext2.sh: Likewise.
8735         * intl/tst-gettext4.sh: Likewise.
8736         * intl/tst-gettext6.sh: Likewise.
8737         * intl/tst-translit.sh: Likewise.
8738         * io/ftwtest-sh: Likewise.
8739         * libio/test-freopen.sh: Likewise.
8740         * locale/gen-translit.pl: Likewise.
8741         * malloc/tst-mtrace.sh: Likewise.
8742         * manual/check-safety.sh: Likewise.
8743         * manual/libc-texinfo.sh: Likewise.
8744         * manual/tsort.awk: Likewise.
8745         * manual/xtract-typefun.awk: Likewise.
8746         * nptl/tst-cancel-wrappers.sh: Likewise.
8747         * nptl/tst-tls6.sh: Likewise.
8748         * posix/globtest.sh: Likewise.
8749         * posix/tst-getconf.sh: Likewise.
8750         * posix/wordexp-tst.sh: Likewise.
8751         * scripts/check-c++-types.sh: Likewise.
8752         * scripts/check-local-headers.sh: Likewise.
8753         * scripts/config.guess: Likewise.
8754         * scripts/config.sub: Likewise.
8755         * scripts/cpp: Likewise.
8756         * scripts/cross-test-ssh.sh: Likewise.
8757         * scripts/documented.sh: Likewise.
8758         * scripts/evaluate-test.sh: Likewise.
8759         * scripts/gen-libc-abis: Likewise.
8760         * scripts/gen-sorted.awk: Likewise.
8761         * scripts/list-fixed-bugs.py: Likewise.
8762         * scripts/merge-test-results.sh: Likewise.
8763         * scripts/mkinstalldirs: Likewise.
8764         * scripts/rellns-sh: Likewise.
8765         * scripts/test-installation.pl: Likewise.
8766         * scripts/update-copyrights: Likewise.
8767         * stdio-common/tst-printf.sh: Likewise.
8768         * stdio-common/tst-unbputc.sh: Likewise.
8769         * stdlib/tst-fmtmsg.sh: Likewise.
8770         * stdlib/tst-setcontext3.sh: Likewise.
8771         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8772         * sysdeps/unix/make-syscalls.sh: Likewise.
8774 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8776         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8777         asm stw with atomic_exchange_rel.  Add explanatory comment.
8778         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8779         Likewise.
8781 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8783         [BZ #19122]
8784         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8785         * sysdeps/generic/dl-unistd.h: New file.
8786         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8788 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8790          [BZ #19122]
8791          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8792          * sysdeps/generic/dl-mman.h: New file.
8793          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8795 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8797         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8798         trailing whitespace removed.
8799         * scripts/config.guess: Update to version 2016-01-01.
8800         * scripts/config.sub: Update to version 2016-01-01.
8801         * scripts/move-if-change: Update from gnulib.
8803 2016-01-04  Anton Blanchard  <anton@samba.org>
8805         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8806         for array indices.
8807         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8809 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8811         * NEWS: Update copyright dates.
8812         * catgets/gencat.c (print_version): Likewise.
8813         * csu/version.c (banner): Likewise.
8814         * debug/catchsegv.sh: Likewise.
8815         * debug/pcprofiledump.c (print_version): Likewise.
8816         * debug/xtrace.sh (do_version): Likewise.
8817         * elf/ldconfig.c (print_version): Likewise.
8818         * elf/ldd.bash.in: Likewise.
8819         * elf/pldd.c (print_version): Likewise.
8820         * elf/sotruss.sh: Likewise.
8821         * elf/sprof.c (print_version): Likewise.
8822         * iconv/iconv_prog.c (print_version): Likewise.
8823         * iconv/iconvconfig.c (print_version): Likewise.
8824         * locale/programs/locale.c (print_version): Likewise.
8825         * locale/programs/localedef.c (print_version): Likewise.
8826         * login/programs/pt_chown.c (print_version): Likewise.
8827         * malloc/memusage.sh (do_version): Likewise.
8828         * malloc/memusagestat.c (print_version): Likewise.
8829         * malloc/mtrace.pl: Likewise.
8830         * manual/libc.texinfo: Likewise.
8831         * nptl/version.c (banner): Likewise.
8832         * nscd/nscd.c (print_version): Likewise.
8833         * nss/getent.c (print_version): Likewise.
8834         * nss/makedb.c (print_version): Likewise.
8835         * posix/getconf.c (main): Likewise.
8836         * scripts/test-installation.pl: Likewise.
8837         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8839         * All files with FSF copyright notices: Update copyright dates
8840         using scripts/update-copyrights.
8841         * intl/plural.c: Regenerated.
8842         * locale/programs/charmap-kw.h: Likewise.
8843         * locale/programs/locfile-kw.h: Likewise.
8845 2016-01-02  Helge Deller  <deller@gmx.de>
8847         [BZ #19285]
8848         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8849         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8850         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8851         (MADV_xxK_PAGES): Remove.
8853 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8855         [BZ #15421]
8856         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8857         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8858         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8859         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8861 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8863         [BZ #19408]
8864         * sysdeps/unix/sysv/linux/personality.c: New file.
8865         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8866         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8867         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8868         (sysdep_routines): Add personality.
8869         (tests): Add tst-personality.
8870         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8871         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8872         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8873         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8874         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8875         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8876         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8877         Likewise.
8878         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8879         Likewise.
8880         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8881         Likewise.
8882         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8883         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8884         Likewise.
8886 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8888         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8889         (PATH_ARM_SYSTYPE): Remove.
8890         (PATH_CPUINFO): Likewise.
8891         (IO_BASE_FOOTBRIDGE): Likewise.
8892         (IO_SHIFT_FOOTBRIDGE): Likewise.
8893         (struct platform): Likewise.
8894         (init_iosys): Remove compatibility code for 2.4 kernels.
8895         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8897 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8899         * malloc/tst-malloc-thread-fail.c: New file.
8900         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8901         (tst-malloc-thread-fail): Link against libpthread.
8903 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8905         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8906         (get_parser): New function.
8907         (main): New function.
8909 2015-12-29  Rob Wu  <rob@robwu.nl>
8911         [BZ #19369]
8912         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8914 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8916         [BZ #19270]
8917         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8919 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8921         [BZ #15421]
8922         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8924 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8926         [BZ #13690]
8927         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8928         after releasing it.
8929         (__lll_robust_unlock): Likewise.
8930         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8931         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8932         (lll_robust_unlock): Likewise.
8933         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8934         Prevent warnings in callers.
8936 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8938         * malloc/arena.c (list_lock): Update comment.
8940 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8942         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8943         __parse_hwcap_and_convert_at_platform to libc.a.
8945 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8947         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8948         platform and feature support for POWER9.
8949         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8950         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8951         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8952         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8953         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8954         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8955         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8956         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8958 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8960         Harmonize generic stdio-lock support with nptl
8962         This fixes build when _IO_funlockfile is a macro, fixes build where
8963         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8964         stack unwind.
8966         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8967         _IO_release_lock ): Use cleanup attribute on new
8968         _IO_acquire_lock_file variable instead of assuming that
8969         _IO_release_lock will be called.
8970         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8971         _IO_acquire_lock_needs_exceptions_enabled.
8972         (_IO_acquire_lock_clear_flags2): New macro.
8974 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8976         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8978 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8980         [BZ #19182]
8981         * malloc/arena.c (list_lock): Document lock ordering requirements.
8982         (free_list_lock): New lock.
8983         (ptmalloc_lock_all): Comment on free_list_lock.
8984         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8985         (detach_arena): Update comment.  free_list_lock is now needed.
8986         (_int_new_arena): Use free_list_lock around detach_arena call.
8987         Acquire arena lock after list_lock.  Add comment, including FIXME
8988         about incorrect synchronization.
8989         (get_free_list): Switch to free_list_lock.
8990         (reused_arena): Acquire free_list_lock around detach_arena call
8991         and attached threads counter update.  Add two FIXMEs about
8992         incorrect synchronization.
8993         (arena_thread_freeres): Switch to free_list_lock.
8994         * malloc/malloc.c (struct malloc_state): Update comments to
8995         mention free_list_lock.
8997 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8999         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9000         Remove functions.
9001         (sloww, sloww1): Accept argument to offset quadrant.
9002         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9003         quadrant.
9004         (__sin, __cos): Consolidate common code into new functions.
9005         (reduce_sincos_1, do_sincos_1): New functions.
9006         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9008         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9009         code to new functions.
9010         (reduce_sincos_2, do_sincos_2): New functions.
9011         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9013         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9014         common code for sincos.
9015         (__cos) [!IN_SINCOS]: Likewise.
9016         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9017         New function.
9018         (__sincos): Use it.
9020 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9022         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9023         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9024         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9026 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9028         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9030         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9031         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9032         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9033         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9034         index_Prefer_No_VZEROUPPER): New feature.
9035         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9036         Prefer_No_VZEROUPPER for Knights Landing.
9038 015-12-18  Torvald Riegel  <triegel@redhat.com>
9040         * math/atest-exp2.c (mp_exp_m1): Remove.
9042 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9044         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9045         syscalls.
9046         (__SYSCALL0): New macro.
9047         (__SYSCALL1): Likewise.
9048         (__SYSCALL2): Likewise.
9049         (__SYSCALL3): Likewise.
9050         (__SYSCALL4): Likewise.
9051         (__SYSCALL5): Likewise.
9052         (__SYSCALL6): Likewise.
9053         (__SYSCALL_CONCAT_X): Likewise.
9054         (__SYSCALL_CONCAT): Likewise.
9055         (__SYSCALL_DIST): Likewise.
9056         (__SYSCALL_CALL): Likewise.
9058 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9060         [BZ #19363]
9061         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9063 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9065         [BZ #19375]
9066         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9067         negative subnormals.
9069 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9071         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9072         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9073         (INTERNAL_SYSCALL_NCS): Use it.
9074         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9076 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9078         [BZ #19243]
9079         * malloc/arena.c (get_free_list): Remove assert and adjust
9080         reference count handling.  Add comment about reused_arena
9081         interaction.
9082         (reused_arena): Add comments abount get_free_list interaction.
9083         * malloc/tst-malloc-thread-exit.c: New file.
9084         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9085         (tst-malloc-thread-exit): Link against libpthread.
9087 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9089         [BZ #19367]
9090         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9091         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9092         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9093         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9094         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9096 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9098         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9099         Silvermont optimizations for Knights Landing.
9101 2015-12-15  Andreas Schwab  <schwab@suse.de>
9103         [BZ #17197]
9104         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9105         immediately after emitting SI.
9106         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9107         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9108         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9109         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9110         * iconvdata/bug-iconv10.c: New file.
9111         * iconvdata/Makefile (tests): Add bug-iconv10.
9112         ($(objpfx)bug-iconv10.out): New rule.
9114 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9116         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9117         aliasing violation.
9119 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9121         [BZ #18472]
9122         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9123         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9124         conditionals for them.
9125         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9126         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9128         sys/kdaemon.h.
9129         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9130         compat-only syscall, obsoleted in glibc 2.23.
9131         (create_module): Likewise.
9132         (get_kernel_syms): Likewise.
9133         (query_module): Likewise.
9134         (uselib): Likewise.
9135         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9137 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9139         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9140         <linux/version.h>.
9141         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9142         conditional code.
9143         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9144         and ioshift_name initialization.
9146 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9148         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9149         Fix indentation.
9151 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9153         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9155 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9157         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9159 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9160             Jakub Wilk  <jwilk@debian.org>
9162         [BZ #19347]
9163         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9164         to change the group of the device to the tty group.
9166 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9168         Split large string section; add truncation advice
9169         * manual/examples/strncat.c: Remove.
9170         This example was misleading, as the code would have undefined
9171         behavior if "hello" was longer than SIZE.  Anyway, the manual
9172         shouldn't encourage strncpy+strncat for this sort of thing.
9173         * manual/string.texi (Copying Strings and Arrays): Split into
9174         three sections Copying Strings and Arrays, Concatenating Strings,
9175         and Truncating Strings, as this section was way too long.  All
9176         cross-referenced changed.  Add advice about string-truncation
9177         functions.  Remove misleading strncat example.
9179 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9181         * manual/nss.texi (NSS Modules Interface): Document
9182         NSS_STATUS_NOTFOUND and SUCCESS.
9184 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9186         [BZ 18568]
9187         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9188         201505L, for Unicode 8.
9190 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9192         * locale/C-translit.h: Regenerate.
9194 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9196         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9197         and U+0153.
9199 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9201         [BZ #19351]
9202         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9203         expanding log(1+z), compare z rather than its square with epsilon
9204         to determine when to avoid evaluating the expansion.
9206         [BZ #19350]
9207         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9208         Increase overflow threshold.
9210         [BZ #19349]
9211         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9212         when small.
9214         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9215         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9216         New macro.
9217         [__LINUX_KERNEL_VERSION >= 0x040300]
9218         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9219         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9220         Likewise.
9221         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9222         Likewise.
9223         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9224         Likewise.
9225         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9226         Likewise.
9227         [__LINUX_KERNEL_VERSION >= 0x040300]
9228         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9229         [__LINUX_KERNEL_VERSION >= 0x040300]
9230         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9231         [__LINUX_KERNEL_VERSION >= 0x040300]
9232         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9233         [__LINUX_KERNEL_VERSION >= 0x040300]
9234         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9235         [__LINUX_KERNEL_VERSION >= 0x040300]
9236         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9237         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9238         Likewise.
9239         [__LINUX_KERNEL_VERSION >= 0x040300]
9240         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9241         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9242         Likewise.
9243         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9244         Likewise.
9245         [__LINUX_KERNEL_VERSION >= 0x040300]
9246         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9247         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9248         Likewise.
9249         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9250         Likewise.
9251         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9252         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9253         Likewise.
9254         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9255         Likewise.
9256         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9257         Likewise.
9258         [__LINUX_KERNEL_VERSION >= 0x040300]
9259         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9260         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9261         Likewise.
9262         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9263         Likewise.
9264         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9265         Likewise.
9266         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9267         Likewise.
9268         [__LINUX_KERNEL_VERSION >= 0x040300]
9269         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9270         [__LINUX_KERNEL_VERSION >= 0x040300]
9271         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9272         [__LINUX_KERNEL_VERSION >= 0x040300]
9273         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9274         [__LINUX_KERNEL_VERSION >= 0x040300]
9275         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9276         [__LINUX_KERNEL_VERSION >= 0x040300]
9277         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9278         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9279         Likewise.
9280         [__LINUX_KERNEL_VERSION >= 0x040300]
9281         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9282         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9283         Likewise.
9284         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9285         Likewise.
9286         [__LINUX_KERNEL_VERSION >= 0x040300]
9287         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9288         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9289         Likewise.
9290         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9291         Likewise.
9292         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9293         (__ASSUME_SOCKET_SYSCALL): Likewise.
9294         (__ASSUME_BIND_SYSCALL): Likewise.
9295         (__ASSUME_CONNECT_SYSCALL): Likewise.
9296         (__ASSUME_LISTEN_SYSCALL): Likewise.
9297         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9298         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9299         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9300         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9301         (__ASSUME_SEND_SYSCALL): Likewise.
9302         (__ASSUME_SENDTO_SYSCALL): Likewise.
9303         (__ASSUME_RECV_SYSCALL): Likewise.
9304         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9305         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9306         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9307         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9308         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9309         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9310         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9311         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9312         Likewise.
9313         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9314         Likewise.
9315         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9316         Likewise.
9317         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9318         Likewise.
9319         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9320         Likewise.
9321         [__LINUX_KERNEL_VERSION >= 0x020625]
9322         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9323         [__LINUX_KERNEL_VERSION >= 0x020625]
9324         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9325         [__LINUX_KERNEL_VERSION >= 0x020625]
9326         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9327         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9328         Likewise.
9329         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9330         Likewise.
9331         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9332         Likewise.
9333         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9334         Likewise.
9335         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9336         Likewise.
9337         [__LINUX_KERNEL_VERSION >= 0x020625]
9338         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9339         [__LINUX_KERNEL_VERSION >= 0x020625]
9340         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9341         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9342         Likewise.
9343         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9344         Likewise.
9346 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9348         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9349         record the current if the current ABI and CPU support the FP64
9350         extension.
9351         (has-modd-spreg): Define to record the current if the current ABI and
9352         CPU support 32-bit floating point values in odd FPU registers.
9353         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9354         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9355         $(has-modd-spreg) equals yes.
9356         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9357         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9358         $(has-modd-spreg) equal yes.
9360 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9362         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9363         basename.
9365 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9367         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9368         (bench-string): ... here.
9369         (bench): Add bench-string.
9370         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9371         to *-benchset to reflect what they are.
9372         (benchset): Adjust.
9374         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9375         cos-inputs.
9377 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9379         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9380         __attribute__ ((__simd__)) for vector math function declarations.
9382 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9384         Fix typo in strncat, wcsncat manual entries
9385         * manual/string.texi (Copying and Concatenation): Fix typos in
9386         sample implementations of strncat and wcsncat, by having them use
9387         the old value of the destination length, not the new one.
9389 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9391         [BZ #16961]
9392         [BZ #16962]
9393         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9394         string on the stack for strtod.
9395         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9396         a string on the stack for strtof.
9397         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9398         constructing a string on the stack for strtold.
9399         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9400         __strtold_nan to GLIBC_PRIVATE.
9401         * math/test-nan-overflow.c: New file.
9402         * math/test-nan-payload.c: Likewise.
9403         * math/Makefile (tests): Add test-nan-overflow and
9404         test-nan-payload.
9406 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9408         Consistency about byte vs character in string.texi
9409         * manual/string.texi (String and Array Utilities):
9410         Distinguish more carefully among bytes, multibyte characters,
9411         and wide characters.  Use "byte" when talking about C 'char',
9412         to distinguish it more clearly from multibyte characters.
9413         Say "wide character" or "multibyte character" instead of
9414         "character", when a wide or multibyte character is intended.
9415         Similarly for "multibyte string" versus "string".
9416         Define these terms more carefully.
9418 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9420         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9421         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9422         Likewise.
9423         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9424         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9425         * sysdeps/sh/math_private.h: New file.
9426         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9427         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9428         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9429         long double function name.
9430         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9431         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9432         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9433         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9434         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9436         Remove __finitel, __isinfl, and __isnanl.
9437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9438         Likewise.
9439         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9441         Remove __finitel.
9442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9443         Likewise.
9444         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9446 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9448         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9449         installed libmvec_nonshared.a.
9451 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9453         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9454         (sysdep_routines): Likewise.
9455         (sysdep-rtld-routines): Likewise.
9456         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9457         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9458         * sysdeps/powerpc/Versions: Added new
9459         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9460         * sysdeps/powerpc/hwcapinfo.c: New file.
9461         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9462         and parse hwcap, hwcap2 and platform number information.
9463         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9464         to store HWCAP+HWCAP2 and platform number.
9465         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9466         for HWCAP+HWCAP2 and platform number in the TCB.
9467         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9468         the HWCAP, HWCAP2 and platform number in the TCB.
9469         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9470         (TLS_INIT_TP): Included calls to add the hwcap and
9471         at_platform values in the TCB in TP initialization.
9472         (TLS_DEFINE_INIT_TP): Likewise.
9473         (THREAD_GET_HWCAP): New macro.
9474         (THREAD_SET_HWCAP): Likewise.
9475         (THREAD_GET_AT_PLATFORM): Likewise.
9476         (THREAD_SET_AT_PLATFORM): Likewise.
9477         * sysdeps/powerpc/powerpc32/dl-machine.h:
9478         (dl_platform_init): New function that calls
9479         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9480         powerpc32.
9481         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9482         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9483         this functionality, static linking case.
9484         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9485         linking case.
9486         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9487         __parse_hwcap_and_convert_at_platform for the static linking case.
9488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9489         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9490         ABI list for GLIBC 2.23.
9491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9492         Likewise.
9493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9494         Likewise.
9496 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9498         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9499         * configure: Regenerate.
9500         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9501         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9503 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9505         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9506         * iconvdata/ibm933.c: Likewise.
9507         * iconvdata/ibm935.c: Likewise.
9508         * iconvdata/ibm937.c: Likewise.
9509         * iconvdata/ibm939.c: Likewise.
9511 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9513         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9514         pthread_join.
9515         * nptl/tst-cancel21.c (tf): Likewise.
9517 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9519         [BZ #19313]
9520         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9521         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9522         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9523         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9524         Likewise.
9525         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9526         Likewise.
9527         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9528         Likewise.
9529         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9530         Likewise.
9531         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9532         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9533         unsigned long int with __CPU_MASK_TYPE.
9535 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9537         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9539 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9541         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9542         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9543         t512.x.
9544         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9546 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9548         [BZ #19214]
9549         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9550         argument to return extended model.  Update family and model
9551         with extended family and model when family == 0x0f.
9552         (init_cpu_features): Updated.
9554 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9556         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9557         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9559         * sysdeps/mach/hurd/mmap64.c: New file.
9561 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9563         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9564         rights for its main user thread in NEWTASK.
9566 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9568         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9569         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9571 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9573         [BZ #14259]
9574         * Makeconfig: Rename localedir to complocaledir.
9575         Rename inst_localedir to inst_complocaledir.
9576         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9577         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9578         * configure.ac: Use libc_cv_complocaledir.
9579         * configure: Regenerate.
9580         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9581         -DCOMPLOCALEDIR.
9582         * locale/findlocale.c: Use COMPLOCALEDIR.
9583         * locale/loadarchive.c: Likewise.
9584         * locale/programs/locale.c: Likewise.
9585         * locale/programs/localedef.c: Likewise.
9586         * locale/programs/locarchive.c: Likewise.
9587         * localedata/Makefile: Use inst_complocaledir.
9588         * sysdeps/gnu/configure: Regenerate.
9589         * sysdeps/hppa/configure: Regenerate.
9590         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9591         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9593         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9594         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9595         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9596         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9598 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9600         [BZ #19058]
9601         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9602         AS_NEEDED.
9603         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9604         workaround.
9605         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9606         libmvec-static-only-routines): Added new file.
9607         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9609 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9611         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9612         of interrupted RPC instead of restoring it.
9614         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9615         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9616         libc_hidden_def.
9617         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9618         into initialized data instead of common. Define rtld_hidden_data_def.
9619         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9620         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9621         libc_hidden_def.
9622         (if_freenameindex): Add libc_hidden_weak.
9623         (if_nameindex): Add libc_hidden_weak.
9624         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9625         __open64.
9626         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9627         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9628         * sysdeps/mach/nanosleep.c: Include <time.h>
9629         (__nanosleep): Rename to __libc_nanosleep.
9630         (__nanosleep): Add weak_alias.
9631         (nanosleep): Update alias.
9633 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9635         * stdlib/strtod_nan.c: New file.
9636         * stdlib/strtod_nan_double.h: Likewise.
9637         * stdlib/strtod_nan_float.h: Likewise.
9638         * stdlib/strtod_nan_main.c: Likewise.
9639         * stdlib/strtod_nan_narrow.h: Likewise.
9640         * stdlib/strtod_nan_wide.h: Likewise.
9641         * stdlib/strtof_nan.c: Likewise.
9642         * stdlib/strtold_nan.c: Likewise.
9643         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9644         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9645         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9646         * wcsmbs/wcstod_nan.c: Likewise.
9647         * wcsmbs/wcstof_nan.c: Likewise.
9648         * wcsmbs/wcstold_nan.c: Likewise.
9649         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9650         strtold_nan.
9651         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9652         wcstof_nan.
9653         * include/stdlib.h (__strtof_nan): Declare and use
9654         libc_hidden_proto.
9655         (__strtod_nan): Likewise.
9656         (__strtold_nan): Likewise.
9657         (__wcstof_nan): Likewise.
9658         (__wcstod_nan): Likewise.
9659         (__wcstold_nan): Likewise.
9660         * include/wchar.h (____wcstoull_l_internal): Declare.
9661         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9662         (____strtoull_l_internal): Remove declaration.
9663         (STRTOF_NAN): Define macro.
9664         (SET_MANTISSA): Remove macro.
9665         (STRTOULL): Likewise.
9666         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9667         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9668         (STRTOF_NAN): Define macro.
9669         (SET_MANTISSA): Remove macro.
9670         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9671         (SET_MANTISSA): Remove macro.
9672         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9673         macro.
9674         (SET_MANTISSA): Remove macro.
9675         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9676         macro.
9677         (SET_MANTISSA): Remove macro.
9678         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9679         (SET_MANTISSA): Remove macro.
9680         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9681         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9682         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9684         [BZ #19266]
9685         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9686         upper case and lower case letters inside NAN(), not using TOLOWER.
9687         * stdlib/tst-strtod-nan-locale-main.c: New file.
9688         * stdlib/tst-strtod-nan-locale.c: Likewise.
9689         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9690         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9691         Depend on $(gen-locales).
9692         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9693         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9694         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9695         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9696         Depend on $(gen-locales).
9697         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9699 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9701         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9703         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9705         __finitel, __isinfl, and __isnanl.
9706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9707         Likewise.
9708         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9710         __finitel.
9711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9712         Likewise.
9713         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9715 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9717         * malloc/memusage.c (me): Remove redundant getenv call.
9719 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9721         [BZ #19143]
9722         [BZ #19164]
9723         * nptl/check-cpuset.h: Remove.
9724         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9725         Remove CPU set size check.
9726         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9727         Likewise.
9728         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9729         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9730         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9731         (__pthread_setaffinity_new): Remove CPU set size check.
9732         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9733         (__kernel_cpumask_size): Remove.
9734         (__sched_setaffinity_new): Remove CPU set size check.
9735         * manual/threads.texi (Default Thread Attributes): Remove stale
9736         reference to check_cpuset_attr, determine_cpumask_size in comment.
9737         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9738         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9739         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9740         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9741         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9742         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9743         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9744         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9745         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9746         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9747         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9748         skeleton test file.
9749         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9750         tst-affinity-pid.
9752 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9754         * scripts/update-abilist.sh: New file.
9755         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9756         * Makerules (update-all-abi-%, update-all-abi)
9757         (subdir_update-all-abi): New targets.
9758         * elf/Makefile (update-all-abi): New target.
9760 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9762         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9763         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9764         (__libc_lock_define_initialized): Use it.
9765         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9766         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9767         * malloc/malloc.c (main_arena): Likewise.
9768         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9769         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9771 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9773         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9774         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9775         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9776         (PTRACE_O_MASK): Update value.
9777         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9778         New value in enum __ptrace_setoptions.
9779         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9780         (PTRACE_O_MASK): Update value.
9781         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9782         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9783         (PTRACE_O_MASK): Update value.
9784         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9785         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9786         (PTRACE_O_MASK): Update value.
9787         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9788         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9789         (PTRACE_O_MASK): Update value.
9790         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9791         New value in enum __ptrace_setoptions.
9792         (PTRACE_O_MASK): Update value.
9793         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9794         New value in enum __ptrace_setoptions.
9795         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9796         (PTRACE_O_MASK): Update value.
9798         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9799         New macro.
9800         (PACKET_AUXDATA): Likewise.
9801         (PACKET_ORIGDEV): Likewise.
9802         (PACKET_VERSION): Likewise.
9803         (PACKET_HDRLEN): Likewise.
9804         (PACKET_RESERVE): Likewise.
9805         (PACKET_TX_RING): Likewise.
9806         (PACKET_LOSS): Likewise.
9807         (PACKET_VNET_HDR): Likewise.
9808         (PACKET_TX_TIMESTAMP): Likewise.
9809         (PACKET_TIMESTAMP): Likewise.
9810         (PACKET_FANOUT): Likewise.
9811         (PACKET_TX_HAS_OFF): Likewise.
9812         (PACKET_QDISC_BYPASS): Likewise.
9813         (PACKET_ROLLOVER_STATS): Likewise.
9814         (PACKET_FANOUT_DATA): Likewise.
9815         (PACKET_MR_UNICAST): Likewise.
9817         [BZ #19242]
9818         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9819         (TOUPPER): Likewise.
9820         * stdlib/tst-strtol-locale-main.c: New file.
9821         * stdlib/tst-strtol-locale.c: Likewise.
9822         * stdlib/Makefile (tests): Add tst-strtol-locale.
9823         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9824         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9825         Depend on $(gen-locales).
9826         * wcsmbs/tst-wcstol-locale.c: New file.
9827         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9828         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9829         tr_TR.ISO-8859-9.
9830         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9831         Depend on $(gen-locales).
9833 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9835         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9836         __glibc_likely instead of __builtin_expect.  After falling back to
9837         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9838         system interface to register the code pages as occupied.
9840 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9842         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9843         [!ARM_MATH_PRIVATE_H].
9844         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9845         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9846         [!HPPA_MATH_PRIVATE_H].
9847         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9848         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9849         to [!I386_MATH_PRIVATE_H].
9850         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9851         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9852         Change guard to [!M68K_MATH_PRIVATE_H].
9853         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9854         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9855         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9856         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9857         macro.
9858         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9859         [!MIPS_MATH_PRIVATE_H].
9860         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9861         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9862         [!NIO2_MATH_PRIVATE_H].
9863         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9864         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9865         [!TILE_MATH_PRIVATE_H].
9866         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9868         [BZ #15421]
9869         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9870         initialize with 0 and define as weak alias of __signgam.
9871         * include/math.h [!_ISOMAC] (__signgam): Declare.
9872         * math/Makefile (libm-calls): Add w_lgamma_compat.
9873         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9874         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9875         test-signgam-ullong-init.
9876         (tests-static): Add test-signgam-uchar-static,
9877         test-signgam-uchar-init-static, test-signgam-uint-static,
9878         test-signgam-uint-init-static, test-signgam-ullong-static and
9879         test-signgam-ullong-init-static.
9880         (CFLAGS-test-signgam-uchar.c): New variable.
9881         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9882         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9883         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9884         (CFLAGS-test-signgam-uint.c): Likewise.
9885         (CFLAGS-test-signgam-uint-init.c): Likewise.
9886         (CFLAGS-test-signgam-uint-static.c): Likewise.
9887         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9888         (CFLAGS-test-signgam-ullong.c): Likewise.
9889         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9890         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9891         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9892         * math/Versions (libm): Add GLIBC_2.23.
9893         * math/lgamma-compat.h: New file.
9894         * math/test-signgam-main.c: Likewise.
9895         * math/test-signgam-uchar-init-static.c: Likewise.
9896         * math/test-signgam-uchar-init.c: Likewise.
9897         * math/test-signgam-uchar-static.c: Likewise.
9898         * math/test-signgam-uchar.c: Likewise.
9899         * math/test-signgam-uint-init-static.c: Likewise.
9900         * math/test-signgam-uint-init.c: Likewise.
9901         * math/test-signgam-uint-static.c: Likewise.
9902         * math/test-signgam-uint.c: Likewise.
9903         * math/test-signgam-ullong-init-static.c: Likewise.
9904         * math/test-signgam-ullong-init.c: Likewise.
9905         * math/test-signgam-ullong-static.c: Likewise.
9906         * math/test-signgam-ullong.c: Likewise.
9907         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9908         wrapper of w_lgamma_main.c.
9909         * math/w_lgamma_compat.c: New file.
9910         * math/w_lgamma_compatf.c: Likewise.
9911         * math/w_lgamma_compatl.c: Likewise.
9912         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9913         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9914         defining compatibility symbols.
9915         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9916         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9917         wrapper of w_lgammaf_main.c.
9918         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9919         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9920         defining compatibility symbols.
9921         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9922         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9923         wrapper of w_lgammal_main.c.
9924         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9925         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9926         defining compatibility symbols.
9927         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9928         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9929         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9930         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9931         <lgamma-compat.h>.
9932         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9933         (__ieee754_gamma): Define as alias.
9934         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9935         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9936         <lgamma-compat.h>.
9937         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9938         (__ieee754_gammaf): Define as alias.
9939         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9940         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9941         <lgamma-compat.h>.
9942         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9943         (__ieee754_gammal): Define as alias.
9944         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9945         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9946         <math/w_lgamma_compat.c>.
9947         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9948         Define as alias of __lgamma_compat and use in defining lgammal.
9949         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9950         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9951         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9952         (USE_AS_COMPAT): New macro.
9953         (LGAMMA_OLD_VER): Undefine and redefine.
9954         (lgammal): Do not define here.
9955         (gammal): Only define here if [GAMMA_ALIAS].
9956         * conform/linknamespace.pl (@whitelist): Remove signgam.
9957         * sysdeps/nacl/libm.abilist: Update.
9958         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9959         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9960         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9961         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9962         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9963         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9964         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9965         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9966         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9967         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9968         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9969         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9971         Likewise.
9972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9973         Likewise.
9974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9975         Likewise.
9976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9977         Likewise.
9978         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9979         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9980         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9981         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9982         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9984         Likewise.
9985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9986         Likewise.
9987         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9988         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9989         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9991 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9993         [BZ #16364]
9994         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9995         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9997 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9999         * sysdeps/s390/fpu/bits/mathinline.h:
10000         Use __asm__ [__volatile__] instead of asm [volatile].
10001         * sysdeps/s390/abort-instr.h: Likewise.
10002         * sysdeps/s390/atomic-machine.h: Likewise.
10003         * sysdeps/s390/bits/string.h: Likewise.
10004         * sysdeps/s390/dl-tls.h: Likewise.
10005         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10006         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10007         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10008         * sysdeps/s390/fpu/fesetround.c: Likewise.
10009         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10010         * sysdeps/s390/fpu/s_fma.c: Likewise.
10011         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10012         * sysdeps/s390/memusage.h: Likewise.
10013         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10014         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10015         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10016         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10017         * sysdeps/s390/nptl/tls.h: Likewise.
10018         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10019         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10020         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10021         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10022         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10023         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10024         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10025         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10026         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10027         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10028         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10029         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10030         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10031         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10032         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10033         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10034         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10035         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10036         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10037         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10038         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10039         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10040         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10042 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10043             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10045         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10046         Add lwarx hint, and use macro for acquire instruction.
10047         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10048         Likewise.
10049         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10050         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10051         update to use new atomic macros.
10053 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10055         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10056         (__lll_trylock_elision): Fix setting of adapt_count.
10057         * sysdeps/unix/sysv/linux/powerpc/htm.h
10058         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10059         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10060         (_ABORT_SYSCALL): Renumber, and clarify definition.
10061         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10063 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10065         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10066         after system headers to prevent MIN/MAX redefinition.  Define
10067         HAVE_ALLOCA to preserve builtin alloca usage.
10069 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10071         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10072         static and don't set or restore rounding.
10073         (__cos)[IN_SINCOS]: Likewise.
10074         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10075         (__sincos): Set and restore rounding mode.  Remove check for infinite
10076         or NaN input.
10078         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10080         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10081         as used.
10083 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10085         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10087 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10089         * config.make.in (have-glob-dat-reloc): New.
10090         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10091         target supports GLOB_DAT relocaton. AC_SUBST.
10092         * configure: Regenerated.
10093         * elf/Makefile (tests): Add tst-prelink.
10094         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10095         (tst-prelink-ENV): New.
10096         ($(objpfx)tst-prelink-conflict.out): Likewise.
10097         ($(objpfx)tst-prelink-cmp.out): Likewise.
10098         * sysdeps/x86/tst-prelink.c: Moved to ...
10099         * elf/tst-prelink.c: Here.
10100         * sysdeps/x86/tst-prelink.exp: Moved to ...
10101         * elf/tst-prelink.exp: Here.
10102         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10103         (tst-prelink-ENV): Removed.
10104         ($(objpfx)tst-prelink-conflict.out): Likewise.
10105         ($(objpfx)tst-prelink-cmp.out): Likewise.
10106         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10108 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10110         [BZ #14551]
10111         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10112         (__mpn_construct_long_double): If high part overflows to infinity,
10113         set errno and recompute overflowed result of the correct sign.
10114         * sysdeps/ieee754/ldbl-128ibm/Makefile
10115         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10116         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10117         $(libm).
10118         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10120 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10122         [BZ #15479]
10123         [BZ #19238]
10124         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10125         floating-point state after first operation on input.  Restore full
10126         state rather than just rounding mode.
10127         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10128         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10129         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10131         [BZ #19235]
10132         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10133         add 0.5 to integer arguments.
10134         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10135         Likewise.
10136         (.LC2): New object.
10138 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10140         * scripts/pylintrc (reports): Set to no.
10142 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10144         * elf/dl-load.c (open_verify): Take new argument FD.
10145         Skip __open call if passed FD is not -1.
10146         (_dl_map_object, open_path): Update callers.
10147         * elf/dl-sysdep-open.h: New file.
10148         * elf/dl-load.c: Include it.
10149         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10150         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10151         * sysdeps/nacl/dl-sysdep-open.h: New file.
10152         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10153         from libc to rtld.
10155 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10157         [BZ #19228]
10158         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10159         and restore full floating-point state.
10160         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10161         Likewise.
10162         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10163         Likewise.
10164         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10165         Likewise.
10166         * math/test-nearbyint-except-2.c: New file.
10167         * math/Makefile (tests): Add test-nearbyint-except-2.
10169 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10171         [BZ #19178]
10172         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10173         (tst-prelink-ENV): New.
10174         ($(objpfx)tst-prelink-conflict.out): Likewise.
10175         ($(objpfx)tst-prelink-cmp.out): Likewise.
10176         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10177         * sysdeps/x86/tst-prelink.c: New file.
10178         * sysdeps/x86/tst-prelink.exp: Likewise.
10180 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10182         * math/auto-libm-test-in: Add another test of pow.
10183         * math/auto-libm-test-out: Regenerated.
10184         * math/libm-test.inc (pow_test_data): Add another test.
10186 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10188         [BZ #19219]
10189         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10190         weak_alias to nearbyintl.
10192 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10194         * sysdeps/aarch64/bits/string.h: New file.
10195         (_STRING_ARCH_unaligned): Define.
10197 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10199         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10200         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10201         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10202         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10205 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10207         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10208         for original name of the DSO.  Add it to the name list of the DSO
10209         if it is actually given.
10210         (_dl_map_object): Keep track of whether an audit module rewrote
10211         the file name.  If yes, pass the original name to
10212         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10213         debugging is enabled, log the change of the file name.
10214         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10215         _dl_map_object_from_fd.
10216         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10217         * elf/tst-audit11.c: New file
10218         * elf/tst-auditmod11.c: New file.
10219         * elf/tst-audit11mod1.c: New file.
10220         * elf/tst-audit11mod2.c: New file.
10221         * elf/tst-audit11mod2.map: New file.
10222         * elf/tst-audit12.c: New file
10223         * elf/tst-auditmod12.c: New file.
10224         * elf/tst-audit12mod1.c: New file.
10225         * elf/tst-audit12mod2.c: New file.
10226         * elf/tst-audit12mod2.map: New file.
10227         * elf/tst-audit12mod3.c: New file.
10229 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10231         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10232         Don't create weak aliases,
10233         because versioned symbols are created later.
10234         * sysdeps/s390/s390-32/setjmp.S
10235         (setjmp, _setjmp): Remove weak and rename to an unique name
10236         in SHARED case due to existing versioned symbols.
10237         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10238         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10239         (getcontext): Create weak alias only in non SHARED case.
10240         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10242 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10244         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10245         (__ASSUME_*_SYSCALL) Define new macros.
10246         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10247         Remove socketcall syscalls.
10248         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10249         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10250         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10251         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10252         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10253         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10255 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10257         [BZ #12926]
10258         Terminate process on invalid netlink response.
10259         * sysdeps/unix/sysv/linux/netlinkaccess.h
10260         (__netlink_assert_response): Declare.
10261         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10262         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10263         (sysdep_routines): Add netlink_assert_response.
10264         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10265         __netlink_assert_response.
10266         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10267         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10268         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10269         __netlink_assert_response.
10271 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10273         [BZ #19178]
10274         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10275         (RTYPE_CLASS_PLT): Likewise.
10276         (RTYPE_CLASS_COPY): Likewise.
10277         (RTYPE_CLASS_TLS): Likewise.
10278         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10279         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10280         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10281         DL_DEBUG_PRELINK.
10283 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10285         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10286         calls with argument -0.5.
10287         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10289         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10290         (libc_cv_z_nodlopen): Likewise.
10291         (libc_cv_z_initfirst): Likewise.
10292         * configure: Regenerated.
10294 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10296         Simplify abilist format to be line-based.
10297         * scripts/abilist.awk: Collect descriptors in the descs variable.
10298         (emit): Write descs variable and sort it
10299         externally, with sort.
10300         * sysdeps/**/*.abilist: Convert to new format.
10302 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10304         [BZ #11460]
10305         * io/Makefile (routines): Add fts64.
10306         (tests): Add tst-fts and tst-fts-lfs.
10307         (CFLAGS-fts64.c): New.
10308         * io/Versions (GLIBC_2.23): New.
10309         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10310         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10311         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10312         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10313         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10314         (FTSENT64): Likewise.
10315         (fts64_children): Likewise.
10316         (fts64_close): Likewise.
10317         (fts64_open): Likewise.
10318         (fts64_read): Likewise.
10319         (fts64_set): Likewise.
10320         * io/fts64.c: New file.
10321         * io/tst-fts.c: New test.
10322         * io/tst-fts-lfs.c: Likewise.
10323         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10324         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10325         fts64_set.
10326         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10327         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10328         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10329         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10330         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10331         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10332         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10333         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10334         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10335         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10336         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10337         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10338         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10340         Likewise.
10341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10342         Likewise.
10343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10345         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10346         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10347         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10348         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10349         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10352         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10353         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10354         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10355         * sysdeps/wordsize-64/fts.c: New file.
10356         * sysdeps/wordsize-64/fts64.c: Likewise.
10357         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10358         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10359         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10360         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10362 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10364         * math/libm-test.inc (NON_FINITE): New macro.
10365         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10366         * math/gen-libm-test.pl (show_exceptions): Add argument
10367         $non_finite.
10368         (parse_args): Update call to show_exceptions.
10369         * math/test-math-finite.h: New file.
10370         * math/test-math-no-finite.h: Likewise.
10371         * math/test-double-finite.c: Likewise.
10372         * math/test-float-finite.c: Likewise.
10373         * math/test-ldouble-finite.c: Likewise.
10374         * math/test-double.c: Include "test-math-no-finite.h".
10375         * math/test-float.c: Include "test-math-no-finite.h".
10376         * math/test-ldouble.c: Include "test-math-no-finite.h".
10377         * math/test-math-inline.h (TEST_FINITE): New macro.
10378         * math/test-math-vector.h (TEST_FINITE): Likewise.
10379         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10380         (libm-tests): Add test-float-finite and test-double-finite.
10381         ($(objpfx)test-float-finite.o): New dependency on
10382         $(objpfx)libm-test.stmp.
10383         ($(objpfx)test-double-finite.o): Likewise.
10384         ($(objpfx)test-ldouble-finite.o): Likewise.
10385         (libm-test-no-inline-cflags): New variable.
10386         (libm-test-finite-cflags): Likewise.
10387         (CFLAGS-test-float-finite.c): Likewise.
10388         (CFLAGS-test-double-finite.c): Likewise.
10389         (CFLAGS-test-ldouble-finite.c): Likewise.
10390         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10391         (CFLAGS-test-double.c): Likewise.
10392         (CFLAGS-test-ldouble.c): Likewise.
10394 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10396         * io/fcntl.c (__fcntl): Add ... to prototype.
10397         * misc/ioctl.c (__ioctl): Likewise.
10398         * misc/syscall.c (syscall): Likewise.
10400 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10402         * scripts/list-fixed-bugs.py: New file.
10404         [BZ #19213]
10405         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10406         returned for argument 1.
10407         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10408         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10409         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10410         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10411         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10412         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10414         [BZ #19211]
10415         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10416         __USE_XOPEN], not if [!__USE_ISOC99].
10417         (lgammaf): Likewise.
10418         (lgammal): Likewise.
10419         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10420         (gammaf): Likewise.
10421         (gammal): Likewise.
10422         * math/test-signgam-finite-c11.c: New file.
10423         * math/test-signgam-finite-c99.c: Likewise.
10424         * math/test-signgam-finite.c: Likewise.
10425         * math/Makefile (tests): Add test-signgam-finite,
10426         test-signgam-finite-c99 and test-signgam-finite-c11.
10427         (CFLAGS-test-signgam-finite.c): New variable.
10428         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10429         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10431         [BZ #19212]
10432         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10433         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10434         500].
10435         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10436         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10437         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10438         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10439         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10440         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10441         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10442         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10443         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10444         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10446         [BZ #19209]
10447         * math/bits/math-finite.h (ldexp): Remove declaration.
10448         (ldexpf): Likewise.
10449         (ldexpl): Likewise.
10451         [BZ #19205]
10452         * math/bits/math-finite.h (acosf): Condition declaration on
10453         [__USE_ISOC99].
10454         (acosl): Likewise.
10455         (acoshf): Likewise.
10456         (acoshl): Likewise.
10457         (asinf): Likewise.
10458         (asinl): Likewise.
10459         (atan2f): Likewise.
10460         (atan2l): Likewise.
10461         (atanhf): Likewise.
10462         (atanhl): Likewise.
10463         (coshf): Likewise.
10464         (coshl): Likewise.
10465         (expf): Likewise.
10466         (expl): Likewise.
10467         (fmodf): Likewise.
10468         (fmodl): Likewise.
10469         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10470         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10471         (j0l): Likewise.
10472         (y0f): Likewise.
10473         (y0l): Likewise.
10474         (j1f): Likewise.
10475         (j1l): Likewise.
10476         (y1f): Likewise.
10477         (y1l): Likewise.
10478         (jnf): Likewise.
10479         (jnl): Likewise.
10480         (ynf): Likewise.
10481         (ynl): Likewise.
10482         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10483         (lgammal_r): Likewise.
10484         (__lgamma_r_finite): New declaration.
10485         (__lgammaf_r_finite): Likewise.
10486         (__lgammal_r_finite): Likewise.
10487         (lgamma): Use __lgamma_r_finite.
10488         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10489         __lgammaf_r_finite.
10490         (lgammal): Condition definition on [__USE_ISOC99].  Use
10491         __lgammal_r_finite.
10492         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10493         __lgamma_r_finite.
10494         (gammaf): Condition definition on [__USE_ISOC99].  Use
10495         __lgammaf_r_finite.
10496         (gammal): Condition definition on [__USE_ISOC99].  Use
10497         __lgammal_r_finite.
10498         (logf): Condition declaration on [__USE_ISOC99].
10499         (logl): Likewise.
10500         (log10f): Likewise.
10501         (log10l): Likewise.
10502         (ldexpf): Likewise.
10503         (ldexpl): Likewise.
10504         (powf): Likewise.
10505         (powl): Likewise.
10506         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10507         __USE_ISOC99].
10508         (remainderf): Condition declaration on [__USE_ISOC99].
10509         (remainderl): Likewise.
10510         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10511         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10512         (scalbl): Likewise.
10513         (sinhf): Condition declaration on [__USE_ISOC99].
10514         (sinhl): Likewise.
10515         (sqrtf): Likewise.
10516         (sqrtl): Likewise.
10518 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10520         * sysdeps/arm/atomic-machine.h
10521         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10522         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10523         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10524         Remove conditional code.
10525         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10526         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10527         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10528         Change conditional to [__ASSEMBLER__].
10529         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10530         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10531         [!__ASSEMBLER__].
10532         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10533         code.
10534         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10535         conditional macro definitions.
10536         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10537         (__arch_compare_and_exchange_val_16_acq): Likewise.
10538         (__arch_compare_and_exchange_val_32_acq): Likewise.
10539         (atomic_exchange_and_add): Likewise.
10540         (atomic_add): Likewise.
10541         (atomic_add_negative): Likewise.
10542         (atomic_add_zero): Likewise.
10543         (atomic_bit_set): Likewise.
10544         (atomic_bit_test_set): Likewise.
10545         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10546         code unconditional.
10547         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10549         * math/test-math-errno.h: New file.
10550         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10551         empty.
10552         (TEST_ERRNO): New macro.
10553         (TEST_EXCEPTIONS): Likewise.
10554         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10555         (TEST_EXCEPTIONS): Likewise.
10556         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10557         * math/test-double.c: Include "test-math-errno.h".
10558         * math/test-float.c: Likewise.
10559         * math/test-ldouble.c: Likewise.
10560         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10561         code unconditional.
10562         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10563         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10564         unconditional.
10565         (test_errno): Only run code if TEST_ERRNO.
10566         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10568 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10570         * nptl/tst-once5.cc: Remove attribution.
10572 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10574         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10575         sqrt, tan, tanh, y0, y1 and yn.
10576         * math/auto-libm-test-out: Regenerated.
10577         * math/libm-test.inc (scalb_test_data): Add more tests.
10578         (scalbn_test_data): Likewise.
10579         (scalbln_test_data): Likewise.
10580         (signbit_test_data): Likewise.
10581         (sin_test_data): Likewise.
10582         (sincos_test_data): Likewise.
10583         (sinh_test_data): Likewise.
10584         (sqrt_test_data): Likewise.
10585         (tan_test_data): Likewise.
10586         (tanh_test_data): Likewise.
10587         (tgamma_test_data): Likewise.
10588         (y0_test_data): Likewise.
10589         (y1_test_data): Likewise.
10590         (yn_test_data): Likewise.
10591         (significand_test_data): Likewise.
10592         * sysdeps/i386/fpu/libm-test-ulps: Update.
10594 2015-11-03  David Kastrup  <dak@gnu.org>
10596         [BZ #18604]
10597         * assert/assert.h (assert): Don't macro-expand failed assertion
10598         expression in error message.
10599         * malloc/malloc.c (assert): Likewise.
10601 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10603         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10604         test.
10605         * configure: Regenerated.
10607 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10609         * math/libm-test.inc (modf_test_data): Add more tests.
10610         (nearbyint_test_data): Likewise.
10611         (nextafter_test_data): Likewise.
10612         (nexttoward_test_data): Likewise.
10613         (pow_test_data): Likewise.
10614         (remainder_test_data): Likewise.
10615         (remquo_test_data): Likewise.
10616         (rint_test_data): Likewise.
10618         [BZ #19201]
10619         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10620         Check for zero remainder in case of large exponents and ensure
10621         correct sign of result in that case.
10622         * math/libm-test.inc (remainder_test_data): Add more tests.
10624         [BZ #6799]
10625         * math/s_nextafter.c: Include <errno.h>.
10626         (__nextafter): Set errno on overflow and underflow.
10627         * math/s_nexttowardf.c: Include <errno.h>.
10628         (__nexttowardf): Set errno on overflow and underflow.
10629         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10630         (__nextafterl): Set errno on overflow and underflow.
10631         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10632         (__nexttoward): Set errno on overflow and underflow.
10633         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10634         (__nexttowardf): Set errno on overflow and underflow.
10635         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10636         (__nextafterf): Set errno on overflow and underflow.
10637         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10638         (__nextafterl): Set errno on overflow and underflow.
10639         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10640         (__nexttoward): Set errno on overflow and underflow.
10641         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10642         (__nexttowardf): Set errno on overflow and underflow.
10643         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10644         (__nextafterl): Set errno on overflow and underflow.
10645         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10646         (__nexttoward): Set errno on overflow and underflow.
10647         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10648         (__nexttowardf): Set errno on overflow and underflow.
10649         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10650         (__nexttoward): Set errno on overflow and underflow.
10651         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10652         (__nexttowardf): Set errno on overflow and underflow.
10653         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10654         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10655         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10656         (__nextafterl): Set errno on overflow and underflow.
10657         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10658         setting to be missing on overflow.  Add more tests.
10659         (nexttoward_test_data): Likewise.
10661         * configure.ac (libc_cv_initfini_array): Remove configure test.
10662         * configure: Regenerated.
10664 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10666         [BZ #19189]
10667         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10668         non-finite argument handle arguments with negative sign.
10670         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10671         result from infinite argument.
10672         (j1_test_data): Likewise.
10673         (jn_test_data): Likewise.
10674         (y0_test_data): Likewise.
10675         (y1_test_data): Likewise.
10676         (yn_test_data): Likewise.
10678         [BZ #16171]
10679         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10680         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10681         * math/w_remainderf.c (dremf): Define as weak alias of
10682         __remainderf.
10683         * math/w_remainderl.c (dreml): Define as weak alias of
10684         __remainderl.
10685         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10686         __remainder.
10687         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10688         __remainderf.
10689         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10690         __remainderl.
10691         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10692         weak alias of remainderl.
10693         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10694         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10695         alias of __remainder.
10696         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10697         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10698         strong alias of __remainderl.
10699         (dreml): Use long_double_symbol.
10700         * math/Makefile (libm-calls): Remove w_drem.
10701         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10702         (CFLAGS-nldbl-drem.c): Remove variable.
10703         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10704         * math/w_drem.c: Remove file.
10705         * math/w_dremf.c: Likewise.
10706         * math/w_dreml.c: Likewise.
10707         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10708         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10709         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10711         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10712         * sysdeps/i386/configure: Regenerated.
10713         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10714         * sysdeps/x86_64/configure: Regenerated.
10716         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10717         test.
10718         (libc_cv_visibility_attribute): Likewise.
10719         (libc_cv_protected_data): Test unconditionally.
10720         (libc_cv_broken_visibility_attribute): Remove configure test.
10721         (libc_cv_have_sdata_section): Test unconditionally.
10722         * configure: Regenerated.
10724         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10725         * include/scratch_buffer.h: Include <stddef.h> instead of
10726         <libc-internal.h>.
10727         (struct scratch_buffer): Use max_align_t instead of
10728         libc_max_align_t.
10730 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10732         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10733         instead of extend_alloca.  Change control flow to avoid a goto.
10734         Remove assert which is trivially always true.
10736 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10738         [BZ #16068]
10739         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10740         (FE_ALL_EXCEPT_X86): New macro.
10741         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10742         FE_ALL_EXCEPT.  Ensure precision control is included in
10743         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10744         handle "denormal operand exception" and clear FZ and DAZ bits.
10745         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10746         (FE_ALL_EXCEPT_X86): New macro.
10747         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10748         FE_ALL_EXCEPT.  Ensure precision control is included in
10749         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10750         handle "denormal operand exception" and clear FZ and DAZ bits.
10751         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10752         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10753         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10754         test-fenv-x87 and test-fenv-sse-2.
10755         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10757         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10758         * math/test-double.h (BUILD_COMPLEX): New macro.
10759         * math/test-float.h (BUILD_COMPLEX): Likewise.
10760         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10762         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10763         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10764         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10765         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10766         instead of DBL_DENORM_MIN in comment.
10767         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10768         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10769         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10770         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10771         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10772         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10774 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10776         [BZ# 19048]
10777         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10778         attached_threads member.
10779         (main_arena): Initialize attached_threads.
10780         * malloc/arena.c (list_lock): Update comment.
10781         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10782         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10783         (deattach_arena): New function.
10784         (_int_new_arena): Initialize arena reference count and deattach
10785         replaced arena.
10786         (get_free_list, reused_arena): Update reference count and deattach
10787         replaced arena.
10788         (arena_thread_freeres): Update arena reference count and only put
10789         unreferenced arenas on the free list.
10791 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10793         [BZ #19181]
10794         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10795         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10796         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10797         * math/test-fenv-clear-main.c: New file.
10798         * math/test-fenv-clear.c: Likewise.
10799         * math/Makefile (tests): Add test-fenv-clear.
10800         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10801         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10802         test-fenv-clear-sse.
10803         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10805         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10806         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10807         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10809 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10811         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10812         static libc.
10814 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10816         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10817         test.
10818         * sysdeps/i386/configure: Regenerated.
10819         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10820         test.
10821         * sysdeps/x86_64/configure: Regenerated.
10822         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10823         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10824         memset-avx2 unconditionally instead of conditionally on
10825         [$(config-cflags-avx2) = yes].
10826         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10827         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10828         unconditional.
10829         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10830         * sysdeps/x86_64/multiarch/memset_chk.S
10831         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10832         to [IS_IN (libc) && SHARED].
10834 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10836         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10837         configure test.
10838         * sysdeps/arm/configure: Regenerated.
10839         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10840         Define variable if not already defined.
10842         [BZ #17404]
10843         * sysdeps/mips/atomic-machine.h
10844         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10845         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10846         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10848         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10849         unconditional.
10850         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10851         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10852         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10853         unconditional.
10854         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10855         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10856         unconditional.
10857         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10858         * stdlib/setenv.c
10859         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10860         code unconditional.
10861         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10862         Remove conditional code.
10863         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10864         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10865         unconditional.
10866         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10867         code.
10868         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10869         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10870         unconditional.
10871         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10872         code.
10873         * sysdeps/ieee754/ldbl-128/k_tanl.c
10874         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10875         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10876         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10877         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10878         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10879         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10880         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10881         unconditional.
10882         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10883         code.
10884         * sysdeps/ieee754/ldbl-96/k_tanl.c
10885         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10886         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10888         * nptl/tst-initializers1-c11.c: New file.
10889         * nptl/tst-initializers1-gnu11.c: Likewise.
10890         * nptl/Makefile (tests): Add these new tests.
10891         (CFLAGS-tst-initializers1-c11.c): New variable.
10892         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10894         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10895         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10896         instead of -std=gnu99.
10897         * configure.ac (systemtap): Test with -std=gnu11 instead of
10898         -std=gnu99.
10899         * configure: Regenerated.
10900         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10901         in compilation command in comment.
10903         * sysdeps/nptl/configure.ac: Remove file.
10904         * sysdeps/nptl/configure: Remove generated file.
10905         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10906         * configure: Regenerated.
10907         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10908         * config.make.in (have-forced-unwind): Remove variable.
10909         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10910         unconditional.
10911         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10912         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10913         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10914         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10915         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10916         unconditional.
10918 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10920         [BZ #19174]
10921         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10922         .skip_lock_out_of_tbegin_retries.
10923         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10924         (__lll_lock_elision): Likewise, and respect a value of
10925         try_tbegin <= 0.
10927 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10929         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10930         statement.
10932 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10934         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10935         variable.
10936         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10937         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10939         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10940         of -std=c1x -D_ISOC11_SOURCE.
10942         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10943         * configure: Regenerated.
10944         * manual/install.texi (Tools for Compilation): Document
10945         requirement for GCC 4.7 or later.
10946         * INSTALL: Regenerated.
10948 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10950         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10951         on CNT to a conditional jump to 'puntdata'.
10953 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10955         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10956         (libc_cv_gcc_tls_model_attr): Likewise.
10957         * configure: Regenerated.
10959         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10960         * configure: Regenerated.
10961         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10963 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10965         * configure.ac (old_glibc_headers): Remove configure test.
10966         * configure: Regenerated.
10967         * config.make.in (old-glibc-headers): Remove variable.
10968         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10969         (install): Remove dependency on remove-old-headers.
10970         (headers2_0): Remove variable.
10971         (remove-old-headers): Remove rule.
10973         * configure.ac (libc_cv_dot_text): Remove configure test.
10974         (libc_cv_asm_set_directive): Use .text instead of
10975         ${libc_cv_dot_text} in configure test.
10976         * configure: Regenerated.
10978 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10980         [BZ #19168]
10981         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10983 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10985         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10986         not support static linking.
10987         * configure: Regenerate.
10989 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10991         * math/libm-test.inc (check_float_internal): Do not special-case
10992         errors up to 0.5 ulp.
10994         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10995         log2.
10996         * math/auto-libm-test-out: Regenerated.
10997         * math/libm-test.inc (MAX_EXP): New macro.
10998         (ilogb_test_data): Add more tests.
10999         (isfinite_test_data): Likewise.
11000         (isgreater_test_data): Likewise.
11001         (isgreaterequal_test_data): Likewise.
11002         (isinf_test_data): Likewise.
11003         (isless_test_data): Likewise.
11004         (islessequal_test_data): Likewise.
11005         (islessgreater_test_data): Likewise.
11006         (isnan_test_data): Likewise.
11007         (isnormal_test_data): Likewise.
11008         (issignaling_test_data): Likewise.
11009         (isunordered_test_data): Likewise.
11010         (j0_test_data): Likewise.
11011         (j1_test_data): Likewise.
11012         (jn_test_data): Likewise.
11013         (lgamma_test_data): Likewise.
11014         (log_test_data): Likewise.
11015         (log10_test_data): Likewise.
11016         (log1p_test_data): Likewise.
11017         (log2_test_data): Likewise.
11018         (logb_test_data): Likewise.
11019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11021         [BZ #18611]
11022         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11023         avoid excess range and precision on underflow.
11024         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11025         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11026         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11027         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11028         underflow.
11029         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11030         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11031         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11032         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11033         * math/auto-libm-test-in: Do not allow missing errno setting for
11034         tests of j1 and jn.
11035         * math/auto-libm-test-out: Regenerated.
11037 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11039         [BZ #15491]
11040         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11041         floating-point environment instead of clearing all exceptions.
11042         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11043         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11044         merging in "invalid" exceptions from frndint.
11045         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11046         * math/test-nearbyint-except.c: New file.
11047         * math/Makefile (tests): Add test-nearbyint-except.
11049 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11051         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11053         * sysdeps/tile/libm-test-ulps: Regenerated.
11055 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11058         (__NR_sync_file_range2): Assume it is always defined.
11059         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11060         (__NR_sync_file_range): Assume it is always defined.
11062 2015-10-22  Andreas Schwab  <schwab@suse.de>
11064         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11065         INTERNAL_SYSCALL_ERRNO.
11066         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11067         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11068         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11069         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11070         Likewise.
11071         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11073 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11075         * io/tst-fcntl.c (fd): New static variable.
11076         (do_prepare): Open temporary file here....
11077         (do_test): ...not here.
11079         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11081 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11083         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11084         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11085         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11086         Moved before "#ifdef __ASSEMBLER__".
11088 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11090         [BZ #19156]
11091         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11092         arguments very close to 0.
11094 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11096         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11097         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11099 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11101         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11102         New.  Defined for GCC 5 and above when not compiling for
11103         profiling.
11104         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11106         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11107         Renamed to ...
11108         (CFLAGS-epoll_pwait.o): This.
11109         (CFLAGS-mmap.c): Renamed to ...
11110         (CFLAGS-mmap.o): This.
11111         (CFLAGS-mmap64.c): Renamed to ...
11112         (CFLAGS-mmap64.o): This.
11113         (CFLAGS-epoll_pwait.os): New.
11114         (CFLAGS-mmap.os): Likewise.
11115         (CFLAGS-mmap64.os): Likewise.
11116         (CFLAGS-semtimedop.os): Likewise.
11117         (CFLAGS-semtimedop.c): Renamed to ...
11118         (CFLAGS-semtimedop.o): This.
11120 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11122         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11123         warning message.
11125 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11127         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11128         * Makefile ($(objpfx)c++-types-check.out): Filter out
11129         $(+gccwarn-c) instead of -Wstrict-prototypes.
11131         * io/fts.c (fts_open): Convert to prototype-style function
11132         definition.
11133         * malloc/mcheck.c (mcheck): Likewise.
11134         (mcheck_pedantic): Likewise.
11135         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11136         internal_function.
11137         (re_search_internal): Likewise.
11138         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11139         prototype-style function definition.
11140         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11141         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11142         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11143         (xdr_utmpptr): Likewise.
11144         (xdr_utmparr): Likewise.
11145         (xdr_utmpidle): Likewise.
11146         (xdr_utmpidleptr): Likewise.
11147         (xdr_utmpidlearr): Likewise.
11149         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11150         log, log10 and log2.
11151         * math/auto-libm-test-out: Regenerated.
11152         * math/libm-test.inc (fmod_test_data): Add more tests.
11153         (fpclassify_test_data): Likewise.
11154         (frexp_test_data): Likewise.
11155         (hypot_test_data): Likewise.
11156         (ilogb_test_data): Likewise.
11158 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11160         * debug/fortify_fail.c (__fortify_fail): Convert to
11161         prototype-style function definition.  Use internal_function.
11162         * libio/genops.c (save_for_backup): Convert to prototype-style
11163         function definition.
11164         * libio/wgenops.c (save_for_wbackup): Likewise.
11165         * login/grantpt.c (grantpt): Likewise.
11166         * login/ptsname.c (ptsname): Likewise.
11167         (__ptsname_r): Likewise.
11168         * login/unlockpt.c (unlockpt): Likewise.
11169         * mach/msgserver.c (__mach_msg_server): Likewise.
11170         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11171         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11172         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11173         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11174         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11175         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11176         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11177         Likewise.
11178         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11179         internal_function.
11180         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11181         prototype-style function definition.
11182         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11183         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11184         (__pthread_create_2_0): Likewise.
11185         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11186         * nptl/register-atfork.c (__register_atfork): Likewise.
11187         * posix/glob.c (glob): Likewise.
11188         * posix/regcomp.c (re_comp): Likewise.
11189         * posix/regexec.c (re_exec): Likewise.
11190         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11191         [!__STDC__]: Remove conditional code.
11192         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11193         [!__STDC__]: Remove conditional code.
11194         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11195         [!__STDC__]: Remove conditional code.
11196         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11197         [!__STDC__]: Remove conditional code.
11198         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11199         [!__STDC__]: Remove conditional code.
11200         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11201         [!__STDC__]: Remove conditional code.
11202         * stdlib/mul.c [__STDC__]: Make code unconditional.
11203         [!__STDC__]: Remove conditional code.
11204         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11205         [!__STDC__]: Remove conditional code.
11206         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11207         [!__STDC__]: Remove conditional code.
11208         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11209         function definition.
11210         (STRTOF): Likewise.
11211         * stdlib/strtod_l.c (__STRTOF): Likewise.
11212         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11213         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11214         (__strtol_l): Likewise.
11215         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11216         [!__STDC__]: Remove conditional code.
11217         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11218         definition.
11219         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11220         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11221         type.
11222         (__strcasecmp): Convert to prototype-style function definition.
11223         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11224         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11225         type.
11226         (__strncasecmp): Convert to prototype-style function definition.
11227         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11228         * sunrpc/xdr.c (xdr_union): Likewise.
11229         * sunrpc/xdr_array.c (xdr_array): Likewise.
11230         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11231         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11232         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11233         Likewise.
11234         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11235         Likewise.
11236         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11237         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11238         Likewise.
11239         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11240         (LOCALE_PARAM_PROTO): Likewise.
11241         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11242         argument type.
11243         (ut_argument_spec): Remove macro.
11244         (ut_argument_spec_iso): Rename to ut_argument_spec.
11245         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11246         prototype-style function definition.
11247         (memcpy_uppcase): Likewise.
11248         (__strftime_internal): Likewise.
11249         (my_strftime): Likewise.
11250         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11251         (LOCALE_PARAM_DECL): Likewise.
11252         [_LIBC] (LOCALE_PARAM): Include argument type.
11253         (__strptime_internal): Convert to prototype-style function
11254         definition.
11255         (strptime): Likewise.
11256         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11257         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11258         type.
11259         (__wcscasecmp): Convert to prototype-style function definition.
11260         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11261         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11262         type.
11263         (__wcsncasecmp): Convert to prototype-style function definition.
11265         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11266         function definition.
11267         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11268         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11269         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11270         * elf/dl-minimal.c (_itoa): Likewise.
11271         * hurd/hurdmalloc.c (malloc): Likewise.
11272         (free): Likewise.
11273         (realloc): Likewise.
11274         * inet/inet6_option.c (inet6_option_space): Likewise.
11275         (inet6_option_init): Likewise.
11276         (inet6_option_append): Likewise.
11277         (inet6_option_alloc): Likewise.
11278         (inet6_option_next): Likewise.
11279         (inet6_option_find): Likewise.
11280         * io/ftw.c (FTW_NAME): Likewise.
11281         (NFTW_NAME): Likewise.
11282         (NFTW_NEW_NAME): Likewise.
11283         (NFTW_OLD_NAME): Likewise.
11284         * libio/iofwide.c (_IO_fwide): Likewise.
11285         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11286         (_IO_str_init_static): Likewise.
11287         (_IO_str_init_readonly): Likewise.
11288         (_IO_str_overflow): Likewise.
11289         (_IO_str_underflow): Likewise.
11290         (_IO_str_count): Likewise.
11291         (_IO_str_seekoff): Likewise.
11292         (_IO_str_pbackfail): Likewise.
11293         (_IO_str_finish): Likewise.
11294         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11295         (_IO_wstr_overflow): Likewise.
11296         (_IO_wstr_underflow): Likewise.
11297         (_IO_wstr_count): Likewise.
11298         (_IO_wstr_seekoff): Likewise.
11299         (_IO_wstr_pbackfail): Likewise.
11300         (_IO_wstr_finish): Likewise.
11301         * locale/programs/localedef.c (normalize_codeset): Likewise.
11302         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11303         (add_locales_to_archive): Likewise.
11304         (delete_locales_from_archive): Likewise.
11305         * malloc/malloc.c (__libc_mallinfo): Likewise.
11306         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11307         * misc/tsearch.c (__tfind): Likewise.
11308         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11309         * nptl/pthread_attr_getdetachstate.c
11310         (__pthread_attr_getdetachstate): Likewise.
11311         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11312         Likewise.
11313         * nptl/pthread_attr_getinheritsched.c
11314         (__pthread_attr_getinheritsched): Likewise.
11315         * nptl/pthread_attr_getschedparam.c
11316         (__pthread_attr_getschedparam): Likewise.
11317         * nptl/pthread_attr_getschedpolicy.c
11318         (__pthread_attr_getschedpolicy): Likewise.
11319         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11320         Likewise.
11321         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11322         Likewise.
11323         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11324         Likewise.
11325         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11326         Likewise.
11327         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11328         (__pthread_attr_init_2_0): Likewise.
11329         * nptl/pthread_attr_setdetachstate.c
11330         (__pthread_attr_setdetachstate): Likewise.
11331         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11332         Likewise.
11333         * nptl/pthread_attr_setinheritsched.c
11334         (__pthread_attr_setinheritsched): Likewise.
11335         * nptl/pthread_attr_setschedparam.c
11336         (__pthread_attr_setschedparam): Likewise.
11337         * nptl/pthread_attr_setschedpolicy.c
11338         (__pthread_attr_setschedpolicy): Likewise.
11339         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11340         Likewise.
11341         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11342         Likewise.
11343         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11344         Likewise.
11345         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11346         Likewise.
11347         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11348         Likewise.
11349         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11350         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11351         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11352         use internal_function.
11353         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11354         prototype-style function definition.
11355         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11356         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11357         internal_function.
11358         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11359         Convert to prototype-style function definition.
11360         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11361         Likewise.
11362         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11363         Likewise.
11364         (__pthread_mutex_unlock): Likewise.
11365         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11366         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11367         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11368         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11369         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11370         * nss/makedb.c (process_input): Likewise.
11371         * posix/fnmatch.c (__strchrnul): Likewise.
11372         (__wcschrnul): Likewise.
11373         (fnmatch): Likewise.
11374         * posix/fnmatch_loop.c (FCT): Likewise.
11375         * posix/glob.c (globfree): Likewise.
11376         (__glob_pattern_type): Likewise.
11377         (__glob_pattern_p): Likewise.
11378         * posix/regcomp.c (re_compile_pattern): Likewise.
11379         (re_set_syntax): Likewise.
11380         (re_compile_fastmap): Likewise.
11381         (regcomp): Likewise.
11382         (regerror): Likewise.
11383         (regfree): Likewise.
11384         * posix/regexec.c (regexec): Likewise.
11385         (re_match): Likewise.
11386         (re_search): Likewise.
11387         (re_match_2): Likewise.
11388         (re_search_2): Likewise.
11389         (re_search_stub): Likewise.  Use internal_function
11390         (re_copy_regs): Likewise.
11391         (re_set_registers): Convert to prototype-style function
11392         definition.
11393         (prune_impossible_nodes): Likewise.  Use internal_function.
11394         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11395         prototype-style function definition.
11396         (inet_net_pton_ipv4): Likewise.
11397         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11398         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11399         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11400         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11401         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11402         Make variadic.
11403         * time/strptime_l.c (localtime_r): Convert to prototype-style
11404         function definition.
11405         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11406         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11407         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11408         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11410         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11411         definition.
11412         (_ufc_doit_r): Likewise.
11413         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11414         (_ufc_output_conversion_r): Likewise.
11415         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11416         * inet/rcmd.c (rcmd_af): Likewise.
11417         (rcmd): Likewise.
11418         (ruserok_af): Likewise.
11419         (ruserok): Likewise.
11420         (ruserok2_sa): Likewise.
11421         (ruserok_sa): Likewise.
11422         (iruserok_af): Likewise.
11423         (iruserok): Likewise.
11424         (__ivaliduser): Likewise.
11425         (__validuser2_sa): Likewise.
11426         * inet/rexec.c (rexec_af): Likewise.
11427         (rexec): Likewise.
11428         * inet/ruserpass.c (ruserpass): Likewise.
11429         * locale/programs/xmalloc.c (xcalloc): Likewise.
11430         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11431         * math/w_drem.c (__drem): Likewise.
11432         * math/w_dremf.c (__dremf): Likewise.
11433         * math/w_dreml.c (__dreml): Likewise.
11434         * misc/daemon.c (daemon): Likewise.
11435         * resolv/res_debug.c (p_fqnname): Likewise.
11436         * stdlib/div.c (div): Likewise.
11437         * string/memcmp.c (memcmp_bytes): Likewise.
11438         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11439         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11441         * crypt/cert.c (main): Convert to prototype-style function
11442         definition.
11443         * io/pipe.c (__pipe): Likewise.
11444         * io/pipe2.c (__pipe2): Likewise.
11445         * misc/futimesat.c (futimesat): Likewise.
11446         * misc/utimes.c (__utimes): Likewise.
11447         * posix/execve.c (__execve): Likewise.
11448         * posix/execvp.c (execvp): Likewise.
11449         * posix/execvpe.c (__execvpe): Likewise.
11450         * posix/fexecve.c (fexecve): Likewise.
11451         * socket/socketpair.c (socketpair): Likewise.
11452         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11453         * stdlib/erand48.c (erand48): Likewise.
11454         * stdlib/erand48_r.c (__erand48_r): Likewise.
11455         * stdlib/jrand48.c (jrand48): Likewise.
11456         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11457         * stdlib/lcong48.c (lcong48): Likewise.
11458         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11459         * stdlib/nrand48.c (nrand48): Likewise.
11460         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11461         * stdlib/seed48.c (seed48): Likewise.
11462         * stdlib/seed48_r.c (__seed48_r): Likewise.
11463         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11464         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11465         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11467 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11469         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11470         * configure: Regenerated.
11471         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11472         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11473         unconditional.
11474         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11475         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11476         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11477         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11478         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11479         unconditional.
11480         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11482         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11483         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11485         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11486         function definition.
11487         * crypt/crypt_util.c (__encrypt_r): Likewise.
11488         * libio/genops.c (_IO_no_init): Likewise.
11489         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11490         (_IO_old_fopencookie): Likewise.
11491         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11492         * libio/iogetline.c (_IO_getline): Likewise.
11493         (_IO_getline_info): Likewise.
11494         * libio/iogetwline.c (_IO_getwline): Likewise.
11495         (_IO_getwline_info): Likewise.
11496         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11497         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11498         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11499         (find_entry): Likewise.
11500         (iterate_table): Likewise.
11501         (lookup): Likewise.
11502         * login/forkpty.c (forkpty): Likewise.
11503         * misc/hsearch_r.c (__hsearch_r): Likewise.
11504         * misc/select.c (__select): Likewise.
11505         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11506         Likewise.
11507         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11508         Likewise.
11509         * nptl/old_pthread_cond_timedwait.c
11510         (__pthread_cond_timedwait_2_0): Likewise.
11511         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11512         * nptl/pthread_barrierattr_getpshared.c
11513         (pthread_barrierattr_getpshared): Likewise.
11514         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11515         Likewise.
11516         * nptl/pthread_mutex_setprioceiling.c
11517         (pthread_mutex_setprioceiling): Likewise.
11518         * nptl/pthread_mutexattr_getprioceiling.c
11519         (pthread_mutexattr_getprioceiling): Likewise.
11520         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11521         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11522         Likewise.
11523         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11524         Likewise.
11525         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11526         Likewise.
11527         * socket/recvfrom.c (__recvfrom): Likewise.
11528         * socket/sendto.c (__sendto): Likewise.
11529         * socket/setsockopt.c (__setsockopt): Likewise.
11530         * stdio-common/_itoa.c (_itoa): Likewise.
11531         * stdio-common/_itowa.c (_itowa): Likewise.
11532         * stdio-common/reg-printf.c (__register_printf_specifier):
11533         Likewise.
11534         (__register_printf_function): Likewise.
11535         * stdio-common/tempname.c (__path_search): Likewise.
11536         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11537         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11538         * stdlib/random_r.c (__initstate_r): Likewise.
11539         * stdlib/setenv.c (__add_to_environ): Likewise.
11540         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11541         * streams/getpmsg.c (getpmsg): Likewise.
11542         * streams/putmsg.c (putmsg): Likewise.
11543         * streams/putpmsg.c (putpmsg): Likewise.
11544         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11545         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11546         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11547         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11548         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11549         * sunrpc/svc_udp.c (cache_get): Likewise.
11550         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11551         * sysdeps/mach/hurd/getcwd.c
11552         (__canonicalize_directory_name_internal): Likewise.
11553         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11554         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11555         * sysdeps/mach/hurd/select.c (__select): Likewise.
11556         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11557         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11558         * sysdeps/sparc/nptl/pthread_barrier_init.c
11559         (__pthread_barrier_init): Likewise.
11560         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11561         (__pthread_cond_timedwait): Likewise.
11562         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11563         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11564         Likewise.
11565         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11566         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11567         Likewise.
11568         * sysvipc/semtimedop.c (semtimedop): Likewise.
11569         * time/setitimer.c (__setitimer): Likewise.
11570         * time/strftime_l.c (emacs_strftime): Likewise.
11572 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11574         * config.make.in (have-ssp): Delete.
11575         (stack-protector): New variable.
11576         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11577         cache test for -fstack-protector-strong.  Export stack_protector to
11578         the best ssp flag.
11579         * configure: Regenerated.
11580         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11581         * nscd/Makefile (CFLAGS-nscd): Likewise.
11582         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11584 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11586         [BZ #19122]
11587         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11588         attribute_hidden.
11590 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11592         [BZ #18743]
11593         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11594         code to...
11595         (ELIDE_LOCK): ...here.
11596         (__get_new_count): New function with part of the code from
11597         __elide_lock that updates the value of adapt_count after a
11598         transaction abort.
11599         (__elided_trylock): Moved this code to...
11600         (ELIDE_TRYLOCK): ...here.
11602 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11604         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11605         * configure: Regenerate.
11606         * INSTALL: Regenerate.
11607         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11608         and tweak grammar.
11610 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11612         * login/programs/pt_chown.c: Include signal.h
11613         (main): Clear any signal mask from the parent process.
11615 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11617         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11618         * configure: Regenerated.
11619         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11620         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11621         $(gnu89-inline-CFLAGS).
11623         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11624         test.
11625         (libc_cv_asm_weakext_directive): Likewise.
11626         * configure: Regenerated.
11627         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11628         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11629         * include/libc-symbols.h
11630         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11631         #error.
11632         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11633         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11635         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11636         prototype-style function definition.
11637         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11638         * sysdeps/i386/ffs.c (__ffs): Likewise.
11639         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11640         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11641         Likewise.
11642         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11643         Likewise.
11644         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11645         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11646         Likewise.
11647         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11648         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11649         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11650         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11651         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11652         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11653         * sysdeps/mach/hurd/access.c (__access): Likewise.
11654         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11655         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11656         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11657         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11658         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11659         (cthread_getspecific): Likewise.
11660         (cthread_setspecific): Likewise.
11661         (__libc_getspecific): Likewise.
11662         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11663         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11664         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11665         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11666         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11667         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11668         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11669         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11670         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11671         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11672         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11673         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11674         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11675         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11676         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11677         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11678         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11679         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11680         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11681         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11682         * sysdeps/mach/hurd/link.c (__link): Likewise.
11683         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11684         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11685         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11686         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11687         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11688         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11689         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11690         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11691         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11692         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11693         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11694         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11695         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11696         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11697         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11698         * sysdeps/mach/hurd/send.c (__send): Likewise.
11699         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11700         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11701         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11702         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11703         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11704         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11705         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11706         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11707         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11708         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11709         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11710         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11711         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11712         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11713         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11714         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11715         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11716         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11717         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11718         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11719         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11720         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11721         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11722         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11723         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11724         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11725         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11726         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11727         * sysdeps/posix/alarm.c (alarm): Likewise.
11728         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11729         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11730         * sysdeps/posix/dup.c (__dup): Likewise.
11731         * sysdeps/posix/dup2.c (__dup2): Likewise.
11732         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11733         (main): Likewise.
11734         * sysdeps/posix/flock.c (__flock): Likewise.
11735         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11736         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11737         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11738         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11739         * sysdeps/posix/isatty.c (__isatty): Likewise.
11740         * sysdeps/posix/killpg.c (killpg): Likewise.
11741         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11742         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11743         * sysdeps/posix/raise.c (raise): Likewise.
11744         * sysdeps/posix/remove.c (remove): Likewise.
11745         * sysdeps/posix/rename.c (rename): Likewise.
11746         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11747         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11748         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11749         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11750         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11751         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11752         * sysdeps/posix/sigset.c (sigset): Likewise.
11753         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11754         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11755         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11756         * sysdeps/posix/time.c (time): Likewise.
11757         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11758         (ttyname): Likewise.
11759         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11760         * sysdeps/posix/utime.c (utime): Likewise.
11761         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11762         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11763         Likewise.
11764         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11765         (pthread_spin_trylock): Likewise.
11766         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11767         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11768         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11769         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11770         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11771         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11772         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11773         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11774         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11775         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11776         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11777         * sysdeps/s390/ffs.c (__ffs): Likewise.
11778         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11779         Likewise.
11780         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11781         Likewise.
11782         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11783         Likewise.
11784         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11785         (pthread_barrier_destroy): Likewise.
11786         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11787         (__pthread_barrier_wait): Likewise.
11788         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11789         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11790         (__pthread_barrier_wait): Likewise.
11791         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11792         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11793         (memcmp_not_common_alignment): Likewise.
11794         (MEMCMP): Likewise.
11795         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11796         (_wordcopy_fwd_dest_aligned): Likewise.
11797         (_wordcopy_bwd_aligned): Likewise.
11798         (_wordcopy_bwd_dest_aligned): Likewise.
11799         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11800         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11801         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11802         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11803         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11804         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11805         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11806         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11807         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11808         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11809         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11810         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11811         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11812         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11813         * sysdeps/unix/stime.c (stime): Likewise.
11814         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11815         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11816         Likewise.  Use internal_function.
11817         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11818         Convert to prototype-style function definition.
11819         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11820         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11821         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11822         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11823         Likewise.  Use internal_function.
11824         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11825         prototype-style function definition
11826         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11827         Likewise.
11828         (__getlogin_r): Likewise.
11829         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11830         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11831         (__pthread_cond_broadcast): Likewise.
11832         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11833         (__pthread_cond_destroy): Likewise.
11834         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11835         (__pthread_cond_init): Likewise.
11836         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11837         (__pthread_cond_signal): Likewise.
11838         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11839         (__pthread_cond_wait): Likewise.
11840         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11841         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11842         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11843         Likewise.
11844         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11845         Likewise.
11846         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11847         Likewise.
11848         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11849         Likewise.
11850         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11852         (__ftruncate64): Likewise.
11853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11854         (truncate64): Likewise.
11855         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11856         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11857         (pthread_getcpuclockid): Likewise.
11858         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11859         Likewise.
11860         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11861         Likewise.
11862         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11863         Likewise.
11864         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11865         Likewise.
11866         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11867         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11868         (__libc_sigaction): Likewise.
11869         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11870         Likewise.
11871         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11872         (__sigprocmask): Likewise.
11873         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11874         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11875         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11876         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11877         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11878         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11879         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11880         Likewise.
11881         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11882         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11883         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11884         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11885         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11886         Likewise.
11887         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11888         (__sigprocmask): Likewise.
11889         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11890         (cfgetispeed): Likewise.
11891         (cfsetospeed): Likewise.
11892         (cfsetispeed): Likewise.
11893         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11894         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11895         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11896         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11897         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11898         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11899         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11900         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11901         Likewise.
11902         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11903         Likewise.
11904         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11905         Likewise.
11906         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11907         Likewise.
11908         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11910 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11912         sunrpc: Rewrite with explicit TLS access using __thread.
11913         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11914         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11915         directly.
11916         (__rpc_thread_variables): Access thread_rpc_vars directly.
11917         Eliminate redundant assignment of the tvp variable.
11919 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11921         malloc: Rewrite with explicit TLS access using __thread.
11922         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11923         (tsd_setspecific, tsd_getspecific): Remove.
11924         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11925         (tsd_setspecific, tsd_getspecific): Likewise.
11926         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11927         (tsd_setspecific, tsd_getspecific): Likewise.
11928         * malloc/arena.c (thread_arena): New TLS variable.
11929         (arena_key): Remove variable.
11930         (arena_get): Use thread_arena.
11931         (arena_lookup): Remove macro.
11932         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11933         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11934         (_int_new_arena, get_free_list, reused_arena)
11935         (arena_thread_freeres): Use thread_arena.
11936         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11937         tsd_getspecific, tsd_setspecific from safety annotations.
11938         (Allocating Cleared Space): Remove arena_lookup from safety
11939         annotations.
11941 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11943         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11944         struct scratch_buffer instead of extend_alloca.
11946 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11948         * sysdeps/unix/sysv/linux/kernel-features.h
11949         (__ASSUME_SOCK_CLOEXEC): Remove.
11950         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11951         (__have_paccept): Remove unused macro.
11952         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11953         * misc/syslog.c (openlog_internal): Remove fallback code for
11954         !__ASSUME_SOCK_CLOEXEC.
11955         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11956         missing SOCK_CLOEXEC.
11957         * nscd/connections.c (have_sock_cloexec): Remove definition.
11958         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11959         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11960         !__ASSUME_SOCK_CLOEXEC.
11961         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11962         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11963         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11964         definition.
11965         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11966         code for !__ASSUME_SOCK_CLOEXEC.
11968 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11970         [BZ #18982]
11971         * manual/stdio.texi (Variable Arguments Output): Add portability
11972         note, explaining that vfprintf clobbers the va_list pointer.
11974 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11976         * math/libm-test.inc (fabs_test_data): Add more tests.
11977         (fdim_test_data): Likewise.
11978         (fma_test_data): Likewise.
11979         (fmax_test_data): Likewise.
11980         (fmin_test_data): Likewise.
11981         (fmod_test_data): Likewise.
11983 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11985         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11986         data.
11988 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11990         * math/libm-test.inc (ceil_test_data): Add more tests and more
11991         expectations for "inexact".
11992         (floor_test_data): Add more tests.
11993         (round_test_data): Likewise.
11994         (trunc_test_data): Likewise.
11996         * crypt/cert.c (good_bye): Convert to prototype-style function
11997         definition.
11998         (get8): Likewise.
11999         (put8): Likewise.
12000         * crypt/crypt-entry.c (crypt): Likewise.
12001         (__fcrypt): Likewise.
12002         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12003         (_ufc_set_bits): Likewise.
12004         (_ufc_clearmem): Likewise.
12005         (__init_des_r): Likewise.
12006         (shuffle_sb): Likewise.
12007         (shuffle_sb): Likewise.
12008         (_ufc_setup_salt_r): Likewise.
12009         (_ufc_mk_keytab_r): Likewise.
12010         (_ufc_dofinalperm_r): Likewise.
12011         (encrypt): Likewise.
12012         (__setkey_r): Likewise.
12013         (setkey): Likewise.
12014         * crypt/md5.c (md5_init_ctx): Likewise.
12015         (md5_read_ctx): Likewise.
12016         (md5_finish_ctx): Likewise.
12017         (md5_stream): Likewise.
12018         (md5_buffer): Likewise.
12019         (md5_process_bytes): Likewise.
12020         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12021         (__sha256_finish_ctx): Likewise.
12022         (__sha256_process_bytes): Likewise.
12023         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12024         (__sha512_finish_ctx): Likewise.
12025         (__sha512_process_bytes): Likewise.
12026         * ctype/isctype.c (__isctype): Likewise.
12027         * debug/backtrace.c (__backtrace): Likewise.
12028         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12029         * debug/fgets_chk.c (__fgets_chk): Likewise.
12030         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12031         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12032         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12033         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12034         * debug/memset_chk.c (__memset_chk): Likewise.
12035         * debug/strcat_chk.c (__strcat_chk): Likewise.
12036         * debug/strncat_chk.c (__strncat_chk): Likewise.
12037         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12038         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12039         * dirent/dirfd.c (dirfd): Likewise.
12040         * dirent/getdents.c (__getdirentries): Likewise.
12041         * dirent/getdents64.c (getdirentries64): Likewise.
12042         * dirent/rewinddir.c (__rewinddir): Likewise.
12043         * dirent/seekdir.c (seekdir): Likewise.
12044         * dirent/telldir.c (telldir): Likewise.
12045         * elf/sln.c (makesymlinks): Likewise.
12046         (makesymlink): Likewise.
12047         * gmon/gmon.c (__moncontrol): Likewise.
12048         (__monstartup): Likewise.
12049         (write_hist): Likewise.
12050         (write_call_graph): Likewise.
12051         (write_bb_counts): Likewise.
12052         * grp/setgroups.c (setgroups): Likewise.
12053         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12054         * inet/inet_net.c (inet_network): Likewise.
12055         * inet/inet_netof.c (inet_netof): Likewise.
12056         * inet/rcmd.c (rresvport_af): Likewise.
12057         (rresvport): Likewise.
12058         * io/access.c (__access): Likewise.
12059         * io/chdir.c (__chdir): Likewise.
12060         * io/chmod.c (__chmod): Likewise.
12061         * io/chown.c (__chown): Likewise.
12062         * io/close.c (__close): Likewise.
12063         * io/creat.c (creat): Likewise.
12064         * io/creat64.c (creat64): Likewise.
12065         * io/dup.c (__dup): Likewise.
12066         * io/dup2.c (__dup2): Likewise.
12067         * io/dup3.c (__dup3): Likewise.
12068         * io/euidaccess.c (__euidaccess): Likewise.
12069         * io/faccessat.c (faccessat): Likewise.
12070         * io/fchmod.c (__fchmod): Likewise.
12071         * io/fchmodat.c (fchmodat): Likewise.
12072         * io/fchown.c (__fchown): Likewise.
12073         * io/fchownat.c (fchownat): Likewise.
12074         * io/fcntl.c (__fcntl): Likewise.
12075         * io/flock.c (__flock): Likewise.
12076         * io/fts.c (fts_load): Likewise.
12077         (fts_close): Likewise.
12078         (fts_read): Likewise.
12079         (fts_set): Likewise.
12080         (fts_children): Likewise.
12081         (fts_build): Likewise.
12082         (fts_stat): Likewise.
12083         (fts_sort): Likewise.
12084         (fts_alloc): Likewise.
12085         (fts_lfree): Likewise.
12086         (fts_palloc): Likewise.
12087         (fts_padjust): Likewise.
12088         (fts_maxarglen): Likewise.
12089         (fts_safe_changedir): Likewise.
12090         * io/getwd.c (getwd): Likewise.
12091         * io/isatty.c (__isatty): Likewise.
12092         * io/lchown.c (__lchown): Likewise.
12093         * io/link.c (__link): Likewise.
12094         * io/linkat.c (linkat): Likewise.
12095         * io/lseek.c (__libc_lseek): Likewise.
12096         * io/mkdir.c (__mkdir): Likewise.
12097         * io/mkdirat.c (mkdirat): Likewise.
12098         * io/mkfifo.c (mkfifo): Likewise.
12099         * io/mkfifoat.c (mkfifoat): Likewise.
12100         * io/open.c (__libc_open): Likewise.
12101         * io/open64.c (__libc_open64): Likewise.
12102         * io/readlink.c (__readlink): Likewise.
12103         * io/readlinkat.c (readlinkat): Likewise.
12104         * io/rmdir.c (__rmdir): Likewise.
12105         * io/symlink.c (__symlink): Likewise.
12106         * io/symlinkat.c (symlinkat): Likewise.
12107         * io/ttyname.c (ttyname): Likewise.
12108         * io/ttyname_r.c (__ttyname_r): Likewise.
12109         * io/umask.c (__umask): Likewise.
12110         * io/unlink.c (__unlink): Likewise.
12111         * io/unlinkat.c (unlinkat): Likewise.
12112         * io/utime.c (utime): Likewise.
12113         * libio/clearerr.c (clearerr): Likewise.
12114         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12115         * libio/feof.c (_IO_feof): Likewise.
12116         * libio/feof_u.c (feof_unlocked): Likewise.
12117         * libio/ferror.c (_IO_ferror): Likewise.
12118         * libio/ferror_u.c (ferror_unlocked): Likewise.
12119         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12120         * libio/fileno.c (__fileno): Likewise.
12121         * libio/fputc.c (fputc): Likewise.
12122         * libio/fputc_u.c (fputc_unlocked): Likewise.
12123         * libio/fputwc.c (fputwc): Likewise.
12124         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12125         * libio/freopen.c (freopen): Likewise.
12126         * libio/freopen64.c (freopen64): Likewise.
12127         * libio/fseek.c (fseek): Likewise.
12128         * libio/fseeko.c (fseeko): Likewise.
12129         * libio/fseeko64.c (fseeko64): Likewise.
12130         * libio/ftello.c (__ftello): Likewise.
12131         * libio/ftello64.c (ftello64): Likewise.
12132         * libio/fwide.c (fwide): Likewise.
12133         * libio/genops.c (_IO_un_link): Likewise.
12134         (_IO_link_in): Likewise.
12135         (_IO_least_marker): Likewise.
12136         (_IO_switch_to_main_get_area): Likewise.
12137         (_IO_switch_to_backup_area): Likewise.
12138         (_IO_switch_to_get_mode): Likewise.
12139         (_IO_free_backup_area): Likewise.
12140         (_IO_switch_to_put_mode): Likewise.
12141         (__overflow): Likewise.
12142         (__underflow): Likewise.
12143         (__uflow): Likewise.
12144         (_IO_setb): Likewise.
12145         (_IO_doallocbuf): Likewise.
12146         (_IO_default_underflow): Likewise.
12147         (_IO_default_uflow): Likewise.
12148         (_IO_default_xsputn): Likewise.
12149         (_IO_sgetn): Likewise.
12150         (_IO_default_xsgetn): Likewise.
12151         (_IO_sync): Likewise.
12152         (_IO_default_setbuf): Likewise.
12153         (_IO_default_seekpos): Likewise.
12154         (_IO_default_doallocate): Likewise.
12155         (_IO_init): Likewise.
12156         (_IO_old_init): Likewise.
12157         (_IO_default_sync): Likewise.
12158         (_IO_default_finish): Likewise.
12159         (_IO_default_seekoff): Likewise.
12160         (_IO_sputbackc): Likewise.
12161         (_IO_sungetc): Likewise.
12162         (_IO_set_column): Likewise.
12163         (_IO_set_column): Likewise.
12164         (_IO_adjust_column): Likewise.
12165         (_IO_get_column): Likewise.
12166         (_IO_init_marker): Likewise.
12167         (_IO_remove_marker): Likewise.
12168         (_IO_marker_difference): Likewise.
12169         (_IO_marker_delta): Likewise.
12170         (_IO_seekmark): Likewise.
12171         (_IO_unsave_markers): Likewise.
12172         (_IO_nobackup_pbackfail): Likewise.
12173         (_IO_default_pbackfail): Likewise.
12174         (_IO_default_seek): Likewise.
12175         (_IO_default_stat): Likewise.
12176         (_IO_default_read): Likewise.
12177         (_IO_default_write): Likewise.
12178         (_IO_default_showmanyc): Likewise.
12179         (_IO_default_imbue): Likewise.
12180         (_IO_iter_next): Likewise.
12181         (_IO_iter_file): Likewise.
12182         * libio/getc.c (_IO_getc): Likewise.
12183         * libio/getwc.c (_IO_getwc): Likewise.
12184         * libio/iofclose.c (_IO_new_fclose): Likewise.
12185         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12186         * libio/iofflush.c (_IO_fflush): Likewise.
12187         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12188         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12189         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12190         * libio/iofgets.c (_IO_fgets): Likewise.
12191         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12192         * libio/iofgetws.c (fgetws): Likewise.
12193         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12194         * libio/iofopen64.c (_IO_fopen64): Likewise.
12195         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12196         (_IO_cookie_write): Likewise.
12197         (_IO_cookie_seek): Likewise.
12198         (_IO_cookie_close): Likewise.
12199         (_IO_cookie_seekoff): Likewise.
12200         (_IO_old_cookie_seek): Likewise.
12201         * libio/iofputs.c (_IO_fputs): Likewise.
12202         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12203         * libio/iofputws.c (fputws): Likewise.
12204         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12205         * libio/iofread.c (_IO_fread): Likewise.
12206         * libio/iofread_u.c (__fread_unlocked): Likewise.
12207         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12208         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12209         * libio/ioftell.c (_IO_ftell): Likewise.
12210         * libio/iofwrite.c (_IO_fwrite): Likewise.
12211         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12212         * libio/iogets.c (_IO_gets): Likewise.
12213         * libio/iopadn.c (_IO_padn): Likewise.
12214         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12215         (_IO_new_popen): Likewise.
12216         (_IO_new_proc_close): Likewise.
12217         * libio/ioputs.c (_IO_puts): Likewise.
12218         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12219         (_IO_seekoff): Likewise.
12220         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12221         (_IO_seekpos): Likewise.
12222         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12223         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12224         * libio/ioungetc.c (_IO_ungetc): Likewise.
12225         * libio/ioungetwc.c (ungetwc): Likewise.
12226         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12227         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12228         * libio/iowpadn.c (_IO_wpadn): Likewise.
12229         * libio/libc_fatal.c (__libc_fatal): Likewise.
12230         * libio/memstream.c (__open_memstream): Likewise.
12231         (_IO_mem_sync): Likewise.
12232         (_IO_mem_finish): Likewise.
12233         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12234         (_IO_old_file_close_it): Likewise.
12235         (_IO_old_file_finish): Likewise.
12236         (_IO_old_file_fopen): Likewise.
12237         (_IO_old_file_attach): Likewise.
12238         (_IO_old_file_setbuf): Likewise.
12239         (_IO_old_do_write): Likewise.
12240         (old_do_write): Likewise.
12241         (_IO_old_file_underflow): Likewise.
12242         (_IO_old_file_overflow): Likewise.
12243         (_IO_old_file_sync): Likewise.
12244         (_IO_old_file_seekoff): Likewise.
12245         (_IO_old_file_write): Likewise.
12246         (_IO_old_file_xsputn): Likewise.
12247         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12248         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12249         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12250         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12251         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12252         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12253         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12254         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12255         (_IO_old_popen): Likewise.
12256         (_IO_old_proc_close): Likewise.
12257         * libio/oldpclose.c (__old_pclose): Likewise.
12258         * libio/pclose.c (__new_pclose): Likewise.
12259         * libio/peekc.c (_IO_peekc_locked): Likewise.
12260         * libio/putc.c (_IO_putc): Likewise.
12261         * libio/putc_u.c (putc_unlocked): Likewise.
12262         * libio/putchar.c (putchar): Likewise.
12263         * libio/putchar_u.c (putchar_unlocked): Likewise.
12264         * libio/putwc.c (putwc): Likewise.
12265         * libio/putwc_u.c (putwc_unlocked): Likewise.
12266         * libio/putwchar.c (putwchar): Likewise.
12267         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12268         * libio/rewind.c (rewind): Likewise.
12269         * libio/setbuf.c (setbuf): Likewise.
12270         * libio/setlinebuf.c (setlinebuf): Likewise.
12271         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12272         * libio/vscanf.c (_IO_vscanf): Likewise.
12273         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12274         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12275         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12276         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12277         (_IO_switch_to_main_wget_area): Likewise.
12278         (_IO_switch_to_wbackup_area): Likewise.
12279         (_IO_wsetb): Likewise.
12280         (_IO_wdefault_pbackfail): Likewise.
12281         (_IO_wdefault_finish): Likewise.
12282         (_IO_wdefault_uflow): Likewise.
12283         (__woverflow): Likewise.
12284         (__wuflow): Likewise.
12285         (__wunderflow): Likewise.
12286         (_IO_wdefault_xsputn): Likewise.
12287         (_IO_wdefault_xsgetn): Likewise.
12288         (_IO_wdoallocbuf): Likewise.
12289         (_IO_wdefault_doallocate): Likewise.
12290         (_IO_switch_to_wget_mode): Likewise.
12291         (_IO_free_wbackup_area): Likewise.
12292         (_IO_switch_to_wput_mode): Likewise.
12293         (_IO_sputbackwc): Likewise.
12294         (_IO_sungetwc): Likewise.
12295         (_IO_adjust_wcolumn): Likewise.
12296         (_IO_init_wmarker): Likewise.
12297         (_IO_wmarker_delta): Likewise.
12298         (_IO_seekwmark): Likewise.
12299         (_IO_unsave_wmarkers): Likewise.
12300         * libio/wmemstream.c (open_wmemstream): Likewise.
12301         (_IO_wmem_sync): Likewise.
12302         (_IO_wmem_finish): Likewise.
12303         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12304         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12305         * locale/programs/simple-hash.c (init_hash): Likewise.
12306         (delete_hash): Likewise.
12307         (insert_entry): Likewise.
12308         (set_entry): Likewise.
12309         (next_prime): Likewise.
12310         (is_prime): Likewise.
12311         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12312         (xmalloc): Likewise.
12313         (xrealloc): Likewise.
12314         * locale/programs/xstrdup.c (xstrdup): Likewise.
12315         * localedata/collate-test.c (xstrcoll): Likewise.
12316         * localedata/xfrm-test.c (xstrcmp): Likewise.
12317         * login/getlogin_r.c (__getlogin_r): Likewise.
12318         * login/getpt.c (__posix_openpt): Likewise.
12319         * login/login_tty.c (login_tty): Likewise.
12320         * login/setlogin.c (setlogin): Likewise.
12321         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12322         (mach_msg_destroy_port): Likewise.
12323         (mach_msg_destroy_memory): Likewise.
12324         * malloc/mcheck.c (flood): Likewise.
12325         * misc/acct.c (acct): Likewise.
12326         * misc/brk.c (__brk): Likewise.
12327         * misc/chflags.c (chflags): Likewise.
12328         * misc/chroot.c (chroot): Likewise.
12329         * misc/fchflags.c (fchflags): Likewise.
12330         * misc/fstab.c (getfsspec): Likewise.
12331         (getfsfile): Likewise.
12332         * misc/fsync.c (fsync): Likewise.
12333         * misc/ftruncate.c (__ftruncate): Likewise.
12334         * misc/ftruncate64.c (__ftruncate64): Likewise.
12335         * misc/getdomain.c (getdomainname): Likewise.
12336         (getdomainname): Likewise.
12337         * misc/gethostname.c (__gethostname): Likewise.
12338         * misc/getpass.c (getpass): Likewise.
12339         * misc/getttyent.c (skip): Likewise.
12340         (value): Likewise.
12341         * misc/gtty.c (gtty): Likewise.
12342         * misc/hsearch.c (hsearch): Likewise.
12343         (hcreate): Likewise.
12344         * misc/hsearch_r.c (__hcreate_r): Likewise.
12345         (__hdestroy_r): Likewise.
12346         * misc/ioctl.c (__ioctl): Likewise.
12347         * misc/mkdtemp.c (mkdtemp): Likewise.
12348         * misc/mkostemp.c (mkostemp): Likewise.
12349         * misc/mkostemp64.c (mkostemp64): Likewise.
12350         * misc/mkostemps.c (mkostemps): Likewise.
12351         * misc/mkostemps64.c (mkostemps64): Likewise.
12352         * misc/mkstemp.c (mkstemp): Likewise.
12353         * misc/mkstemp64.c (mkstemp64): Likewise.
12354         * misc/mkstemps.c (mkstemps): Likewise.
12355         * misc/mkstemps64.c (mkstemps64): Likewise.
12356         * misc/mktemp.c (__mktemp): Likewise.
12357         * misc/preadv.c (preadv): Likewise.
12358         * misc/preadv64.c (preadv64): Likewise.
12359         * misc/pwritev.c (pwritev): Likewise.
12360         * misc/pwritev64.c (pwritev64): Likewise.
12361         * misc/readv.c (__readv): Likewise.
12362         * misc/revoke.c (revoke): Likewise.
12363         * misc/setdomain.c (setdomainname): Likewise.
12364         * misc/setegid.c (setegid): Likewise.
12365         * misc/seteuid.c (seteuid): Likewise.
12366         * misc/sethostid.c (sethostid): Likewise.
12367         * misc/sethostname.c (sethostname): Likewise.
12368         * misc/setregid.c (__setregid): Likewise.
12369         * misc/setreuid.c (__setreuid): Likewise.
12370         * misc/sstk.c (sstk): Likewise.
12371         * misc/stty.c (stty): Likewise.
12372         * misc/syscall.c (syscall): Likewise.
12373         * misc/syslog.c (setlogmask): Likewise.
12374         * misc/truncate.c (__truncate): Likewise.
12375         * misc/truncate64.c (truncate64): Likewise.
12376         * misc/ualarm.c (ualarm): Likewise.
12377         * misc/usleep.c (usleep): Likewise.
12378         * misc/ustat.c (ustat): Likewise.
12379         * misc/writev.c (__writev): Likewise.
12380         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12381         * nptl/old_pthread_cond_broadcast.c
12382         (__pthread_cond_broadcast_2_0): Likewise.
12383         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12384         Likewise.
12385         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12386         Likewise.
12387         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12388         Likewise.
12389         * nptl/pt-raise.c (raise): Likewise.
12390         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12391         Likewise.
12392         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12393         * nptl/pthread_barrierattr_destroy.c
12394         (pthread_barrierattr_destroy): Likewise.
12395         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12396         Likewise.
12397         * nptl/pthread_barrierattr_setpshared.c
12398         (pthread_barrierattr_setpshared): Likewise.
12399         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12400         Likewise.
12401         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12402         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12403         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12404         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12405         Likewise.
12406         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12407         Likewise.
12408         * nptl/pthread_condattr_getpshared.c
12409         (pthread_condattr_getpshared): Likewise.
12410         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12411         Likewise.
12412         * nptl/pthread_condattr_setpshared.c
12413         (pthread_condattr_setpshared): Likewise.
12414         * nptl/pthread_detach.c (pthread_detach): Likewise.
12415         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12416         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12417         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12418         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12419         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12420         Likewise.
12421         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12422         Likewise.
12423         * nptl/pthread_mutex_getprioceiling.c
12424         (pthread_mutex_getprioceiling): Likewise.
12425         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12426         Likewise.
12427         * nptl/pthread_mutexattr_getprotocol.c
12428         (pthread_mutexattr_getprotocol): Likewise.
12429         * nptl/pthread_mutexattr_getpshared.c
12430         (pthread_mutexattr_getpshared): Likewise.
12431         * nptl/pthread_mutexattr_getrobust.c
12432         (pthread_mutexattr_getrobust): Likewise.
12433         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12434         Likewise.
12435         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12436         Likewise.
12437         * nptl/pthread_mutexattr_setprioceiling.c
12438         (pthread_mutexattr_setprioceiling): Likewise.
12439         * nptl/pthread_mutexattr_setprotocol.c
12440         (pthread_mutexattr_setprotocol): Likewise.
12441         * nptl/pthread_mutexattr_setpshared.c
12442         (pthread_mutexattr_setpshared): Likewise.
12443         * nptl/pthread_mutexattr_setrobust.c
12444         (pthread_mutexattr_setrobust): Likewise.
12445         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12446         Likewise.
12447         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12448         Likewise.
12449         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12450         Likewise.
12451         * nptl/pthread_rwlockattr_getkind_np.c
12452         (pthread_rwlockattr_getkind_np): Likewise.
12453         * nptl/pthread_rwlockattr_getpshared.c
12454         (pthread_rwlockattr_getpshared): Likewise.
12455         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12456         Likewise.
12457         * nptl/pthread_rwlockattr_setkind_np.c
12458         (pthread_rwlockattr_setkind_np): Likewise.
12459         * nptl/pthread_rwlockattr_setpshared.c
12460         (pthread_rwlockattr_setpshared): Likewise.
12461         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12462         Likewise.
12463         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12464         Likewise.
12465         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12466         Likewise.
12467         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12468         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12469         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12470         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12471         * nptl/sem_close.c (sem_close): Likewise.
12472         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12473         * nptl/sem_init.c (__old_sem_init): Likewise.
12474         * nptl/sigaction.c (__sigaction): Likewise.
12475         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12476         * posix/_exit.c (_exit): Likewise.
12477         * posix/alarm.c (alarm): Likewise.
12478         * posix/confstr.c (confstr): Likewise.
12479         * posix/fpathconf.c (__fpathconf): Likewise.
12480         * posix/getgroups.c (__getgroups): Likewise.
12481         * posix/getpgid.c (__getpgid): Likewise.
12482         * posix/group_member.c (__group_member): Likewise.
12483         * posix/pathconf.c (__pathconf): Likewise.
12484         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12485         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12486         * posix/setgid.c (__setgid): Likewise.
12487         * posix/setpgid.c (__setpgid): Likewise.
12488         * posix/setuid.c (__setuid): Likewise.
12489         * posix/sleep.c (__sleep): Likewise.
12490         * posix/sysconf.c (__sysconf): Likewise.
12491         * posix/times.c (__times): Likewise.
12492         * posix/uname.c (__uname): Likewise.
12493         * posix/waitid.c (__waitid): Likewise.
12494         * pwd/getpw.c (__getpw): Likewise.
12495         * resolv/base64.c (b64_pton): Likewise.
12496         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12497         * resolv/gethnamaddr.c (Dprintf): Likewise.
12498         (gethostbyname): Likewise.
12499         (gethostbyname2): Likewise.
12500         (gethostbyaddr): Likewise.
12501         (_sethtent): Likewise.
12502         (_gethtbyname): Likewise.
12503         (_gethtbyname2): Likewise.
12504         (_gethtbyaddr): Likewise.
12505         (map_v4v6_address): Likewise.
12506         (map_v4v6_hostent): Likewise.
12507         (addrsort): Likewise.
12508         (ht_sethostent): Likewise.
12509         (ht_gethostbyname): Likewise.
12510         (ht_gethostbyaddr): Likewise.
12511         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12512         (inet_net_ntop_ipv4): Likewise.
12513         * resolv/inet_neta.c (inet_neta): Likewise.
12514         * resolv/inet_ntop.c (inet_ntop): Likewise.
12515         (inet_ntop4): Likewise.
12516         (inet_ntop6): Likewise.
12517         * resolv/inet_pton.c (__inet_pton): Likewise.
12518         (inet_pton4): Likewise.
12519         (inet_pton6): Likewise.
12520         * resolv/res_debug.c (loc_aton): Likewise.
12521         (loc_ntoa): Likewise.
12522         * resource/getpriority.c (__getpriority): Likewise.
12523         * resource/getrusage.c (__getrusage): Likewise.
12524         * resource/nice.c (nice): Likewise.
12525         * resource/setpriority.c (__setpriority): Likewise.
12526         * resource/setrlimit64.c (setrlimit64): Likewise.
12527         * resource/vlimit.c (vlimit): Likewise.
12528         * resource/vtimes.c (vtimes): Likewise.
12529         * rt/aio_error.c (aio_error): Likewise.
12530         * rt/aio_return.c (aio_return): Likewise.
12531         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12532         * signal/kill.c (__kill): Likewise.
12533         * signal/killpg.c (killpg): Likewise.
12534         * signal/raise.c (raise): Likewise.
12535         * signal/sigaction.c (__sigaction): Likewise.
12536         * signal/sigaddset.c (sigaddset): Likewise.
12537         * signal/sigaltstack.c (sigaltstack): Likewise.
12538         * signal/sigandset.c (sigandset): Likewise.
12539         * signal/sigblock.c (__sigblock): Likewise.
12540         * signal/sigdelset.c (sigdelset): Likewise.
12541         * signal/sigempty.c (sigemptyset): Likewise.
12542         * signal/sigfillset.c (sigfillset): Likewise.
12543         * signal/sighold.c (sighold): Likewise.
12544         * signal/sigignore.c (sigignore): Likewise.
12545         * signal/sigintr.c (siginterrupt): Likewise.
12546         * signal/sigisempty.c (sigisemptyset): Likewise.
12547         * signal/sigismem.c (sigismember): Likewise.
12548         * signal/signal.c (signal): Likewise.
12549         * signal/sigorset.c (sigorset): Likewise.
12550         * signal/sigpause.c (__sigpause): Likewise.
12551         * signal/sigpending.c (sigpending): Likewise.
12552         * signal/sigprocmask.c (__sigprocmask): Likewise.
12553         * signal/sigrelse.c (sigrelse): Likewise.
12554         * signal/sigreturn.c (__sigreturn): Likewise.
12555         * signal/sigset.c (sigset): Likewise.
12556         * signal/sigsetmask.c (__sigsetmask): Likewise.
12557         * signal/sigstack.c (sigstack): Likewise.
12558         * signal/sigsuspend.c (__sigsuspend): Likewise.
12559         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12560         * signal/sysv_signal.c (__sysv_signal): Likewise.
12561         * socket/accept.c (accept): Likewise.
12562         * socket/accept4.c (__libc_accept4): Likewise.
12563         * socket/bind.c (__bind): Likewise.
12564         * socket/connect.c (__connect): Likewise.
12565         * socket/getpeername.c (getpeername): Likewise.
12566         * socket/getsockname.c (__getsockname): Likewise.
12567         * socket/getsockopt.c (getsockopt): Likewise.
12568         * socket/listen.c (__listen): Likewise.
12569         * socket/recv.c (__recv): Likewise.
12570         * socket/recvmsg.c (__recvmsg): Likewise.
12571         * socket/send.c (__send): Likewise.
12572         * socket/sendmsg.c (__sendmsg): Likewise.
12573         * socket/shutdown.c (shutdown): Likewise.
12574         * socket/sockatmark.c (sockatmark): Likewise.
12575         * socket/socket.c (__socket): Likewise.
12576         * stdio-common/ctermid.c (ctermid): Likewise.
12577         * stdio-common/cuserid.c (cuserid): Likewise.
12578         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12579         * stdio-common/remove.c (remove): Likewise.
12580         * stdio-common/rename.c (rename): Likewise.
12581         * stdio-common/renameat.c (renameat): Likewise.
12582         * stdio-common/tempname.c (__gen_tempname): Likewise.
12583         * stdio-common/xbug.c (InitBuffer): Likewise.
12584         (AppendToBuffer): Likewise.
12585         (ReadFile): Likewise.
12586         * stdlib/a64l.c (a64l): Likewise.
12587         * stdlib/drand48_r.c (drand48_r): Likewise.
12588         * stdlib/getcontext.c (getcontext): Likewise.
12589         * stdlib/getenv.c (getenv): Likewise.
12590         * stdlib/l64a.c (l64a): Likewise.
12591         * stdlib/llabs.c (llabs): Likewise.
12592         * stdlib/lldiv.c (lldiv): Likewise.
12593         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12594         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12595         * stdlib/putenv.c (putenv): Likewise.
12596         * stdlib/random.c (__srandom): Likewise.
12597         (__initstate): Likewise.
12598         (__setstate): Likewise.
12599         * stdlib/random_r.c (__srandom_r): Likewise.
12600         (__setstate_r): Likewise.
12601         (__random_r): Likewise.
12602         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12603         * stdlib/setcontext.c (setcontext): Likewise.
12604         * stdlib/setenv.c (setenv): Likewise.
12605         (unsetenv): Likewise.
12606         * stdlib/srand48.c (srand48): Likewise.
12607         * stdlib/srand48_r.c (__srand48_r): Likewise.
12608         * stdlib/swapcontext.c (swapcontext): Likewise.
12609         * stdlib/system.c (__libc_system): Likewise.
12610         * stdlib/tst-strtod.c (expand): Likewise.
12611         * stdlib/tst-strtol.c (expand): Likewise.
12612         * stdlib/tst-strtoll.c (expand): Likewise.
12613         * streams/fattach.c (fattach): Likewise.
12614         * streams/fdetach.c (fdetach): Likewise.
12615         * streams/getmsg.c (getmsg): Likewise.
12616         * streams/isastream.c (isastream): Likewise.
12617         * string/ffs.c (__ffs): Likewise.
12618         * string/ffsll.c (ffsll): Likewise.
12619         * string/memcmp.c (memcmp_common_alignment): Likewise.
12620         (memcmp_not_common_alignment): Likewise.
12621         (MEMCMP): Likewise.
12622         * string/memcpy.c (memcpy): Likewise.
12623         * string/memmove.c (MEMMOVE): Likewise.
12624         * string/memset.c (memset): Likewise.
12625         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12626         * string/strchrnul.c (STRCHRNUL): Likewise.
12627         * string/strerror.c (strerror): Likewise.
12628         * string/strndup.c (__strndup): Likewise.
12629         * string/strverscmp.c (__strverscmp): Likewise.
12630         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12631         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12632         (clnttcp_freeres): Likewise.
12633         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12634         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12635         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12636         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12637         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12638         (xdr_callhdr): Likewise.
12639         * sunrpc/rpcinfo.c (udpping): Likewise.
12640         (tcpping): Likewise.
12641         (pstatus): Likewise.
12642         (pmapdump): Likewise.
12643         (brdcst): Likewise.
12644         (deletereg): Likewise.
12645         (getprognum): Likewise.
12646         (getvers): Likewise.
12647         (get_inet_address): Likewise.
12648         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12649         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12650         (svcudp_stat): Likewise.
12651         (svcudp_recv): Likewise.
12652         (svcudp_reply): Likewise.
12653         (svcudp_getargs): Likewise.
12654         (svcudp_freeargs): Likewise.
12655         (svcudp_destroy): Likewise.
12656         * sunrpc/xdr.c (xdr_bytes): Likewise.
12657         (xdr_netobj): Likewise.
12658         (xdr_string): Likewise.
12659         (xdr_wrapstring): Likewise.
12660         * sunrpc/xdr_float.c (xdr_float): Likewise.
12661         (xdr_double): Likewise.
12662         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12663         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12664         * sysvipc/ftok.c (ftok): Likewise.
12665         * sysvipc/msgctl.c (msgctl): Likewise.
12666         * sysvipc/msgget.c (msgget): Likewise.
12667         * sysvipc/msgrcv.c (msgrcv): Likewise.
12668         * sysvipc/msgsnd.c (msgsnd): Likewise.
12669         * sysvipc/semget.c (semget): Likewise.
12670         * sysvipc/semop.c (semop): Likewise.
12671         * sysvipc/shmat.c (shmat): Likewise.
12672         * sysvipc/shmctl.c (shmctl): Likewise.
12673         * sysvipc/shmdt.c (shmdt): Likewise.
12674         * sysvipc/shmget.c (shmget): Likewise.
12675         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12676         * termios/speed.c (cfgetospeed): Likewise.
12677         (cfgetispeed): Likewise.
12678         (cfsetospeed): Likewise.
12679         (cfsetispeed): Likewise.
12680         * termios/tcflow.c (tcflow): Likewise.
12681         * termios/tcflush.c (tcflush): Likewise.
12682         * termios/tcgetattr.c (__tcgetattr): Likewise.
12683         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12684         * termios/tcgetsid.c (tcgetsid): Likewise.
12685         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12686         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12687         * time/adjtime.c (__adjtime): Likewise.
12688         * time/dysize.c (dysize): Likewise.
12689         * time/ftime.c (ftime): Likewise.
12690         * time/getitimer.c (__getitimer): Likewise.
12691         * time/gettimeofday.c (__gettimeofday): Likewise.
12692         * time/gmtime.c (__gmtime_r): Likewise.
12693         (gmtime): Likewise.
12694         * time/localtime.c (__localtime_r): Likewise.
12695         (localtime): Likewise.
12696         * time/offtime.c (__offtime): Likewise.
12697         * time/settimeofday.c (__settimeofday): Likewise.
12698         * time/stime.c (stime): Likewise.
12699         * time/strftime_l.c (tm_diff): Likewise.
12700         (iso_week_days): Likewise.
12701         * time/strptime.c (strptime): Likewise.
12702         * time/time.c (time): Likewise.
12703         * time/timespec_get.c (timespec_get): Likewise.
12704         * time/tzset.c (tzset_internal): Likewise.
12705         (compute_change): Likewise.
12706         (__tz_compute): Likewise.
12707         * wcsmbs/btowc.c (__btowc): Likewise.
12708         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12709         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12710         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12711         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12712         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12713         * wcsmbs/wcscat.c (__wcscat): Likewise.
12714         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12715         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12716         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12717         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12718         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12719         * wcsmbs/wcslen.c (__wcslen): Likewise.
12720         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12721         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12722         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12723         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12724         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12725         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12726         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12727         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12728         * wcsmbs/wcstok.c (wcstok): Likewise.
12729         * wcsmbs/wctob.c (wctob): Likewise.
12730         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12731         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12732         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12733         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12734         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12735         * wcsmbs/wmemset.c (__wmemset): Likewise.
12736         * wctype/wcfuncs.c (__towlower): Likewise.
12737         (__towupper): Likewise.
12739         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12740         (lll_unlock_elision): Add adapt_count parameter.
12742 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12744         * sysdeps/nptl/configure.ac: Do not give errors based on the
12745         results of top-level configure tests.
12746         * sysdeps/nptl/configure: Regenerated.
12748         * configure.ac (libc_cv_Bgroup): Remove configure test.
12749         * configure: Regenerated.
12750         * config.make.in (have-Bgroup): Remove variable.
12752         * configure.ac (sizeof_long_double): Remove configure test.
12753         * configure: Regenerated.
12754         * config.make.in (sizeof-long-double): Remove variable.
12756         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12757         * configure: Regenerated.
12758         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12759         variable.
12760         (exceptions): Likewise.
12761         * sysdeps/arm/configure: Regenerated.
12762         * config.make.in (exceptions): Remove variable.
12763         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12764         $(exceptions).
12765         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12766         (CFLAGS-vdprintf_chk.c): Likewise.
12767         (CFLAGS-printf_chk.c): Likewise.
12768         (CFLAGS-fprintf_chk.c): Likewise.
12769         (CFLAGS-vprintf_chk.c): Likewise.
12770         (CFLAGS-vfprintf_chk.c): Likewise.
12771         (CFLAGS-gets_chk.c): Likewise.
12772         (CFLAGS-fgets_chk.c): Likewise.
12773         (CFLAGS-fgets_u_chk.c): Likewise.
12774         (CFLAGS-fread_chk.c): Likewise.
12775         (CFLAGS-fread_u_chk.c): Likewise.
12776         (CFLAGS-wprintf_chk.c): Likewise.
12777         (CFLAGS-fwprintf_chk.c): Likewise.
12778         (CFLAGS-vwprintf_chk.c): Likewise.
12779         (CFLAGS-vfwprintf_chk.c): Likewise.
12780         (CFLAGS-fgetws_chk.c): Likewise.
12781         (CFLAGS-fgetws_u_chk.c): Likewise.
12782         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12783         (CFLAGS-fputc.c): Likewise.
12784         (CFLAGS-fputwc.c): Likewise.
12785         (CFLAGS-freopen64.c): Likewise.
12786         (CFLAGS-freopen.c): Likewise.
12787         (CFLAGS-fseek.c): Likewise.
12788         (CFLAGS-fseeko64.c): Likewise.
12789         (CFLAGS-fseeko.c): Likewise.
12790         (CFLAGS-ftello64.c): Likewise.
12791         (CFLAGS-ftello.c): Likewise.
12792         (CFLAGS-fwide.c): Likewise.
12793         (CFLAGS-genops.c): Likewise.
12794         (CFLAGS-getc.c): Likewise.
12795         (CFLAGS-getchar.c): Likewise.
12796         (CFLAGS-getwc.c): Likewise.
12797         (CFLAGS-getwchar.c): Likewise.
12798         (CFLAGS-iofclose.c): Likewise.
12799         (CFLAGS-iofflush.c): Likewise.
12800         (CFLAGS-iofgetpos64.c): Likewise.
12801         (CFLAGS-iofgetpos.c): Likewise.
12802         (CFLAGS-iofgets.c): Likewise.
12803         (CFLAGS-iofgetws.c): Likewise.
12804         (CFLAGS-iofputs.c): Likewise.
12805         (CFLAGS-iofputws.c): Likewise.
12806         (CFLAGS-iofread.c): Likewise.
12807         (CFLAGS-iofsetpos64.c): Likewise.
12808         (CFLAGS-iofsetpos.c): Likewise.
12809         (CFLAGS-ioftell.c): Likewise.
12810         (CFLAGS-iofwrite.c): Likewise.
12811         (CFLAGS-iogetdelim.c): Likewise.
12812         (CFLAGS-iogetline.c): Likewise.
12813         (CFLAGS-iogets.c): Likewise.
12814         (CFLAGS-iogetwline.c): Likewise.
12815         (CFLAGS-ioputs.c): Likewise.
12816         (CFLAGS-ioseekoff.c): Likewise.
12817         (CFLAGS-ioseekpos.c): Likewise.
12818         (CFLAGS-iosetbuffer.c): Likewise.
12819         (CFLAGS-iosetvbuf.c): Likewise.
12820         (CFLAGS-ioungetc.c): Likewise.
12821         (CFLAGS-ioungetwc.c): Likewise.
12822         (CFLAGS-oldfileops.c): Likewise.
12823         (CFLAGS-oldiofclose.c): Likewise.
12824         (CFLAGS-oldiofgetpos64.c): Likewise.
12825         (CFLAGS-oldiofgetpos.c): Likewise.
12826         (CFLAGS-oldiofsetpos64.c): Likewise.
12827         (CFLAGS-oldiofsetpos.c): Likewise.
12828         (CFLAGS-peekc.c): Likewise.
12829         (CFLAGS-putc.c): Likewise.
12830         (CFLAGS-putchar.c): Likewise.
12831         (CFLAGS-putwc.c): Likewise.
12832         (CFLAGS-putwchar.c): Likewise.
12833         (CFLAGS-rewind.c): Likewise.
12834         (CFLAGS-wfileops.c): Likewise.
12835         (CFLAGS-wgenops.c): Likewise.
12836         (CFLAGS-oldiofopen.c): Likewise.
12837         (CFLAGS-iofopen.c): Likewise.
12838         (CFLAGS-iofopen64.c): Likewise.
12839         (CFLAGS-oldtmpfile.c): Likewise.
12840         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12841         (CFLAGS-fprintf.c): Likewise.
12842         (CFLAGS-printf.c): Likewise.
12843         (CFLAGS-vfwprintf.c): Likewise.
12844         (CFLAGS-vfscanf.c): Likewise.
12845         (CFLAGS-vfwscanf.c): Likewise.
12846         (CFLAGS-fscanf.c): Likewise.
12847         (CFLAGS-scanf.c): Likewise.
12848         (CFLAGS-isoc99_vfscanf.c): Likewise.
12849         (CFLAGS-isoc99_vscanf.c): Likewise.
12850         (CFLAGS-isoc99_fscanf.c): Likewise.
12851         (CFLAGS-isoc99_scanf.c): Likewise.
12852         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12853         (CFLAGS-isoc99_fwscanf.c): Likewise.
12854         (CFLAGS-isoc99_vwscanf.c): Likewise.
12855         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12857         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12858         after mkstemp64.
12859         * login/tst-utmp.c (do_prepare): Likewise.
12860         * rt/tst-aio.c (do_prepare): Likewise.
12861         * rt/tst-aio64.c (do_prepare): Likewise.
12863 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12865         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12866         (__lll_lock_elision): Remove adapt_count decrement...
12867         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12868         (__lll_trylock_elision): Likewise.
12869         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12870         (__lll_unlock_elision): ... to here. And utilize
12871         new adapt_count parameter.
12872         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12873         (__lll_unlock_elision): Update to include adapt_count
12874         parameter.
12875         (lll_unlock_elision): Pass pointer to adapt_count
12876         variable.
12878 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12880         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12881         Add elision adapt_count parameter to list of arguments.
12882         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12883         (lll_unlock_elision): Update with new parameter list
12884         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12885         (lll_unlock_elision): Likewise.
12886         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12887         (lll_unlock_elision): Likewise.
12889 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12891         [BZ #19122]
12892         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12893         attribute_hidden.
12895         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12896         attribute_hidden.
12897         [IS_IN (rtld)] (__strdup): Likewise.
12898         [IS_IN (rtld)] (__strerror_r): Likewise.
12899         [IS_IN (rtld)] (__strsep_g): Likewise.
12900         [IS_IN (rtld)] (memchr): Likewise.
12901         [IS_IN (rtld)] (memcmp): Likewise.
12902         [IS_IN (rtld)] (memcpy): Likewise.
12903         [IS_IN (rtld)] (memmove): Likewise.
12904         [IS_IN (rtld)] (memset): Likewise.
12905         [IS_IN (rtld)] (rawmemchr): Likewise.
12906         [IS_IN (rtld)] (stpcpy): Likewise.
12907         [IS_IN (rtld)] (strchr): Likewise.
12908         [IS_IN (rtld)] (strcmp): Likewise.
12909         [IS_IN (rtld)] (strlen): Likewise.
12910         [IS_IN (rtld)] (strnlen): Likewise.
12911         [IS_IN (rtld)] (strsep): Likewise.
12913         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12914         attribute_hidden.
12915         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12917         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12918         attribute_hidden.
12919         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12921         * include/setjmp.h (__longjmp): Add attribute_hidden.
12922         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12924         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12925         Add attribute_hidden.
12927         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12928         [IS_IN (rtld)] (__open): Likewise.
12929         [IS_IN (rtld)] (__fcntl): Likewise.
12931         * include/dirent.h (__opendirat): Add attribute_hidden.
12932         (__getdents): Likewise.
12933         (__getdents64): Likewise.
12934         (__alloc_dir): Likewise.
12935         [IS_IN (rtld)] (__closedir): Likewise.
12936         [IS_IN (rtld)] (__fdopendir): Likewise.
12937         [IS_IN (rtld)] (__readdir): Likewise.
12938         [IS_IN (rtld)] (__readdir64): Likewise.
12939         [IS_IN (rtld)] (__rewinddir): Likewise.
12941         * include/dlfcn.h (_dl_catch_error): Moved to ...
12942         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12943         attribute_hidden.
12945         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12946         (_itoa_word): Likewise.
12948         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12949         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12950         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12951         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12952         (_dl_higher_prime_number): Likewise.
12953         (_dl_debug_printf_c): Likewise.
12954         (_dl_signal_cerror): Likewise.
12955         (_dl_receive_error): Likewise.
12956         (_dl_reloc_bad_type): Likewise.
12957         (_dl_resolve_conflicts): Likewise.
12958         (_dl_check_all_versions): Likewise.
12959         (_dl_check_map_versions): Likewise.
12960         (_dl_sort_fini): Likewise.
12961         (_dl_debug_initialize): Likewise.
12962         (_dl_init_paths): Likewise.
12963         (_dl_show_auxv): Likewise.
12964         (_dl_next_ld_env_entry): Likewise.
12965         (_dl_important_hwcaps): Likewise.
12966         (_dl_load_cache_lookup): Likewise.
12967         (_dl_update_slotinfo): Likewise.
12968         (_dl_show_scope): Likewise.
12970         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12971         attribute_hidden.
12972         (_wordcopy_fwd_dest_aligned): Likewise.
12973         (_wordcopy_bwd_aligned): Likewise.
12974         (_wordcopy_bwd_dest_aligned): Likewise.
12976         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12977         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12978         Likewise.
12979         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12980         Likewise.
12981         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12983 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12985         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12986         GCC 5 requirement.
12988 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12990         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12991         test.
12992         * sysdeps/i386/configure: Regenerated.
12993         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12994         code unconditional.
12996         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12997         test.
12998         (libc_cv_asm_popsection_directive): Likewise.
12999         * configure: Regenerated.
13000         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13001         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13002         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13003         (__make_section_unallocated): Make definition unconditional.
13004         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13005         Remove conditional definition.
13006         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13007         (__make_section_unallocated): Likewise.
13009         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13010         * configure: Regenerated.
13011         * config.make.in (static-libgcc): Remove variable.
13012         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13013         $(static-libgcc).
13014         (build-module-helper): Likewise.
13016         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13017         * configure: Regenerated.
13019 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13021         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13022         (struct char_buffer): New type.
13023         (char_buffer_start, char_buffer_size, char_buffer_error)
13024         (char_buffer_rewind, char_buffer_add): New functions.
13025         (ADDW): Remove macro, replaced by the char_buffer_add function.
13026         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13027         of extend_alloca.  Make control flow more explicit.
13029 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13031         [BZ #19137]
13032         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13033         Add -fomit-frame-pointer.
13034         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13036 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13038         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13039         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13040         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13041         only if !__GNUC_PREREQ (5,0).
13042         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13043         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13044         (INTERNAL_SYSCALL_NCS): Likewise.
13045         (LOADREGS_0): New macro for GCC 5.
13046         (ASMARGS_0): Likewise.
13047         (LOADREGS_1): Likewise.
13048         (ASMARGS_1): Likewise.
13049         (LOADREGS_2): Likewise.
13050         (ASMARGS_2): Likewise.
13051         (LOADREGS_3): Likewise.
13052         (ASMARGS_3): Likewise.
13053         (LOADREGS_4): Likewise.
13054         (ASMARGS_4): Likewise.
13055         (LOADREGS_5): Likewise.
13056         (ASMARGS_5): Likewise.
13057         (LOADREGS_6): Likewise.
13058         (ASMARGS_6): Likewise.
13060 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13062         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13063         -fomit-frame-pointer.
13064         (CFLAGS-mmap64.c): Likewise.
13065         (CFLAGS-semtimedop.c): Likewise.
13066         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13067         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13068         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13069         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13071 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13073         [BZ #18928]
13074         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13075         _dl_pointer_guard member.
13076         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13077         initializer.
13078         (security_init): Always set up pointer guard.
13079         (process_envvars): Do not process LD_POINTER_GUARD.
13081 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13083         [BZ #19134]
13084         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13085         (.LC2): Likewise.
13086         (.LC3): Likewise.
13087         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13089 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13091         [BZ #19129]
13092         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13093         r0 and r1.
13095 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13097         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13099 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13101         * include/stap-probe.h: Fix macro definition formatting.
13103 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13105         [BZ #19074]
13106         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13107         load and store num_ifs.
13109 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13111         [BZ #18822]
13112         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13113         (__sched_getaffinity_new): Add libc_hidden_proto and
13114         libc_hidden_def.
13116 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13118         [BZ #19007]
13119         * scripts/localplt.awk: Also allow GOT references.
13120         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13121         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13122         with "+ REL R_386_GLOB_DAT".
13123         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13124         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13126 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13128         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13129         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13130         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13131         Likewise.
13132         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13133         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13134         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13135         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13136         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13137         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13138         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13139         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13140         Likewise.
13141         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13143 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13145         [BZ #19125]
13146         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13147         <math_private.h> and <stdint.h>.
13148         (__llround): Avoid conversions to and from long long int, and
13149         subtractions, where those might raise spurious exceptions.
13150         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13151         <math_private.h> and <stdint.h>.
13152         (__llroundf): Avoid conversions to and from long long int, and
13153         subtractions, where those might raise spurious exceptions.
13155 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13157         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13158         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13159         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13160         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13161         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13162         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13163         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13164         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13165         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13166         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13167         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13168         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13169         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13170         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13171         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13172         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13173         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13174         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13175         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13176         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13177         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13178         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13179         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13180         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13181         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13182         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13183         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13184         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13185         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13186         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13187         (__xstat64_conv): Likewise.
13188         (__xstat32_conv): Likewise.
13190 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13192         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13193         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13194         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13195         <sysdeps/unix/sysv/linux/sysdep.h>.
13196         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13197         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13198         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13199         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13200         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13201         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13202         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13203         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13204         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13207         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13208         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13209         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13210         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13211         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13212         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13213         (sysdep-dl-routines): Add sysdep.
13214         [$(subdir) == nptl] (libpthread-routines): Likewise.
13215         [$(subdir) == rt] (librt-routines): Likewise.
13216         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13217         PIC when branching to SYSCALL_ERROR_LABEL.
13218         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13219         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13220         <sysdeps/unix/sysv/linux/sysdep.h>.
13221         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13222         (SYSCALL_ERROR_ERRNO): Removed.
13223         (SYSCALL_ERROR_HANDLER): Changed to empty.
13224         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13225         (__syscall_error): New prototype.
13226         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13227         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13229 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13231         [BZ #19124]
13232         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13233         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13234         _dl_runtime_resolve_avx.
13235         (_dl_runtime_profile_avx512): Make it a hidden alias of
13236         _dl_runtime_profile_avx.
13238 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13240         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13241         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13242         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13243         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13245         [BZ #16422]
13246         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13247         New configure test.
13248         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13249         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13250         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13251         <math_private.h> and <stdint.h>.
13252         (__llrint): Avoid conversions to long long int where those might
13253         raise spurious exceptions.
13254         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13255         <math_private.h> and <stdint.h>.
13256         (__llrintf): Avoid conversions to long long int where those might
13257         raise spurious exceptions.
13259 2015-10-12  Andreas Schwab  <schwab@suse.de>
13261         [BZ #18969]
13262         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13263         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13264         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13265         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13266         $(gen-locales).
13267         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13268         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13269         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13270         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13271         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13272         $(gen-locales).
13273         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13274         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13275         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13276         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13277         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13278         ($(objpfx)tst-ftell-active-handler.out)
13279         ($(objpfx)tst-ftell-append.out)
13280         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13281         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13282         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13283         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13284         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13285         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13286         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13287         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13288         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13289         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13290         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13291         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13292         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13293         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13294         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13295         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13296         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13297         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13298         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13299         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13300         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13301         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13302         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13303         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13304         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13305         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13306         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13307         $(gen-locales).
13308         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13309         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13310         $(gen-locales).
13311         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13312         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13313         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13314         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13315         $(gen-locales).
13316         * libio/tst_wprintf2.c (main): Use explicit locale.
13317         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13319 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13321         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13322         __msg_sig_post.
13323         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13325 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13327         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13328         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13330         * sysdeps/arm/libm-test-ulps: Regenerated.
13332         [BZ #15470]
13333         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13335         [BZ #16399]
13336         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13337         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13338         and <fix-fp-int-convert-overflow.h>.
13339         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13340         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13341         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13342         and <fix-fp-int-convert-overflow.h>.
13343         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13344         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13345         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13346         <fix-fp-int-convert-overflow.h>.
13347         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13348         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13349         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13350         <fix-fp-int-convert-overflow.h>.
13351         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13352         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13353         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13354         and <fix-fp-int-convert-overflow.h>.
13355         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13356         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13357         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13358         <limits.h> and <fix-fp-int-convert-overflow.h>.
13359         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13360         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13361         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13362         and <fix-fp-int-convert-overflow.h>.
13363         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13364         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13365         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13366         and <fix-fp-int-convert-overflow.h>.
13367         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13368         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13369         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13371 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13373         [BZ #18589]
13374         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13375         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13376         $(gen-locales).
13378 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13379             Phil Blundell <pb@pbcl.net>
13381         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13382         * nptl/tst-cancel26.c: New file.
13383         * nptl/tst-cancel27.c: Likewise.
13385 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13387         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13388         __ILP32__ isn't defined.
13389         (lrint): Likewise.
13390         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13391         (lrintf): Likewise.
13392         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13393         (lrintl): Likewise.
13394         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13395         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13396         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13398 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13400         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13401         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13403         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13404         file.
13405         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13406         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13408 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13410         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13411         configure test.
13412         * sysdeps/i386/configure: Regenerated.
13413         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13414         configure test.
13415         * sysdeps/x86_64/configure: Regenerated.
13416         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13417         Make code unconditional.
13419         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13420         test.
13421         * sysdeps/i386/configure: Regenerated.
13422         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13423         test.
13424         * sysdeps/x86_64/configure: Regenerated.
13425         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13426         Make code unconditional.
13427         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13428         Likewise.
13429         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13430         Likewise.
13431         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13432         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13433         code unconditional.
13434         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13435         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13436         code unconditional.
13437         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13438         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13439         code unconditional.
13440         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13441         code unconditional.
13442         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13443         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13444         code unconditional.
13445         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13446         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13447         code unconditional.
13448         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13449         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13450         code unconditional.
13451         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13452         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13453         code unconditional.
13454         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13455         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13457         [BZ #19095]
13458         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13459         mantissa to long int before shifting left.
13461 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13463         [BZ #19094]
13464         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13465         <limits.h>.
13466         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13467         when result overflows but exception would not result from cast.
13468         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13469         <limits.h>.
13470         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13471         when result overflows but exception would not result from cast.
13472         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13473         <limits.h>.
13474         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13475         when result overflows but exception would not result from cast.
13476         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13477         <limits.h>.
13478         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13479         when result overflows but exception would not result from cast.
13480         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13481         <limits.h>.
13482         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13483         when result overflows but exception would not result from cast.
13484         * math/libm-test.inc (lrint_test_data): Add more tests.
13485         (llrint_test_data): Likewise.
13487 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13489         [BZ #18872]
13490         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13491         Move out from under [$(run-built-tests) = yes] conditional.
13492         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13493         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13495 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13497         [BZ #18589]
13498         * string/Makefile (tests): Add bug-strcoll2.
13499         (LOCALES): Add cs_CZ.UTF-8.
13500         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13502         [BZ #18589]
13503         * string/bug-strcoll2.c: New file.
13504         * locale/categories.def: Revert commit
13505         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13506         * locale/langinfo.h: Likewise.
13507         * locale/localeinfo.h: Likewise.
13508         * locale/C-collate.c: Likewise.
13509         * locale/programs/ld-collate.c (collate_output): Likewise.
13510         * string/strcoll_l.c (STRDIFF): Likewise.
13511         (STRCOLL): Likewise.
13512         * wcsmbs/wcscoll_l.c: Likewise.
13514 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13516         * math/libm-test.inc (lround_test_data): Do not expect the absence
13517         of "inexact" for some tests with non-integer arguments.
13518         (llround_test_data): Likewise.
13520         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13521         test.
13522         (libc_cv_cc_sse2avx): Likewise.
13523         * sysdeps/i386/configure: Regenerated.
13524         * sysdeps/i386/i686/multiarch/Makefile
13525         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13526         [$(subdir) = math].
13527         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13528         code unconditional.
13529         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13530         Likewise.
13531         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13532         Likewise.
13533         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13534         Likewise.
13535         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13536         test.
13537         (libc_cv_cc_sse2avx): Likewise.
13538         * sysdeps/x86_64/configure: Regenerated.
13539         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13540         unconditional.
13541         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13542         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13543         unconditional.
13544         (_dl_runtime_profile)
13545         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13546         conditional code.
13547         * sysdeps/x86_64/fpu/multiarch/Makefile
13548         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13549         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13550         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13551         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13552         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13553         * sysdeps/x86_64/fpu/multiarch/e_log.c
13554         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13555         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13556         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13557         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13558         Likewise.
13559         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13560         Likewise.
13561         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13562         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13563         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13564         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13565         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13566         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13567         (HAVE_SSE2AVX_SUPPORT): Likewise.
13569 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13571         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13572         instead of #pragma optimize.
13574 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13576         [BZ #17195]
13577         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13578         as is similarly done in systrim and _int_free already.
13580 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13582         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13584 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13586         [BZ #19088]
13587         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13588         <limits.h>.
13589         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13590         overflows but exception would not result from cast.
13591         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13592         and <limits.h>.
13593         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13594         overflows but exception would not result from cast.
13595         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13596         <limits.h>.
13597         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13598         overflows but exception would not result from cast.
13599         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13600         <limits.h>.
13601         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13602         overflows but exception would not result from cast.
13603         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13604         <limits.h>.
13605         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13606         overflows but exception would not result from cast.
13607         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13608         <limits.h>.
13609         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13610         overflows but exception would not result from cast.
13611         * math/libm-test.inc (lround_test_data): Add more tests.
13612         (llround_test_data): Likewise.
13614 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13616         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13617         (CFLAGS-ialloc.c): Ditto.
13618         (CFLAGS-scheck.c): Ditto.
13620 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13622         [BZ #19086]
13623         * manual/filesys.texi (Storage Allocation): Fix argument order for
13624         posix_fallocate64.
13626 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13628         [BZ #19085]
13629         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13630         exponent below 48 inside case for non-overflowing exponent.
13631         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13633 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13635         * iconvdata/cp737.h (from_idx): Add const.
13636         * iconvdata/cp775.h (from_idx): Likewise.
13638 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13640         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13641         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13642         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13644         [BZ #19079]
13645         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13646         file, conditioned on [!_LP64].
13647         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13648         [!_LP64] (__lround): Do not define as function or alias.
13649         [!_LP64] (lround): Likewise.
13650         [!_LP64] (__lroundl): Likewise.
13651         [!_LP64] (lroundl): Likewise.
13652         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13653         macro.
13654         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13655         Likewise.
13657 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13659         * math/libm-test.inc (lrint_test_data): Add more tests.
13660         (llrint_test_data): Likewise.
13661         (lround_test_data): Likewise.
13662         (llround_test_data): Likewise.
13664         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13665         (llrint_test_data): Add tests used for lrint.
13667         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13668         test.
13669         * sysdeps/i386/configure: Regenerated.
13670         * sysdeps/i386/i686/multiarch/Makefile
13671         [$(config-cflags-sse4) = yes]: Make code unconditional.
13672         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13673         Likewise.
13674         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13675         Likewise.
13676         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13677         test.
13678         * sysdeps/x86_64/configure: Regenerated.
13679         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13680         Make code unconditional.
13681         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13682         Likewise.
13683         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13684         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13686         * scripts/rpm2dynsym.sh: Remove file.
13688 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13690         * configure.ac (libc_cv_cxx_thread_local): Define.
13691         * configure: Regenerate.
13692         * config.make.in (have-cxx-thread_local): Define.
13693         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13694         (LDLIBS-tst-thread_local1): Define.
13695         (tests): Add tst-thread_local1.
13696         [have-cxx-thread_local != yes] (tests-unsupported): Add
13697         tst-thread_local1.
13698         * nptl/tst-thread_local1.cc: New file.
13700 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13702         [BZ #19078]
13703         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13704         (u_thres): Likewise.
13705         (__expl): Determine whether to call __kernel_standard_l based on
13706         value of result, not argument.
13708         * math/libm-test.inc (scalb_test_data): Add more expectations for
13709         the "inexact" exception.
13711         [BZ #19077]
13712         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13713         0.0L for argument 1.0L.
13715         [BZ #19076]
13716         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13717         constant 0.0L when computing infinite result.
13719 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13721         [BZ #10432]
13722         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13723         malloc_usable_size.
13725 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13727         [BZ #19018]
13728         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13729         Mangle function pointer before storing it.
13730         (__call_tls_dtors): Demangle function pointer before calling it.
13732 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13734         [BZ #19012]
13735         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13736         Clean up on failure.
13738 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13740         [BZ #19071]
13741         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13742         long int variable to store possibly incremented high part of
13743         mantissa.
13744         * math/libm-test.inc (lround_test_data): Add tests used for
13745         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13746         for tests requiring 64-bit long.  Do not condition tests on
13747         [TEST_FLOAT] unnecessarily.
13748         (llround_test_data): Add tests used for lround.  Add another
13749         expectation for the "inexact" exception.  Do not condition tests
13750         on [TEST_FLOAT] unnecessarily.
13752         [BZ #887]
13753         [BZ #19049]
13754         [BZ #19050]
13755         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13756         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13757         <fix-int-fp-convert-zero.h>.
13758         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13759         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13760         <fix-int-fp-convert-zero.h>.
13761         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13762         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13763         <fix-int-fp-convert-zero.h>.
13764         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13765         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13766         <fix-int-fp-convert-zero.h>.
13767         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13768         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13769         <fix-int-fp-convert-zero.h>.
13770         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13771         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13772         <fix-int-fp-convert-zero.h>.
13773         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13774         * sysdeps/ieee754/flt-32/s_erff.c: Include
13775         <fix-int-fp-convert-zero.h>.
13776         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13777         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13778         <fix-int-fp-convert-zero.h>.
13779         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13780         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13781         <fix-int-fp-convert-zero.h>.
13782         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13783         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13784         <fix-int-fp-convert-zero.h>.
13785         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13786         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13787         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13788         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13789         file.
13790         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13792 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13794         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13796 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13798         [BZ #19059]
13799         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13800         overflowing computation.
13801         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13802         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13803         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13804         Likewise.
13805         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13806         Likewise.
13807         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13808         Likewise.
13809         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13810         Likewise.
13811         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13812         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13813         Likewise.
13814         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13815         Likewise.
13816         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13818         * nss/rewrite_field.c (__nss_rewrite_field): Use
13819         internal_function.
13820         * nss/valid_field.c (__nss_valid_field): Likewise.
13821         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13823 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13825         [BZ #18724]
13826         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13827         (__nss_invalid_field_characters, __nss_valid_field)
13828         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13829         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13830         tst-field.c: New file.
13831         * nss/Makefile (routines): Add valid_field, rewrite_field.
13832         (tests-static): Define unconditionally.
13833         (tests): Include tests-static.
13834         [build-static-nss] (tests-static): Use append.
13835         [build-static-nss] (tests): Remove modification.
13836         * nss/getent.c (print_group): Call putgrent.  Report error.
13837         (print_gshadow): Call putsgent.  Report error.
13838         (print_passwd): Call putpwent.  Report error.
13839         (print_shadow): Call putspent.  Report error.
13840         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13841         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13842         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13843         name, password, directory, shell fields for valid syntax.  Rewrite
13844         GECOS field to match syntax.
13845         * pwd/Makefile (tests): Add tst-putpwent.
13846         * pwd/tst-putpwent.c: New file.
13847         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13848         Check grName, grpasswd, gr_mem fields for valid syntax.
13849         Change loop variable i to size_t.
13850         * grp/Makefile (tests): Add tst-putgrent.
13851         * grp/tst-putgrent.c: New file.
13852         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13853         valid syntax.
13854         * shadow/Makefile (tests): Add tst-putspent.
13855         * shadow/tst-putspent.c: New file.
13856         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13857         sg_mem fields for valid syntax.
13858         * gshadow/Makefile (tests): Add tst-putsgent.
13859         * gshadow/tst-putsgent.c: New file.
13861 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13863         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13864         assembly instructions.
13866 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13868         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13869         prefix from operands.
13871 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13873         [BZ #16347]
13874         [BZ #19046]
13875         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13876         <libc-internal.h>.
13877         (MAXLGM): Do not use diagnostic control macros.
13878         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13879         threshold for ldbl-128ibm.
13880         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13881         instead of multiplying by log then subtracting.
13882         * math/auto-libm-test-in: Add more tests of lgamma.
13883         * math/auto-libm-test-out: Regenerated.
13885         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13886         (TYPE_HEX_DIG): Likewise.
13887         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13888         precisions when printing floating-point numbers.
13889         (check_float_internal): Likewise.
13891 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13893         [BZ #16620]
13894         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13895         of log (10) rounded downward to 48 bits.
13896         (log10_low): Use corresponding low part of log (10).
13898         [BZ #19032]
13899         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13900         compute result as (x - x) / (x - x) not as 0 / 0.
13901         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13902         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13904         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13905         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13906         and expm1.
13907         * math/auto-libm-test-out: Regenerated.
13908         * math/libm-test.inc (acos_test_data): Add more tests.
13909         (asin_test_data): Likewise.
13910         (asinh_test_data): Likewise.
13911         (atan_test_data): Likewise.
13912         (atanh_test_data): Likewise.
13913         (atan2_test_data): Likewise.
13914         (cbrt_test_data): Likewise.
13915         (ceil_test_data): Likewise.
13916         (copysign_test_data): Likewise.
13917         (cos_test_data): Likewise.
13918         (cosh_test_data): Likewise.
13919         (erf_test_data): Likewise.
13920         (erfc_test_data): Likewise.
13921         (exp_test_data): Likewise.
13922         (exp10_test_data): Likewise.
13923         (exp2_test_data): Likewise.
13924         (expm1_test_data): Likewise.
13925         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13927 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13929         [BZ #19006]
13930         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13931         to ...
13932         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13933         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13934         to ...
13935         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13936         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13937         to ...
13938         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13939         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13940         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13941         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13942         to ...
13943         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13944         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13945         Moved to ...
13946         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13947         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13948         Moved to ...
13949         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13950         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13951         to ...
13952         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13953         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13954         Moved to ...
13955         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13956         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13957         to ...
13958         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13959         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13960         Removed.
13961         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13962         Likewise.
13963         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13964         Likewise.
13965         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13966         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13967         Likewise.
13968         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13969         Likewise.
13970         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13971         Likewise.
13972         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13973         Likewise.
13974         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13975         Likewise.
13976         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13977         Likewise.
13978         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13979         Likewise.
13980         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13981         Likewise.
13982         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13983         Likewise.
13984         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13985         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13986         Likewise.
13987         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13988         Likewise.
13989         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13990         Likewise.
13991         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13992         Likewise.
13993         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13994         Likewise.
13995         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13996         Replace ../i486/pthread_cond_timedwait.S with
13997         ../pthread_cond_timedwait.S.
13999 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14001         * math/libm-test.inc (acos_test_data): Refine expectations for
14002         errno and "inexact" exceptions.
14003         (acosh_test_data): Likewise.
14004         (asin_test_data): Likewise.
14005         (asinh_test_data): Likewise.
14006         (atan_test_data): Likewise.
14007         (atanh_test_data): Likewise.
14008         (atan2_test_data): Likewise.
14009         (cbrt_test_data): Likewise.
14010         (ceil_test_data): Likewise.
14011         (copysign_test_data): Likewise.
14012         (cosh_test_data): Likewise.
14013         (erf_test_data): Likewise.
14014         (erfc_test_data): Likewise.
14015         (exp_test_data): Likewise.
14016         (exp10_test_data): Likewise.
14017         (exp2_test_data): Likewise.
14018         (expm1_test_data): Likewise.
14019         (fabs_test_data): Likewise.
14020         (floor_test_data): Likewise.
14021         (fma_test_data): Likewise.
14022         (fmax_test_data): Likewise.
14023         (fmin_test_data): Likewise.
14024         (fmod_test_data): Likewise.
14025         (fpclassify_test_data): Likewise.
14026         (frexp_test_data): Likewise.
14027         (hypot_test_data): Likewise.
14028         (ilogb_test_data): Likewise.
14029         (isgreater_test_data): Likewise.
14030         (isgreaterequal_test_data): Likewise.
14031         (isinf_test_data): Likewise.
14032         (isless_test_data): Likewise.
14033         (islessequal_test_data): Likewise.
14034         (islessgreater_test_data): Likewise.
14035         (isnan_test_data): Likewise.
14036         (isnormal_test_data): Likewise.
14037         (issignaling_test_data): Likewise.
14038         (isunordered_test_data): Likewise.
14039         (j0_test_data): Likewise.
14040         (j1_test_data): Likewise.
14041         (jn_test_data): Likewise.
14042         (lgamma_test_data): Likewise.
14043         (lrint_test_data): Likewise.
14044         (llrint_test_data): Likewise.
14045         (log_test_data): Likewise.
14046         (log10_test_data): Likewise.
14047         (log1p_test_data): Likewise.
14048         (log2_test_data): Likewise.
14049         (logb_test_data): Likewise.
14050         (lround_test_data): Likewise.
14051         (llround_test_data): Likewise.
14052         (modf_test_data): Likewise.
14053         (nearbyint_test_data): Likewise.
14054         (nextafter_test_data): Likewise.
14055         (nexttoward_test_data): Likewise.
14056         (pow_test_data): Likewise.
14057         (remainder_test_data): Likewise.
14058         (remquo_test_data): Likewise.
14059         (rint_test_data): Likewise.
14060         (round_test_data): Likewise.
14061         (signbit_test_data): Likewise.
14062         (sinh_test_data): Likewise.
14063         (sqrt_test_data): Likewise.
14064         (tanh_test_data): Likewise.
14065         (tgamma_test_data): Likewise.
14066         (trunc_test_data): Likewise.
14067         (y0_test_data): Likewise.
14068         (y1_test_data): Likewise.
14069         (yn_test_data): Likewise.
14070         (significand_test_data): Likewise.
14072 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14074         * manual/filesys.texi (Storage Allocation): Document that
14075         posix_fallocate emulation fails when fd is open with O_WRONLY.
14077 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14079         [BZ #19016]
14080         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14081         allow more cases with X^2 + Y^2 >= 0.5.
14082         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14083         normal element in sum instead of special-casing based on values of
14084         arguments.
14085         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14086         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14087         -1 as normal element in sum instead of special-casing based on
14088         values of arguments.
14089         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14090         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14091         (__x2y2m1): Update comment.
14092         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14093         as normal element in sum instead of special-casing based on values
14094         of arguments.
14095         * math/s_clog.c (__clog): Handle more cases using log1p without
14096         hypot.
14097         * math/s_clog10.c (__clog10): Likewise.
14098         * math/s_clog10f.c (__clog10f): Likewise.
14099         * math/s_clog10l.c (__clog10l): Likewise.
14100         * math/s_clogf.c (__clogf): Likewise.
14101         * math/s_clogl.c (__clogl): Likewise.
14102         * math/auto-libm-test-in: Add more tests of clog and clog10.
14103         * math/auto-libm-test-out: Regenerated.
14104         * sysdeps/i386/fpu/libm-test-ulps: Update.
14105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14107 2015-09-28  Martin Sebor  <msebor@redhat.com>
14109         [BZ #18969]
14110         * string/Makefile (LOCALES): Define.
14111         (gen-locales.mk): Include.
14112         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14113         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14114         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14115         on setlocale failure.
14117 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14119         [BZ #18985]
14120         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14121         (__strftime_internal): Likewise.
14122         * time/tst-strftime.c (do_bz18985): New test.
14123         (do_test): Call it.
14125 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14127         [BZ #18956]
14128         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14129         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14130         extracting high part.
14131         * math/auto-libm-test-in: Add another test of pow.
14132         * math/auto-libm-test-out: Regenerated.
14133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14135 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14137         [BZ #18825]
14138         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14139         New macro.
14140         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14141         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14142         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14143         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14144         DBL_NARROW_EVAL, reloading the PIC register as needed.
14145         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14146         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14147         FLT_NARROW_EVAL.  Use separate return path for case when first
14148         argument is NaN.
14149         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14150         DEFINE_LDBL_MIN.
14151         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14152         PIC register.
14153         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14154         math_check_force_underflow_nonneg.
14155         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14156         underflow for subnormal result.
14157         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14158         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14159         math_check_force_underflow_nonneg.
14160         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14161         math_check_force_underflow.
14162         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14163         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14164         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14165         DEFINE_LDBL_MIN.
14166         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14167         * math/auto-libm-test-in: Add more tests of pow.
14168         * math/auto-libm-test-out: Regenerated.
14170 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14172         * nss/bug17079.c (init_test_items): Add diagnostic for
14173         inconsistent entries.
14174         (test_buffer_size): Skip inconsistent entries.
14176 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14178         [BZ #13304]
14179         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14180         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14181         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14183         [BZ #13304]
14184         * sysdeps/microblaze/s_fma.c: New file.
14185         * sysdeps/microblaze/s_fmaf.c: Likewise.
14186         * sysdeps/microblaze/sfp-machine.h: Likewise.
14188 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14190         [BZ #17250]
14191         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14192         member.
14194 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14196         [BZ #18803]
14197         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14198         (MO): New macro.
14199         (__ieee754_hypot) [PIC]: Load PIC register.
14200         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14201         DBL_NARROW_EVAL.
14202         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14203         math_check_force_underflow_nonneg in case where result might be
14204         tiny.
14205         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14206         Likewise.
14207         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14208         Likewise.
14209         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14210         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14211         * math/auto-libm-test-in: Add more tests of hypot.
14212         * math/auto-libm-test-out: Regenerated.
14214 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14216         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14218 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14220         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14221         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14222         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14223         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14224         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14225         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14226         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14228         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14229         LOAD_PIC_REG.
14231         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14232         (FLT_CHECK_FORCE_UFLOW): Likewise.
14233         (DBL_CHECK_FORCE_UFLOW): Likewise.
14234         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14235         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14236         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14237         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14238         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14239         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14240         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14241         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14242         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14243         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14244         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14245         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14246         (flt_min): Replace with use of DEFINE_FLT_MIN.
14247         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14248         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14249         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14250         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14251         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14252         (flt_min): Replace with use of DEFINE_FLT_MIN.
14253         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14254         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14255         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14256         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14257         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14258         (flt_min): Replace with use of DEFINE_FLT_MIN.
14259         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14260         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14261         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14262         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14263         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14264         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14265         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14266         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14267         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14268         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14269         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14270         (flt_min): Replace with use of DEFINE_FLT_MIN.
14271         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14272         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14273         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14274         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14275         main computation.
14276         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14277         (flt_min): Replace with use of DEFINE_FLT_MIN.
14278         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14279         main computation.
14280         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14281         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14282         (MO): New macro.
14283         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14284         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14285         (flt_min): Replace with use of DEFINE_FLT_MIN.
14286         (MO): New macro.
14287         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14288         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14289         (__log1pl): Use MO.
14291         [BZ #19003]
14292         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14293         $(config-cflags-nofma).
14295 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14297         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14299 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14301         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14302         (TWO127): Likewise.
14304         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14305         (min_of_type): Likewise.
14306         (math_check_force_underflow): Likewise.
14307         (math_check_force_underflow_nonneg): Likewise.
14308         (math_check_force_underflow_complex): Likewise.
14309         * math/e_exp2l.c (__ieee754_exp2l): Use
14310         math_check_force_underflow_nonneg.
14311         * math/k_casinh.c (__kernel_casinh): Likewise.
14312         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14313         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14314         * math/s_catan.c (__catan): Use
14315         math_check_force_underflow_complex.
14316         * math/s_catanf.c (__catanf): Likewise.
14317         * math/s_catanh.c (__catanh): Likewise.
14318         * math/s_catanhf.c (__catanhf): Likewise.
14319         * math/s_catanhl.c (__catanhl): Likewise.
14320         * math/s_catanl.c (__catanl): Likewise.
14321         * math/s_ccosh.c (__ccosh): Likewise.
14322         * math/s_ccoshf.c (__ccoshf): Likewise.
14323         * math/s_ccoshl.c (__ccoshl): Likewise.
14324         * math/s_cexp.c (__cexp): Likewise.
14325         * math/s_cexpf.c (__cexpf): Likewise.
14326         * math/s_cexpl.c (__cexpl): Likewise.
14327         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14328         * math/s_clog10.c (__clog10): Likewise.
14329         * math/s_clog10f.c (__clog10f): Likewise.
14330         * math/s_clog10l.c (__clog10l): Likewise.
14331         * math/s_clogf.c (__clogf): Likewise.
14332         * math/s_clogl.c (__clogl): Likewise.
14333         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14334         * math/s_csinf.c (__csinf): Likewise.
14335         * math/s_csinh.c (__csinh): Likewise.
14336         * math/s_csinhf.c (__csinhf): Likewise.
14337         * math/s_csinhl.c (__csinhl): Likewise.
14338         * math/s_csinl.c (__csinl): Likewise.
14339         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14340         * math/s_csqrtf.c (__csqrtf): Likewise.
14341         * math/s_csqrtl.c (__csqrtl): Likewise.
14342         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14343         * math/s_ctanf.c (__ctanf): Likewise.
14344         * math/s_ctanh.c (__ctanh): Likewise.
14345         * math/s_ctanhf.c (__ctanhf): Likewise.
14346         * math/s_ctanhl.c (__ctanhl): Likewise.
14347         * math/s_ctanl.c (__ctanl): Likewise.
14348         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14349         instead of volatile.
14350         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14351         math_check_force_underflow.
14352         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14353         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14354         volatile when forcing underflow.
14355         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14356         math_check_force_underflow_nonneg.
14357         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14358         Likewise.
14359         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14360         math_check_force_underflow.
14361         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14362         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14363         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14364         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14365         math_check_force_underflow_nonneg.
14366         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14367         math_check_force_underflow.
14368         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14369         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14370         instead of volatile.
14371         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14372         math_check_force_underflow.
14373         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14374         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14375         math_check_force_underflow_nonneg.
14376         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14377         math_check_force_underflow.
14378         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14379         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14380         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14381         math_check_force_underflow_nonneg.
14382         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14383         Likewise.
14384         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14385         math_check_force_underflow.
14386         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14387         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14388         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14389         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14390         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14391         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14392         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14393         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14394         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14395         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14396         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14397         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14398         Likewise.
14399         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14400         math_check_force_underflow_nonneg.
14401         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14402         Likewise.
14403         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14404         math_check_force_underflow.
14405         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14406         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14407         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14408         Likewise.
14409         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14410         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14411         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14412         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14413         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14414         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14415         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14416         instead of volatile.
14417         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14418         math_check_force_underflow.
14419         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14420         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14421         math_check_force_underflow.
14422         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14423         Likewise.
14424         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14425         Use math_check_force_underflow_nonneg.
14426         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14427         math_check_force_underflow.
14428         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14429         Likewise.
14430         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14431         Likewise.
14432         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14433         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14434         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14435         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14436         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14437         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14438         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14439         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14440         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14441         math_check_force_underflow_nonneg.
14442         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14443         math_check_force_underflow.
14444         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14445         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14446         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14447         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14448         math_check_force_underflow_nonneg.
14449         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14450         math_check_force_underflow.
14451         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14452         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14453         instead of volatile.
14454         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14455         math_check_force_underflow.
14457         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14458         * stdlib/strtod_l.c: Include <math_private.h>.
14459         (overflow_value): Use math_narrow_eval.
14460         (underflow_value): Likewise.
14461         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14462         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14463         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14464         (__ieee754_gamma_r): Likewise.
14465         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14466         Likewise.
14467         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14468         Likewise.
14469         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14470         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14471         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14472         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14473         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14474         (__ieee754_gammaf_r): Likewise.
14475         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14476         Likewise.
14477         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14478         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14479         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14480         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14481         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14482         volatile.
14483         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14484         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14485         math_narrow_eval.
14486         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14487         Likewise.
14488         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14489         Likewise.
14490         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14491         Likewise.
14492         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14493         volatile.
14494         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14495         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14496         math_narrow_eval.
14497         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14498         Likewise.
14499         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14500         Likewise.
14502 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14504         * nptl/Versions: Remove ignored symbols.
14506 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14508         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14509         * nss/Makefile (tests): Update.
14511 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14513         * nss/bug18287.c: New file.
14514         * nss/Makefile (tests): Add bug18287.
14516 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14518         * mach/Versions (__mach_host_self_): Add symbol.
14520 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14522         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14523         vm_page_size.
14525 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14527         Really fix sysdeps/i386/fpu/s_scalbn.S build
14529         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14530         (libc: GLIBC_2_22): Remove unused version set.
14532 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14534         * config.make.in (enable-timezone-tools): New variable.
14535         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14536         (enable_timezone_tools): Export to generated files.
14537         * configure: Regenerate.
14538         * INSTALL: Regenerate.
14539         * manual/install.texi (--disable-timezone-tools): Document new flag.
14540         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14541         ifeq ($(enable-timezone-tools),yes) check.
14543 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14545         * timezone/Makefile: Revert previous change.
14547         [BZ #18980]
14548         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14549         (DEFINE_DBL_MIN): Likewise.
14550         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14551         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14552         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14553         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14554         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14555         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14556         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14557         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14558         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14559         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14560         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14561         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14562         (flt_min): Replace with use of DEFINE_FLT_MIN.
14563         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14564         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14565         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14566         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14567         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14568         (flt_min): Replace with use of DEFINE_FLT_MIN.
14569         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14570         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14571         (flt_min): Replace with use of DEFINE_FLT_MIN.
14572         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14573         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14574         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14575         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14576         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14577         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14578         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14579         (__ieee754_pow): Use DBL_NARROW_EVAL.
14580         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14581         (__ieee754_powf): Use FLT_NARROW_EVAL.
14582         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14583         (__ieee754_expf_sse2): Convert double-precision result to single
14584         precision.
14585         * sysdeps/i386/fpu/libm-test-ulps: Update.
14587 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14589         * timezone/Makefile: Ignore unused variable errors due to private.h
14590         (time_t_min) and (time_t_max).
14591         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14592         Likewise.
14594 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14596         [BZ #18981]
14597         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14598         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14599         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14600         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14601         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14602         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14603         (__scalbn): Use DBL_NARROW_EVAL.
14604         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14605         (__scalbnf): Use FLT_NARROW_EVAL.
14607 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14609         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14610         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14611         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14612         * stdio-common/printf_fp.c (___printf_fp):
14613         Use signbit to get the sign. Use isinf macro to allow inlining.
14614         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14615         * stdio-common/printf_size.c (__printf_size): Likewise.
14617 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14619         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14621 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14623         [BZ #18980]
14624         * sysdeps/generic/math_private.h: Include <float.h>.
14625         (math_narrow_eval): New macro.
14626         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14627         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14628         math_narrow_eval on overflowing return value.
14629         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14630         Likewise.
14631         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14632         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14633         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14634         Likewise.
14635         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14637 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14639         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14640         * math/Makefile: Remove isinf_ns.c.
14641         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14642         * math/multc3.c (__multc3): Likewise.
14643         * math/s_casin.c (__casin): Likewise.
14644         * math/s_casinf.c (__casinf): Likewise.
14645         * math/s_casinl.c (__casinl): Likewise.
14646         * math/s_cproj.c (__cproj): Likewise.
14647         * math/s_cprojf.c (__cprojf): Likewise.
14648         * math/s_cprojl.c (__cprofl): Likewise.
14649         * math/s_ctan.c (__ctan): Likewise.
14650         * math/s_ctanf.c (__ctanf): Likewise.
14651         * math/s_ctanh.c (__ctanh): Likewise.
14652         * math/s_ctanhf.c (__ctanhf): Likewise.
14653         * math/s_ctanhl.c (__ctanhl): Likewise.
14654         * math/s_ctanl.c (__ctanl): Likewise.
14655         * math/w_fmod.c (__fmod): Likewise.
14656         * math/w_fmodf.c (__fmodf): Likewise.
14657         * math/w_fmodl.c (_fmodl): Likewise.
14658         * math/w_remainder.c (__remainder): Likewise.
14659         * math/w_remainderf.c (__remainderf): Likewise.
14660         * math/w_remainderl.c (__remainderl): Likewise.
14661         * math/w_scalb.c (__scalb): Likewise.
14662         * math/w_scalbf.c (__scalbf): Likewise.
14663         * math/w_scalbl.c (__scalbl): Likewise.
14664         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14665         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14666         with isinf.
14667         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14668         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14669         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14670         __isinf_nsf with isinf.
14671         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14672         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14673         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14674         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14675         with isinf.
14676         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14677         __isinf_nsl with isinf.
14678         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14679         with isinf.
14680         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14681         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14682         __isinf_nsl with isinf.
14683         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14684         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14685         with isinf.
14687 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14689         * resolv/base64.c (rcsid): Remove unused static.
14690         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14691         static.  (tqpi1): Likewise.
14692         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14693         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14694         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14695         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14696         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14697         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14698         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14699         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14700         Likewise.
14702 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14704         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14705         <nptl/pthreadP.h>.
14706         (_longjmp_unwind): Use __libc_ptf_call.
14707         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14709 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14711         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14712         * sysdeps/arm/__longjmp.S: Likewise.
14714 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14716         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14717         Use __builtin_signbit.
14718         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14719         Use __builtin_signbitf.
14720         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14721         Use __builtin_signbitl.
14722         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14723         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14725 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14727         [BZ #15367]
14728         [BZ #17441]
14730         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14731         * math/math.h (fpclassify): Use __builtin_fpclassify when
14732         available.  (signbit): Use __builtin_signbit(f/l).
14733         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14734         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14735         (isinf): Use __builtin_isinf_sign.
14737 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14739         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14740         * benchtests/bench-math-inlines.c: New benchmark.
14741         * benchtests/bench-util.h: New file.
14742         * benchtests/bench-util.c: New file.
14743         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14745 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14747         * elf/tst-dlmopen1.c: Define TEST_SO.
14748         (do_test): Use TEST_SO.
14750         * elf/dl-load.c: Include libc-internal.h.
14751         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14753 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14755         [BZ #17887]
14756         * time/strptime_l.c (__strptime_internal): Make %z accept
14757         [+-]HH:MM time zones.
14759 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14761         [BZ #17886]
14762         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14763         valid time zone.
14765 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14767         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14768         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14769         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14770         (__ASSUME_FDATASYNC): Delete.
14772 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14774         * conform/linknamespace.pl: Require weak undefined symbols to be
14775         in the standard namespace.
14776         (%strong_syms): Rename to %seen_syms.
14777         (%strong_seen): Rename to %seen_where.
14779 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14781         [BZ #18970]
14782         * misc/error.c (error): Replace pthread_setcancelstate with
14783         __pthread_setcancelstate.
14784         (error_at_line): Likewise.
14785         * posix/wordexp.c (parse_comm): Likewise.
14786         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14787         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14788         (__pthread_setcancelstate): This.
14789         (pthread_setcancelstate): Add an alias.
14790         * nptl/nptl-init.c (pthread_functions): Replace
14791         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14792         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14793         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14794         hidden_proto.
14795         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14796         it with hidden_def.
14797         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14798         (pthread_setcancelstate): Renamed to ...
14799         (__pthread_setcancelstate): This.
14800         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14801         __libc_ptf_call with __pthread_setcancelstate.
14803 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14804             Andreas Schwab  <schwab@suse.de>
14806         [BZ #17118]
14807         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14808         result when imaginary part of argument is infinite using sine and
14809         cosine.
14810         * math/s_ctanf.c (__ctanf): Likewise.
14811         * math/s_ctanl.c (__ctanl): Likewise.
14812         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14813         of result when real part of argument is infinite using sine and
14814         cosine.
14815         * math/s_ctanhf.c (__ctanhf): Likewise.
14816         * math/s_ctanhl.c (__ctanhl): Likewise.
14817         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14818         (ctanh_test_data): Add more tests of ctanh.
14820 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14822         [BZ #15384]
14823         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14824         bit-mask as in subtraction.
14825         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14826         Likewise.
14827         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14828         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14829         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14831         [BZ #18951]
14832         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14833         underflow exception for small results.
14834         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14835         Likewise.
14836         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14837         Likewise.
14838         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14839         Likewise.
14840         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14841         Likewise.
14842         * math/auto-libm-test-in: Add more tests of tgamma.
14843         * math/auto-libm-test-out: Regenerated.
14845 2015-09-17  Andreas Schwab  <schwab@suse.de>
14847         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14849 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14851         [BZ #18977]
14852         * math/bits/mathcalls.h
14853         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14854         not declare.
14855         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14856         Likewise.
14857         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14858         Likewise.
14859         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14860         Likewise.
14861         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14862         Likewise.
14863         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14864         Likewise.
14865         * conform/data/math.h-data
14866         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14867         function.
14868         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14869         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14870         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14871         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14872         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14873         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14874         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14875         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14876         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14877         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14878         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14880         [BZ #6803]
14881         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14882         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14883         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14884         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14885         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14886         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14887         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14888         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14889         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14890         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14891         Likewise.
14892         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14893         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14894         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14895         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14896         long_double_symbol calls.
14897         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14898         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14899         strong alias of __ldexpl.
14900         (scalbnl): Define using long_double_symbol.
14901         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14902         Remove alias.
14903         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14904         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14905         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14906         (scalbln_test_data): Add more errno expectations.
14908 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14910         Cache the host port like we cache the task port.  This way we do not
14911         need to call the kernel just to get the port.  Furthermore, we no
14912         longer increase the reference count on every invocation of
14913         `mach_host_self'.
14915         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14916         Protect declarations against the macro expansion.
14917         * mach/mach_init.c (__mach_host_self_): New variable.
14918         (mach_init): Initialize `__mach_host_self_'.
14919         * mach/mach_init.h (__mach_host_self_): New declaration.
14920         (__mach_host_self, mach_host_self): New macros.
14921         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14922         Release reference.
14924 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14926         [BZ #4404]
14927         * po/de.po: Update from Translation Project.
14929         [BZ #16415]
14930         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14931         (__expm1l): Remove code to handle positive infinity and overflow.
14932         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14933         variable.
14934         (__expm1l): Remove code to handle positive infinity and overflow.
14936 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14937             Paul Pluzhnikov  <ppluzhnikov@google.com>
14939         [BZ #18872]
14940         * stdio-common/Makefile (tst-printf-bz18872): New test.
14941         (tst-printf-bz18872-mem.out): Likewise.
14942         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14943         * stdio-common/vfprintf.c: Fix memory leaks.
14945 2015-09-16  Andreas Schwab  <schwab@suse.de>
14947         [BZ #17244]
14948         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14949         Remove extra va_start/va_end calls.
14951         [BZ #17243]
14952         * posix/execl.c (execl): Add missing va_end.
14953         * posix/execle.c (execle): Likewise.
14954         * posix/execlp.c (execlp): Likewise.
14956 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14958         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14959         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14961 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14963         [BZ #18967]
14964         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14965         undefine around includes of <bits/mathcalls.h>.
14966         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14967         not declare function.
14968         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14969         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14970         (scalb): Likewise.
14971         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14972         not define macro.
14973         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14974         variable.
14975         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14976         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14977         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14979         [BZ #18857]
14980         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14981         return non-finite argument without doing ordered comparisons on
14982         it.
14984         [BZ #16296]
14985         * math/fenv.h (fegetround): Use __attribute_pure__.
14986         * include/fenv.h (__fegetround): Likewise.
14988         [BZ #18595]
14989         * math/s_ctan.c (__ctan): Force underflow exception for results
14990         whose real or imaginary part has small absolute value.
14991         * math/s_ctanf.c (__ctanf): Likewise.
14992         * math/s_ctanh.c (__ctanh): Likewise.
14993         * math/s_ctanhf.c (__ctanhf): Likewise.
14994         * math/s_ctanhl.c (__ctanhl): Likewise.
14995         * math/s_ctanl.c (__ctanl): Likewise.
14996         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14997         and ctanh.  Add more tests of ctan and ctanh.
14999         [BZ #15918]
15000         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15001         handling of cases where one argument is an infinity.
15003         [BZ #18875]
15004         [BZ #18966]
15005         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15006         (MO): New macro.
15007         (__ieee754_exp10): For small results, force underflow exception
15008         and remove excess range and precision from return value.
15009         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15010         (MO): New macro.
15011         (__ieee754_exp10f): For small results, force underflow exception
15012         and remove excess range and precision from return value.
15013         * math/auto-libm-test-in: Add more tests of exp10.
15014         * math/auto-libm-test-out: Regenerated.
15016 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15018         [BZ #18875]
15019         [BZ #18961]
15020         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15021         (MO): New macro.
15022         (__ieee754_exp): For small results, force underflow exception and
15023         remove excess range and precision from return value.
15024         (__exp_finite): Likewise.
15025         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15026         (MO): New macro.
15027         (__ieee754_expf): For small results, force underflow exception and
15028         remove excess range and precision from return value.
15029         (__expf_finite): Likewise.
15030         * math/auto-libm-test-in: Add more tests of exp.
15031         * math/auto-libm-test-out: Regenerated.
15033         [BZ #16521]
15034         [BZ #18875]
15035         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15036         small results.
15037         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15038         (MO): New macro.
15039         (__ieee754_exp2): For small results, force underflow exception and
15040         remove excess range and precision from return value.
15041         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15042         (MO): New macro.
15043         (__ieee754_exp2f): For small results, force underflow exception
15044         and remove excess range and precision from return value.
15045         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15046         (MO): New macro.
15047         (__ieee754_exp2l): Force underflow exception for small results.
15048         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15049         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15050         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15051         (MO): New macro.
15052         (__ieee754_exp2l): Force underflow exception for small results.
15053         * math/auto-libm-test-in: Add more tests or exp2.
15054         * math/auto-libm-test-out: Regenerated.
15056 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15058         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15060         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15061         /dev/null.
15063 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15065         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15066         io fs process)): Drop spurious backslash.
15068 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15070         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15071         Use sysinfo system call instead of parsing /proc/meminfo.
15072         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15073         Likewise.
15075 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15077         [BZ #16985]
15078         * programs/localedef.c (main): Display argv[remaining] when
15079         output_path is NULL.
15081 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15083         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15084         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15085         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15086         tanh.
15087         * math/auto-libm-test-out: Regenerated.
15088         * sysdeps/i386/fpu/libm-test-ulps: Update.
15089         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15090         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15093 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15095         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15096         Use 'override' keyword to freeze the value here, preventing
15097         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15099 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15101         [BZ #14912]
15102         * sysdeps/aarch64/bits/atomic.h: Move to ...
15103         * sysdeps/aarch64/atomic-machine.h: ...here.
15104         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15105         _AARCH64_ATOMIC_MACHINE_H.
15106         * sysdeps/alpha/bits/atomic.h: Move to ...
15107         * sysdeps/alpha/atomic-machine.h: ...here.
15108         * sysdeps/arm/bits/atomic.h: Move to ...
15109         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15110         * bits/atomic.h: Move to ...
15111         * sysdeps/generic/atomic-machine.h: ...here.
15112         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15113         * sysdeps/i386/bits/atomic.h: Move to ...
15114         * sysdeps/i386/atomic-machine.h: ...here.
15115         * sysdeps/ia64/bits/atomic.h: Move to ...
15116         * sysdeps/ia64/atomic-machine.h: ...here.
15117         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15118         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15119         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15120         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15121         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15122         * sysdeps/microblaze/bits/atomic.h: Move to ...
15123         * sysdeps/microblaze/atomic-machine.h: ...here.
15124         * sysdeps/mips/bits/atomic.h: Move to ...
15125         * sysdeps/mips/atomic-machine.h: ...here.
15126         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15127         * sysdeps/powerpc/bits/atomic.h: Move to ...
15128         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15129         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15130         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15131         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15132         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15133         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15134         <atomic-machine.h> instead of <bits/atomic.h>.
15135         * sysdeps/s390/bits/atomic.h: Move to ...
15136         * sysdeps/s390/atomic-machine.h: ...here.
15137         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15138         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15139         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15140         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15141         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15142         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15143         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15144         * sysdeps/tile/bits/atomic.h: Move to ...
15145         * sysdeps/tile/atomic-machine.h: ...here.
15146         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15147         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15148         <sysdeps/tile/atomic-machine.h> instead of
15149         <sysdeps/tile/bits/atomic.h>.
15150         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15151         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15152         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15153         <sysdeps/tile/atomic-machine.h> instead of
15154         <sysdeps/tile/bits/atomic.h>.
15155         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15156         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15157         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15158         <sysdeps/arm/atomic-machine.h> instead of
15159         <sysdeps/arm/bits/atomic.h>.
15160         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15161         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15162         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15163         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15164         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15165         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15166         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15167         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15168         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15169         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15170         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15171         * sysdeps/x86_64/bits/atomic.h: Move to ...
15172         * sysdeps/x86_64/atomic-machine.h: ...here.
15173         * include/atomic.h: Include <atomic-machine.h> instead of
15174         <bits/atomic.h>.
15176         * sysdeps/mips/mips32/libm-test-ulps: Update.
15177         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15179         [BZ #18952]
15180         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15181         not convert non-integer negative arguments to int to determine the
15182         value of signgam.
15183         * math/auto-libm-test-in: Add more tests of lgamma.
15184         * math/auto-libm-test-out: Regenerated.
15186         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15187         cosh, csqrt, erfc, expm1 and lgamma.
15188         * math/auto-libm-test-out: Regenerated.
15189         * sysdeps/i386/fpu/libm-test-ulps: Update.
15190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15192 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15194         [BZ #2542]
15195         [BZ #2543]
15196         [BZ #2558]
15197         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15198         __lgamma_neg for arguments from -28.0 to -2.0.
15199         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15200         __lgamma_negf for arguments from -15.0 to -2.0.
15201         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15202         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15203         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15204         Call __lgamma_negl for arguments from -33.0 to -2.0.
15205         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15206         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15207         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15208         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15209         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15210         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15211         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15212         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15213         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15214         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15215         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15216         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15217         (__lgamma_neg): Likewise.
15218         (__lgamma_negl): Likewise.
15219         (__lgamma_product): Likewise.
15220         (__lgamma_productl): Likewise.
15221         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15222         * math/auto-libm-test-in: Add more tests of lgamma.
15223         * math/auto-libm-test-out: Regenerated.
15224         * sysdeps/i386/fpu/libm-test-ulps: Update.
15225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15227 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15229         [BZ #18675]
15230         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15232 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15234         [BZ #14912]
15235         * bits/libc-lock.h: Move to ...
15236         * sysdeps/generic/libc-lock.h: ...here.
15237         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15238         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15239         * sysdeps/mach/hurd/libc-lock.h: ...here.
15240         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15241         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15242         * sysdeps/mach/bits/libc-lock.h: Move to ...
15243         * sysdeps/mach/libc-lock.h: ...here.
15244         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15245         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15246         * sysdeps/nptl/libc-lock.h: ...here.
15247         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15248         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15249         * sysdeps/nptl/libc-lockP.h: ...here.
15250         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15251         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15252         <bits/libc-lock.h>.
15253         * dirent/scandir-tail.c: Likewise.
15254         * dlfcn/dlerror.c: Likewise.
15255         * elf/dl-close.c: Likewise.
15256         * elf/dl-iteratephdr.c: Likewise.
15257         * elf/dl-lookup.c: Likewise.
15258         * elf/dl-open.c: Likewise.
15259         * elf/dl-support.c: Likewise.
15260         * elf/dl-writev.h: Likewise.
15261         * elf/rtld.c: Likewise.
15262         * grp/fgetgrent.c: Likewise.
15263         * gshadow/fgetsgent.c: Likewise.
15264         * gshadow/sgetsgent.c: Likewise.
15265         * iconv/gconv_conf.c: Likewise.
15266         * iconv/gconv_db.c: Likewise.
15267         * iconv/gconv_dl.c: Likewise.
15268         * iconv/gconv_int.h: Likewise.
15269         * iconv/gconv_trans.c: Likewise.
15270         * include/link.h: Likewise.
15271         * inet/getnameinfo.c: Likewise.
15272         * inet/getnetgrent.c: Likewise.
15273         * inet/getnetgrent_r.c: Likewise.
15274         * intl/bindtextdom.c: Likewise.
15275         * intl/dcigettext.c: Likewise.
15276         * intl/finddomain.c: Likewise.
15277         * intl/gettextP.h: Likewise.
15278         * intl/loadmsgcat.c: Likewise.
15279         * intl/localealias.c: Likewise.
15280         * intl/textdomain.c: Likewise.
15281         * libidn/idn-stub.c: Likewise.
15282         * libio/libioP.h: Likewise.
15283         * locale/duplocale.c: Likewise.
15284         * locale/freelocale.c: Likewise.
15285         * locale/newlocale.c: Likewise.
15286         * locale/setlocale.c: Likewise.
15287         * login/getutent_r.c: Likewise.
15288         * login/getutid_r.c: Likewise.
15289         * login/getutline_r.c: Likewise.
15290         * login/utmp-private.h: Likewise.
15291         * login/utmpname.c: Likewise.
15292         * malloc/mtrace.c: Likewise.
15293         * misc/efgcvt.c: Likewise.
15294         * misc/error.c: Likewise.
15295         * misc/fstab.c: Likewise.
15296         * misc/getpass.c: Likewise.
15297         * misc/mntent.c: Likewise.
15298         * misc/syslog.c: Likewise.
15299         * nis/nis_call.c: Likewise.
15300         * nis/nis_callback.c: Likewise.
15301         * nis/nss-default.c: Likewise.
15302         * nis/nss_compat/compat-grp.c: Likewise.
15303         * nis/nss_compat/compat-initgroups.c: Likewise.
15304         * nis/nss_compat/compat-pwd.c: Likewise.
15305         * nis/nss_compat/compat-spwd.c: Likewise.
15306         * nis/nss_nis/nis-alias.c: Likewise.
15307         * nis/nss_nis/nis-ethers.c: Likewise.
15308         * nis/nss_nis/nis-grp.c: Likewise.
15309         * nis/nss_nis/nis-hosts.c: Likewise.
15310         * nis/nss_nis/nis-network.c: Likewise.
15311         * nis/nss_nis/nis-proto.c: Likewise.
15312         * nis/nss_nis/nis-pwd.c: Likewise.
15313         * nis/nss_nis/nis-rpc.c: Likewise.
15314         * nis/nss_nis/nis-service.c: Likewise.
15315         * nis/nss_nis/nis-spwd.c: Likewise.
15316         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15317         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15318         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15319         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15320         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15321         * nis/nss_nisplus/nisplus-network.c: Likewise.
15322         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15323         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15324         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15325         * nis/nss_nisplus/nisplus-service.c: Likewise.
15326         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15327         * nis/ypclnt.c: Likewise.
15328         * nptl/libc_pthread_init.c: Likewise.
15329         * nss/getXXbyYY.c: Likewise.
15330         * nss/getXXent.c: Likewise.
15331         * nss/getXXent_r.c: Likewise.
15332         * nss/nss_db/db-XXX.c: Likewise.
15333         * nss/nss_db/db-netgrp.c: Likewise.
15334         * nss/nss_db/nss_db.h: Likewise.
15335         * nss/nss_files/files-XXX.c: Likewise.
15336         * nss/nss_files/files-alias.c: Likewise.
15337         * nss/nsswitch.c: Likewise.
15338         * posix/regex_internal.h: Likewise.
15339         * posix/wordexp.c: Likewise.
15340         * pwd/fgetpwent.c: Likewise.
15341         * resolv/res_hconf.c: Likewise.
15342         * resolv/res_libc.c: Likewise.
15343         * shadow/fgetspent.c: Likewise.
15344         * shadow/lckpwdf.c: Likewise.
15345         * shadow/sgetspent.c: Likewise.
15346         * socket/opensock.c: Likewise.
15347         * stdio-common/reg-modifier.c: Likewise.
15348         * stdio-common/reg-printf.c: Likewise.
15349         * stdio-common/reg-type.c: Likewise.
15350         * stdio-common/vfprintf.c: Likewise.
15351         * stdio-common/vfscanf.c: Likewise.
15352         * stdlib/abort.c: Likewise.
15353         * stdlib/cxa_atexit.c: Likewise.
15354         * stdlib/fmtmsg.c: Likewise.
15355         * stdlib/random.c: Likewise.
15356         * stdlib/setenv.c: Likewise.
15357         * string/strsignal.c: Likewise.
15358         * sunrpc/auth_none.c: Likewise.
15359         * sunrpc/bindrsvprt.c: Likewise.
15360         * sunrpc/create_xid.c: Likewise.
15361         * sunrpc/key_call.c: Likewise.
15362         * sunrpc/rpc_thread.c: Likewise.
15363         * sysdeps/arm/backtrace.c: Likewise.
15364         * sysdeps/generic/ldsodefs.h: Likewise.
15365         * sysdeps/generic/stdio-lock.h: Likewise.
15366         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15367         * sysdeps/i386/backtrace.c: Likewise.
15368         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15369         * sysdeps/m68k/backtrace.c: Likewise.
15370         * sysdeps/mach/hurd/cthreads.c: Likewise.
15371         * sysdeps/mach/hurd/dirstream.h: Likewise.
15372         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15373         * sysdeps/nptl/malloc-machine.h: Likewise.
15374         * sysdeps/nptl/stdio-lock.h: Likewise.
15375         * sysdeps/posix/dirstream.h: Likewise.
15376         * sysdeps/posix/getaddrinfo.c: Likewise.
15377         * sysdeps/posix/system.c: Likewise.
15378         * sysdeps/pthread/aio_suspend.c: Likewise.
15379         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15380         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15381         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15382         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15383         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15384         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15385         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15386         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15387         * sysdeps/unix/sysv/linux/system.c: Likewise.
15388         * sysdeps/x86_64/backtrace.c: Likewise.
15389         * time/alt_digit.c: Likewise.
15390         * time/era.c: Likewise.
15391         * time/tzset.c: Likewise.
15392         * wcsmbs/wcsmbsload.c: Likewise.
15393         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15394         instead of <bits/libc-lock.h> in comment.
15396 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15398         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15399         Only use .set mips2 if the current ISA is below mips2.
15400         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15401         Likewise.
15402         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15403         mips32r2 if the current ISA is below mips32r2.
15404         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15405         (TLS_IE): Updated to use the TLD_RDHWR macro.
15406         (TLS_LE): Likewise.
15407         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15408         __ASSEMBLER__ condition.
15410 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15412         Fix parallel build of before-compile targets.
15414         * sysdeps/mach/Makefile ($(patsubst
15415         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15416         mach-before-compile target.
15417         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15418         io fs process)): Move rule to dedicated hurd-before-compile target.
15420 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15422         Fix rules generating headers in hurd/ and mach/ when initial make call
15423         has subdir= explicitly set.
15425         * sysdeps/mach/Makefile ($(patsubst
15426         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15427         calling $(MAKE).
15428         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15429         io fs process)): Force subdir to hurd when calling $(MAKE).
15430         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15431         subdir to mach when calling $(MAKE).
15433 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15435         Check sysheaders when looking for Mach and Hurd headers
15437         * sysdeps/mach/configure.ac: Add sysheaders check.
15438         * sysdeps/mach/configure: Regenerate.
15439         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15440         * sysdeps/mach/hurd/configure: Regenerate.
15442 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15444         [BZ #18921]
15445         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15446         Fix inverted sense of test of 'o_directory_works' value.
15447         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15448         Bernhard Voelker <mail@bernhard-voelker.de>.
15450 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15452         [BZ #14912]
15453         * bits/linkmap.h: Move to ...
15454         * sysdeps/generic/linkmap.h: ...here.
15455         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15456         * sysdeps/aarch64/linkmap.h: ...here.
15457         * sysdeps/arm/bits/linkmap.h: Move to ...
15458         * sysdeps/arm/linkmap.h: ...here.
15459         * sysdeps/hppa/bits/linkmap.h: Move to ...
15460         * sysdeps/hppa/linkmap.h: ...here.
15461         * sysdeps/ia64/bits/linkmap.h: Move to ...
15462         * sysdeps/ia64/linkmap.h: ...here.
15463         * sysdeps/mips/bits/linkmap.h: Move to ...
15464         * sysdeps/mips/linkmap.h: ...here.
15465         * sysdeps/s390/bits/linkmap.h: Move to ...
15466         * sysdeps/s390/linkmap.h: ...here.
15467         * sysdeps/sh/bits/linkmap.h: Move to ...
15468         * sysdeps/sh/linkmap.h: ...here.
15469         * sysdeps/x86/bits/linkmap.h: Move to ...
15470         * sysdeps/x86/linkmap.h: ...here.
15471         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15473 2015-09-04  Andreas Schwab  <schwab@suse.de>
15475         [BZ #18635]
15476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15477         (__makecontext): Terminate FDE before return label.
15478         (__novec_makecontext): Likewise.
15480 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15482         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15483         first member of struct sv in syscall macro.
15485 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15487         [BZ #14912]
15488         * bits/stdio-lock.h: Move to ...
15489         * sysdeps/generic/stdio-lock.h: ...here.
15490         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15491         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15492         * sysdeps/nptl/stdio-lock.h: ...here.
15493         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15494         * include/libio.h: Include <stdio-lock.h> instead of
15495         <bits/stdio-lock.h>.
15496         * sysdeps/nptl/fork.c: Likewise.
15497         * sysdeps/pthread/flockfile.c: Likewise.
15498         * sysdeps/pthread/ftrylockfile.c: Likewise.
15499         * sysdeps/pthread/funlockfile.c: Likewise.
15501         [BZ #14912]
15502         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15503         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15504         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15505         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15506         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15507         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15508         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15510 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15512         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15513         (test-xfail-tst-protected1b): New variable.
15515 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15517         [BZ #14912]
15518         * bits/libc-tsd.h: Move to ...
15519         * sysdeps/generic/libc-tsd.h: ...here.
15520         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15521         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15522         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15523         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15524         * include/ctype.h: Include <libc-tsd.h> instead of
15525         <bits/libc-tsd.h>.
15526         * include/rpc/rpc.h: Likewise.
15527         * locale/localeinfo.h: Likewise.
15528         * sunrpc/rpc_thread.c: Likewise.
15529         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15530         * sysdeps/nptl/malloc-machine.h: Likewise.
15532         * Makefile (headers): Remove bits/libc-lock.h.
15533         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15535         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15536         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15537         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15538         <bits/stdio-lock.h>.
15539         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15540         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15542 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15544         [BZ #18757]
15545         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15546         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15547         BZ #18757.
15549 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15551         * malloc/mtrace.pl: Filter out NULL entries.
15553 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15555         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15556         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15557         macro.
15559         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15560         (TCP_CC_INFO): Likewise.
15561         (TCP_SAVE_SYN): Likewise.
15562         (TCP_SAVED_SYN): Likewise.
15564 2015-08-31  Brett Neumeier <brett@neumeier.us>
15566         [BZ #18870]
15567         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15569 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15571         [BZ #18873]
15572         Fix broken overflow check in posix_fallocate
15573         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15574         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15575         Fix parenthesization typo.
15577 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15579         [BZ #18887]
15580         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15581         tst-mntent-blank-passno.
15582         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15583         * misc/tst-mntent-blank-corrupt.c: New test.
15584         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15585         * misc/tst-mntent.c (do_test): ... here.
15587 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15589         [BZ #4404]
15590         * po/de.po: Fix SIGALRM typo.
15592 2015-08-28  James Perkins  <james@loowit.net>
15594         * time/tst-strptime2.c (tests): Replace short list of test
15595         strings for strptime %z specifier with code which exhaustively
15596         tests every combination of sign and 0 to 5 digits. Tests for
15597         rejection of invalid strings.
15599 2015-08-28  James Perkins  <james@loowit.net>
15601         [BZ #16141]
15602         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15603         calculation, removing incorrect decimal time rounding, so that
15604         all minute values result in a valid seconds value.
15605         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15606         offset range limits to UTC-99:59 through UTC+99:59 to parse
15607         current and historical use cases.
15608         * time/tst-strptime2.c (tests): Modify and add tests for the
15609         strptime %z input field descriptor, specifically conversion of
15610         minutes to seconds and validating an offset range of -9959 to
15611         +9959.
15613 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15614             Dmitry V. Levin  <ldv@altlinux.org>
15616         [BZ #18877]
15617         * posix/Makefile (tests): Add tst-mmap-offset.
15618         * posix/tst-mmap.c: New file.
15619         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15620         offset calculation for negative values.
15622 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15624         * sysdeps/i386/init-arch.h: New file.
15625         * sysdeps/i386/i586/init-arch.h: Likewise.
15626         * sysdeps/i386/i686/init-arch.h: Likewise.
15627         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15628         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15629         * sysdeps/x86/cpu-features.h (bit_I586): New.
15630         (bit_I686): Likewise.
15631         (bit_CX8): Likewise.
15632         (bit_CMOV): Likewise.
15633         (index_CX8): Likewise.
15634         (index_CMOV): Likewise.
15635         (index_I586): Likewise.
15636         (index_I686): Likewise.
15637         (reg_CX8): Likewise.
15638         (reg_CMOV): Likewise.
15639         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15640         available at compile-time.
15641         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15642         available at compile-time.
15643         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15644         (USE_I686): Likewise.
15646 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15648         * sysdeps/i386/bcopy.S: New file.
15649         * sysdeps/i386/bzero.S: Likewise.
15650         * sysdeps/i386/memcpy.S: Likewise.
15651         * sysdeps/i386/memmove.S: Likewise.
15652         * sysdeps/i386/mempcpy.S: Likewise.
15653         * sysdeps/i386/memset.S: Likewise.
15654         * sysdeps/i386/bzero.c: Removed.
15655         * sysdeps/i386/memset.c: Likewise.
15656         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15657         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15658         * sysdeps/i386/i586/memset_chk.S: Likewise.
15659         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15660         * sysdeps/i386/memcpy_chk.S: Here.
15661         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15662         * sysdeps/i386/memmove_chk.S: Here.
15663         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15664         * sysdeps/i386/mempcpy_chk.S: Likewise.
15665         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15666         * sysdeps/i386/memset_chk.S: Likewise.
15668 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15670         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15671         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15672         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15673         * soft-fp/fmadf4.c: Ditto.
15674         * soft-fp/fmatf4.c: Ditto.
15676 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15678         * sysdeps/i386/i586/Implies: Removed.
15679         * sysdeps/i386/i686/Implies: Likewise.
15681 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15683         * sysdeps/i386/i486/strlen.S: Moved to ...
15684         * sysdeps/i386/strlen.S: Here.
15686 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15688         * sysdeps/i386/i486/strcat.S: Moved to ...
15689         * sysdeps/i386/strcat.S: Here.
15691 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15693         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15694         * sysdeps/i386/pthread_spin_trylock.S: Here.
15695         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15696         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15698 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15700         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15701         * sysdeps/i386/string-inlines.c: Here.
15703 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15705         * sysdeps/i386/i486/htonl.S: Moved ...
15706         * sysdeps/i386/htonl.S: here.
15708 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15710         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15711         * sysdeps/i386/bits/atomic.h: Here.
15713 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15715         * sysdeps/i386/i486/Versions: Removed.
15717 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15719         [BZ #2898]
15720         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15721         Based on patch by Aurelien Jarno.
15723 2015-08-26  Stan Shebs  <stanshebs@google.com>
15725         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15726         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15728 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15730         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15731         * sysdeps/powerpc/dl-procinfo.c:
15732         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15733         feature so it shows when LD_SHOW_AUXV=1.
15735 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15737         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15738         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15739         definition.  ISA 2.07B no longer requires full sync.
15741 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15743         [BZ #18863]
15744         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15745         (si_call_addr): Define.
15746         (si_syscall): Define.
15747         (si_arch): Define.
15749 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15751         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15752         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15753         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15754         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15755         (__memset_zero_constant_len_parameter): New.
15756         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15757         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15758         (__memset_zero_constant_len_parameter): Don't define if
15759         __memset_chk or USE_AS_BZERO are defined.
15761         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15762         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15763         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15765         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15766         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15767         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15768         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15769         comments.
15770         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15771         -mno-mmx for $(all-rtld-routines).
15772         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15773         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15774         i386.
15776 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15778         * sysdeps/generic/unwind.h
15779         (_Unwind_Word): Use __mode__(__unwind_word__)
15780         instead of __mode__(__word__).
15781         (_Unwind_Sword): Likewise.
15783         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15784         (MAX_NEEDED_INPUT): New define.
15785         (MAX_NEEDED_OUTPUT): New define.
15787         * NEWS: New item for IBM z13 string optimizations.
15789         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15790         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15791         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15792         * sysdeps/s390/multiarch/Makefile
15793         (sysdep_routines): Add memrchr functions.
15794         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15795         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15797         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15798         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15799         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15800         * sysdeps/s390/multiarch/Makefile
15801         (sysdep_routines): Add wmemcmp functions.
15802         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15803         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15804         * benchtests/bench-wmemcmp.c: New File.
15805         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15807         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15808         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15809         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15810         * sysdeps/s390/multiarch/Makefile
15811         (sysdep_routines): Add wmemset functions.
15812         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15813         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15814         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15815         * string/test-memset.c: Add wmemset support.
15816         * wcsmbs/test-wmemset.c: New File.
15817         * wcsmbs/Makefile (strop-tests): Add wmemset.
15818         * benchtests/bench-memset.c: Add wmemset support.
15819         * benchtests/bench-wmemset.c: New File.
15820         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15822         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15823         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15824         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15825         * sysdeps/s390/multiarch/Makefile
15826         (sysdep_routines): Add memccpy functions.
15827         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15828         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15829         * string/memccpy.c: Use MEMCCPY if defined.
15831         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15832         * sysdeps/s390/multiarch/memchr.c: Likewise.
15833         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15834         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15835         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15836         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15837         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15838         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15839         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15840         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15841         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15842         and rawmemchr functions.
15843         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15844         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15845         and wmemchr.
15846         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15847         * string/test-memchr.c: Add wmemchr support.
15848         * wcsmbs/test-wmemchr.c: New File.
15849         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15850         * benchtests/bench-memchr.c: Add wmemchr support.
15851         * benchtests/bench-wmemchr.c: New File.
15852         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15854         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15855         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15856         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15857         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15858         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15859         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15860         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15861         wcscspn functions.
15862         * sysdeps/s390/multiarch/ifunc-impl-list.c
15863         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15864         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15865         * string/test-strcspn.c: Add wcscspn support.
15866         * wcsmbs/test-wcscspn.c: New File.
15867         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15868         * benchtests/bench-strcspn.c: Add wcscspn support.
15869         * benchtests/bench-wcscspn.c: New File.
15870         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15872         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15873         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15874         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15875         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15876         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15877         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15878         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15879         wcspbrk functions.
15880         * sysdeps/s390/multiarch/ifunc-impl-list.c
15881         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15882         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15883         * string/test-strpbrk.c: Add wcspbrk support.
15884         * wcsmbs/test-wcspbrk.c: New File.
15885         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15886         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15887         * benchtests/bench-wcspbrk.c: New File.
15888         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15890         * sysdeps/s390/multiarch/strspn-c.c: New File.
15891         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15892         * sysdeps/s390/multiarch/strspn.c: Likewise.
15893         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15894         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15895         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15896         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15897         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15898         wcsspn functions.
15899         * sysdeps/s390/multiarch/ifunc-impl-list.c
15900         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15901         * string/test-strspn.c: Add wcsspn support.
15902         * wcsmbs/test-wcsspn.c: New File.
15903         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15904         * benchtests/bench-strspn.c: Add wcsspn support.
15905         * benchtests/bench-wcsspn.c: New File.
15906         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15908         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15909         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15910         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15911         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15912         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15913         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15914         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15915         wcsrchr functions.
15916         * sysdeps/s390/multiarch/ifunc-impl-list.c
15917         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15918         * benchtests/bench-wcsrchr.c: New File.
15919         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15921         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15922         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15923         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15924         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15925         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15926         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15927         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15928         wcschrnul functions.
15929         * sysdeps/s390/multiarch/ifunc-impl-list.c
15930         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15931         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15932         * string/test-strchr.c: Add wcschrnul support.
15933         * wcsmbs/test-wcschrnul.c: New File.
15934         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15935         * benchtests/bench-strchr.c: Add wcschrnul support.
15936         * benchtests/bench-wcschrnul.c: New File.
15937         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15939         * sysdeps/s390/multiarch/strchr-c.c: New File.
15940         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15941         * sysdeps/s390/multiarch/strchr.c: Likewise.
15942         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15943         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15944         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15945         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15946         wcschr functions.
15947         * sysdeps/s390/multiarch/ifunc-impl-list.c
15948         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15949         * string/strchr.c (STRCHR): Define and use macro.
15950         * benchtests/bench-wcschr.c: New File.
15951         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15953         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15954         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15955         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15956         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15957         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15958         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15959         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15960         wcsncmp functions.
15961         * sysdeps/s390/multiarch/ifunc-impl-list.c
15962         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15963         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15964         * benchtests/bench-strncmp.c: Add wcsncmp support.
15965         * benchtests/bench-wcsncmp.c: New File.
15966         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15968         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15969         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15970         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15971         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15972         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15973         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15974         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15975         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15976         wcscmp functions.
15977         * sysdeps/s390/multiarch/ifunc-impl-list.c
15978         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15979         * string/strcmp.c (STRCMP): Define and use macro.
15980         * benchtests/bench-wcscmp.c: New File.
15981         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15982         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15983         instead of _HAVE_STRING_ARCH_memchr.
15985         * sysdeps/s390/multiarch/strncat-c.c: New File.
15986         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15987         * sysdeps/s390/multiarch/strncat.c: Likewise.
15988         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15989         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15990         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15991         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15992         wcsncat functions.
15993         * sysdeps/s390/multiarch/ifunc-impl-list.c
15994         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15995         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15996         * string/test-strncat.c: Add wcsncat support.
15997         * wcsmbs/test-wcsncat.c: New File.
15998         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15999         * benchtests/bench-strncat.c: Add wcsncat support.
16000         * benchtests/bench-wcsncat.c: New File.
16001         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16003         * sysdeps/s390/multiarch/strcat-c.c: New File.
16004         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16005         * sysdeps/s390/multiarch/strcat.c: Likewise.
16006         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16007         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16008         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16009         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16010         wcscat functions.
16011         * sysdeps/s390/multiarch/ifunc-impl-list.c
16012         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16013         * string/strcat.c (STRCAT): Define and use macro.
16014         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16015         * string/test-strcat.c: Add wcscat support.
16016         * wcsmbs/test-wcscat.c: New File.
16017         * wcsmbs/Makefile (strop-tests): Add wcscat.
16018         * benchtests/bench-strcat.c: Add wcscat support.
16019         * benchtests/bench-wcscat.c: New File.
16020         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16022         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16023         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16024         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16025         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16026         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16027         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16028         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16029         wcpncpy functions.
16030         * sysdeps/s390/multiarch/ifunc-impl-list.c
16031         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16032         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16033         * string/test-stpncpy.c: Add wcpncpy support.
16034         * wcsmbs/test-wcpncpy.c: New File.
16035         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16036         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16037         * benchtests/bench-wcpncpy.c: New File.
16038         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16040         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16041         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16042         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16043         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16044         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16045         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16046         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16047         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16048         wcsncpy functions.
16049         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16050         * sysdeps/s390/multiarch/ifunc-impl-list.c
16051         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16052         * string/test-strncpy.c: Add wcsncpy support.
16053         * wcsmbs/test-wcsncpy.c: New File.
16054         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16055         * benchtests/bench-strncpy.c: Add wcsncpy support.
16056         * benchtests/bench-wcsncpy.c: New File.
16057         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16059         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16060         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16061         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16062         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16063         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16064         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16065         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16066         wcpcpy functions.
16067         * string/stpcpy.c: Use STPCPY if defined.
16068         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16069         * sysdeps/s390/multiarch/ifunc-impl-list.c
16070         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16071         * string/test-stpcpy.c: Add wcpcpy support.
16072         * wcsmbs/test-wcpcpy.c: New File.
16073         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16074         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16075         * benchtests/bench-wcpcpy.c: New File.
16076         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16078         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16079         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16080         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16081         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16082         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16083         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16084         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16085         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16086         wcscpy functions.
16087         * sysdeps/s390/multiarch/ifunc-impl-list.c
16088         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16089         * benchtests/bench-wcscpy.c: New File.
16090         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16092         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16093         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16094         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16095         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16096         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16097         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16098         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16099         wcsnlen functions.
16100         * sysdeps/s390/multiarch/ifunc-impl-list.c
16101         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16102         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16103         * string/test-strnlen.c: Add wcsnlen support.
16104         * wcsmbs/test-wcsnlen.c: New File.
16105         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16106         * benchtests/bench-strnlen.c: Add wcsnlen support.
16107         * benchtests/bench-wcsnlen.c: New File.
16108         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16110         * sysdeps/s390/multiarch/Makefile: New File.
16111         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16112         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16113         * sysdeps/s390/multiarch/strlen.c: Likewise.
16114         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16115         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16116         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16117         * string/strlen.c (STRLEN): Define and use macro.
16118         * sysdeps/s390/multiarch/ifunc-impl-list.c
16119         (IFUNC_VX_IMPL): New macro function.
16120         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16121         * benchtests/Makefile (wcsmbs-bench): New variable.
16122         (string-bench-all): Added wcsmbs-bench.
16123         * benchtests/bench-wcslen.c: New File.
16125         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16126         s390_vx_libc_ifunc2): New macro function.
16128         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16129         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16130         assembler support.
16131         * sysdeps/s390/configure: Regenerated.
16133         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16134         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16136         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16137         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16138         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16140         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16141         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16142         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16143         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16144         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16145         (memcmp, bcmp): Use __memcmp_default as alias source.
16146         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16147         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16148         Rename to __memcmp_default.
16149         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16150         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16151         (memcpy): Use __memcpy_default as alias source.
16152         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16153         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16154         Rename to __memcpy_default.
16155         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16156         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16157         (memset): Use __memset_default as alias source.
16158         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16159         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16160         Rename to __memset_default.
16161         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16162         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16163         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16164         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16165         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16166         (memcmp, bcmp): Use __memcmp_default as alias source.
16167         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16168         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16169         Rename to __memcmp_default.
16170         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16171         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16172         (memcpy): Use __memcpy_default as alias source.
16173         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16174         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16175         Rename to __memcpy_default.
16176         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16177         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16178         (memset): Use __memset_default as alias source.
16179         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16180         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16181         Rename to __memset_default.
16182         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16183         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16185         [BZ #18610]
16186         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16187         __ieee_instruction_pointer to __unused.
16188         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16189         __ieee_instruction_pointer.
16190         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16191         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16192         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16193         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16194         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16195         Mark dxc-field as reserved.
16197 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16199         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16200         if the weak reference is not null.
16202 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16204         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16206         [BZ #11214]
16207         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16209 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16211         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16212         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16213         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16214         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16215         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16216         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16217         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16218         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16219         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16220         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16221         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16222         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16223         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16224         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16225         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16226         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16227         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16228         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16230 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16232         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16233         register other than r0 for tabort, it has special meaning.
16234         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16235         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16236         transaction before starting syscall.
16238 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16240         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16242 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16244         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16246         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16247         * sysdeps/x86_64/rtld-memset.S: Likewise.
16248         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16249         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16250         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16251         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16253         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16255 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16257         * debug/strcpy_chk.c: Improve performance.
16258         * debug/stpcpy_chk.c: Likewise.
16259         * sysdeps/x86_64/strcpy_chk.S: Remove.
16260         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16262         [BZ #18240]
16263         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16265 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16267         [BZ #15128]
16268         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16269         ifuncmain8.
16270         (modules-names): Add ifuncmod8.
16271         ($(objpfx)ifuncmain8): New rule.
16272         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16273         <cpuid.h>.
16274         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16275         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16276         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16277         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16278         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16279         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16280         * sysdeps/x86_64/ifuncmain8.c: New file.
16281         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16282         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16283         Removed.
16284         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16285         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16286         Change rtld_savespace_sse to __glibc_unused2.
16287         (RTLD_CHECK_FOREIGN_CALL): Removed.
16288         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16289         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16290         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16292 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16294         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16296 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16298         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16299         Unconditionally set __fpcr to avoid uninialized warning.
16300         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16302 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16304         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16305         is corrupt.
16307         * malloc/arena.c (arena_get2): Drop unused argument.
16308         (arena_lock): Adjust.
16309         (arena_get_retry): Likewise.
16311 2015-08-24  Andreas Schwab  <schwab@suse.de>
16313         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16314         Don't define.
16315         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16316         (__ASSUME_IPC64): Don't undef.
16317         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16318         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16319         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16320         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16321         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16322         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16323         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16324         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16325         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16326         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16327         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16328         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16329         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16330         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16331         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16332         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16333         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16334         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16335         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16336         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16337         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16339 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16341         * manual/Makefile (install): Only build manual when perl is available.
16343 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16345         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16346         '#undef memcpy' by '#undef memchr'.
16348 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16350         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16351         memchr not point to the internal __GI_memchr implementation.
16353 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16355         * timezone/Makefile (CFLAGS-zdump.c): Remove
16356         -Wno-strict-prototypes.
16357         (CFLAGS-zic.c): Likewise.
16358         (CFLAGS-ialloc.c): Likewise.
16359         (CFLAGS-scheck.c): Likewise.
16361         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16362         -Wno-error=undef.
16364 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16366         * i386/i686/multiarch/strcasestr-c.c: Removed.
16367         * x86_64/multiarch/strcasestr.c: Likewise.
16368         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16369         Remove strcasestr.
16371 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16373         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16375         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16376         variables for high and low parts before possibly modifying them.
16378 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16380         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16381         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16382         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16383         of "multiarch/init-arch.h".
16384         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16385         * sysdeps/x86/init-arch.h: This.
16387 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16389         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16390         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16392 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16394         [BZ #17787]
16395         * manual/macros.texi: Add twoexp macro.
16396         * manual/filesys.texi: Fix exponents.
16397         * manual/llio.texi: Likewise.
16398         * manual/stdio.texi: Likewise.
16400 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16402         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16403         incorrect use.
16405 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16407         [BZ #18370]
16408         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16409         whose real or imaginary part has small absolute value.
16410         * math/s_csqrtf.c (__csqrtf): Likewise.
16411         * math/s_csqrtl.c (__csqrtl): Likewise.
16412         * math/auto-libm-test-in: Add more tests of csqrt.
16413         * math/auto-libm-test-out: Regenerated.
16414         * sysdeps/i386/fpu/libm-test-ulps: Update.
16416 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16418         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16419         __ppc_set_ppr_very_low): New functions.
16420         * manual/platform.texi: Add documentation about
16421         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16423 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16425         * string/stpncpy.c (stpncpy): Improve performance using
16426         __strnlen/memcpy/memset.
16428 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16430         [BZ #18796]
16431         * scripts/test-installation.pl: Don't add -lmvec to build options if
16432         libmvec wasn't built.
16434 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16436         [BZ #14341]
16437         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16438         case when there is a gap between DT_REL and DT_JMPREL sections.
16439         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16440         (LDFLAGS-tst-split-dynreloc): New.
16441         (tst-split-dynreloc-ENV): Likewise.
16442         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16443         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16445 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16447         [BZ #18822]
16448         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16449         attribute_hidden.
16450         (__xstat64_conv): Likewise.
16451         (__xstat32_conv): Likewise.
16453 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16455         [BZ #18822]
16456         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16457         Don't load %ebx when calling __setcontext.  Call __setcontext
16458         with HIDDEN_JUMPTARGET.
16459         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16460         libc_hidden_def.
16462 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16464         * sysdeps/i386/i686/Makefile
16465         [$(subdir) == string] (sysdep_routines): Moved to ...
16466         * sysdeps/i386/Makefile: Here.
16467         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16468         * sysdeps/i386/cacheinfo.c: Here.
16469         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16470         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16471         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16472         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16474 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16476         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16477         __i586__ is defined.
16478         (HAS_I686): Defined to 1 if __i686__ is defined.
16480 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16482         * elf/Makefile [$(have-z-execstack) = yes]
16483         (CPPFLAGS-tst-execstack.c): New variable.
16485         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16486         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16487         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16488         UTMPX || _HAVE_UT_TV].
16489         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16490         UTMPX || _HAVE_UT_TV - 0].
16492 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16494         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16495         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16496         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16498 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16500         * sysdeps/powerpc/dl-procinfo.c:
16501         (_dl_powerpc_cap_flags): Added missing strings for some
16502         hwcap features.
16503         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16505 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16507         Port the 0x7efe...feff pattern to GCC 6.
16508         See Steve Ellcey's bug report in:
16509         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16510         * string/memrchr.c (MEMRCHR):
16511         * string/rawmemchr.c (RAWMEMCHR):
16512         * string/strchr.c (strchr):
16513         * string/strchrnul.c (STRCHRNUL):
16514         Rewrite code to avoid issues with signed shift overflow.
16516 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16518         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16519         whether cpuid is available only if HAS_CPUID is 0.
16520         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16521         (HAS_I586): Likewise.
16522         (HAS_I686): Likewise.
16524 2015-08-18  Zack Weinberg  <zackw@panix.com>
16526         * misc/Versions (libc): Add GLIBC_2.23.
16528 2015-08-18  Alan Modra  <amodra@gmail.com>
16530         [BZ #18421]
16531         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16532         .Lp__global.
16533         (_start): Load %dp via .Lp__global.
16534         [!SHARED]: Use .section .rodata.
16536 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16538         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16539         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16541 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16543         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16544         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16546 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16548         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16549         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16551 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16553         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16554         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16556 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16558         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16559         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16561 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16563         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16564         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16566 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16568         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16570 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16572         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16573         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16574         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16575         (__ASSUME_LWS_CAS): Delete.
16577 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16579         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16580         * sysdeps/hppa/configure: Regenerated.
16581         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16582         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16583         * sysdeps/hppa/nptl/tls.h: Likewise.
16585 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16587         [BZ #18823]
16588         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16589         for scaling up small arguments.
16590         * math/s_csqrtf.c (__csqrtf): Likewise.
16591         * math/s_csqrtl.c (__csqrtl): Likewise.
16592         * math/auto-libm-test-in: Add more tests of csqrt.
16593         * math/auto-libm-test-out: Regenerated.
16595 2015-08-17  Andreas Schwab  <schwab@suse.de>
16597         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16598         version set GLIBC_2.19.
16600 2015-08-16  Zack Weinberg  <zackw@panix.com>
16602         [BZ #18681]
16603         * misc/regexp.h: This interface is no longer supported.
16604         Remove all contents, leaving only an #error directive.
16605         * misc/regexp.c (loc1, loc2, locs, step, advance):
16606         Demote to compatibility symbols.
16608 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16610         [BZ #18084]
16611         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16612         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16613         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16614         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16615         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16616         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16617         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16618         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16619         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16621 2015-08-15  Zack Weinberg  <zackw@panix.com>
16623         [BZ #18795]
16624         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16625         buffer length is known to be too large, not if it's known to be
16626         small enough.
16627         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16628         overflow at runtime, involving a length parameter, twice: once
16629         with a compile-time constant length parameter, once without.
16631 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16633         [BZ #18824]
16634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16635         scaling x * y up instead of down.
16636         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16637         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16638         * math/auto-libm-test-in: Add more tests of fma.
16639         * math/auto-libm-test-out: Regenerated.
16641 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16643         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16645 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16647         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16648         unnecessary movq.
16649         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16650         Likewise.
16652 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16654         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16655         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16656         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16657         and tgamma.
16658         * math/auto-libm-test-out: Regenerated.
16659         * sysdeps/i386/fpu/libm-test-ulps: Update.
16660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16662         [BZ #16520]
16663         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16664         (__tanh): Force underflow exception for arguments with small
16665         absolute value.
16666         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16667         (__tanhf): Force underflow exception for arguments with small
16668         absolute value.
16669         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16670         (__tanhl): Force underflow exception for arguments with small
16671         absolute value.
16672         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16673         (__tanhl): Force underflow exception for arguments with small
16674         absolute value.
16675         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16676         (__tanhl): Force underflow exception for arguments with small
16677         absolute value.
16678         * math/auto-libm-test-in: Add more tests of tanh.
16679         * math/auto-libm-test-out: Regenerated.
16680         * sysdeps/i386/fpu/libm-test-ulps: Update.
16682 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16684         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16685         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16687 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16689         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16690         <cpuid.h>.
16692 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16694         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16695         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16697 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16699         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16700         Remove $(objpfx)init-arch.o.
16701         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16702         init-arch.
16703         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16704         (INIT_ARCH_EXT): Defined as empty.
16705         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16706         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16707         __init_cpu_features call.  Replace HAS_XXX with
16708         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16709         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16710         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16711         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16712         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16713         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16714         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16715         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16716         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16717         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16718         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16719         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16720         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16721         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16722         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16723         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16724         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16725         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16726         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16727         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16728         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16729         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16730         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16731         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16732         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16733         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16734         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16735         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16736         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16737         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16738         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16739         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16740         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16741         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16742         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16743         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16745 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16747         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16748         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16749         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16750         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16751         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16752         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16753         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16754         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16755         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16756         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16757         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16758         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16759         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16760         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16761         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16762         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16763         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16764         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16765         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16766         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16767         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16768         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16769         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16770         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16771         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16772         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16773         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16774         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16775         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16776         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16777         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16778         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16779         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16780         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16781         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16782         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16783         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16784         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16785         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16786         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16787         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16788         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16789         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16791 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16793         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16794         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16795         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16796         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16797         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16798         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16799         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16800         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16801         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16802         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16803         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16804         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16805         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16806         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16807         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16808         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16809         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16810         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16811         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16812         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16813         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16814         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16815         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16816         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16817         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16818         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16819         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16820         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16821         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16822         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16823         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16824         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16825         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16826         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16827         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16828         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16829         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16830         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16831         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16832         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16833         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16834         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16835         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16837 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16839         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16840         (dl_platform_init): Call init_cpu_features.
16841         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16842         * sysdeps/i386/i686/cacheinfo.c
16843         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16844         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16845         * sysdeps/i386/i686/multiarch/Versions: Removed.
16846         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16847         Removed.
16848         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16849         * sysdeps/unix/sysv/linux/x86/Makefile
16850         (libpthread-sysdep_routines): Remove init-arch.
16851         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16852         <sysdeps/x86_64/dl-procinfo.c> instead of
16853         sysdeps/generic/dl-procinfo.c>.
16854         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16855         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16856         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16857         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16858         [$(subdir) == elf] (tests-static): Add
16859         tst-get-cpu-features-static.
16860         * sysdeps/x86/Versions: New file.
16861         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16862         * sysdeps/x86/cpu-features.c: Likewise.
16863         * sysdeps/x86/cpu-features.h: Likewise.
16864         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16865         * sysdeps/x86/libc-start.c: Likewise.
16866         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16867         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16868         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16869         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16870         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16871         Assume USE_MULTIARCH is defined and don't check it.
16872         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16873         (is_amd): Likewise.
16874         (max_cpuid): Likewise.
16875         (intel_check_word): Likewise.
16876         (__cache_sysconf): Don't call __init_cpu_features.
16877         (__x86_preferred_memory_instruction): Removed.
16878         (init_cacheinfo): Don't call __init_cpu_features. Replace
16879         __cpu_features with GLRO(dl_x86_cpu_features).
16880         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16881         (dl_platform_init): Call init_cpu_features.
16882         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16883         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16884         * sysdeps/x86_64/multiarch/Versions: Removed.
16885         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16886         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16887         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16888         Removed.
16889         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16891 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16893         [BZ #18820]
16894         * libio/Makefile (test-fmemopen-mem): New test.
16895         * libio/test-fmemopen.c (do_bz18820): New test.
16896         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16897         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16899 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16901         [BZ #16734]
16902         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16903         (FREE_BUF): Delete.
16904         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16905         * libio/genops.c (_IO_setb): Use malloc and free directly.
16906         (_IO_default_doallocate, _IO_default_finish): Likewise.
16907         ( _IO_unbuffer_all): Likewise.
16908         ( libc_freeres_fn): Likewise.
16909         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16910         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16911         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16912         (_IO_wdefault_doallocate): Likewise.
16914 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16916         [BZ #18086]
16917         * sysdeps/posix/nice.c (nice): Restore old errno.
16918         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16920 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16922         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16924 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16926         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16927         __bcopy and add a weak_alias to bcopy.
16928         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16929         for static build.
16931         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16932         cleanup macro usage.
16933         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16934         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16935         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16936         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16937         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16938         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16939         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16940         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16941         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16942         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16943         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16944         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16945         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16946         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16947         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16948         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16949         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16950         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16951         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16953         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16954         libc_hidden_def.
16955         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16957         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16958         (sysdep_routines): Add strstr-ppc64.
16959         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16961 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16963         [BZ #18778]
16964         * elf/Makefile (tests): Add Add tst-nodelete2.
16965         (modules-names): Add tst-nodelete2mod.
16966         (tst-nodelete2mod.so-no-z-defs): New.
16967         ($(objpfx)tst-nodelete2): Likewise.
16968         ($(objpfx)tst-nodelete2.out): Likewise.
16969         (LDFLAGS-tst-nodelete2): Likewise.
16970         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16971         out of loop through all loaded libraries.
16972         * elf/tst-nodelete2.c: New file.
16973         * elf/tst-nodelete2mod.c: Likewise.
16974         * elf/tst-znodelete-zlib.cc: Delete.
16976 2015-08-11  Andreas Schwab  <schwab@suse.de>
16978         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16979         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16980         (__openat64_nocancel): Likewise.
16982 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16984         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16985         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16986         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16987         * math/auto-libm-test-out: Regenerated.
16988         * sysdeps/i386/fpu/libm-test-ulps: Update.
16989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16991 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16993         [BZ #18790]
16994         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16995         threshold for returning +/- 1.
16996         * math/auto-libm-test-in: Add more tests of tanh.
16997         * math/auto-libm-test-out: Regenerated.
16998         * sysdeps/i386/fpu/libm-test-ulps: Update.
17000 2015-08-10  Andreas Schwab  <schwab@suse.de>
17002         [BZ #18781]
17003         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17004         MORE_OFLAGS to oflag.
17005         * io/test-lfs.c (do_test): Test openat64.
17007 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17009         [BZ #18789]
17010         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17011         smaller threshold for returning the argument.
17012         * math/auto-libm-test-in: Add more tests of sinh.
17013         * math/auto-libm-test-out: Regenerated.
17014         * sysdeps/i386/fpu/libm-test-ulps: Update.
17016 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17018         [BZ #18674]
17019         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17020         break.
17022 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17024         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17025         (generated): Don't add $(addprefix z.,$(tzfiles)).
17027 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17029         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17030         * scripts/sysd-rules.awk: Likewise.
17032 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17034         * iconvdata/tst-tables.sh: Change echo -n to printf.
17035         * nss/db-Makefile: Likewise.
17036         * posix/tst-getconf.sh: Likewise.
17037         * stdio-common/tst-unbputc.sh: Likewise.
17039 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17041         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17042         MADV_*_PAGES defines behind this feature check.
17044 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17046         [BZ #18480]
17047         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17048         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17049         Define.
17050         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17051         LOAD_REGS_5, LOAD_REGS_6): Update.
17052         (INTERNAL_SYSCALL): Update using new LOAD defines.
17053         (INTERNAL_SYSCALL_NCS): Likewise.
17054         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17056 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17058         [BZ #16734]
17059         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17061 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17063         [BZ #17905]
17064         * catgets/Makefile (tst-catgets-mem): New test.
17065         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17066         * catgets/open_catalog.c (__open_catalog): Likewise.
17067         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17069 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17071         [BZ #18787]
17072         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17073         clobber registers.
17074         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17075         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17076         Cast return to __typeof (oldval).
17078 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17080         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17081         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17082         and delete sys/syscall.h include.
17084 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17086         [BZ #16517]
17087         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17088         (tan): Force underflow exception for arguments with small absolute
17089         value.
17090         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17091         (__kernel_tanf): Force underflow exception for arguments with
17092         small absolute value.
17093         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17094         (__kernel_tanl): Force underflow exception for arguments with
17095         small absolute value.
17096         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17097         (__kernel_tanl): Force underflow exception for arguments with
17098         small absolute value.
17099         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17100         (__kernel_tanl): Force underflow exception for arguments with
17101         small absolute value.
17102         * math/auto-libm-test-in: Add more tests of tan.
17103         * math/auto-libm-test-out: Regenerated.
17105 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17107         Fix sysdeps/i386/fpu/s_scalbn.S build
17109         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17111 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17113         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17115 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17117         Fix gcrt0.o compilation
17119         When static-start-installed-name is different from
17120         start-installed-name, we must not use the shared objects.
17122         * csu/Makefile
17123         (extra-objs): Add gmon-start.o when building shared library and
17124         $(static-start-installed-name) is different from
17125         $(start-installed-name).
17126         $(objpfx)g$(static-start-installed-name): When building shared
17127         library and $(static-start-installed-name) is different from
17128         $(static-start-installed-name), revert to non-shared rule,
17129         i.e. using $(objpfx)% and gmon-start.o.
17131 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17133         [BZ #16519]
17134         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17135         (__ieee754_sinh): Force underflow exception for arguments with
17136         small absolute value.
17137         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17138         (__ieee754_sinhf): Force underflow exception for arguments with
17139         small absolute value.
17140         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17141         (__ieee754_sinhl): Force underflow exception for arguments with
17142         small absolute value.
17143         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17144         (__ieee754_sinhl): Force underflow exception for arguments with
17145         small absolute value.
17146         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17147         (__ieee754_sinhl): Force underflow exception for arguments with
17148         small absolute value.
17149         * math/auto-libm-test-in: Add more tests of sinh.
17150         * math/auto-libm-test-out: Regenerated.
17151         * sysdeps/i386/fpu/libm-test-ulps: Update.
17153 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17155         * libio/oldfileops.c: Include unistd.h.
17157 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17159         * stdlib/isomac.c: Include ctype.h.
17161 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17163         * dirent/tst-seekdir.c (main): Converted to ...
17164         (do_test): ... this.
17165         (TEST_FUNCTION): New macro.
17166         Include test-skeleton.c.
17167         * elf/tst-dlmodcount.c (main): Converted to ...
17168         (do_test): ... this.
17169         (TEST_FUNCTION): New macro.
17170         Include test-skeleton.c.
17171         * elf/tst-order-main.c (main): Converted to ...
17172         (do_test): ... this.
17173         (TEST_FUNCTION): New macro.
17174         Include test-skeleton.c.
17175         * elf/tst-pie2.c (main): Converted to ...
17176         (do_test): ... this.
17177         (TEST_FUNCTION): New macro.
17178         Include test-skeleton.c.
17179         * inet/tst-ether_aton.c (main): Converted to ...
17180         (do_test): ... this.
17181         (TEST_FUNCTION): New macro.
17182         Include test-skeleton.c.
17183         * misc/tst-mntent.c (main): Converted to ...
17184         (do_test): ... this.
17185         (TEST_FUNCTION): New macro.
17186         Include test-skeleton.c.
17187         * misc/tst-tsearch.c (main): Converted to ...
17188         (do_test): ... this.
17189         (TEST_FUNCTION): New macro.
17190         Include test-skeleton.c.
17191         * posix/tst-regexloc.c (main): Converted to ...
17192         (do_test): ... this.
17193         (TEST_FUNCTION): New macro.
17194         Include test-skeleton.c.
17195         * resolv/tst-aton.c (main): Converted to ...
17196         (do_test): ... this.
17197         (TEST_FUNCTION): New macro.
17198         Include test-skeleton.c.
17199         * stdio-common/test-fwrite.c (main): Converted to ...
17200         (do_test): ... this.
17201         (TEST_FUNCTION): New macro.
17202         Include test-skeleton.c.
17203         * stdio-common/tst-ferror.c (main): Converted to ...
17204         (do_test): ... this.
17205         (TEST_FUNCTION): New macro.
17206         Include test-skeleton.c.
17207         * stdio-common/tst-printf.c (main): Converted to ...
17208         (do_test): ... this.
17209         (TEST_FUNCTION): New macro.
17210         Include test-skeleton.c.
17211         * stdio-common/tst-printfsz.c (main): Converted to ...
17212         (do_test): ... this.
17213         (TEST_FUNCTION): New macro.
17214         Include test-skeleton.c.
17215         * stdlib/tst-strtod.c (main): Converted to ...
17216         (do_test): ... this.
17217         (TEST_FUNCTION): New macro.
17218         Include test-skeleton.c.
17219         * string/tst-strlen.c (main): Converted to ...
17220         (do_test): ... this.
17221         (TEST_FUNCTION): New macro.
17222         Include test-skeleton.c.
17223         * string/tst-svc.c (main): Converted to ...
17224         (do_test): ... this.
17225         (TEST_FUNCTION): New macro.
17226         Include test-skeleton.c.
17227         * time/tst-strptime.c (main): Converted to ...
17228         (do_test): ... this.
17229         (TEST_FUNCTION): New macro.
17230         Include test-skeleton.c.
17231         * timezone/tst-timezone.c (main): Converted to ...
17232         (do_test): ... this.
17233         (TEST_FUNCTION): New macro.
17234         Include test-skeleton.c.
17236 2015-08-05  Zack Weinberg  <zackw@panix.com>
17238         * misc/regexp.h: Update comments.
17240 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17242         [BZ #18635]
17243         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17244         before return label.
17246 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17248         [BZ #18661]
17249         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17250         when calling __errno_location.
17251         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17252         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17254 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17256         [BZ #18661]
17257         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17258         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17259         __gettimeofday.
17261 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17263         [BZ #18661]
17264         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17265         (__start_context): Don't use pop to restore %rdi so that stack
17266         is aligned to 16 bytes when calling __setcontext.
17268 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17270         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17271         only for libc.
17272         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17274 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17276         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17277         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17278         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17280 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17282         * string/memccpy.c (memccpy):
17283         Improve performance by using memchr/memcpy/__mempcpy.
17285 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17287         * string/strncpy.c (strncpy):
17288         Improve performance by using __strnlen/memcpy.
17290 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17292         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17293         Optimize to avoid an unnecessary FPCR read.
17295 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17297         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17298         Optimize to reduce FPCR/FPSR accesses.
17300 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17302         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17303         dead->data[category] != NULL.
17305 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17307         [BZ #18647]
17308         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17309         and |x| close to 1, use absolute value of x when computing log.
17310         * math/auto-libm-test-in: Add more tests of pow.
17311         * math/auto-libm-test-out: Regenerated.
17313 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17315         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17316         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17317         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17319 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17321         [BZ #18525]
17322         * locales/km_KH: Remove timezone definition.
17323         * locales/lo_LA: Likewise.
17324         * locales/my_MM: Likewise.
17325         * locales/nan_TW@latin: Likewise.
17326         * locales/th_TH: Likewise.
17327         * locales/uk_UA: Likewise.
17329 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17331         [BZ #18265]
17332         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17333         (wcsncat): Likewise.
17334         (wcscmp): Likewise.
17335         (wcsncmp): Likewise.
17337 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17339         * test-skeleton.c (usage): New function.
17340         (main): Call usage when opt is '?'.
17342 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17344         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17345         before first use.
17347 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17349         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17350         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17351         in there too.
17353 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17355         * version.h (RELEASE): Set to "development".
17356         (VERSION): Set to "2.22.90"
17358         * version.h (RELEASE): Set to "stable".
17359         (VERSION): Set to "2.22"
17360         * include/features.h (__GLIBC_MINOR__): Set to 22.
17362 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17364         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17365         Restructure macro to avoid "value computed is not used" warning.
17366         (atomic_compare_and_exchange_val_acq): Likewise.
17368 2015-08-04  Andreas Schwab  <schwab@suse.de>
17370         [BZ #18635]
17371         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17372         ret.
17373         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17375 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17377         * po/pl.po: Updated translation.
17378         * po/uk.po: Likewise.
17379         * po/fi.po: Likewise.
17380         * po/ko.po: Likewise.
17381         * po/ru.po: Likewise.
17382         * po/vi.po: Likewise.
17384 2015-07-31  Zack Weinberg  <zackw@panix.com>
17386         [BZ #18681]
17387         * regexp.h: Add unconditional #warning stating that this header
17388         will be removed soon.  Revise banner comment to match.
17389         (compile): Consistently use ERROR instead of RETURN to report
17390         errors (partial fix for bz#18681).
17391         * regexp.c: Don't include regexp.h. Remove some unnecessary
17392         declarations.
17394 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17396         * po/libc.pot: Regenerated.
17398 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17400         [BZ #18740]
17401         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17402         float-vlen4-arch-ext-cflags): Removed.
17403         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17404         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17406 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17408         [BZ #14113]
17409         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17410         aligned to __aligned__.
17411         (pthread_cond_t, pthread_rwlock_t): Likewise.
17413 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17415         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17417 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17419         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17420         (struct sigaction): Change sa_flags from a long to an int, and add
17421         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17423 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17425         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17426         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17427         sysdeps/generic/sysdep.h include.
17428         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17429         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17430         sysdeps/hppa/sysdep.h.
17431         (ENTRY, PSEUDO): Undefine before defining.
17433 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17435         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17436         from scratch to use INTERNAL_SYSCALL.
17438 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17440         [BZ #18078]
17441         * scripts/check-localplt.awk: Support alternate relocations.
17442         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17443         sections.
17444         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17445         malloc entries with + REL R_386_GLOB_DAT.
17446         * sysdeps/x86_64/localplt.data: New file.
17448 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17450         [BZ #18731]
17451         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17452         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17453         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17455 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17457         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17459 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17461         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17462         directly in terms of __sync_fetch_and_add and delete (int) cast.
17464 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17466         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17467         the -D_ASM_IA64_CURRENT_H flag.
17469 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17471         [BZ #18641]
17472         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17474 2015-07-27  Andreas Schwab  <schwab@suse.de>
17476         * conform/conformtest.pl (checknamespace): Filter out string
17477         literals while tokenizing.
17479 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17481         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17482         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17483         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17485 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17487         * nptl/tst-join7mod.c: Add #include <string.h>.
17489 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17491         * sysdeps/nios2/libm-test-ulps: Update.
17493 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17495         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17496         Fix order of arguments to the rt_sigprocmask syscall.
17497         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17498         Likewise.
17500 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17502         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17504 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17506         [BZ #18457]
17507         * nptl/Makefile (tests): New test case tst-join7.
17508         (modules-names): New test case module tst-join7mod.
17509         * nptl/tst-join7.c: New file.
17510         * nptl/tst-join7mod.c: New file.
17511         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17512         all translation units in libc.so, libpthread.so and rtld.
17514 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17518 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17520         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17521         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17522         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17523         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17524         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17525         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17526         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17527         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17528         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17529         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17530         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17531         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17532         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17533         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17534         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17535         implementation.
17537 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17539         [BZ #17711]
17540         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17541         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17542         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17543         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17544         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17545         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17547 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17549         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17550         instead of just saying load lock in the comments.
17552 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17554         * sysdeps/unix/Subdirs: Moved ...
17555         * sysdeps/posix/Subdirs: ... here.
17556         * login/pty.h (struct termios, struct winsize): Add forward decls.
17557         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17558         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17559         * sysdeps/arm/nacl/libc.abilist: Updated.
17560         * sysdeps/nacl/libutil.abilist: New file.
17562         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17563         (SIGWINCH): New macro.
17565         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17566         * sysdeps/arm/nacl/libc.abilist: Add it.
17568 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17570         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17572 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17574         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17575         Swap __glibc_reserved0 and sa_flags order.
17577 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17579         [BZ #18657]
17580         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17581         are pending TLS destructor calls.
17582         * include/link.h (struct link_map): Add concurrency note for
17583         L_TLS_DTOR_COUNT.
17584         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17585         Don't touch the link map flag.  Atomically increment
17586         l_tls_dtor_count.
17587         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17588         Avoid taking the load lock and don't touch the link map flag.
17589         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17590         * stdlib/Makefile (tests): Use it.
17591         * stdlib/tst-tls-atexit.c (do_test): dlopen
17592         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17593         to allow tst-tls-atexit-nodelete test case to use it.
17595 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17597         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17598         to bits/types.h.
17599         (msgqnum_t): New typedef.
17600         (msglen_t): Likewise.
17601         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17602         and msg_qbytes type to msglen_t.
17604 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17606         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17607         pad0 to __glibc_reserved0.
17608         (struct stat64): Likewise.
17610 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17612         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17613         Change sa_flags from a long to an int and add __glibc_reserved0 before
17614         it for padding.
17616 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17618         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17619         anonymous by deleting "siginfo" name.
17621 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17623         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17624         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17625         rather than __nacl_irt_filename.
17626         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17628         * NEWS: New item for arm-nacl port.
17629         * sysdeps/arm/nacl/libc.abilist: New file.
17630         * sysdeps/nacl/ld.abilist: New file.
17631         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17632         * sysdeps/nacl/libanl.abilist: New file.
17633         * sysdeps/nacl/libcrypt.abilist: New file.
17634         * sysdeps/nacl/libdl.abilist: New file.
17635         * sysdeps/nacl/libm.abilist: New file.
17636         * sysdeps/nacl/libpthread.abilist: New file.
17637         * sysdeps/nacl/libresolv.abilist: New file.
17638         * sysdeps/nacl/librt.abilist: New file.
17640 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17642         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17643         __startcontext to initialize the new context.
17644         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17645         up CFI directive to forbid further backtracing.
17647 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17649         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17650         reference.
17651         * charmaps/ANSI_X3.4-1968: Likewise.
17652         * charmaps/BS_4730: Likewise.
17653         * charmaps/BS_VIEWDATA: Likewise.
17654         * charmaps/CP1250: Likewise.
17655         * charmaps/CP1251: Likewise.
17656         * charmaps/CP1252: Likewise.
17657         * charmaps/CP1253: Likewise.
17658         * charmaps/CP1254: Likewise.
17659         * charmaps/CP1255: Likewise.
17660         * charmaps/CP1256: Likewise.
17661         * charmaps/CSN_369103: Likewise.
17662         * charmaps/EBCDIC-DK-NO: Likewise.
17663         * charmaps/GB_1988-80: Likewise.
17664         * charmaps/GREEK-CCITT: Likewise.
17665         * charmaps/GREEK7: Likewise.
17666         * charmaps/INIS-8: Likewise.
17667         * charmaps/ISIRI-3342: Likewise.
17668         * charmaps/ISO_2033-1983: Likewise.
17669         * charmaps/ISO_5427-EXT: Likewise.
17670         * locales/POSIX: Likewise.
17671         * locales/ar_SA: Likewise.
17672         * locales/be_BY: Likewise.
17673         * locales/be_BY@latin: Likewise.
17674         * locales/ca_ES: Likewise.
17675         * locales/cs_CZ: Likewise.
17676         * locales/da_DK: Likewise.
17677         * locales/de_BE: Likewise.
17678         * locales/de_CH: Likewise.
17679         * locales/de_LU: Likewise.
17680         * locales/en_AU: Likewise.
17681         * locales/en_BW: Likewise.
17682         * locales/en_CA: Likewise.
17683         * locales/en_DK: Likewise.
17684         * locales/en_GB: Likewise.
17685         * locales/en_IE: Likewise.
17686         * locales/en_NZ: Likewise.
17687         * locales/en_ZA: Likewise.
17688         * locales/en_ZW: Likewise.
17689         * locales/es_AR: Likewise.
17690         * locales/es_BO: Likewise.
17691         * locales/es_CL: Likewise.
17692         * locales/es_CO: Likewise.
17693         * locales/es_DO: Likewise.
17694         * locales/es_EC: Likewise.
17695         * locales/es_ES: Likewise.
17696         * locales/es_HN: Likewise.
17697         * locales/es_MX: Likewise.
17698         * locales/es_PA: Likewise.
17699         * locales/es_PE: Likewise.
17700         * locales/es_PY: Likewise.
17701         * locales/es_SV: Likewise.
17702         * locales/es_US: Likewise.
17703         * locales/es_UY: Likewise.
17704         * locales/es_VE: Likewise.
17705         * locales/et_EE: Likewise.
17706         * locales/fa_IR: Likewise.
17707         * locales/fo_FO: Likewise.
17708         * locales/fr_CA: Likewise.
17709         * locales/fr_CH: Likewise.
17710         * locales/gv_GB: Likewise.
17711         * locales/he_IL: Likewise.
17712         * locales/hr_HR: Likewise.
17713         * locales/id_ID: Likewise.
17714         * locales/is_IS: Likewise.
17715         * locales/it_CH: Likewise.
17716         * locales/iw_IL: Likewise.
17717         * locales/kl_GL: Likewise.
17718         * locales/ko_KR: Likewise.
17719         * locales/kw_GB: Likewise.
17720         * locales/lg_UG: Likewise.
17721         * locales/lt_LT: Likewise.
17722         * locales/lv_LV: Likewise.
17723         * locales/mi_NZ: Likewise.
17724         * locales/nhn_MX: Likewise.
17725         * locales/nl_BE: Likewise.
17726         * locales/pl_PL: Likewise.
17727         * locales/sk_SK: Likewise.
17728         * locales/sl_SI: Likewise.
17729         * locales/sv_FI: Likewise.
17730         * locales/tl_PH: Likewise.
17731         * locales/tr_TR: Likewise.
17732         * locales/vi_VN: Likewise.
17734 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17736         [BZ #17475]
17737         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17738         of tu_IN and bh_IN.
17740 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17742         [BZ #18694]
17743         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17744         bits/wordsize.h.
17745         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17747 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17749         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17750         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17751         (spawn_thread): New function.
17752         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17753         (do_test): ... here.  Use IS_LOADED to test for its
17754         availability.
17756 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17758         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17760 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17762         [BZ #18696]
17763         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17764         si_addr_bnd.
17765         (si_lower): New.
17766         (si_upper): Likewise.
17768 2015-07-16  David S. Miller  <davem@davemloft.net>
17770         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17772 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17774         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17775         buffer.
17776         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17777         fail output information.
17779 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17782         and strstr-ppc64..
17783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17784         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17785         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17786         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17787         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17789 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17791         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17792         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17793         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17794         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17796 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17798         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17799         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17800         rtld_hidden_proto.
17801         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17803 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17805         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17806         the test can fail.
17808         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17810         [BZ #18676]
17811         * elf/tst-nodelete-opened.c: New test case.
17812         * elf/tst-nodelete-opened-lib.c: New test case module.
17813         * elf/Makefile (tests, modules-names): Use them.
17814         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17815         early.
17817 2015-07-15  David S. Miller  <davem@davemloft.net>
17819         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17820         futex-intenal.h
17821         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17822         * sysdeps/sparc/sparc64/Makefile: Likewise.
17823         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17824         Remove space from macro define.
17825         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17827 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17829         [BZ #17475]
17830         * locale/iso-639.def: Update Bhili and Tulu language codes as
17831         per iso639-3.
17833 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17835         * elf/tst-leaks1.c (main): Converted to ...
17836         (do_test): ... this.
17837         (TEST_FUNCTION): New macro.
17838         Include test-skeleton.c.
17839         * localedata/tst-langinfo.c (main): Converted to ...
17840         (do_test): ... this.
17841         (TEST_FUNCTION): New macro.
17842         Include test-skeleton.c.
17843         * math/test-fpucw.c (main): Converted to ...
17844         (do_test): ... this.
17845         (TEST_FUNCTION): New macro.
17846         Include test-skeleton.c.
17847         * math/test-tgmath.c (main): Converted to ...
17848         (do_test): ... this.
17849         (TEST_FUNCTION): New macro.
17850         Include test-skeleton.c.
17851         * math/test-tgmath2.c (main): Converted to ...
17852         (do_test): ... this.
17853         (TEST_FUNCTION): New macro.
17854         Include test-skeleton.c.
17855         * setjmp/tst-setjmp.c (main): Converted to ...
17856         (do_test): ... this.
17857         (TEST_FUNCTION): New macro.
17858         Include test-skeleton.c.
17859         * stdio-common/tst-sscanf.c (main): Converted to ...
17860         (do_test): ... this.
17861         (TEST_FUNCTION): New macro.
17862         Include test-skeleton.c.
17863         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17864         (do_test): ... this.
17865         (TEST_FUNCTION): New macro.
17866         Include test-skeleton.c.
17868         * elf/tst-audit9.c (main): Converted to ...
17869         (do_test): ... this.
17870         (TEST_FUNCTION): New macro.
17871         Include test-skeleton.c.
17873 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17875         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17877 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17879         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17880         New variable.
17882 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17884         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17886 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17888         * sysdeps/generic/dl-fileid.h: New file.
17889         * sysdeps/posix/dl-fileid.h: New file.
17890         * sysdeps/nacl/dl-fileid.h: New file.
17891         * include/link.h: Include <dl-fileid.h>.
17892         (struct link_map): Replace l_dev and l_ino with l_file_id.
17893         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17894         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17895         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17897 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17899         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17901 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17903         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17904         Add iff $CXX is set.
17905         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17906         Likewise.
17907         (tst-nodelete-zmodiff): Likewise.
17908         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17910 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17912         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17914 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17916         * sysdeps/aarch64/fpu/math_private.h
17917         (define math_opt_barrier): Add AArch64 version.
17918         (math_force_eval): Likewise.
17920 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17922         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17924 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17926         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17927         %ld with %jd and cast to intmax_t.
17928         (do_test_length_zero): Likewise.
17930 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17932         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17934 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17936         * sysdeps/tile/libm-test-ulps: Regenerated.
17938         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17939         Comment out the whole function, not just its body.
17941 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17943         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17944         locks.
17946         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17948 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17950         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17951         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17953 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17955         * sysdeps/nptl/futex-internal.h: New file.
17956         * sysdeps/nacl/futex-internal.h: New file.
17957         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17958         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17959         error checking.
17960         (setxid_unmark_thread): Likewise.
17961         (__nptl_setxid): Likewise.
17962         (__wait_lookup_done): Likewise.
17963         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17964         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17965         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17966         * nptl/pthread_once.c (clear_once_control): Likewise.
17967         (__pthread_once_slow): Likewise.
17968         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17969         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17970         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17971         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17972         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17973         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17974         Likewise.
17975         (__pthread_rwlock_rdlock): Likewise.
17976         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17977         Likewise.
17978         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17979         Likewise.
17980         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17981         Likewise.
17982         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17983         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17984         Likewise.
17985         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17986         __ASSUME_PRIVATE_FUTEX check.
17987         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17988         Check that shared futexes are supported.
17989         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17990         wrappers with error checking.
17991         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17992         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17993         * nptl/pthread_barrierattr_setpshared.c
17994         (pthread_barrierattr_setpshared): Check that shared futexes are
17995         supported.
17996         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17997         Likewise.
17998         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17999         Likewise.
18000         * nptl/sem_init.c (futex_private_if_supported): Remove.
18001         (__new_sem_init): Adapt and check that shared futexes are supported.
18002         * nptl/sem_open.c (sem_open): Likewise.
18003         * nptl/sem_post.c (futex_wake): Remove.
18004         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18005         (do_futex_wait): Use futex wrappers with error checking.
18006         * nptl/sem_wait.c: Include lowlevellock.h.
18007         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18008         Use futex_supports_pshared.
18009         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18010         Use futex wrappers with error checking.
18011         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18012         Likewise.
18013         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18014         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18015         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18016         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18017         (futex_wake): Likewise.
18018         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18019         (do_futex_wait): Use futex wrappers with error checking.
18020         (__new_sem_wait_slow): Update EINTR handling.
18021         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18023 2015-07-09  Martin Sebor  <msebor@redhat.com>
18025         [BZ #18435]
18026         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18027         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18028         * nptl/Makefile (test-xfail-tst-once5): Define.
18030 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18032         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18033         * elf/dl-minimal.c: For readability, reorder some definitions and
18034         introduce more page breaks.  Include <stdio.h>.
18035         (__libc_fatal): New function.
18037         * include/unistd.h: Add rtld_hidden_proto for _exit.
18038         * posix/_exit.c: Add rtld_hidden_def.
18039         * sysdeps/mach/hurd/_exit.c: Likewise.
18040         * sysdeps/nacl/_exit.c: Likewise.
18041         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18042         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18044 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18046         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18047         bndmov encoding with zero displacement.
18049 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18050             H.J. Lu  <hongjiu.lu@intel.com>
18052         [BZ #18134]
18053         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18054         * sysdeps/i386/configure: Regenerated.
18055         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18056         (_dl_runtime_profile): Save and restore Intel MPX return bound
18057         registers when calling _dl_call_pltexit.  Add
18058         PRESERVE_BND_REGS_PREFIX before return.
18059         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18060         (LRV_BND1_OFFSET): Likewise.
18061         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18062         lrv_bnd1.
18063         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18064         typo in bndmov encoding.
18065         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18066         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18067         branch instructions to preserve bounds.
18069 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18072         [GLIBC_2.22]: Add fmemopen.
18074 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18076         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18077         returns an error, also try to use host port from __mach_host_self for
18078         the __vm_wire call.
18079         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18081 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18083         [BZ #18400]
18084         [BZ #18648]
18085         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18086         Fix pr_uid and pr_gid members.
18087         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18088         definition to elf_greg_t.
18090 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18092         [BZ #18383]
18093         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18094         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18095         * sysdeps/arm/configure: Regenerated.
18096         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18097         (test-xfail-tst-tlsalign-static): Variable removed.
18099         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18100         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18101         rather than explicit 'ln -s'.
18103         * resolv/rpc/netdb.h: New file.
18104         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18106 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18108         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18109         length buffers.
18110         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18111         test-skeleton.c.
18113         [BZ #6544]
18114         [BZ #11216]
18115         [BZ #12836]
18116         [BZ #13151]
18117         [BZ #13152]
18118         [BZ #14292]
18119         * include/stdio.h (fmemopen): Remove hidden prototype.
18120         (__fmemopen): Add new hidden prototype.
18121         * libio/Makefile: Add oldfmemopen object.
18122         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18123         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18124         compliance.
18125         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18126         symbol compatibility.
18127         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18128         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18129         fmemopen.
18130         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18131         on append and read mode.
18132         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18133         fmemopen.
18134         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18135         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18136         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18137         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18138         Likewise.
18139         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18140         [GLIBC_2.22]: Likewise.
18141         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18142         Likewise.
18143         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18144         Likewise.
18145         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18146         [GLIBC_2.22]: Likewise.
18147         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18148         [GLIBC_2.22]: Likewise.
18149         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18150         [GLIBC_2.22]: Likewise.
18151         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18152         [GLIBC_2.22]: Likewise.
18153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18154         [GLIBC_2.22]: Likewise.
18155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18156         [GLIBC_2.22]: Likewise.
18157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18158         [GLIBC_2.22]: Likewise.
18159         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18160         Likewise.
18161         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18162         Likewise.
18163         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18164         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18165         [GLIBC_2.22]: Likewise.
18166         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18167         [GLIBC_2.22]: Likewise.
18168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18169         [GLIBC_2.22]: Likewise.
18170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18171         [GLIBC_2.22]: Likewise.
18172         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18173         Likewise.
18174         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18175         Likewise.
18176         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18177         Likewise.
18178         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18179         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18181 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18183         [BZ #18643]
18184         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18185         IPV6_PATHMTU, and IPV6_DONTFRAG.
18187 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18189         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18190         and _IO_UNBUFFERED.
18191         * libio/oldfileops.c: Likewise.
18192         * libio/wfileops.c: Likewise.
18194 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18196         * nscd/selinux.c: Delete selinux/flask.h include.
18198 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18200         [BZ #18641]
18201         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18202         (putpwent): Likewise.
18203         (getpwnam): Likewise.
18204         (getpwent_r): Likewise.
18205         (getpwuid_r): Likewise.
18206         (getpwnam_r): Likewise.
18207         (fgetpwent_r): Likewise.
18209 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18211         [BZ #18557]
18212         * inet/rcmd.c (__validuser2_sa): Check user first to
18213         short-circuit host check.
18215 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18216             Mikhail Ilin  <m.ilin@samsung.com>
18218         [BZ #17833]
18219         * elf/Makefile (tests): Add tst-nodelete.
18220         (modules-names): Add tst-nodelete-uniquemod.
18221         (tst-nodelete-uniquemod.so-no-z-defs): New.
18222         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18223         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18224         ($(objpfx)tst-nodelete): Likewise.
18225         ($(objpfx)tst-nodelete.out): Likewise.
18226         (LDFLAGS-tst-nodelete): Likewise.
18227         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18228         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18229         implement forced object deletion.
18230         (_dl_close): Pass false to _dl_close_worker.
18231         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18232         * elf/tst-nodelete.cc: New file.
18233         * elf/tst-nodeletelib.cc: Likewise.
18234         * elf/tst-znodeletelib.cc: Likewise.
18235         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18237 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18239         [BZ #18508]
18240         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18241         Depend on $(libdl).
18242         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18243         is not called infinitely times.
18244         (backtrace_helper): New function.
18245         (trace_arg): New struct.
18246         (st1): Enlarge stack size.
18247         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18248         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18249         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18250         Likewise.
18252 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18254         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18256 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18258         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18259         Include sys/types.h instead of bits/types.h.
18260         Remove inclusion of bits/wordsize.h.
18262 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18264         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18265         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18266         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18267         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18268         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18269         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18271 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18273         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18274         link-defines.sym.
18275         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18276         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18277         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18278         and LR_SIZE.
18279         * sysdeps/i386/link-defines.sym: New file.
18281 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18283         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18284         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18285         ($(objpfx)tst-audit3): New rule.
18286         ($(objpfx)tst-audit3.out): Likewise.
18287         * sysdeps/i386/tst-audit3.c: New file.
18288         * sysdeps/i386/tst-audit3.h: Likewise.
18289         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18290         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18292 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18294         [BZ #18633]
18295         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18296         pointer in C code.
18297         (__strcat_c): Likewise.
18298         (__strcat_g): Likewise.
18300 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18302         [BZ #18592]
18303         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18305 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18307         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18308         New function.  (__ieee754_sqrtf): New function.
18309         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18310         New function.
18311         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18312         New function.
18314 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18316         * sysdeps/ieee754/support.c: Remove unused file.
18318 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18320         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18321         registers instead of d ones so the layout is kernel abi compatible.
18322         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18323         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18324         Likewise.
18326 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18328         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18330 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18332         [BZ #18619]
18333         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18334         and return argument in case of subnormal argument.
18336 2015-07-01  Martin Sebor  <msebor@redhat.com>
18338         [BZ #18435]
18339         * nptl/Makefile: Add tst-once5.cc.
18340         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18341         Remove macro redefinitions.
18342         * nptl/tst-once5.cc: New test.
18344 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18346         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18348         * sysdeps/arm/libm-test-ulps: Regenerated.
18350         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18351         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18353 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18355         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18356         lll_lock_wait_private and lll_futex_wake probes.
18358         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18359         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18360         Likewise.
18361         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18362         atomic_spin_nop.
18363         * sysdeps/x86_64/bits/atomic.h: Likewise.
18364         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18365         to atomic_spin_nop and move ...
18366         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18367         ... here and ...
18368         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18369         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18370         atomic_spin_nop instead of BUSY_WAIT_NOP.
18371         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18372         Likewise.
18373         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18374         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18375         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18376         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18377         instead of atomic_delay.
18379 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18381         [BZ #18613]
18382         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18383         X_ADJ not X when adjusting exponent.
18384         (__ieee754_gamma_r): Do intermediate computations in
18385         round-to-nearest then adjust overflowing and underflowing results
18386         as needed.
18387         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18388         of X_ADJ not X when adjusting exponent.
18389         (__ieee754_gammaf_r): Do intermediate computations in
18390         round-to-nearest then adjust overflowing and underflowing results
18391         as needed.
18392         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18393         log of X_ADJ not X when adjusting exponent.
18394         (__ieee754_gammal_r): Do intermediate computations in
18395         round-to-nearest then adjust overflowing and underflowing results
18396         as needed.  Use 1.0L not 1.0f as numerator of division.
18397         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18398         log of X_ADJ not X when adjusting exponent.
18399         (__ieee754_gammal_r): Do intermediate computations in
18400         round-to-nearest then adjust overflowing and underflowing results
18401         as needed.  Use 1.0L not 1.0f as numerator of division.
18402         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18403         of X_ADJ not X when adjusting exponent.
18404         (__ieee754_gammal_r): Do intermediate computations in
18405         round-to-nearest then adjust overflowing and underflowing results
18406         as needed.  Use 1.0L not 1.0f as numerator of division.
18407         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18408         to auto-libm-test-in.
18409         (tgamma_test): Use ALL_RM_TEST.
18410         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18411         tests of tgamma with spurious-overflow.
18412         * math/auto-libm-test-out: Regenerated.
18413         * math/gen-libm-have-vector-test.sh: Do not check for START.
18414         * sysdeps/i386/fpu/libm-test-ulps: Update.
18415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18417         [BZ #18612]
18418         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18419         arguments, just return 0.5 times the argument, with underflow
18420         forced as needed.
18421         * math/auto-libm-test-in: Add more tests of j1.
18422         * math/auto-libm-test-out: Regenerated.
18424         [BZ #16559]
18425         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18426         (__ieee754_j1): Force underflow exception for small results.
18427         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18428         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18429         (__ieee754_j1f): Force underflow exception for small results.
18430         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18431         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18432         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18433         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18434         (__ieee754_j1l): Force underflow exception for small results.
18435         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18436         * math/auto-libm-test-in: Add more tests of j1 and jn.
18437         * math/auto-libm-test-out: Regenerated.
18439         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18440         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18441         (PF_MPLS): Likewise.
18442         (AF_IB): Likewise.
18443         (AF_MPLS): Likewise.
18444         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18445         value and macro.
18446         (MS_RMT_MASK): Include MS_LAZYTIME.
18448 2015-06-26  Mel Gorman  <mgorman@suse.de>
18450         [BZ #18502]
18451         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18452         already minimal.
18454 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18456         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18457         (DT_MIPS_NUM): Update.
18458         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18459         DT_MIPS_RLD_MAP_REL.
18461 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18463         [BZ #16559]
18464         [BZ #18602]
18465         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18466         round-to-nearest internally then recompute results that
18467         underflowed to zero in the original rounding mode.
18468         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18469         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18470         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18471         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18472         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18473         * sysdeps/i386/fpu/libm-test-ulps: Update.
18474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18476 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18478         * NEWS: Fixed description of link with vector math library.
18480 2015-06-25  Andreas Schwab  <schwab@suse.de>
18482         [BZ #18549]
18483         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18484         * libio/test-fmemopen.c (do_test): Add test for it.
18486 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18488         [BZ #17841]
18489         * Makeconfig (no-pie-ldflag): New.
18490         (+link): Set to $(+link-pie) if default to PIE.
18491         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18492         * config.make.in (build-pie-default): New.
18493         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18494         is default.  AC_SUBST.
18495         * configure: Regenerated.
18496         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18498 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18500         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18501         to 'unsigned int'.
18503         * resolv/gai_misc.h (struct waitlist): Change type of field
18504         counterp to 'volatile unsigned int *'.
18505         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18506         FUTEXADDR and OLDVAL.
18507         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18508         Give local variable TOTAL type 'volatile unsigned int'.
18509         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18510         * resolv/gai_suspend.c (gai_suspend):
18511         Give local variable CNTR type 'unsigned int'.
18513         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18514         counterp to 'volatile unsigned int *'.
18515         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18516         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18517         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18518         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18519         Give local variable TOTAL type 'volatile unsigned int'.
18520         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18522 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18524         [BZ #18383]
18525         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18526         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18527         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18528         comment for i386/x86-64.
18529         (test-xfail-tst-tlsalign-extern-static): Removed.
18531 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18533         * math/test-double.h: New file.
18534         * math/test-float.h: Likewise.
18535         * math/test-ldouble.h: Likewise.
18536         * math/test-math-inline.h: Likewise.
18537         * math/test-math-no-inline.h: Likewise.
18538         * math/test-math-scalar.h: Likewise.
18539         * math/test-math-vector.h: Likewise.
18540         * math/test-vec-loop.h: Remove file.  Contents moved into
18541         test-math-vector.h.
18542         * math/libm-test.inc (MATHCONST): Do not document macro.
18543         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18544         and test-math-scalar.h.
18545         (FUNC): Remove macro.
18546         (FUNC_TEST): Likewise.
18547         (FLOAT): Likewise.
18548         (MATHCONST): Likewise.
18549         (PRINTF_EXPR): Likewise.
18550         (PRINTF_XEXPR): Likewise.
18551         (PRINTF_NEXPR): Likewise.
18552         (TEST_DOUBLE): Likewise.
18553         (TEST_MATHVEC): Likewise.
18554         (__NO_MATH_INLINES): Likewise.
18555         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18556         and test-math-scalar.h.
18557         (FUNC): Remove macro.
18558         (FUNC_TEST): Likewise.
18559         (FLOAT): Likewise.
18560         (MATHCONST): Likewise.
18561         (PRINTF_EXPR): Likewise.
18562         (PRINTF_XEXPR): Likewise.
18563         (PRINTF_NEXPR): Likewise.
18564         (TEST_FLOAT): Likewise.
18565         (TEST_MATHVEC): Likewise.
18566         (__NO_MATH_INLINES): Likewise.
18567         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18568         and test-math-scalar.h.
18569         (FUNC): Remove macro.
18570         (FUNC_TEST): Likewise.
18571         (FLOAT): Likewise.
18572         (MATHCONST): Likewise.
18573         (PRINTF_EXPR): Likewise.
18574         (PRINTF_XEXPR): Likewise.
18575         (PRINTF_NEXPR): Likewise.
18576         (TEST_DOUBLE): Likewise.
18577         (TEST_MATHVEC): Likewise.
18578         (TEST_INLINE): Likewise.
18579         (__NO_MATH_INLINES): Likewise.
18580         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18581         test-math-scalar.h.
18582         (FUNC): Remove macro.
18583         (FUNC_TEST): Likewise.
18584         (FLOAT): Likewise.
18585         (MATHCONST): Likewise.
18586         (PRINTF_EXPR): Likewise.
18587         (PRINTF_XEXPR): Likewise.
18588         (PRINTF_NEXPR): Likewise.
18589         (TEST_FLOAT): Likewise.
18590         (TEST_MATHVEC): Likewise.
18591         (TEST_INLINE): Likewise.
18592         (__NO_MATH_INLINES): Likewise.
18593         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18594         and test-math-scalar.h.
18595         (FUNC): Remove macro.
18596         (FUNC_TEST): Likewise.
18597         (FLOAT): Likewise.
18598         (MATHCONST): Likewise.
18599         (PRINTF_EXPR): Likewise.
18600         (PRINTF_XEXPR): Likewise.
18601         (PRINTF_NEXPR): Likewise.
18602         (TEST_LDOUBLE): Likewise.
18603         (TEST_MATHVEC): Likewise.
18604         (TEST_INLINE): Likewise.
18605         (__NO_MATH_INLINES): Likewise.
18606         * math/test-ldouble.c: Include test-ldouble.h,
18607         test-math-no-inline.h and test-math-scalar.h.
18608         (FUNC): Remove macro.
18609         (FUNC_TEST): Likewise.
18610         (FLOAT): Likewise.
18611         (MATHCONST): Likewise.
18612         (PRINTF_EXPR): Likewise.
18613         (PRINTF_XEXPR): Likewise.
18614         (PRINTF_NEXPR): Likewise.
18615         (TEST_LDOUBLE): Likewise.
18616         (TEST_MATHVEC): Likewise.
18617         (__NO_MATH_INLINES): Likewise.
18618         * math/test-double-vlen2.h: Include test-double.h,
18619         test-math-no-inline.h and test-math-vector.h.
18620         (FLOAT): Remove macro.
18621         (FUNC): Likewise.
18622         (MATHCONST): Likewise.
18623         (PRINTF_EXPR): Likewise.
18624         (PRINTF_XEXPR): Likewise.
18625         (PRINTF_NEXPR): Likewise.
18626         (TEST_DOUBLE): Likewise.
18627         (TEST_MATHVEC): Likewise.
18628         (__NO_MATH_INLINES): Likewise.
18629         (CNCT): Likewise.
18630         (CONCAT): Likewise.
18631         (WRAPPER_NAME): Likewise.
18632         (WRAPPER_DECL): Likewise.
18633         (WRAPPER_DECL_ff): Likewise.
18634         (WRAPPER_DECL_fFF): Likewise.
18635         (VECTOR_WRAPPER): Likewise.
18636         (VECTOR_WRAPPER_ff): Likewise.
18637         (VECTOR_WRAPPER_fFF): Likewise.
18638         (VEC_LEN): New macro.
18639         * math/test-double-vlen4.h: Include test-double.h,
18640         test-math-no-inline.h and test-math-vector.h.
18641         (FLOAT): Remove macro.
18642         (FUNC): Likewise.
18643         (MATHCONST): Likewise.
18644         (PRINTF_EXPR): Likewise.
18645         (PRINTF_XEXPR): Likewise.
18646         (PRINTF_NEXPR): Likewise.
18647         (TEST_DOUBLE): Likewise.
18648         (TEST_MATHVEC): Likewise.
18649         (__NO_MATH_INLINES): Likewise.
18650         (CNCT): Likewise.
18651         (CONCAT): Likewise.
18652         (WRAPPER_NAME): Likewise.
18653         (WRAPPER_DECL): Likewise.
18654         (WRAPPER_DECL_ff): Likewise.
18655         (WRAPPER_DECL_fFF): Likewise.
18656         (VECTOR_WRAPPER): Likewise.
18657         (VECTOR_WRAPPER_ff): Likewise.
18658         (VECTOR_WRAPPER_fFF): Likewise.
18659         (VEC_LEN): New macro.
18660         * math/test-double-vlen8.h: Include test-double.h,
18661         test-math-no-inline.h and test-math-vector.h.
18662         (FLOAT): Remove macro.
18663         (FUNC): Likewise.
18664         (MATHCONST): Likewise.
18665         (PRINTF_EXPR): Likewise.
18666         (PRINTF_XEXPR): Likewise.
18667         (PRINTF_NEXPR): Likewise.
18668         (TEST_DOUBLE): Likewise.
18669         (TEST_MATHVEC): Likewise.
18670         (__NO_MATH_INLINES): Likewise.
18671         (CNCT): Likewise.
18672         (CONCAT): Likewise.
18673         (WRAPPER_NAME): Likewise.
18674         (WRAPPER_DECL): Likewise.
18675         (WRAPPER_DECL_ff): Likewise.
18676         (WRAPPER_DECL_fFF): Likewise.
18677         (VECTOR_WRAPPER): Likewise.
18678         (VECTOR_WRAPPER_ff): Likewise.
18679         (VECTOR_WRAPPER_fFF): Likewise.
18680         (VEC_LEN): New macro.
18681         * math/test-float-vlen4.h: Include test-float.h,
18682         test-math-no-inline.h and test-math-vector.h.
18683         (FLOAT): Remove macro.
18684         (FUNC): Likewise.
18685         (MATHCONST): Likewise.
18686         (PRINTF_EXPR): Likewise.
18687         (PRINTF_XEXPR): Likewise.
18688         (PRINTF_NEXPR): Likewise.
18689         (TEST_FLOAT): Likewise.
18690         (TEST_MATHVEC): Likewise.
18691         (__NO_MATH_INLINES): Likewise.
18692         (CNCT): Likewise.
18693         (CONCAT): Likewise.
18694         (WRAPPER_NAME): Likewise.
18695         (WRAPPER_DECL): Likewise.
18696         (WRAPPER_DECL_ff): Likewise.
18697         (WRAPPER_DECL_fFF): Likewise.
18698         (VECTOR_WRAPPER): Likewise.
18699         (VECTOR_WRAPPER_ff): Likewise.
18700         (VECTOR_WRAPPER_fFF): Likewise.
18701         (VEC_LEN): New macro.
18702         * math/test-float-vlen8.h: Include test-float.h,
18703         test-math-no-inline.h and test-math-vector.h.
18704         (FLOAT): Remove macro.
18705         (FUNC): Likewise.
18706         (MATHCONST): Likewise.
18707         (PRINTF_EXPR): Likewise.
18708         (PRINTF_XEXPR): Likewise.
18709         (PRINTF_NEXPR): Likewise.
18710         (TEST_FLOAT): Likewise.
18711         (TEST_MATHVEC): Likewise.
18712         (__NO_MATH_INLINES): Likewise.
18713         (CNCT): Likewise.
18714         (CONCAT): Likewise.
18715         (WRAPPER_NAME): Likewise.
18716         (WRAPPER_DECL): Likewise.
18717         (WRAPPER_DECL_ff): Likewise.
18718         (WRAPPER_DECL_fFF): Likewise.
18719         (VECTOR_WRAPPER): Likewise.
18720         (VECTOR_WRAPPER_ff): Likewise.
18721         (VECTOR_WRAPPER_fFF): Likewise.
18722         (VEC_LEN): New macro.
18723         * math/test-float-vlen16.h: Include test-float.h,
18724         test-math-no-inline.h and test-math-vector.h.
18725         (FLOAT): Remove macro.
18726         (FUNC): Likewise.
18727         (MATHCONST): Likewise.
18728         (PRINTF_EXPR): Likewise.
18729         (PRINTF_XEXPR): Likewise.
18730         (PRINTF_NEXPR): Likewise.
18731         (TEST_FLOAT): Likewise.
18732         (TEST_MATHVEC): Likewise.
18733         (__NO_MATH_INLINES): Likewise.
18734         (CNCT): Likewise.
18735         (CONCAT): Likewise.
18736         (WRAPPER_NAME): Likewise.
18737         (WRAPPER_DECL): Likewise.
18738         (WRAPPER_DECL_ff): Likewise.
18739         (WRAPPER_DECL_fFF): Likewise.
18740         (VECTOR_WRAPPER): Likewise.
18741         (VECTOR_WRAPPER_ff): Likewise.
18742         (VECTOR_WRAPPER_fFF): Likewise.
18743         (VEC_LEN): New macro.
18744         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18745         test-vec-loop.h.
18746         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18747         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18748         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18749         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18750         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18751         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18752         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18754 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18756         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18757         (__getlogin_r): ... this.
18759 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18761         [BZ #18594]
18762         * math/s_ccosh.c (__ccosh): Compare with least normal value
18763         instead of comparing class with FP_SUBNORMAL.
18764         * math/s_ccoshf.c (__ccoshf): Likewise.
18765         * math/s_ccoshl.c (__ccoshl): Likewise.
18766         * math/s_cexp.c (__cexp): Likewise.
18767         * math/s_cexpf.c (__cexpf): Likewise.
18768         * math/s_cexpl.c (__cexpl): Likewise.
18769         * math/s_csin.c (__csin): Likewise.
18770         * math/s_csinf.c (__csinf): Likewise.
18771         * math/s_csinh.c (__csinh): Likewise.
18772         * math/s_csinhf.c (__csinhf): Likewise.
18773         * math/s_csinhl.c (__csinhl): Likewise.
18774         * math/s_csinl.c (__csinl): Likewise.
18775         * math/s_ctan.c (__ctan): Likewise.
18776         * math/s_ctanf.c (__ctanf): Likewise.
18777         * math/s_ctanh.c (__ctanh): Likewise.
18778         * math/s_ctanhf.c (__ctanhf): Likewise.
18779         * math/s_ctanhl.c (__ctanhl): Likewise.
18780         * math/s_ctanl.c (__ctanl): Likewise.
18781         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18782         csin, csinh, ctan and ctanh.
18783         * math/auto-libm-test-out: Regenerated.
18784         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18785         * sysdeps/i386/fpu/libm-test-ulps: Update.
18786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18788 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18790         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18791         return value is wrong, print the expected value too.
18793 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18795         [BZ #18585]
18796         * elf/readlib.c (is_gdb_python_file): New.
18797         (process_file): Don't issue errors on filenames with -gdb.py
18798         suffix.
18800 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18802         * math/auto-libm-test-in: Add more tests of csin and csinh.
18803         * math/auto-libm-test-out: Regenerated.
18804         * math/libm-test.inc (csin_test_data): Remove tests moved to
18805         auto-libm-test-in.
18806         (csinh_test_data): Likewise.
18808         [BZ #18593]
18809         * math/s_csin.c (__csin): Negate before rather than after possibly
18810         overflowing multiplication.
18811         * math/s_csinf.c (__csinf): Likewise.
18812         * math/s_csinh.c (__csinh): Likewise.
18813         * math/s_csinhf.c (__csinhf): Likewise.
18814         * math/s_csinhl.c (__csinhl): Likewise.
18815         * math/s_csinl.c (__csinl): Likewise.
18816         * math/auto-libm-test-in: Add some tests of csin and csinh.
18817         * math/auto-libm-test-out: Regenerated.
18818         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18819         (csinh_test_data): Likewise.
18820         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18822         [BZ #18586]
18823         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18824         underflow exception for small results.
18826 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18828         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18829         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18830         variable and included header.
18831         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18832         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18833         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18834         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18835         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18836         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18837         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18838         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18839         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18840         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18841         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18842         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18843         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18844         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18845         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18846         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18848 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18850         [BZ #16526]
18851         [BZ #16538]
18852         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18853         (__sin): Force underflow exception for arguments with small
18854         absolute value.
18855         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18856         (__kernel_sinf): Force underflow exception for arguments with
18857         small absolute value.
18858         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18859         (__kernel_sincosl): Force underflow exception for arguments with
18860         small absolute value.
18861         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18862         (__kernel_sinl): Force underflow exception for arguments with
18863         small absolute value.
18864         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18865         (__kernel_sincosl): Force underflow exception for arguments with
18866         small absolute value.
18867         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18868         (__kernel_sinl): Force underflow exception for arguments with
18869         small absolute value.
18870         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18871         (__kernel_sinl): Force underflow exception for arguments with
18872         small absolute value.
18873         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18874         (__kernel_sinf): Force underflow exception for arguments with
18875         small absolute value.
18876         * math/auto-libm-test-in: Add more tests of sin and sincos.
18877         * math/auto-libm-test-out: Regenerated.
18879         [BZ #18245]
18880         [BZ #18583]
18881         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18882         (__kernel_standard_l): Use feholdexcept and fesetenv around
18883         conversion to double instead of special-casing overflow and
18884         underflow.
18885         * math/libm-test.inc (fmod_test_data): Add more tests.
18886         (remainder_test_data): Likewise.
18887         (sqrt_test_data): Likewise.
18889 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18891         [BZ #17403]
18892         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18893         atomic_read_barrier, atomic_write_barrier): Define.
18894         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18895         atomic_read_barrier, atomic_write_barrier): Define.
18897 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18899         * math/Makefile [$(PERL) != no]
18900         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18901         dependency on libm-test.stmp below the inclusion of Rules.
18903 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18905         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18906         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18907         and included header.
18908         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18909         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18910         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18911         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18912         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18913         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18914         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18915         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18916         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18917         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18918         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18919         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18920         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18921         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18922         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18923         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18924         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18925         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18926         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18928 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18930         [BZ #18371]
18931         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18932         intermediate but not final result might underflow.
18933         * math/s_csqrtf.c (__csqrtf): Likewise.
18934         * math/s_csqrtl.c (__csqrtl): Likewise.
18935         * math/auto-libm-test-in: Add more tests of csqrt.
18936         * math/auto-libm-test-out: Regenerated.
18937         * sysdeps/i386/fpu/libm-test-ulps: Update.
18939         [BZ #18219]
18940         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18941         threshold on absolute value of exponent for which scaling is used.
18942         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18943         * math/auto-libm-test-in: Add more tests of exp2.
18944         * math/auto-libm-test-out: Regenerated.
18946 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18948         [BZ #17977]
18949         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18950         when initializing interface list, based on the bug analysis
18951         and the patch proposed by Eric Newton.
18952         * resolv/tst-res_hconf_reorder.c: New test.
18953         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18954         tst-res_hconf_reorder.
18955         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18956         and $(shared-thread-library).
18957         (tst-res_hconf_reorder-ENV): New variable.
18959         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18960         in comment.
18962 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18964         [BZ #16353]
18965         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18966         (__expm1): Force underflow exception for arguments with small
18967         absolute value.
18968         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18969         (__expm1f): Force underflow exception for arguments with small
18970         absolute value.
18971         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18972         (__expm1): Force underflow exception for arguments with small
18973         absolute value.
18974         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18975         (__expm1f): Force underflow exception for arguments with small
18976         absolute value.
18977         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18978         Check for small arguments before calling __expm1.
18979         * math/auto-libm-test-in: Do not mark underflow exceptions as
18980         possibly missing for bug 16353.
18981         * math/auto-libm-test-out: Regenerated.
18983 2015-06-22  Andreas Schwab  <schwab@suse.de>
18985         [BZ #18513]
18986         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18987         PTR queries.
18989 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18991         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18993         * string/strcoll_l.c: Remove unused struct element idxnow.
18995 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18997         [BZ #18569]
18998         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18999         underflow and return argument in case of subnormal argument.
19000         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19001         Likewise.
19002         * math/auto-libm-test-in: Add more tests of expm1.
19003         * math/auto-libm-test-out: Regenerated.
19005         [BZ #16361]
19006         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19007         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19008         tiny results.
19009         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19010         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19011         tiny results.
19012         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19013         mark underflow exceptions as possibly missing for bug 16361.
19014         * math/auto-libm-test-out: Regenerated.
19016 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19018         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19019         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19020         Remove variable.
19021         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19022         (test-xfail-XOPEN2K8/utmpx.h/conform).
19024         * conform/conformtest.pl ($xerrors): New variable.
19025         (note_error): New function.
19026         (compiletest): New argument $xfail.  Use not_error.
19027         (runtest): Likewise.
19028         (top level): Handle xfail- lines.  Update calls to compiletest and
19029         runtest.  Handle xfail- and optional- in headers listed with
19030         allow-header.
19031         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19032         (O_EXEC): Likewise.
19033         (O_SEARCH): Likewise.
19034         * conform/data/stropts.h-data (ioctl): Likewise.
19035         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19036         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19037         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19038         (msghdr.msg_controllen): Likewise.
19039         (cmsghdr.cmsg_len): Likewise.
19040         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19041         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19042         variable.
19043         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19044         (test-xfail-XPG4/stropts.h/conform): Likewise.
19045         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19046         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19047         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19048         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19049         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19050         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19051         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19052         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19053         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19054         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19055         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19056         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19057         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19058         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19059         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19060         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19061         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19062         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19063         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19065 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19067         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19068         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19069         definitions for proper unfolding of __MATHDECL_VEC.
19071 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19073         * benchtests/bench-strcoll.c:
19074         Include string.h.
19075         (main): Remove unused variable res.
19077 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19079         * timezone/Makefile (%/UTC %/Universal):
19080         Generate test-result files for UTC and Universal.
19082 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19084         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19086 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19088         [BZ #16350]
19089         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19090         for arguments with small absolute value.
19091         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19092         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19093         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19094         (__asinh): Force underflow exception for arguments with small
19095         absolute value.
19096         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19097         (__asinhf): Force underflow exception for arguments with small
19098         absolute value.
19099         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19100         (__asinhl): Force underflow exception for arguments with small
19101         absolute value.
19102         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19103         (__asinhl): Force underflow exception for arguments with small
19104         absolute value.
19105         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19106         (__asinhl): Force underflow exception for arguments with small
19107         absolute value.
19108         * math/auto-libm-test-in: Do not mark underflow exceptions as
19109         possibly missing for bug 16350.
19110         * math/auto-libm-test-out: Regenerated.
19112         * include/bits/ipc.h: Remove file.
19113         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19114         variable.
19115         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19116         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19117         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19118         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19119         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19120         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19121         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19122         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19123         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19125         * math/auto-libm-test-in: Remove spurious underflow allowance for
19126         tests of cexp.
19127         * math/auto-libm-test-out: Regenerated.
19129         [BZ #18558]
19130         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19131         unconditional definition.
19132         (MCAST_BLOCK_SOURCE): Likewise.
19133         (MCAST_UNBLOCK_SOURCE): Likewise.
19134         (MCAST_LEAVE_GROUP): Likewise.
19135         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19136         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19137         (MCAST_MSFILTER): Likewise.
19138         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19139         Remove variable.
19140         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19141         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19142         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19143         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19144         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19146 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19148         * NEWS: Mention addition of x86_64 vector sincosf.
19149         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19150         * math/test-float-vlen4.h: Likewise.
19151         * math/test-float-vlen8.h: Likewise.
19152         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19153         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19154         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19155         * sysdeps/x86_64/fpu/Versions: New versions added.
19156         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19157         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19158         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19159         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19160         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19161         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19162         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19163         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19164         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19165         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19166         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19167         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19168         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19169         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19170         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19171         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19172         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19173         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19174         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19175         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19176         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19177         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19178         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19179         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19181         * NEWS: Mention addition of x86_64 vector sincos.
19182         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19183         * math/math.h (__MATHDECL_VEC): New macro.
19184         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19185         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19186         declaration under condition.
19187         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19188         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19189         TEST_VEC_LOOP change.
19190         * math/test-double-vlen4.h: Likewise.
19191         * math/test-double-vlen8.h: Likewise.
19192         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19193         * math/test-float-vlen4.h: Likewise.
19194         * math/test-float-vlen8.h: Likewise.
19195         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19196         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19197         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19198         * sysdeps/x86_64/fpu/Versions: New versions added.
19199         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19200         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19201         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19202         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19203         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19204         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19205         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19206         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19207         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19208         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19209         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19210         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19211         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19212         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19213         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19214         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19215         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19216         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19217         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19218         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19219         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19220         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19221         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19222         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19224         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19225         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19226         redirections for powf.
19227         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19228         * sysdeps/x86_64/fpu/Versions: New versions added.
19229         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19230         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19231         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19232         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19233         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19234         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19235         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19236         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19237         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19238         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19239         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19240         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19241         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19242         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19243         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19244         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19245         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19246         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19247         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19248         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19249         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19250         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19251         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19252         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19253         * math/test-float-vlen16.h: Fixed 2 argument macro.
19254         * math/test-float-vlen4.h: Likewise.
19255         * math/test-float-vlen8.h: Likewise.
19256         * NEWS: Mention addition of x86_64 vector powf.
19258 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19260         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19261         and redefine.
19262         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19263         and redefine.
19264         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19265         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19266         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19268         [BZ #18553]
19269         * resource/getpriority.c (getpriority): Rename to __getpriority
19270         and define as weak alias of __getpriority.
19271         * resource/setpriority.c (setpriority): Rename to __setpriority
19272         and define as weak alias of __setpriority.
19273         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19274         __getpriority and define as weak alias of __getpriority.
19275         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19276         __setpriority and define as weak alias of __setpriority.
19277         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19278         strong name.
19279         (setpriority): Use __setpriority as strong name.
19280         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19281         __getpriority and define as weak alias of __getpriority.
19282         * include/sys/resource.h (__getpriority): Declare.  Use
19283         libc_hidden_proto.
19284         (__setpriority): Likewise.
19285         (getpriority): Don't use libc_hidden_proto.
19286         (setpriority): Likewise.
19287         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19288         getpriority.  Call __setpriority instead of setpriority.
19289         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19290         Remove variable.
19292         [BZ #18547]
19293         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19294         as weak alias of __getttynam.  Use prototype function definition.
19295         Call __setttyent, __getttyent and __endttyent instead of
19296         setttyent, getttyent and endttyent.
19297         (getttyent): Rename to __getttyent and define as weak alias of
19298         __getttyent.  Call __setttyent instead of setttyent.  Call
19299         __fgets_unlocked instead of fgets_unlocked.
19300         (setttyent): Rename to __setttyent and define as weak alias of
19301         __setttyent.
19302         (endttyent): Rename to __endttyent and define as weak alias of
19303         __endttyent.
19304         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19305         (__setttyent): Likewise.
19306         (__endttyent): Likewise.
19307         (getttyent): Don't use libc_hidden_proto.
19308         (setttyent): Likewise.
19309         (endttyent): Likewise.
19310         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19311         __endttyent instead of setttyent, getttyent and endttyent.
19312         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19313         Remove variable.
19315         [BZ #18546]
19316         * socket/recv.c (__recv): Use libc_hidden_def.
19317         * socket/socket.c (__socket): Likewise.
19318         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19319         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19320         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19321         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19322         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19323         libc_hidden_def.
19324         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19325         libc_hidden_weak.
19326         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19327         Use libc_hidden_proto.
19328         (__recv): Likewise.
19329         * socket/Versions (libc): Export __recv and __socket at version
19330         GLIBC_PRIVATE.
19331         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19332         instead of recv.
19333         (init_mq_netlink): Call __socket instead of socket.
19334         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19335         Remove variable.
19337         [BZ #18545]
19338         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19339         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19340         hidden_weak.
19341         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19342         define as alias of __mq_timedsend.  Use hidden_weak.
19343         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19344         __mq_timedsend as strong name.
19345         (mq_timedreceive): Use __mq_timedreceive as strong name.
19346         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19347         (__mq_timedreceive): Likewise.
19348         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19349         __mq_timedreceive instead of mq_timedreceive.
19350         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19351         instead of mq_timedsend.
19352         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19353         Remove variable.
19355         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19356         hidden_def and hidden_weak instead of libc_hidden_def and
19357         libc_hidden_weak.
19358         (top level): Refer to hidden_def in comment.
19359         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19360         macro.  Use it instead of libc_hidden_def.
19361         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19362         specify __GI_* name explicitly.
19363         (mq_timedreceive): Likewise.
19364         (mq_setattr): Likewise.
19366         [BZ #18544]
19367         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19368         __pthread_barrier_init and define as weak alias of
19369         __pthread_barrier_init.
19370         * sysdeps/sparc/nptl/pthread_barrier_init.c
19371         (pthread_barrier_init): Likewise.
19372         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19373         __pthread_barrier_wait and define as weak alias of
19374         __pthread_barrier_wait.
19375         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19376         (pthread_barrier_wait): Likewise.
19377         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19378         (pthread_barrier_wait): Likewise.
19379         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19380         (pthread_barrier_wait): Likewise.
19381         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19382         (pthread_barrier_wait): Likewise.
19383         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19384         __pthread_barrier_wait at version GLIBC_PRIVATE.
19385         * include/pthread.h (__pthread_barrier_init): Declare.
19386         (__pthread_barrier_wait): Likewise.
19387         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19388         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19389         (helper_thread): Likewise.
19390         (init_mq_netlink): Call __pthread_barrier_init instead of
19391         pthread_barrier_init.
19393         [BZ #18542]
19394         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19395         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19396         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19397         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19398         vswscanf.
19399         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19400         Remove variable.
19402         [BZ #18540]
19403         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19404         strong alias of _IO_fflush.  Use libc_hidden_def.
19405         * libio/iofflush_u.c (fflush_unlocked): Rename to
19406         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19407         Use libc_hidden_weak.
19408         * include/stdio.h (__fflush_unlocked): Declare.  Use
19409         libc_hidden_proto.
19410         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19411         fflush_unlocked.
19412         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19413         Remove variable.
19415         [BZ #18539]
19416         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19417         define as weak alias of __addseverity.
19418         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19419         Remove variable.
19420         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19421         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19422         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19424         [BZ #18536]
19425         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19426         (__tfind): Likewise.
19427         (__tdelete): Likewise.
19428         (__twalk): Likewise.
19429         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19430         __twalk to GLIBC_PRIVATE.
19431         * include/search.h (__tsearch): Use libc_hidden_proto.
19432         (__tfind): Likewise.
19433         (__tdelete): Likewise.
19434         (__twalk): Likewise.
19435         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19436         Call __tdelete instead of tdelete.
19437         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19438         tfind.  Call __tsearch instead of tsearch.
19439         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19440         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19441         Remove variable.
19442         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19444         [BZ #18534]
19445         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19446         (dprintf): Define as a weak alias of __dprintf, not a strong
19447         alias.
19448         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19449         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19450         dprintf.
19451         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19452         Remove variable.
19453         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19454         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19456         [BZ #18533]
19457         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19458         not a strong alias.
19459         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19460         Remove variable.
19462         [BZ #18532]
19463         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19464         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19465         (in6addr_loopback): Rename to __in6addr_loopback and define as
19466         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19467         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19468         libc_hidden_proto.
19469         (__in6addr_any): Likewise.
19470         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19471         in6addr_any.
19472         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19473         variable.
19474         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19476 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19478         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19479         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19480         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19481         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19482         redirections for pow.
19483         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19484         * sysdeps/x86_64/fpu/Versions: New versions added.
19485         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19486         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19487         build of SSE, AVX2 and AVX512 IFUNC versions.
19488         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19489         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19490         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19491         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19492         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19493         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19494         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19495         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19496         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19497         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19498         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19499         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19500         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19501         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19502         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19503         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19504         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19505         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19506         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19507         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19508         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19509         * NEWS: Mention addition of x86_64 vector pow.
19511         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19512         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19513         redirections for expf.
19514         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19515         * sysdeps/x86_64/fpu/Versions: New versions added.
19516         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19517         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19518         build of SSE, AVX2 and AVX512 IFUNC versions.
19519         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19520         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19521         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19522         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19523         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19524         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19525         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19526         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19527         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19528         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19529         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19530         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19531         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19532         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19533         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19534         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19535         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19536         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19537         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19538         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19539         * NEWS: Mention addition of x86_64 vector expf.
19541         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19542         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19543         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19544         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19545         redirections for exp.
19546         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19547         * sysdeps/x86_64/fpu/Versions: New versions added.
19548         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19549         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19550         build of SSE, AVX2 and AVX512 IFUNC versions.
19551         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19552         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19553         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19554         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19555         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19556         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19557         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19558         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19559         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19560         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19561         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19562         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19563         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19564         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19565         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19566         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19567         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19568         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19569         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19570         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19571         * NEWS: Mention addition of x86_64 vector exp.
19573         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19574         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19575         redirections for logf.
19576         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19577         * sysdeps/x86_64/fpu/Versions: New versions added.
19578         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19579         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19580         build of SSE, AVX2 and AVX512 IFUNC versions.
19581         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19582         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19583         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19584         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19585         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19586         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19587         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19588         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19589         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19590         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19591         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19592         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19593         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19594         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19595         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19596         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19597         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19598         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19599         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19600         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19601         * NEWS: Mention addition of x86_64 vector logf.
19603         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19604         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19605         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19606         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19607         redirections for log.
19608         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19609         * sysdeps/x86_64/fpu/Versions: New versions added.
19610         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19611         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19612         build of SSE, AVX2 and AVX512 IFUNC versions.
19613         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19614         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19615         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19616         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19617         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19618         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19619         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19620         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19621         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19622         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19623         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19624         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19625         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19626         test.
19627         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19628         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19629         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19630         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19631         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19632         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19633         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19634         * NEWS: Mention addition of x86_64 vector log.
19636 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19638         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19639         cfi_adjust_cfa_offset argument.
19640         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19641         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19643         [BZ #18034]
19644         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19645         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19646         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19647         ordering using ldar.
19648         (_dl_tlsdesc_dynamic): Likewise.
19649         (_dl_tlsdesc_return_lazy): Likewise.
19650         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19651         relaxed atomics instead of volatile and synchronize with release store.
19652         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19653         volatile.
19654         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19656 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19658         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19659         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19660         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19661         * sysdeps/x86_64/fpu/Versions: New versions added.
19662         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19663         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19664         build of SSE, AVX2 and AVX512 IFUNC versions.
19665         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19666         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19667         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19668         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19669         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19670         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19671         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19672         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19673         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19674         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19675         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19676         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19677         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19678         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19679         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19680         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19681         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19682         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19683         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19684         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19685         * NEWS: Mention addition of x86_64 vector sinf.
19687 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19689         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19690         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19691         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19692         Remove variable.
19693         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19694         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19696 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19698         [BZ #18530]
19699         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19700         strong alias of _IO_fputs.  Use libc_hidden_def.
19701         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19702         and define as weak alias of __fputs_unlocked.  Use
19703         libc_hidden_weak.
19704         * include/stdio.h (__fputs_unlocked): Declare.  Use
19705         libc_hidden_proto.
19706         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19707         fputs_unlocked.
19709         [BZ #18529]
19710         * resolv/netdb.h [__USE_POSIX]: Change condition to
19711         [__USE_XOPEN2K].
19712         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19713         not expect.
19714         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19715         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19716         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19717         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19718         [XPG4 || UNIX98] (AI_ALL): Likewise.
19719         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19720         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19721         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19722         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19723         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19724         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19725         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19726         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19727         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19728         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19729         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19730         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19731         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19732         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19733         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19734         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19735         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19736         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19737         [XPG4 || UNIX98] (gai_strerror): Likewise.
19738         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19739         [XPG4 || UNIX98] (getnameinfo): Likewise.
19741         [BZ #18528]
19742         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19743         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19744         __USE_XOPEN2K8].
19745         (getgrent): Likewise.
19746         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19747         expect.
19748         [XPG3 || POSIX2008] (endgrent): Likewise.
19749         [XPG3] (setgrent): Likewise.
19750         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19751         variable.
19752         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19754         [BZ #18527]
19755         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19756         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19757         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19758         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19759         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19760         * include/unistd.h (__getlogin_r): Declare.  Use
19761         libc_hidden_proto.
19762         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19763         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19764         variable.
19765         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19766         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19767         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19769 2015-06-12  Martin Sebor  <msebor@redhat.com>
19771         [BZ #18512]
19772         * Makerules (check-install-supported): New target.
19773         (install): Add check-install-supported as a dependency.
19774         * manual/install.texi (Installing the C Library): Document
19775         that overriding prefix and exec_prefix is not supported.
19776         Mention DESTDIR.
19777         * INSTALL: Regenerate from the above.
19779 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19781         [BZ #18519]
19782         * posix/Versions (libc): Export __libc_pread at version
19783         GLIBC_PRIVATE.
19784         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19785         instead of pread.
19786         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19787         variable.
19789         [BZ #18522]
19790         * misc/efgcvt_r.c
19791         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19792         (cvt_symbol): Use weak_alias instead of strong_alias.
19793         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19794         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19795         Remove variable.
19796         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19797         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19799         [BZ #18520]
19800         * inet/herrno.c (h_errno): Rename to __h_errno.
19801         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19802         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19803         to __h_errno instead of h_errno.
19804         * nptl/herrno.c (h_errno): Rename to __h_errno.
19805         (__h_errno_location): Refer to __h_errno not h_errno.
19806         * resolv/Versions (h_errno): Rename to __h_errno.
19807         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19808         Remove variable.
19809         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19811 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19813         * configure.ac: More strict check for AVX512 assembler support.
19814         * configure: Regenerated.
19816         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19817         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19818         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19819         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19820         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19821         * sysdeps/x86_64/fpu/Versions: New versions added.
19822         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19823         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19824         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19825         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19826         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19827         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19828         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19829         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19830         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19831         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19832         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19833         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19834         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19835         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19836         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19837         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19838         test.
19839         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19840         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19841         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19842         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19843         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19844         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19845         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19846         * NEWS: Mention addition of x86_64 vector sin.
19848 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19850         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19851         comment.
19853 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19855         [BZ #18479]
19856         * nptl/pt-interp.c: New file.
19857         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19858         Add pt-interp.
19859         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19860         $(common-objpfx)runtime-linker.h.
19862 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19864         * Makeconfig (+interp): Remove unused variable.
19865         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19866         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19867         $(elf-objpfx)runtime-linker.h.
19868         ($(elf-objpfx)runtime-linker.h): Rename to
19869         $(common-objpfx)runtime-linker.h and move ...
19870         * Makerules [$(build-shared) = yes]: ... here.
19871         * elf/interp.c: Include <runtime-linker.h> instead of
19872         <elf/runtime-linker.h>.
19874 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19876         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19877         (__gettimeofday_syscall): Remove vsyscall fallback.
19878         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19879         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19880         Add syscall fallback function.
19881         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19882         if vDSO is not present.
19883         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19884         fallback function.
19885         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19886         present.
19887         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19888         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19890 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19892         [BZ #18497]
19893         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19894         of wcscmp.
19895         (wcscmp): Define as weak alias of WCSCMP.
19896         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19897         wcscoll.
19898         (USE_HIDDEN_DEF): Define.
19899         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19900         __wcscoll.  Don't use libc_hidden_weak.
19901         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19902         wcscmp.
19903         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19904         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19905         __GI_wcscmp.
19906         (weak_alias): Undefine and redefine.
19907         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19908         __wcscmp and define as weak alias of __wcscmp.
19909         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19910         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19911         (__wcscoll): Likewise.
19912         (wcscmp): Don't use libc_hidden_proto.
19913         (wcscoll): Likewise.
19914         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19915         wcscoll.
19916         * posix/regexec.c (check_node_accept_bytes): Likewise.
19917         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19918         variable.
19919         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19920         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19922         [BZ #18507]
19923         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19924         __fstatvfs and define as weak alias of __fstatvfs.  Use
19925         libc_hidden_weak.
19926         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19927         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19928         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19929         Define as alias of __fstatvfs, not fstatvfs.
19930         (fstatvfs64): Likewise.
19931         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19932         Define as alias of __statvfs, not statvfs.
19933         (statvfs64): Likewise.
19934         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19935         Remove variable.
19937 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19940         (HAVE_GETCPU_VSYSCALL): Define.
19941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19942         (HAVE_GETCPU_VSYSCALL): Likewise.
19943         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19944         * sysdeps/unix/sysv/linux/sched_getcpu.c
19945         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19946         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19947         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19948         prototype.
19949         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19950         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19951         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19953         Define.
19954         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19955         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19956         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19957         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19959 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19961         * sysdeps/x86_64/fpu/Makefile: New file.
19962         * sysdeps/x86_64/fpu/Versions: New file.
19963         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19964         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19965         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19966         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19967         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19968         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19969         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19970         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19971         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19972         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19973         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19974         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19975         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19976         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19977         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19978         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19979         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19980         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19981         * sysdeps/x86_64/configure: Regenerated.
19982         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19983         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19984         * manual/install.texi (Configuring and compiling): Document
19985         --disable-mathvec.
19986         * INSTALL: Regenerated.
19987         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19989         * math/Makefile: Added rules for vector tests.
19990         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19991         declaration under condition.
19992         * math/test-double-vlen2.h: New file.
19993         * math/test-double-vlen4.h: New file.
19994         * math/test-double-vlen8.h: New file.
19995         * math/test-vec-loop.h: Added initialization macro.
19996         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19997         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19998         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19999         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20000         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20001         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20002         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20003         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20004         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20005         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20006         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20008         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20009         * sysdeps/x86_64/fpu/Versions: New versions added.
20010         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20011         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20012         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20013         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20014         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20015         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20016         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20017         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20018         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20019         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20020         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20021         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20022         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20023         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20024         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20025         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20026         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20027         * NEWS: Mention addition of x86_64 vector cosf.
20029         * math/Makefile: Added CFLAGS for new tests.
20030         * math/test-float-vlen16.h: New file.
20031         * math/test-float-vlen4.h: New file.
20032         * math/test-float-vlen8.h: New file.
20033         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20034         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20035         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20036         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20037         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20038         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20039         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20040         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20041         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20042         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20043         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20045 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20047         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20048         * locale/programs/ld-ctype.c: Likewise.
20050 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20052         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20053         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20054         bit_ZMM16_31_state): New macro.
20055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20056         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20058 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20060         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20062 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20064         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20066 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20068         [BZ #18498]
20069         * libio/memstream.c (open_memstream): Rename to __open_memstream
20070         and define as weak alias of __open_memstream.
20071         * include/stdio.h (__open_memstream): Declare.  Use
20072         libc_hidden_proto.
20073         (open_memstream): Don't use libc_hidden_proto.
20074         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20075         open_memstream.
20076         * posix/getopt.c (_getopt_internal_r): Likewise.
20077         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20078         variable.
20079         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20080         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20081         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20083         [BZ #18496]
20084         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20085         instead of wcrtomb.
20087         [BZ #18483]
20088         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20089         [__USE_XOPEN2K8].  Remove redundant #endif.
20090         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20091         Remove redundant #if.
20092         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20093         Remove variable.
20094         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20095         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20097         [BZ #18495]
20098         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20099         (__iswlower): Likewise.
20100         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20101         (__iswlower): Likewise.
20102         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20103         instead of towlower.
20104         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20105         instead of iswlower.  Call __towupper instead of towupper.
20106         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20107         instead of iswalnum.
20109 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20111         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20112         errors to stderr.
20114 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20116         [BZ #15661]
20117         [BZ #17322]
20118         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20119         Check for overflow properly.  Check for O_APPEND.  Ignore large
20120         file system block sizes.  Add comments about problems.
20121         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20122         * manual/filesys.texi (Storage Allocation): New node.
20124 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20126         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20127         cancellable syscalls.
20128         (SYS_ify): Add guard to no redefine it.
20129         (INLINE_SYSCALL): Likewise.
20130         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20131         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20132         SYSCALL_CANCEL instead.
20133         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20134         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20135         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20136         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20137         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20138         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20139         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20140         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20141         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20142         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20143         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20144         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20145         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20146         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20147         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20148         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20149         Likewise.
20150         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20151         (__libc_pread64): Likewise.
20152         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20153         (__libc_preadv): Likewise.
20154         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20155         (__libc_readv64): Likewise.
20156         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20157         (__libc_pwrite): Likewise.
20158         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20159         (__libc_pwrite64): Likewise.
20160         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20161         (__libc_pwritev): Likewise.
20162         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20163         (__libc_pwritev64): Likewise.
20164         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20165         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20166         (sync_file_range): Likewise.
20167         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20168         Likewise.
20169         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20170         Likewise.
20171         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20172         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20173         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20174         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20175         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20176         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20177         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20178         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20180         Likewise.
20181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20182         (__libc_read64): Likewise.
20183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20184         Likewise.
20185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20186         Likewise.
20187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20188         Likewise.
20189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20190         Likewise.
20191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20192         (__libc_pread64): Likewise.
20193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20194         Likewise.
20195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20196         (__libc_pwrite64): Likewise.
20197         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20198         (sync_file_range): Likewise.
20199         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20200         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20201         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20202         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20203         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20204         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20205         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20206         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20207         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20208         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20209         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20210         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20211         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20212         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20213         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20214         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20215         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20216         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20217         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20218         Likewise.
20219         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20220         Likewise.
20221         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20222         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20223         Likewise.
20224         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20225         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20226         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20227         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20228         Likewise.
20229         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20230         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20231         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20232         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20233         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20235 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20237         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20238         Include dl-vdso.
20239         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20240         Use VDSO routines for gettimeofday, clock_gettime if
20241         available.
20242         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20243         Declare VDSO symbols.
20244         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20245         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20246         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20247         * sysdeps/unix/sysv/linux/arm/Versions: Add
20248         __vdso_clock_gettime.
20250 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20252         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20253         be an inline implementation regardless of library is built within.
20254         (open_not_cancel_2): Likewise.
20255         (__read_nocancel): Likewise.
20256         (__write_nocancel): Likewise.
20257         (openat_not_cancel): Likewise.
20258         (openat_not_cancel_3): Likewise.
20259         (openat64_not_cancel): Likewise.
20260         (openat64_not_cancel_3): Likewise.
20261         (__close_nocancel): Likewise.
20262         (pause_not_cancel): Likewise.
20263         (nanosleep_not_cancel): Likewise.
20264         (sigsuspend_not_cancel): Likewise.
20266 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20268         [BZ #14958]
20269         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20270         wake-up.
20271         (__pthread_rwlock_rdlock_slow): Likewise.
20272         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20273         Likewise.
20274         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20275         Likewise.
20276         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20277         * nptl/tst-rwlock16.c: New file.
20278         * nptl/Makefile (tests): Add new test.
20280 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20282         [BZ #18324]
20283         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20284         missing wake-up of readers.
20285         * nptl/tst-rwlock15.c: New file.
20286         * nptl/Makefile (tests): Add new test.
20288 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20290         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20291         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20292         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20293         and __nacl_supply_interface_rtld.
20294         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20295         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20296         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20297         Add __nacl_supply_interface_rtld.
20298         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20300 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20302         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20303         isfinite.
20304         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20305         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20307 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20309         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20310         __signbit* with standard C99 macros.
20311         * math/e_exp10l.c: Likewise.
20312         * math/e_exp2l.c: Likewise.
20313         * math/e_scalb.c: Likewise.
20314         * math/e_scalbf.c: Likewise.
20315         * math/e_scalbl.c: Likewise.
20316         * math/s_ldexp.c: Likewise.
20317         * math/s_ldexpf.c: Likewise.
20318         * math/s_ldexpl.c: Likewise.
20319         * math/w_atan2.c: Likewise.
20320         * math/w_atan2f.c: Likewise.
20321         * math/w_atan2l.c: Likewise.
20322         * math/w_cosh.c: Likewise.
20323         * math/w_coshf.c: Likewise.
20324         * math/w_coshl.c: Likewise.
20325         * math/w_exp10.c: Likewise.
20326         * math/w_exp10f.c: Likewise.
20327         * math/w_exp10l.c: Likewise.
20328         * math/w_exp2.c: Likewise.
20329         * math/w_exp2f.c: Likewise.
20330         * math/w_exp2l.c: Likewise.
20331         * math/w_fmod.c: Likewise.
20332         * math/w_fmodf.c: Likewise.
20333         * math/w_fmodl.c: Likewise.
20334         * math/w_hypot.c: Likewise.
20335         * math/w_hypotf.c: Likewise.
20336         * math/w_hypotl.c: Likewise.
20337         * math/w_jnl.c: Likewise.
20338         * math/w_lgamma.c: Likewise.
20339         * math/w_lgamma_r.c: Likewise.
20340         * math/w_lgammaf.c: Likewise.
20341         * math/w_lgammaf_r.c: Likewise.
20342         * math/w_lgammal.c: Likewise.
20343         * math/w_lgammal_r.c: Likewise.
20344         * math/w_pow.c: Likewise.
20345         * math/w_powf.c: Likewise.
20346         * math/w_powl.c: Likewise.
20347         * math/w_remainder.c: Likewise.
20348         * math/w_remainderf.c: Likewise.
20349         * math/w_remainderl.c: Likewise.
20350         * math/w_scalb.c: Likewise.
20351         * math/w_scalbf.c: Likewise.
20352         * math/w_scalbl.c: Likewise.
20353         * math/w_scalbln.c: Likewise.
20354         * math/w_scalblnf.c: Likewise.
20355         * math/w_scalblnl.c: Likewise.
20356         * math/w_sinh.c: Likewise.
20357         * math/w_sinhf.c: Likewise.
20358         * math/w_sinhl.c: Likewise.
20359         * math/w_tgamma.c: Likewise.
20360         * math/w_tgammaf.c: Likewise.
20361         * math/w_tgammal.c: Likewise.
20362         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20363         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20364         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20365         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20366         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20367         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20368         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20369         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20370         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20371         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20372         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20373         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20374         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20375         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20376         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20377         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20378         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20379         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20380         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20381         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20382         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20383         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20384         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20385         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20386         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20387         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20388         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20389         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20390         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20391         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20392         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20393         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20394         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20395         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20396         * stdio-common/printf_fp.c: Likewise.
20397         * stdio-common/printf_fphex.c: Likewise.
20398         * stdio-common/printf_size.c: Likewise.
20400 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20402         [BZ #18470]
20403         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20404         strnlen.
20405         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20406         Remove variable.
20407         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20408         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20409         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20410         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20411         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20412         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20413         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20414         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20415         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20416         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20418         [BZ #18468]
20419         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20420         weak alias of __wmemchr.  Use libc_hidden_weak.
20421         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20422         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20423         instead of wmemchr.
20425 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20427         [BZ #18383]
20428         * elf/tst-tlsalign-extern.c: New file.
20429         * elf/tst-tlsalign-extern-static.c: New file.
20430         * elf/tst-tlsalign-vars.c: New file.
20431         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20432         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20433         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20434         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20435         (test-xfail-tst-tlsalign-extern-static): New variable.
20437 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20439         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20440         Use variable name _sc_err instead of err.
20441         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20442         instead of ret.
20443         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20444         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20445         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20446         (INLINE_SYSCALL): Likewise.
20448         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20449         * include/string.h (__strnlen): Use libc_hidden_proto.
20450         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20451         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20452         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20453         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20454         (libc_hidden_def): Undefine and redefine.
20455         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20456         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20457         __GI_strnlen.
20458         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20459         libc_hidden_def.
20460         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20462         [BZ #18469]
20463         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20464         weak alias of __towlower.  Use libc_hidden_weak.
20465         (towupper): Rename to __towupper and define as weak alias of
20466         __towupper.  Use libc_hidden_weak.
20467         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20468         (__towupper): Likewise.
20469         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20470         __towlower instead of towlower.
20472 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20474         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20475         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20477 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20479         * sysdeps/aarch64/libm-test-ulps: Update.
20481 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20483         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20484         Define.
20485         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20486         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20487         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20488         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20489         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20490         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20491         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20493 2015-06-01  Martin Sebor  <msebor@redhat.com>
20495         [BZ #18116]
20496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20497         (__setcontext): Use extended four-operand version of mtsf whenever
20498         possible.
20499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20500         (__novec_swapcontext): Likewise.
20502 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20504         * benchtests/scripts/compare_bench.py: New file.
20505         * benchtests/scripts/import_bench.py (mean): New function.
20506         (split_list): Likewise.
20507         (do_for_all_timings): Likewise.
20508         (compress_timings): Likewise.
20510         * benchtests/scripts/import_bench.py: New file.
20511         * benchtests/scripts/validate_benchout.py: Import import_bench
20512         instead of jsonschema.
20513         (validate_bench): Remove function.
20514         (main): Use import_bench.
20516 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20518         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20519         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20521 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20525 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20527         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20528         set THREAD_SELF->tid to a magic value and futex-wake it.
20529         Pass its address to the thread_exit system call.
20530         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20531         bit is clear.
20532         * sysdeps/nacl/lowlevellock.h: New file.
20533         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20535         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20536         Add TIMEOUT to current time, don't subtract it.
20538 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20540         [BZ #2981]
20541         [BZ #18422]
20542         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20543         ($(objpfx)tst-audit2.out): Also depend on
20544         $(objpfx)tst-auditmod9b.so.
20545         * elf/tst-audit2.c: Include <dlfcn.h>.
20546         (calloc_called): New.
20547         (calloc): Allow to be called more than once.
20548         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20550 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20552         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20553         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20555 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20557         * stdlib/monetary.h: Fix comment.
20559 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20561         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20562         Avoid using variables in #defines that might cause shadowing.
20563         (INTERNAL_VSYSCALL_CALL): Likewise.
20565 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20567         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20569         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20570         * nptl/lll_timedlock_wait.c: ... to this new file.
20571         * nptl/Makefile (libpthread-routines): Add it.
20572         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20573         * nptl/lll_timedwait_tid.c: ... to this new file.
20574         * nptl/Makefile (libpthread-routines): Add it.
20575         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20576         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20577         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20578         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20579         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20580         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20581         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20582         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20583         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20584         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20586 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20588         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20589         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20590         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20591         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20592         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20593         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20594         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20595         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20596         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20597         * sysdeps/unix/sysv/linux/tile/sysdep.h
20598         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20599         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20600         using vDSO syscall macro.
20602 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20604         [BZ #17293]
20605         * uk_UA: Fix sorting order for Ukrainian locale
20607 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20609         * stdlib/monetary.h: Fix comment.
20611 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20613         [BZ #18234]
20614         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20615         st_mtim and st_ctim members.
20616         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20617         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20618         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20619         (struct stat64): Likewise.
20620         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20621         (struct stat64): Likewise.
20622         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20623         (struct stat64): Likewise.
20625 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20627         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20628         Define and include sysdep-vdso.h.
20629         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20630         Likewise.
20631         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20632         Likewise.
20633         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20634         Define with VDSO_SYMBOL and use PTR_MANGLE.
20635         (__vdso_clock_gettime): Likewise.
20636         (__vdso_clock_getres): Likewise.
20637         (_libc_vdso_platform_setup): Likewise.
20638         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20639         Likewise.
20640         (_libc_vdso_platform_setup): Likewise.
20641         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20642         Likewise.
20643         (__vdso_clock_gettime): Likewise.
20644         (__vdso_clock_getres): Likewise.
20645         (__vdso_get_tbfreq): Likewise.
20646         (__vdso_getcpu): Likewise.
20647         (__vdso_time): Likewise.
20648         (__vdso_sigtramp_rt64): Likewise.
20649         (__vdso_signtramp32): Likewise.
20650         (__vdso_sigtramp_rt32): Likewise.
20651         (_libc_vdso_platform_setup): Likewise.
20652         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20653         Likewise.
20654         (__vdso_clock_gettime): Likewise.
20655         (__vdso_clock_getres): Likewise.
20656         (_libc_vdso_platform_setup): Likewise.
20657         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20658         Likewise.
20659         (__vdso_clock_gettime): Likewise.
20660         (_libc_vdso_platform_setup): Likewise.
20661         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20662         Likewise.
20663         (__vdso_getcpu): Likewise.
20664         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20665         Use VDSO_SYMBOL macro to define.
20666         (__vdso_clock_gettime): Likewise.
20667         (__vdso_clock_getres): Likewise.
20668         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20669         Likewise.
20670         (__vdso_clock_gettime): Likewise.
20671         (__vdso_clock_getres): Likewise.
20672         (__vdso_get_tbfreq): Likewise.
20673         (__vdso_getcpu): Likewise.
20674         (__vdso_time): Likewise.
20675         (__vdso_sigtramp_rt64): Likewise.
20676         (__vdso_signtramp32): Likewise.
20677         (__vdso_sigtramp_rt32): Likewise.
20678         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20679         Likewise.
20680         (__vdso_clock_gettime): Likewise.
20681         (__vdso_clock_getres): Likewise.
20682         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20683         Likewise.
20684         (__vdso_clock_gettime): Likewise.
20685         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20686         Likewise.
20687         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20688         macro.
20689         (INTERNAL_VSYSCALL): Likewise.
20690         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20691         Remove macro.
20692         (INTERNAL_VSYSCALL): Likewise.
20693         (INTERNAL_VSYSCALL_NCS): Likewise.
20694         (INTERNAL_VSYSCALL_CALL): New macro.
20695         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20696         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20697         Likewise.
20698         (INTERNAL_VSYSCALL): Likewise.
20699         (INTERNAL_VSYSCALL_NCS): Likewise.
20700         (INTERNAL_VSYSCALL_CALL): New macro.
20701         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20703         (INLINE_VSYSCALL): Remove macro.
20704         (INTERNAL_VSYSCALL): Remove macro.
20705         (INTERNAL_VSYSCALL_NCS): Remove macro.
20706         (INTERNAL_VSYSCALL_CALL): New macro.
20707         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20708         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20709         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20710         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20711         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20713         (INLINE_VSYSCALL): Remove macro.
20714         (INTERNAL_VSYSCALL): Likewise.
20715         (INTERNAL_VSYSCALL_NCS): Likewise.
20716         (INTERNAL_VSYSCALL_CALL): New macro.
20717         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20718         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20719         PTR_DEMANGLE on vDSO pointer.
20720         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20721         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20722         macro.
20723         (INTERNAL_SYSCALL): Likewise.
20724         (INTERNAL_VSYSCALL_NCS): Remove macro.
20725         (INTERNAL_VSYSCALL_CALL): New macro.
20726         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20727         Remove macro.
20728         (INTERNAL_VSYSCALL): Likewise.
20729         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20730         sysdep-vdso.h instead of libc-vdso.h.
20731         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20732         definition.
20733         (INLINE_VSYSCALL): Likewise.
20734         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20735         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20736         definition.
20737         (INLINE_VSYSCALL): Likewise.
20738         (INTERNAL_VSYSCALL): Likewise.
20739         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20740         * sysdeps/unix/sysv/linux/timespec_get.c
20741         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20742         (timespec_get): Use ANSI prototype.
20743         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20744         and definition for Linux.
20746 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20748         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20749         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20751 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20753         [BZ #2981]
20754         [BZ #18410]
20755         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20756         for missing DT_PLTRELSZ.
20758 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20760         Remove obsolete aliases that broke 'locale -a'
20761         [BZ #18412]
20762         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20763         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20764         breaking some applications that use 'locale -a' output.
20765         Change the encoding of this file from Latin-1 to ASCII to avoid
20766         other potential problems with people grepping this file.
20768 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20770         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20771         -fasynchronous-unwind-tables.
20772         (CFLAGS-sendto.c): Likewise.
20773         (CFLAGS-sendmsg.c): Likewise.
20774         (CFLAGS-connect.c): Likewise.
20775         (CFLAGS-recvmsg.c): Likewise.
20776         (CFLAGS-recvfrom.c): Likewise.
20777         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20778         (SOCKETCALL): New macro: non-cancellable socketcall.
20779         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20780         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20781         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20782         * sysdeps/unix/sysv/linux/accept.c: New file.
20783         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20784         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20785         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20786         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20787         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20788         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20789         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20790         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20791         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20792         * sysdeps/unix/sysv/linux/send.c: Likewise.
20793         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20794         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20795         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20796         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20797         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20798         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20799         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20800         prototype.
20801         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20802         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20803         instead of __internal_xxx function.
20804         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20805         prototype.
20806         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20807         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20808         instead of __internal_xxx function.
20809         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20810         prototype.
20811         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20812         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20813         instead of __internal_xxx function.
20814         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20815         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20816         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20817         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20818         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20819         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20820         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20821         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20822         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20823         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20824         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20825         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20826         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20827         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20828         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20829         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20830         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20831         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20832         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20833         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20836         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20837         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20838         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20839         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20840         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20841         * sysdeps/unix/sysv/linux/send.S: Likewise.
20842         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20843         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20844         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20845         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20846         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20847         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20848         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20849         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20850         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20851         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20852         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20853         socketcall is implemented in GLIBC.
20855 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20857         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20858         (__fma): Ignore uninitialized warnings around packing.
20859         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20860         (__fmaf): Ignore uninitialized warnings around packing.
20861         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20862         (__fmal): Ignore uninitialized warnings around packing.
20864         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20865         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20866         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20867         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20869         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20870         switch statement into default case.
20871         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20873         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20874         a conditional in forcing "inexact".
20875         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20876         Likewise.
20878 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20880         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20881         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20882         for each INTERNAL_SYSCALL use.
20884 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20886         [BZ #438]
20887         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20888         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20889         variable.
20891         [BZ #18444]
20892         * string/basename.c (basename): Rename to __basename and define as
20893         weak alias of __basename.  Use libc_hidden_weak.
20894         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20895         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20896         __basename instead of basename.
20897         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20898         Remove variable.
20899         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20901 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20903         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20904         (_IO_JUMPS_FILE_plus): New.
20905         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20906         _IO_CAST_FIELD_ACCESS.
20907         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20908         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20909         * libio/freopen.c (freopen): Likewise.
20910         * libio/freopen64.c (freopen64): Likewise.
20911         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20912         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20913         * libio/iofwide.c (_IO_fwide): Likewise.
20914         * libio/memstream.c (open_memstream): Likewise.
20915         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20916         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20917         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20919 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20921         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20922         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20923         NADJ.
20924         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20925         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20926         NADJ.
20927         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20928         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20929         NADJ.
20931         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20932         (p == 4) case.
20934         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20935         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20936         Remove variable.
20937         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20938         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20939         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20941 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20943         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20944         Adjust jump table label generation macros.
20946 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20948         * stdio-common/vfprintf.c (vfprintf): Move local variables
20949         args_malloced, specs, specs_malloced, and the code after
20950         do_positional to the printf_positional function.
20951         (printf_positional): New function.
20953 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20955         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20956         function.
20957         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20958         STEP4_TABLE, process_arg): Move macro definitions
20959         out of the vfprintf function.  (Cosmetic change only.)
20961 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20963         * benchtests/Makefile (stdio-common-bench): Define.
20964         (benchset): Add stdio-common-bench.
20965         * sprintf-inputs: New file.
20966         * sprintf-source.c: New file.
20968 2015-05-21  Andreas Schwab  <schwab@suse.de>
20970         [BZ #13028]
20971         [BZ #17053]
20972         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20973         of struct __res_state.
20974         * resolv/res_send.c (__libc_res_nsend): Likewise.
20975         (get_nsaddr): New function.
20976         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20977         statp directly.
20979 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20981         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20982         -D_POSIX_C_SOURCE=199506L.
20984         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20986         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20987         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20988         Do not mention otherwise.
20989         [POSIX] (_XOPEN_VERSION): Do not expect.
20990         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20991         [POSIX] (_POSIX2_C_BIND): Likewise.
20992         [POSIX] (_POSIX2_VERSION): Likewise.
20993         [POSIX] (_XOPEN_XPG2): Likewise.
20994         [POSIX] (_XOPEN_XPG3): Likewise.
20995         [POSIX] (_XOPEN_XPG4): Likewise.
20996         [POSIX] (_XOPEN_UNIX): Likewise.
20997         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20998         [POSIX] (_POSIX_BARRIERS): Likewise.
20999         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21000         [POSIX] (_POSIX_CPUTIME): Likewise.
21001         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21002         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21003         [POSIX] (_POSIX_SHELL): Likewise.
21004         [POSIX] (_POSIX_SPAWN): Likewise.
21005         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21006         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21007         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21008         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21009         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21010         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21011         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21012         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21013         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21014         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21015         [POSIX] (_POSIX2_PBS): Likewise.
21016         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21017         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21018         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21019         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21020         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21021         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21022         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21023         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21024         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21025         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21026         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21027         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21028         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21029         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21030         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21031         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21032         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21033         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21034         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21035         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21036         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21037         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21038         [POSIX] (_SC_2_C_BIND): Likewise.
21039         [POSIX] (_SC_2_C_VERSION): Likewise.
21040         [POSIX] (_SC_2_PBS): Likewise.
21041         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21042         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21043         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21044         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21045         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21046         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21047         [POSIX] (_SC_BARRIERS): Likewise.
21048         [POSIX] (_SC_BASE): Likewise.
21049         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21050         [POSIX] (_SC_DEVICE_IO): Likewise.
21051         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21052         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21053         [POSIX] (_SC_FD_MGMT): Likewise.
21054         [POSIX] (_SC_FIFO): Likewise.
21055         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21056         [POSIX] (_SC_FILE_LOCKING): Likewise.
21057         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21058         [POSIX] (_SC_IOV_MAX): Likewise.
21059         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21060         [POSIX] (_SC_NETWORKING): Likewise.
21061         [POSIX] (_SC_PAGE_SIZE): Likewise.
21062         [POSIX] (_SC_PASS_MAX): Likewise.
21063         [POSIX] (_SC_PIPE): Likewise.
21064         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21065         [POSIX] (_SC_REGEXP): Likewise.
21066         [POSIX] (_SC_SHELL): Likewise.
21067         [POSIX] (_SC_SIGNALS): Likewise.
21068         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21069         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21070         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21071         [POSIX] (_SC_USER_GROUPS): Likewise.
21072         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21073         [POSIX] (_SC_STREAMS): Likewise.
21074         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21075         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21076         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21077         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21078         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21079         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21080         [POSIX] (_PC_FILESIZEBITS): Likewise.
21081         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21082         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21083         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21084         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21085         [POSIX] (uid_t): Likewise.
21086         [POSIX] (gid_t): Likewise.
21087         [POSIX] (off_t): Likewise.
21088         [POSIX] (pid_t): Likewise.
21089         [POSIX] (cuserid): Allow.
21090         (_SC_2_CHAR_TERM): Require constant.
21091         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21092         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21093         variable.
21095 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21097         * sysdeps/nacl/pthread-pids.h: New file.
21098         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21099         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21101         * nptl/pthread-pids.h: New file.
21102         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21103         * nptl/nptl-init.c: Include <pthread-pids.h>.
21104         (__pthread_initialize_minimal_internal):
21105         Call __pthread_initialize_pids instead of set_tid_address syscall.
21107         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21108         * sysdeps/posix/usleep.c: ... here.
21110 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21112         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21113         call_pselect6 object.
21114         [$(subdir) = io]: Remove call_sync_file_range object.
21115         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21116         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21117         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21118         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21120 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21122         * math/s_cproj.c: Add include "math_private.h".
21123         * math/s_cprojf.c: Likewise.
21124         * math/s_cprojl.c: Likewise.
21126 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21128         [BZ #18244]
21129         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21130         high mantissa bit when testing whether P is a NaN.
21131         * math/libm-test.inc (remainder_test_data): Add more tests.
21132         (remquo_test_data): Likewise.
21134         [BZ #18049]
21135         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21136         below -32, return the argument, with underflow if subnormal.
21137         * math/auto-libm-test-in: Add more tests of atanh.
21138         * math/auto-libm-test-out: Regenerated.
21140 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21142         [BZ #18434]
21143         * nptl/tst-sem15.c: New file.
21144         * nptl/Makefile (tests): Add it.
21145         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21146         s/<</>>/ to fix typo in EOVERFLOW check.
21147         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21149 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21151         * manual/strings.texi (envz_remove): Fix typo in safety
21152         annotations.
21154 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21155             Steve Ellcey  <sellcey@imgtec.com>
21157         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21158         in order to avoid strict alias warnings.
21159         (iruserok_af): Ditto for ra.
21161 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21163         [BZ #17581]
21164         * malloc/hooks.c
21165         (magicbyte): Convert to a function and avoid returning 0x01.
21166         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21167         (mem2chunk_check): Fix unsigned comparisons to zero.
21168         Hoist defs of sz and magic.
21170 2015-05-19  Richard Henderson  <rth@redhat.com>
21172         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21174         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21176 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21178         [BZ #16159]
21179         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21180         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21181         (reused_arena): Find a non-corrupt arena.
21182         (heap_trim): Pass arena to unlink.
21183         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21184         malloc_printerr.
21185         (top_check): Likewise.
21186         (free_check): Likewise.
21187         (realloc_check): Likewise.
21188         * malloc/malloc.c (malloc_printerr): Add arena argument.
21189         (unlink): Likewise.
21190         (munmap_chunk): Adjust.
21191         (ARENA_CORRUPTION_BIT): New macro.
21192         (arena_is_corrupt): Likewise.
21193         (set_arena_corrupt): Likewise.
21194         (sysmalloc): Use mmap if there are no usable arenas.
21195         (_int_malloc): Likewise.
21196         (__libc_malloc): Don't fail if arena_get returns NULL.
21197         (_mid_memalign): Likewise.
21198         (__libc_calloc): Likewise.
21199         (__libc_realloc): Adjust for additional argument to
21200         malloc_printerr.
21201         (_int_free): Likewise.
21202         (malloc_consolidate): Likewise.
21203         (_int_realloc): Likewise.
21204         (_int_memalign): Don't touch corrupt arenas.
21205         * malloc/tst-malloc-backtrace.c: New test case.
21207         * Makefile (summarize-tests): Fix return value on success.
21209         * manual/string.texi (Envz Functions): Add envz_remove.
21211 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21213         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21214         (invalid_name): New function, broken out of ...
21215         (__opendirat): ... here.  Call it.
21216         (need_isdir_precheck): New function, broken out of ...
21217         (__opendirat): ... here.  Call it.
21218         Use __fxstatat64, not __xstatat64.
21219         (opendir_oflags): New function, broken out of ...
21220         (__opendirat): ... here.  Call it.
21221         (opendir_tail): New function, broken out of ...
21222         (__opendirat): ... here.  Call it.
21223         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21224         opendir_tail, rather than punting to __opendirat.
21225         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21227 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21229         * .gitignore: Ignore generated *.pyc.
21231 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21233         * include/stdio.h: Define __need_wint_t.
21234         * test-skeleton.c: Avoid `for' loop initial declaration.
21235         * nptl/tst-initializers1.c: Use test-skeleton.c.
21237 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21239         [BZ #18418]
21240         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21242 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21244         [BZ #16352]
21245         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21246         (__ieee754_atanh): Force underflow exception for results with
21247         small absolute value.
21248         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21249         (__ieee754_atanhf): Force underflow exception for results with
21250         small absolute value.
21251         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21252         (__ieee754_atanh): Force underflow exception for results with
21253         small absolute value.
21254         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21255         (__ieee754_atanhf): Force underflow exception for results with
21256         small absolute value.
21257         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21258         (__ieee754_atanhl): Force underflow exception for results with
21259         small absolute value.
21260         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21261         (__ieee754_atanhl): Force underflow exception for results with
21262         small absolute value.
21263         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21264         (__ieee754_atanhl): Force underflow exception for results with
21265         small absolute value.
21266         * math/auto-libm-test-in: Do not allow missing underflow
21267         exceptions from atanh.
21268         * math/auto-libm-test-out: Regenerated.
21270         [BZ #18221]
21271         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21272         2**-28 as threshold for returning x or +/- 1/x.
21273         * math/auto-libm-test-in: Add more tests of tan.
21274         * math/auto-libm-test-out: Regenerated.
21276         [BZ #18220]
21277         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21278         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21279         * math/auto-libm-test-in: Add another test of lgamma.
21280         * math/auto-libm-test-out: Regenerated.
21282 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21284         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21285         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21286         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21287         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21288         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21289         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21290         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21291         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21292         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21293         (log1): Use fabs.  (my_log2): Use fabs.
21294         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21295         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21296         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21297         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21298         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21299         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21300         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21301         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21302         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21303         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21304         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21306 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21308         [BZ #18217]
21309         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21310         as threshold for returning 1 - x.
21311         * math/auto-libm-test-in: Add more tests of erfc.
21312         * math/auto-libm-test-out: Regenerated.
21314 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21316         [BZ #18196]
21317         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21318         threshold for large arguments.
21319         * math/auto-libm-test-in: Add another test of atan.
21320         * math/auto-libm-test-out: Regenerated.
21322         [BZ #16339]
21323         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21324         (__log1p): Force underflow exception for results with small
21325         absolute value.
21326         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21327         (__log1pf): Force underflow exception for results with small
21328         absolute value.
21329         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21330         (__log1p): Force underflow exception for results with small
21331         absolute value.
21332         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21333         (__log1pf): Force underflow exception for results with small
21334         absolute value.
21335         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21336         (__log1pl): Force underflow exception for results with small
21337         absolute value.
21338         * math/auto-libm-test-in: Do not allow missing underflow
21339         exceptions from log1p.
21340         * math/auto-libm-test-out: Regenerated.
21342 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21343             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21345         [BZ #16704]
21346         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21348 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21350         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21351         (libmvec): New variable.
21352         * configure.ac: Added option for mathvec build.
21353         * configure: Regenerated.
21354         * mathvec/Depend: New file.
21355         * mathvec/Makefile: New file.
21356         * shlib-versions: Added libmvec.
21357         * math/Makefile: Added rule for libm.so installation.
21359         * bits/math-vector.h: New file.
21360         * bits/libm-simd-decl-stubs.h: New header.
21361         * math/Makefile (headers): Added new header
21362         libm-simd-decl-stubs.h.
21363         * math/math.h (__MATHCALL_VEC): New macro.
21365         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21366         for conditions in testing functions.
21367         * math/Makefile: Added call of libm-have-vector-test.sh.
21368         * math/libm-test.inc (HAVE_VECTOR): New macros.
21370         * math/libm-test.inc: START refactored.
21371         * math/test-double.c (TEST_MATHVEC): Add define.
21372         * math/test-float.c: Likewise.
21373         * math/test-idouble.c: Likewise.
21374         * math/test-ifloat.c: Likewise.
21375         * math/test-ildoubl.c: Likewise.
21376         * math/test-ldouble.c: Likewise.
21377         * sysdeps/generic/math-tests-arch.h
21378         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21379         architecture check.
21381         * math/test-double.c (FUNC_TEST): New macro.
21382         * math/test-float.c: Likewise.
21383         * math/test-idouble.c: Likewise.
21384         * math/test-ifloat.c: Likewise.
21385         * math/test-ildoubl.c: Likewise.
21386         * math/test-ldouble.c: Likewise.
21387         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21389 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21391         * sysdeps/nacl/fdopendir.c: New file.
21393         * dirent/scandir-tail.c: New file.
21394         * dirent/scandir64-tail.c: New file.
21395         * dirent/Makefile (routines): Add them.
21396         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21397         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21398         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21399         [!SCANDIR] (SCANDIR_TAIL): New macro.
21400         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21401         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21402         (SCANDIRAT): Macro removed.
21403         (SCANDIR_TAIL): New macro.
21404         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21405         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21406         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21407         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21408         (READDIR): Macro removed.
21409         (SCANDIR_TAIL): New macro.
21410         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21411         (SCANDIR_TAIL): New macro.
21413         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21414         * dirent/scandir-cancel.c: ... to this new file.
21415         * dirent/Makefile (routines): Add it.
21416         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21417         * sysdeps/unix/sysv/linux/i386/scandir64.c
21418         (SKIP_SCANDIR_CANCEL): Macro removed.
21419         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21421         * dirent/tst-scandir.c: New file.
21422         * dirent/tst-scandir64.c: New file.
21423         * dirent/Makefile (tests): Add them.
21425 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21427         [BZ #18409]
21428         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21430 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21432         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21433         list.
21435 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21437         * benchtests/bench-strcoll.c: New benchmark.
21438         * benchtests/Makefile: Generate locales and run benchmark.
21439         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21440         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21441         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21442         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21443         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21444         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21445         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21446         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21447         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21448         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21449         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21450         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21451         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21452         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21453         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21454         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21455         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21456         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21457         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21458         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21459         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21460         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21461         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21462         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21464 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21466         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21467         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21469 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21471         * posix/uname-values.h: New file.
21472         * posix/uname.c: Include that instead of <config-name.h>.
21473         * sysdeps/nacl/uname-values.h: New file.
21474         * sysdeps/arm/nacl/uname-values.h: New file.
21476 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21478         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21479         splitting into fields.
21481 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21483         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21484         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21485         * locale/localeinfo.h: Add enum collation_encoding_type.
21486         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21487         * programs/ld-collate.c (collate_output): Add encoding type info.
21488         * string/strcoll_l.c (STRDIFF): New function.
21489         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21490         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21492 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21494         [BZ #18397]
21495         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21496         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21497         <fpu_control.h> instead of <math/fpu_control.c>.
21498         * sysdeps/mips/mips32/fpu/Makefile: New file.
21500 2015-05-11  Andreas Schwab  <schwab@suse.de>
21502         [BZ #18007]
21503         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21504         nss_endgrent.
21505         (_nss_compat_endgrent): Call nss_endgrent.
21506         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21507         nss_endpwent.
21508         (_nss_compat_endpwent): Call nss_endpwent.
21509         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21510         needent, call nss_setspent only if non-zero.
21511         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21512         (internal_endspent): Don't call nss_endspent.
21513         (_nss_compat_endspent): Call nss_endspent.
21514         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21515         Remove.  All uses removed.
21516         (internal_setent): Remove parameter stayopen, add parameter
21517         stream.  Use it instead of global variable.
21518         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21519         (internal_endent, internal_getent): Add parameter stream.  Use it
21520         instead of global variable.
21521         (CONCAT(_nss_files_end,ENTNAME))
21522         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21523         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21524         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21525         uses removed.
21526         (internal_setent, internal_endent): Add parameter stream.  Use it
21527         instead of global variable.
21528         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21529         stream.
21530         (get_next_alias): Add parameter stream.
21531         (_nss_files_getaliasent_r): Pass global stream.
21532         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21533         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21534         (_nss_files_gethostbyname4_r): Pass local stream to
21535         internal_setent, internal_getent and internal_endent.  Remove
21536         locking.
21538 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21540         * tst-strfmon1.c (tests): Update expected currency symbol.
21542 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21544         * sysdeps/nacl/gethostname.c: New file.
21546 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21548         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21549         and sinh.
21550         * math/auto-libm-test-out: Regenerated.
21551         * sysdeps/i386/fpu/libm-test-ulps: Update.
21552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21554 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21556         [BZ #18125]
21557         * stdlib/tst-setcontext3.c: New file.
21558         * stdlib/tst-setcontext3.sh: New file.
21559         * stdlib/Makefile (tests): Add tst-setcontext3.
21560         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21561         to verify test program created output file.
21562         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21563         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21564         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21565         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21567 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21569         [BZ #18383]
21570         * elf/tst-tlsalign.c: New file.
21571         * elf/tst-tlsalign-static.c: New file.
21572         * elf/tst-tlsalign-lib.c: New file.
21573         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21574         (tests-static): Add tst-tlsalign-static.
21575         (modules-names): Add tst-tlsalign-lib.
21576         (test-xfail-tst-tlsalign): New variable.
21577         (test-xfail-tst-tlsalign-static): New variable.
21579         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21580         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21582 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21584         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21585         csqrt, erfc, sin and sincos.
21586         * math/auto-libm-test-out: Regenerated.
21587         * sysdeps/i386/fpu/libm-test-ulps: Update.
21588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21590 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21592         * sysdeps/aarch64/libm-test-ulps: Update.
21594 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21596         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21597         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21598         * math/auto-libm-test-out: Regenerated.
21599         * sysdeps/i386/fpu/libm-test-ulps: Update.
21600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21602 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21604         [BZ #18265]
21605         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21606         (wcsncpy): Likewise.
21608 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21610         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21611         Assume __ASSUME_FALLOCATE is always true.
21612         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21613         (__posix_fallocate64_l64): Likweise.
21614         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21615         (posix_fallocate): Likewise.
21616         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21617         (__posix_fallocate64_l64): Likewise.
21618         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21619         [!__ASSUME_FALLOCATE]: Add comment.
21621 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21623         * sysdeps/unix/sysv/linux/i386/Makefile
21624         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21625         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21626         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21627         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21628         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21629         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21630         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21632 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21634         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21635         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21636         tgamma.
21637         * math/auto-libm-test-out: Regenerated.
21638         * sysdeps/i386/fpu/libm-test-ulps: Update.
21639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21641 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21643         * math/auto-libm-test-in: Add more tests of tgamma.
21644         * math/auto-libm-test-out: Regenerated.
21645         * sysdeps/i386/fpu/libm-test-ulps: Update.
21646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21648         * math/auto-libm-test-in: Add more tests of tanh.
21649         * math/auto-libm-test-out: Regenerated.
21650         * sysdeps/i386/fpu/libm-test-ulps: Update.
21651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21653         * math/auto-libm-test-in: Add more tests of tan.
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         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21659         * math/auto-libm-test-out: Regenerated.
21660         * sysdeps/i386/fpu/libm-test-ulps: Update.
21661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21663         * math/auto-libm-test-in: Add another test of pow.
21664         * math/auto-libm-test-out: Regenerated.
21665         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21667         * math/auto-libm-test-in: Add more tests of lgamma.
21668         * math/auto-libm-test-out: Regenerated.
21669         * sysdeps/i386/fpu/libm-test-ulps: Update.
21670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21672         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21673         log1p.
21674         * math/auto-libm-test-out: Regenerated.
21675         * sysdeps/i386/fpu/libm-test-ulps: Update.
21676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21678 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21680         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21681         Elf64_Chdr structs and ELFCOMPRESS constants.
21683 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21685         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21686         expm1.
21687         * math/auto-libm-test-out: Regenerated.
21688         * sysdeps/i386/fpu/libm-test-ulps: Update.
21689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21691         * math/auto-libm-test-in: Add more tests of erf and erfc.
21692         * math/auto-libm-test-out: Regenerated.
21693         * sysdeps/i386/fpu/libm-test-ulps: Update.
21694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21696 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21698         * config.h.in (HAVE_AARCH64_BE): Add.
21700 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21702         * math/auto-libm-test-in: Add more tests of csqrt.
21703         * math/auto-libm-test-out: Regenerated.
21704         * sysdeps/i386/fpu/libm-test-ulps: Update.
21705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21707         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21708         * math/auto-libm-test-out: Regenerated.
21709         * sysdeps/i386/fpu/libm-test-ulps: Update.
21710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21712         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21714 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21716         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21717         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21719         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21720         (euidaccess, eaccess): Define as weak aliases.
21722         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21723         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21724         but __suseconds_t is often 'long int' so some sources assume that
21725         type is being used (e.g. they use %ld to print tv_usec).
21727 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21729         [BZ #18007]
21730         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21731         (CVE-2014-8121)
21732         * nss/tst-nss-getpwent.c: New file.
21733         * nss/Makefile (tests): Add new test.
21735 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21737         [BZ #18346]
21738         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21739         exponents less than 48 as cases where high part of mantissa needs
21740         examining to determine whether argument is integral.
21741         * math/libm-test.inc (round_test_data): Add more tests.
21743 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21745         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21747 2015-04-27  David S. Miller  <davem@davemloft.net>
21749         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21750         __tls_get_addr.
21751         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21753 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21755         [BZ#18333]
21756         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21758 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21760         [BZ#18333]
21761         * time/tzset.c (parse_tzname): Return error on memory allocation
21762         failure.
21763         * test-skeleton.c (struct temp_name_list): Change type of name
21764         member to non-const.
21765         (add_temp_file): Create a copy of the file name.
21766         (delete_temp_files): Deallocate memory.
21767         (create_temp_file): Add comment.
21769 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21771         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21772         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21774 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21776         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21777         * sysdeps/arm/configure: Regenerated.
21779 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21781         [BZ #17715]
21782         * time/tzfile.c (__tzfile_read): Check for large values of
21783         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21784         * time/tzset.c (__tzstring_len): New function, based on the old
21785         __tzstring function.
21786         (__tzstring): Call __tzstring_len.
21787         (parse_tzname): New helper function extracted from
21788         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21789         the input string.
21790         (parse_offset): New helper function extracted from
21791         __tzset_parse_tz.  Replace switch with fallthrough with
21792         initialization before sscanf.
21793         (parse_rule): Likewise.
21794         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21795         new-style function definition.
21796         * timezone/Makefile (tests): Add tst-tzset.
21797         (tst-tzset.out): Dependencies on time zone files.
21798         (tst-tzset-ENV): Set TZDIR.
21799         (testdata/XT%): Copy crafted time zone files.
21800         * timezone/README: Mention crafted time zone files.
21801         * timezone/testdata/XT1, timezone/testdata/XT2,
21802         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21803         files.
21804         * timezone/tst-tzset.c: New test.
21806 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21808         * Makeconfig (+gccwarn): Remove -Winline.
21810 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21812         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21814 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21816         * NEWS: Mention sysconf() cache information support for s390.
21817         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21819 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21821         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21822         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21823         (__nearbyint): Likewise.
21824         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21825         (copysignl): Likewise.
21827 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21829         [BZ #18287]
21830         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21831         based on padding.  (CVE-2015-1781)
21833 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21835         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21836         libc-vdso.h.
21837         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21838         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21839         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21840         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21841         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21842         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21843         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21844         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21845         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21846         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21847         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21848         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21849         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21850         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21851         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21852         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21853         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21854         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21855         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21856         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21857         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21858         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21859         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21861 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21863         * stdlib/setenv.c (__add_to_environ):
21864         Dump core quickly if setenv (..., NULL, ...) is called.
21865         This time, do it the right way, and pacify GCC with a pragma.
21867 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21869         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21870         IMAP->l_prev cannot be null, and #if out the code for the contrary
21871         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21872         believe that NS (&_dl_ns[NSID]) could point outside the array.
21874         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21875         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21876         before using NSID as an index.
21878 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21880         [BZ #17825]
21881         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21882         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21883         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21885 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21887         Add preliminary port to Google Native Client on ARM.
21888         * abi-tags (.*-.*-nacl.*): New entry.
21889         * sysdeps/arm/nacl: New directory.
21890         * sysdeps/nacl: New directory.
21892 2015-04-16  David S. Miller  <davem@davemloft.net>
21894         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21895         lowlevellock-futex.h
21897 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21899         * sysdeps/tile/configure.ac: New file.
21900         * sysdeps/tile/configure: Regenerated.
21902 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21904         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21905         conditionals for weak_alias and libc_hidden_weak.
21906         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21907         libc_hidden_weak and weak_alias.
21908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21909         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21910         and weak_alias for static one.
21912 2015-04-15  David S. Miller  <davem@davemloft.net>
21914         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21916 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21918         [BZ #18206]
21919         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21920           Use signed comparision instead of substraction to avoid
21921           overflow bug.
21922         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21923           Take the sign of ret.
21924         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21925           Do not expect precise return values. Only the sign matters.
21926         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21927         * wcsmbs/test-wcsncmp.c: New File.
21928         * string/test-strncmp.c: Add wcsncmp support.
21930 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21932         [BZ #6792]
21933         * math/w_log1p.c: New file.
21934         * math/w_log1pf.c: Likewise.
21935         * math/w_log1pl.c: Likewise.
21936         * math/Makefile (libm-calls): Add w_log1p.
21937         * math/s_log1pl.c (log1pl): Remove weak_alias.
21938         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21939         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21940         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21941         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21942         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21943         [NO_LONG_DOUBLE] (log1pl): Likewise.
21944         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21945         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21946         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21947         (log1p): Remove long_double_symbol.
21948         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21949         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21950         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21951         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21952         remove weak_alias for corresponding log1p function.
21953         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21954         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21955         * sysdeps/ia64/fpu/w_log1p.c: New file.
21956         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21957         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21958         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21960 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21962         [BZ #18247]
21963         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21964         decimal exponent by 1.
21965         * stdlib/tst-strtod-round-data: Add more tests.
21966         * stdlib/tst-strtod-round.c (tests): Regenerated.
21968 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21970         * math/auto-libm-test-in: Add more tests of clog and clog10.
21971         * math/auto-libm-test-out: Regenerated.
21972         * sysdeps/i386/fpu/libm-test-ulps: Update.
21973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21975 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21977         * Makeconfig (module-cppflags): Exclude all .v.i files.
21978         (skip-module-cppflags): Variable removed.
21980         * configure.ac (libc_config_ok): Initialize before reading
21981         preconfigure scripts, not after.
21982         * configure: Regenerated.
21984         * test-skeleton.c (TIMEOUT): Move #define to top level.
21985         (main): Grok environment variable TEST_DIRECT.  If set, print
21986         test expectation details into that file and then behave as if
21987         given --direct.
21989 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21991         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21992         warning on 32-bit.
21994 2015-04-08  David S. Miller  <davem@davemloft.net>
21996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21998 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22000         * math/auto-libm-test-in: Add more tests of atanh.
22001         * math/auto-libm-test-out: Regenerated.
22002         * sysdeps/i386/fpu/libm-test-ulps: Update.
22003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22005         * math/auto-libm-test-in: Add more tests of atan.
22006         * math/auto-libm-test-out: Regenerated.
22007         * sysdeps/i386/fpu/libm-test-ulps: Update.
22008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22010 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22012         * elf/pldd.c (main): Rewrite to use struct
22013         scratch_buffer instead of extend_alloca.
22014         * elf/pldd-xx.c (find_maps): Likewise.
22015         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22016         <alloca.h>.
22017         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22018         scratch_buffer instead of extend_alloca.
22019         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22020         grp/compat-initgroups.c.
22021         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22022         Rewrite to use struct scratch_buffer instead of extend_alloca.
22023         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22024         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22026 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22028         * math/auto-libm-test-in: Add more tests of cbrt.
22029         * math/auto-libm-test-out: Regenerated.
22030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22032         * math/auto-libm-test-in: Add more tests of cabs.
22033         * math/auto-libm-test-out: Regenerated.
22034         * sysdeps/i386/fpu/libm-test-ulps: Update.
22035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22037         [BZ #18210]
22038         [BZ #18211]
22039         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22040         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22041         computations.
22042         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22043         clog10.
22044         * math/auto-libm-test-out: Regenerated.
22045         * sysdeps/i386/fpu/libm-test-ulps: Update.
22046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22048         [BZ #18197]
22049         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22050         (atan): Set FE_TONEAREST mode for internal computations.
22051         * math/auto-libm-test-in: Add more tests of atan.
22052         * math/auto-libm-test-out: Regenerated.
22054 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22056         [BZ #17930]
22057         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22059 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22061         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22063 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22065         * include/scratch_buffer.h: New file.
22066         * malloc/scratch_buffer_grow.c: Likewise.
22067         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22068         * malloc/scratch_buffer_set_array_size.c: Likewise.
22069         * malloc/tst-scratch_buffer.c: Likewise.
22070         * malloc/Makefile (routines): Add scratch_buffer_grow.
22071         (tests): Add test case.
22072         * malloc/Versions (GLIBC_PRIVATE): Export
22073         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22074         __libc_scratch_buffer_set_array_size.
22076 2015-04-06  Richard Henderson  <rth@redhat.com>
22078         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22079         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22081         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22082         unsigned int before printing.
22084 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22086         [BZ #17596]
22087         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22088         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22090 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22092         * include/libc-internal.h (libc_max_align_t): Define.
22094 2015-04-02  Andreas Schwab  <schwab@suse.de>
22096         [BZ #16850]
22097         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22099 2015-04-02  Mel Gorman  <mgorman@suse.de>
22101         [BZ #17195]
22102         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22103         as well as the main arena.
22105 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22107         [BZ #18185]
22108         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22109         sharing L2 cache to 2 for Silvermont/Knights Landing.
22111 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22113         [BZ #17711]
22114         * config.make.in (have-protected-data): New.
22115         * configure.ac: Check linker support for protected data symbol.
22116         * configure: Regenerated.
22117         * elf/Makefile (modules-names): Add tst-protected1moda and
22118         tst-protected1modb if $(have-protected-data) is yes.
22119         (tests): Add tst-protected1a and tst-protected1b if
22120         $(have-protected-data) is yes.
22121         ($(objpfx)tst-protected1a): New.
22122         ($(objpfx)tst-protected1b): Likewise.
22123         (tst-protected1modb.so-no-z-defs): Likewise.
22124         * elf/tst-protected1a.c: New file.
22125         * elf/tst-protected1b.c: Likewise.
22126         * elf/tst-protected1mod.h: Likewise.
22127         * elf/tst-protected1moda.c: Likewise.
22128         * elf/tst-protected1modb.c: Likewise.
22130 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22132         [BZ #17711]
22133         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22134         indicates it is called from do_lookup_x on relocation against
22135         protected data, skip the data definion in the executable from
22136         copy reloc.
22137         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22138         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22139         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22140         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22141         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22142         otherwise to 0.
22143         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22144         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22145         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22146         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22147         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22148         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22150 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22152         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22153         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22155 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22157         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22158         THREAD_SETMEM_NC.
22159         * sysdeps/x86_64/nptl/tls.h: Ditto.
22161 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22163         * dlfcn/tststatic.c (main): Converted to ...
22164         (do_test): ... this.
22165         (TEST_FUNCTION): New macro.
22166         Include test-skeleton.c.
22168 2015-03-26  Alan Modra  <amodra@gmail.com>
22170         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22171         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22172         zero for undefined weak.
22173         (elf_machine_plt_conflict): Similarly.
22175 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22177         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22178         atanh.
22179         * math/auto-libm-test-out: Regenerated.
22180         * sysdeps/i386/fpu/libm-test-ulps: Update.
22181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22183         * math/auto-libm-test-in: Add another test of asin.
22184         * math/auto-libm-test-out: Regenerated.
22185         * sysdeps/i386/fpu/libm-test-ulps: Update.
22186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22188         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22189         Remove macro.
22190         (LLL_EBX_REG): Likewise.
22191         (LLL_ENTER_KERNEL): Likewise.
22193         * math/auto-libm-test-in: Add more tests of asin.
22194         * math/auto-libm-test-out: Regenerated.
22195         * sysdeps/i386/fpu/libm-test-ulps: Update.
22196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22198         [BZ #18138]
22199         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22200         libc_do_syscall_args): New structure.
22201         (INTERNAL_SYSCALL_MAIN_0): New macro.
22202         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22203         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22204         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22205         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22206         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22207         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22208         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22209         Replace conditional definitions by conditional definitions of ....
22210         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22211         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22212         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22213         (libpthread-sysdep_routines): Add libc-do-syscall.
22214         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22215         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22216         to __NR_futex not 240.
22218 2015-03-25  Alan Modra  <amodra@gmail.com>
22220         * NEWS: Advertise TLS optimization.
22221         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22222         (DT_PPC_NUM): Increment.
22223         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22224         (CHECK_STATIC_TLS): Use here.
22225         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22226         TLS descriptors.
22227         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22228         * sysdeps/powerpc/dl-tls.c: New file.
22229         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22230         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22231         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22232         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22237 2015-03-25  Alan Modra  <amodra@gmail.com>
22239         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22240         for overlapping .opd entries" to "support...".
22241         * sysdeps/powerpc/powerpc64/configure: Regenerate
22243 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22245         * math/auto-libm-test-in: Add more tests of acos.
22246         * math/auto-libm-test-out: Regenerated.
22247         * sysdeps/i386/fpu/libm-test-ulps: Update.
22248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22250         * math/auto-libm-test-in: Add more tests of expm1.
22251         * math/auto-libm-test-out: Regenerated.
22252         * sysdeps/i386/fpu/libm-test-ulps: Update.
22253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22255 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22257         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22258         * math/auto-libm-test-out: Regenerated.
22259         * sysdeps/i386/fpu/libm-test-ulps: Update.
22260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22262         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22265         * math/auto-libm-test-in: Add more tests of log2.
22266         * math/auto-libm-test-out: Regenerated.
22267         * sysdeps/i386/fpu/libm-test-ulps: Update.
22268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22270 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22272         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22273         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22274         _IO_IS_APPENDING bit in READ_WRITE instead.
22276 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22278         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22279         (__determine_cpumask_size): Replace extend_alloca with a
22280         variable-length array.  Do not treat res == 0 as an error.
22282 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22284         [BZ #18100]
22285         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22286         and integer overflow.
22287         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22288         (main): Add integer overflow tests.
22289         * manual/pattern.texi (Calling Wordexp): Document additional use
22290         for WRDE_SYNTAX.
22292 2015-03-23  Alan Modra  <amodra@gmail.com>
22294         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22295         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22296         and false branch of conditional.
22297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22298         Likewise.
22300 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22302         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22303         libc-modules.h
22304         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22305         unused declaration of _hurd_intr_rpc_msg_in_trap.
22306         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22307         defined instead of whether it is non-zero.
22308         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22309         input constraint instead of both input and output constraint.  Use ecx
22310         clobber instead of %ecx.
22311         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22312         mutex_unlock): Use a statement expression instead of an expression list.
22313         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22314         type to vm_size_t instead of vm_address_t.
22315         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22316         defined instead of whether it is non-zero.
22317         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22318         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22319         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22320         comparisons with mapaddr.
22321         * nscd/nscd-client.h: Include <time.h>.
22322         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22323         9th parameter to __vm_region instead of int.
22324         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22325         * scripts/check-local-headers.sh (exclude): Add device/,
22326         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22327         cthreads.h.
22329 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22331         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22332         to account for alignment padding.
22333         * sysdeps/arm/memmove.S: Likewise.
22335 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22337         * sysdeps/unix/sysv/linux/generic/README: New file.
22339 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22341         [BZ #18138]
22342         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22343         (futex_abstimed_wait)
22344         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22345         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22346         of lll_futex_timed_wait.
22348 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22350         [BZ #17542]
22351         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22353 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22355         [BZ #17090]
22356         [BZ #17620]
22357         [BZ #17621]
22358         [BZ #17628]
22359         * NEWS: Update.
22360         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22361         entries with Static TLS too.  Skip entries past the end of the
22362         allocated DTV, from Alan Modra.
22363         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22364         Static TLS DTV entry set up from...
22365         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22366         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22367         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22368         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22369         for Static TLS.
22370         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22371         that the slot we find is associated with the given map before
22372         using its generation count.
22373         * nptl_db/db_info.c: Include ldsodefs.h.
22374         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22375         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22376         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22377         (link_map::l_tls_offset): New struct field.
22378         (dtv_t::counter): Likewise.
22379         (rtld_global): New struct.
22380         (_rtld_global): New rtld variable.
22381         (dl_tls_dtv_slotinfo_list): New rtld global field.
22382         (dtv_slotinfo_list): New struct.
22383         (dtv_slotinfo): Likewise.
22384         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22385         (td_lookup): Rename to...
22386         (td_mod_lookup): ... this.  Use new mod parameter instead of
22387         LIBPTHREAD_SO.
22388         * nptl_db/td_thr_tlsbase.c: Include link.h.
22389         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22390         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22391         addresses even if the DTV is out of date or missing them.
22392         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22393         index zero-length arrays.
22394         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22395         (td_lookup): Make it a macro implemented in terms of...
22396         (td_mod_lookup): ... this declaration.
22397         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22398         (DB_MAIN_VARIABLE): Likewise.
22400 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22402         [BZ #18134]
22403         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22405 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22407         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22409 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22411         [BZ #18128]
22412         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22413         (atomic_add, atomic_increment_and_test)
22414         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22416 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22418         * stdlib/setenv.c (__add_to_environ):
22419         Dump core quickly if setenv (..., NULL, ...) is called.
22421 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22423         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22424         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22425         all the necessary asm magic in one place.
22426         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22427         using those.
22429 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22431         [BZ #14906]
22432         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22433         traced file mtime. Use consistent log message.
22434         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22435         (register_traced_file): Call install_watches. Always set mtime.
22436         (invalidate_cache): Iterate over all trace files. Call install_watches.
22437         (inotify_check_files): Don't inline. Handle watching parent
22438         directories and configuration file movement in and out.
22439         (handle_inotify_events): New function.
22440         (main_loop_poll): Call handle_inotify_events.
22441         (main_loop_epoll): Likewise.
22442         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22443         (struct traced_file): Use array of inotify fds. Add parent directory,
22444         and basename.
22445         (struct database_dyn): Remove unused file_mtime.
22446         (init_traced_file): New inline function.
22447         (define_traced_file): New macro.
22448         * nss/nss_db/db-init.c: Use define_traced_file.
22449         (_nss_db_init): Use init_traced_file.
22450         * nss/nss_files/files-init.c: Use define_traced_file.
22451         (_nss_files_init): Use init_traced_file.
22453 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22455         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22456         [_LIBC]: Do not include <stdlib.h>.
22457         [!_LIBC] (abort): Remove declaration.
22458         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22459         _FP_STATIC_ASSERT instead of conditionally calling abort.
22460         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22461         (_FP_EXTEND_CNAN): Likewise.
22462         (FP_TRUNC): Likewise.
22463         (__FP_CLZ): Likewise.
22464         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22466 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22468         * manual/string.texi (XPG basename): Fix prototype.
22470 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22472         [BZ #18080]
22473         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22474         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22475         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22476         (__setcontext): Likewise.
22477         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22478         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22479         Call rt_sigprocmask syscall one time to set new signal mask
22480         and retrieve the current signal mask instead of two calls.
22481         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22482         (__swapcontext): Likewise.
22483         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22484         * stdlib/tst-setcontext2.c: New file.
22486 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22488         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22490 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22492         [BZ #18093]
22493         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22494         the wrong size.
22496 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22498         [BZ #18043]
22499         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22501 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22503         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22504         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22505         Remove define.
22506         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22507         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22508         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22509         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22510         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22511         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22512         define.
22513         * nptl_db/td_symbol_list.c (td_lookup): Remove
22514         HAVE_ASM_GLOBAL_DOT_NAME code.
22515         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22516         HAVE_ASM_GLOBAL_DOT_NAME check.
22517         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22518         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22519         (DOT_LABEL): Remove define.
22520         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22521         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22522         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22523         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22524         (__TLS_GET_ADDR): Likewise.
22525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22526         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22528 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22530         [BZ #18111]
22531         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22532         (_FPU_SETCW): Initialize cw from fpsr before storing.
22533         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22534         (fesetexceptflag): Rewrite using fpu_control.h.
22535         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22537 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22539         [BZ #18110]
22540         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22541         asms.
22542         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22544 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22546         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22547         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22548         abort.
22549         (_FP_FMA): Likewise.
22550         (_FP_DIV): Likewise.
22552 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22554         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22555         with 0 in that case.
22556         * Makefile (summarize-tests): New canned sequence, factored out of
22557         commands for targets tests and xtests.  Display summary lines that
22558         don't start with PASS: or XFAIL: rather than ones that do start with
22559         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22560         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22561         do start with ERROR: or FAIL:.
22562         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22563         (except for [$(build-shared) = yes]).
22564         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22565         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22566         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22567         * nptl/Makefile: Revert 2015-03-04 changes.
22568         [$(CXX) empty] (tests-unsupported): New variable.
22569         * debug/Makefile: Likewise.
22571         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22572         gnulib file.  Replace __attribute with __attribute__ throughout.
22574 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22576         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22578 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22580         [BZ #18104]
22581         * math/auto-libm-test-in: Add another test of pow.
22582         * math/auto-libm-test-out: Regenerated.
22584 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22586         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22587         $(config-cflags-nofma).
22589 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22591         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22592         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22593         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22594         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22595         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22596         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22597         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22598         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22599         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22600         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22601         Add comment on closing #endif.
22603 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22605         * posix/wordexp.c (CHAR_IN_SET): New macro.
22606         (parse_param): Use it.
22608 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22610         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22612 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22614         [BZ #18043]
22615         * posix/wordexp.c (parse_param): Fix buffer overflow.
22616         * posix/wordexp-test.c (test_case): Add test case.
22618 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22620         [BZ #18042]
22621         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22622         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22624 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22626         [BZ #18043]
22627         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22628         (do_bz18043): Delete.
22629         (at_page_end): New.
22630         (testit): Refactor to have words at the edge of unreadable page.
22632 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22634         [BZ #16734]
22635         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22636         Cleanup read-only streams as well.
22637         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22639 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22641         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22642         <bits/libc-lockP.h>
22644 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22646         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22647         on [__KERNEL__].
22648         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22649         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22650         * soft-fp/op-common.h (_FP_DECL): Likewise.
22652 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22654         * elf/ifuncdep2.c (global): Replace
22655         __attribute__((visibility("protected"))) with
22656         asm (".protected global").
22657         * elf/ifuncmod1.c (global): Likewise.
22658         * elf/ifuncmod5.c (global): Likewise.
22660 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22662         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22663         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22665 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22667         * manual/install.texi (Configuring and compiling):
22668         Document test-wrapper-env-only.
22669         * INSTALL: Regenerated.
22671 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22673         [BZ #18043]
22674         * posix/wordexp.c (parse_param): Fix buffer overflow.
22675         * posix/wordexp-test.c (do_bz18043): Add test case.
22677 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22679         * time/tst-strptime2.c (do_test): Ensure failing tests are
22680         reported correctly.
22681         * time/tst-strptime3.c (do_test): Likewise.
22683 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22685         Fix aio_error thread-safety.
22686         * sysdeps/pthread/aio_error.c: New file
22687         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22688         synchronization.
22690 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22692         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22693         (group_number, vfprintf): Use it.
22694         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22695         (JUMP, REF): Use it.
22696         (WORK_BUFFER_SIZE): New enum constant.
22697         (process_arg, vfprintf): Use it.
22699 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22701         * manual/errno.texi (Error Messages): Complete example function
22702         by adding missing #define.
22703         (program_invocation_name): Add statement indicating GNU
22704         extension and reference which header file declares the variable.
22705         (program_invocation_short_name): Likewise.
22707 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22709         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22710         compatibility note.
22712 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22714         * Makeconfig (test-wrapper-env-only): New variable.
22715         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22716         then use that with $(test-wrapper-env-only) rather than using
22717         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22719 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22721         [BZ #18082]
22722         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22723         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22724         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22725         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22726         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22727         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22728         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22729         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22730         Likewise.
22731         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22732         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22733         Likewise.
22734         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22735         Likewise.
22736         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22737         Likewise.
22738         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22739         Likewise.
22740         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22741         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22742         Likewise.
22743         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22744         Likewise.
22745         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22746         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22748 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22750         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22751         (ETH_ALEN): New macro.
22752         (struct ether_addr): Use it for length of ether_addr_octet.
22754         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22755         (setdb): Don't call __nss_configure_lookup for "rpc".
22756         (do_test): Don't call test_rpc.
22757         (output_rpcent, test_rpc): Functions moved ...
22758         * sunrpc/test-rpcent.c: ... to this new file.
22759         * sunrpc/Makefile (tests): Add it.
22761         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22762         __xpg_sigpause.
22763         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22764         * nptl/tst-signal6.c: Likewise.
22765         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22766         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22768         * configure.ac (libc_cv_cxx_link_ok): New check.
22769         Reset CXX to empty if it fails to link.
22770         * configure: Regenerated.
22771         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22772         bug-atexit3-lib only if $(CXX) is nonempty.
22773         * nptl/Makefile (tests): Likewise for tst-cancel24.
22774         (tests, tests-static): Likewise for tst-cancel24-static.
22775         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22776         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22777         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22778         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22780 2015-03-04  Andreas Schwab  <schwab@suse.de>
22782         [BZ #17631]
22783         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22784         for non-GCC compilers.
22785         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22786         Likewise.
22788 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22790         [BZ #17776]
22791         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22792         integer before bitwise and assembly operations.
22793         (feclearexcept): Likewise.
22794         * math/test-fenvinline.c: New file.
22795         * math/Makefile: Add test-fenvinline test.
22797 2015-03-03  Alan Modra  <amodra@gmail.com>
22799         [BZ #16512]
22800         * scripts/localplt.awk: Strip off symbol version.
22801         * NEWS: Mention bug fix.
22803 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22805         * sysdeps/pthread/timer_routines.c
22806         (timer_free_list, thread_free_list, thread_active_list): Make static.
22808 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22810         [BZ #17779]
22811         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22812         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22813         Undefine.
22814         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22815         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22816         Likewise.
22817         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22818         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22819         Likewise.
22821 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22823         [BZ #18036]
22824         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22825         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22827 2015-03-02  Andreas Schwab  <schwab@suse.de>
22829         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22830         variable name.
22832 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22834         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22835         Return error status.
22837 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22839         [BZ #15969]
22840         * locale/findlocale.c (_nl_find_locale): Introduce const
22841         version of loc_name and drop unsafe type casts.
22843 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22845         * dlfcn/tststatic2.c (main): Converted to ...
22846         (do_test): ... this.
22847         (TEST_FUNCTION): New macro.
22848         Include test-skeleton.c.
22850 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22852         [BZ #17711]
22853         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22854         (tests-pie): Add vismain.
22855         (CFLAGS-vismain.c): New.
22856         * elf/vismain.c: Add comments for PIE requirement.
22858 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22860         [BZ #18046]
22861         [BZ #18047]
22862         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22863         0x1p-56L as threshold for just returning the argument.
22864         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22865         0x1p-32L as threshold for just returning the argument.
22866         * math/auto-libm-test-in: Add more tests of atanh.
22867         * math/auto-libm-test-out: Regenerated.
22868         * sysdeps/i386/fpu/libm-test-ulps: Update.
22869         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22871 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22873         * string/bcopy.c (bcopy): Call memmove for performance.
22875 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22877         * string/bzero.c (__bzero): Call memset for performance.
22879 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22881         [BZ #18068]
22882         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22883         to 00100000.
22885 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22887         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22889 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22891         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22892         (__kernel_standard): Use CSTR macro when setting exc.name.
22893         * sysdeps/ieee754/Makefile [$(subdir) = math]
22894         (CFLAGS-k_standard.c): Remove variable.
22896         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22897         setting p and q from "else if" to "else".
22898         (qzero): Likewise.
22899         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22900         (qone): Likewise.
22901         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22902         (qzerof): Likewise.
22903         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22904         (qonef): Likewise.
22905         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22906         (qzero): Likewise.
22907         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22908         (qone): Likewise.
22910         [BZ #18038]
22911         [BZ #18039]
22912         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22913         return pi/2 for arguments below 0x1p-113L.
22914         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22915         return pi/2 for arguments below 0x1p-106L.
22916         * math/auto-libm-test-in: Add more tests of acos.
22917         * math/auto-libm-test-out: Regenerated.
22919         [BZ #16351]
22920         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22921         (MO): New macro.
22922         (__ieee754_asin): Force underflow exception for results with small
22923         absolute value.
22924         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22925         (MO): New macro.
22926         (__ieee754_asinf): Force underflow exception for results with
22927         small absolute value.
22928         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22929         (__ieee754_asin): Force underflow exception for results with small
22930         absolute value.
22931         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22932         (__ieee754_asinf): Force underflow exception for results with
22933         small absolute value.
22934         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22935         (__ieee754_asinl): Force underflow exception for results with
22936         small absolute value.
22937         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22938         (__ieee754_asinl): Force underflow exception for results with
22939         small absolute value.
22940         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22941         (__ieee754_asinl): Force underflow exception for results with
22942         small absolute value.
22943         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22944         Include <math.h>.
22945         * math/auto-libm-test-in: Do not mark underflow exceptions as
22946         possibly missing for bug 16351.
22947         * math/auto-libm-test-out: Regenerated.
22949         [BZ #18030]
22950         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22951         of power of 2 down when low part has opposite sign.
22952         * math/libm-test.inc (logb_test_data): Add more tests.
22954 2015-02-26  Andreas Schwab  <schwab@suse.de>
22956         [BZ #18032]
22957         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22958         over collating symbol inside a bracket expression.  Minor cleanup.
22959         * posix/tst-fnmatch3.c (do_test): Add test case.
22961 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22963         [BZ #18029]
22964         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22965         Adjust exponent of power of 2 down when low part has opposite
22966         sign.
22967         * math/libm-test.inc (ilogb_test_data): Add more tests.
22969 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22971         [BZ #15969]
22972         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22973         the previous change.
22975         [BZ #15969]
22976         * locale/findlocale.c (_nl_find_locale): Retry archive search
22977         after alias expansion.
22979 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22981         * iconv/tst-iconv3.c (main): Converted to ...
22982         (do_test): ... this.
22983         (TEST_FUNCTION): New macro.
22984         Include test-skeleton.c.
22986         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22987         (convert): Make function static.
22988         (test_unalign): Likewise.  Add const to argument pointee types.
22989         (main): Replace with static function do_test.
22990         Print "Succeeded." only if RET is zero.
22991         (TEST_FUNCTION): New macro.
22992         Include test-skeleton.c.
22994         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22995         returns a null pointer.
22997 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22999         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23000         to __memcpy_ppc only for static builds.
23002 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23004         [BZ #18020]
23005         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23006         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23007         * math/auto-libm-test-in: Add more tests of asinh.
23008         * math/auto-libm-test-out: Regenerated.
23009         * sysdeps/i386/fpu/libm-test-ulps: Update.
23010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23012 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23014         [BZ #15850]
23015         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23016         and ip6_mtuinfo definitions here.
23017         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23018         in this define too.  Update comment.
23020 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23022         * elf/sprof.c (load_shobj): Tweak error message to match others.
23024 2015-02-24  Kevin Easton  <kevin@guarana.org>
23026         [BZ #16145] (partial fix)
23027         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23028         to reduce lock contention.
23030 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23032         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23033         (struct timex): Update time comment.
23034         (ADJ_SETOFFSET): Define.
23036 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23038         [BZ #18019]
23039         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23040         2**56 not 2**28 as threshold for log (2x) formula.
23041         * math/auto-libm-test-in: Add more tests of acosh.
23042         * math/auto-libm-test-out: Regenerated.
23043         * sysdeps/i386/fpu/libm-test-ulps: Update.
23044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23046 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23048         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23049         parenthesis around the buf assignment.
23050         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23052 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23054         [BZ #16783]
23055         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23056         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23057         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23058         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23059         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23060         * math/libm-test.inc (scalb_test_data): Add more tests.
23062 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23064         [BZ #17916]
23065         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23066         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23068 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23070         [BZ #17523]
23071         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23072         * io/bits/fcntl2.h (open): Use it.
23073         (openat): Likewise.
23074         * io/open.c (__libc_open): Likewise.
23075         * io/open64.c (__libc_open64): Likewise.
23076         * io/open64_2.c (__open64_2): Likewise.
23077         * io/open_2.c (__open_2): Likewise.
23078         * io/openat.c (__openat): Likewise.
23079         * io/openat64.c (__openat64): Likewise.
23080         * io/openat64_2.c (__openat64_2): Likewise.
23081         * io/openat_2.c (__openat_2): Likewise.
23082         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23083         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23084         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23085         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23086         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23087         (__open_nocancel): Likewise.
23088         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23089         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23090         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23092 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23094         [BZ #14841]
23095         * resolv/gethnamaddr.c (getanswer): Skip logging if
23096         RES_USE_DNSSEC is set.
23097         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23099 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23101         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23103 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23105         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23106         201304L, for Unicode 7.
23108 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23110         [BZ #17836]
23111         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23112         shared library.  Add gmon-start.os otherwise.
23113         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23114         $(objpfx)gmon-start.os if builing shared library.
23115         ($(objpfx)g$(static-start-installed-name)): Likewise.
23117 2015-02-23  Andreas Schwab  <schwab@suse.de>
23119         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23121 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23123         [BZ #17269]
23124         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23125         (enlarge_userbuf): Likewise.
23127 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23129         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23130         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23131         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23132         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23134 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23136         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23137         expression inside statement expression.
23139 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23141         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23142         <sysdeps/nptl/lowlevellock.h> and remove macros and
23143         functions that are now defined there.
23144         (SYS_futex): Remove.
23145         (lll_compare_and_swap): Remove.
23146         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23148 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23150         [BZ #17999]
23151         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23152         instead of scandirat.
23153         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23154         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23155         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23156         __scandirat.
23157         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23158         (__scandirat): Declare.  Use libc_hidden_proto.
23159         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23160         Remove variable.
23161         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23163 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23165         [BZ #15319]
23166         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23167         (MO): New macro.
23168         (__ieee754_atan2): For results with small absolute value, force
23169         underflow exception and remove excess range and precision from
23170         return value.
23171         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23172         (MO): New macro.
23173         (__ieee754_atan2f): For results with small absolute value, force
23174         underflow exception and remove excess range and precision from
23175         return value.
23176         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23177         (MO): New macro.
23178         (__atan): For results with small absolute value, force underflow
23179         exception and remove excess range and precision from return value.
23180         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23181         (MO): New macro.
23182         (__atanf): For results with small absolute value, force underflow
23183         exception and remove excess range and precision from return value.
23184         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23185         <math.h>.
23186         (__ieee754_atan2): Force underflow exception for results with
23187         small absolute value.
23188         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23189         <math_private.h>.
23190         (atan): Force underflow exception for results with small absolute
23191         value.
23192         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23193         (__atanf): Force underflow exception for results with small
23194         absolute value.
23195         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23196         <math.h>.
23197         (__atanl): Force underflow exception for results with small
23198         absolute value.
23199         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23200         (__atanl): Force underflow exception for results with small
23201         absolute value.
23202         * sysdeps/x86/fpu/bits/mathinline.h
23203         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23204         (__ieee754_atan2): Only define inline for long double.
23205         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23206         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23207         * math/auto-libm-test-in: Do not mark underflow exceptions as
23208         possibly missing for bug 15319.  Add more tests of atan2.
23209         * math/auto-libm-test-out: Regenerated.
23210         * math/libm-test.inc (casin_test_data): Do not mark underflow
23211         exceptions as possibly missing for bug 15319.
23212         (casinh_test_data): Likewise.
23213         * sysdeps/i386/fpu/libm-test-ulps: Update.
23215 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23217         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23218         * sysdeps/mips/bits/endian.h: Fix comments.
23220 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23222         [BZ #17996]
23223         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23224         (hdestroy_r): Likewise.
23225         (hsearch_r): Likewise.
23226         (__hcreate_r): Declare and use libc_hidden_proto.
23227         (__hdestroy_r): Likewise.
23228         (__hsearch_r): Likewise.
23229         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23230         (hcreate): Call __hcreate_r instead of hcreate_r.
23231         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23232         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23233         as weak alias of __hcreate_r.
23234         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23235         __hdestroy_r.
23236         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23237         __hsearch_r.
23238         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23239         Remove variable.
23240         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23241         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23242         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23243         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23245 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23247         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23248         arena_lock into a single arena_get.
23250 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23252         * dl-reloc.c: Inlucde libc-internal.h.
23253         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23254         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23255         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23256         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23257         (grow_heap): Likewise.
23258         * malloc/malloc.c: Include libc-internal.h.
23259         (do_check_malloc): Call powerof2.
23260         (sysmalloc): Use pagesize. Call ALIGN_UP.
23261         (systrim): Use pagesize.
23262         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23263         (__libc_valloc): Use pagesize.
23264         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23266 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23268         [BZ #17991]
23269         * include/sys/resource.h (__getrlimit64): Declare.  Use
23270         libc_hidden_proto.
23271         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23272         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23273         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23274         getrlimit64.
23275         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23276         __getrlimit64.
23277         [!getrlimit64] (getrlimit64): Define as weak alias of
23278         __getrlimit64.  Use libc_hidden_weak.
23279         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23280         using __getrlimit64 not __new_getrlimit64.
23281         (__GI_getrlimit64): Likewise.
23282         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23283         Likewise.
23284         (__GI_getrlimit64): Likewise.
23285         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23287         (getrlimit): Add __getrlimit64 alias.
23288         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23289         Likewise.
23290         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23291         Remove variable.
23292         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23293         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23295 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23297         * libio/fileops.c: Add missing sys/mman.h
23298         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23300 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23302         * manual/math.texi (Errors in Math Functions): Clarify goals
23303         regarding inexact and underflow exceptions.
23305 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23307         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23308         * sysdeps/mips/memset.S: Ditto.
23310 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23312         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23314 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23316         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23317         (__v1longjmp): Remove versioned symbol.
23318         (__v1siglongjmp): Remove alias and versioned symbol.
23319         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23320         (__v2siglongjmp): Likewise.
23322 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23324         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23326 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23328         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23330 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23332         [BZ #17987]
23333         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23334         zero result does not depend on the sign resulting from
23335         subtraction.
23336         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23337         Likewise.
23338         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23339         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23340         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23341         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23342         * math/libm-test.inc (remquo_test_data): Add more tests.
23344 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23346         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23347         Problem reported by J William Piggott.
23349 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23351         [BZ #17978]
23352         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23353         products 4 * y and 2 * y where those would overflow.
23354         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23355         Likewise.
23356         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23357         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23358         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23359         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23360         * math/libm-test.inc (remquo_test_data): Add more tests.
23362         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23364         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23365         [defined _COMPILING_NEWLIB].
23366         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23367         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23369         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23370         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23372 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23374         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23375         acquired.
23377 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23379         [BZ #17792]
23380         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23381         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23382         HOST_STACK_END_ADDR): Likewise.
23384 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23386         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23387         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23388         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23390 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23392         * sysdeps/generic/c++-types.data: New file.
23393         * sysdeps/generic/ld.abilist: New file.
23394         * sysdeps/generic/libBrokenLocale.abilist: New file.
23395         * sysdeps/generic/libanl.abilist: New file.
23396         * sysdeps/generic/libc.abilist: New file.
23397         * sysdeps/generic/libcrypt.abilist: New file.
23398         * sysdeps/generic/libdl.abilist: New file.
23399         * sysdeps/generic/libm.abilist: New file.
23400         * sysdeps/generic/libpthread.abilist: New file.
23401         * sysdeps/generic/libresolv.abilist: New file.
23402         * sysdeps/generic/librt.abilist: New file.
23404 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23406         [BZ #17569]
23407         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23408         Compute absolute value of x as modified by fmod, not original
23409         value of x.
23410         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23411         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23412         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23413         RUN_TEST_ffI_f1_mod8.
23414         (remquo_test_data): Add more tests.
23416 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23418         * sysdeps/init_array/pt-crti.S: New file.
23420 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23422         [BZ #17967]
23423         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23424         __builtin_fmaf instead of relying on contraction of a * b + c.
23426 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23428         [BZ #17969]
23429         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23430         node.
23432 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23434         [BZ #17964]
23435         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23436         __builtin_fma instead of relying on contraction of a * b + c.
23438 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23440         * Makeconfig (ASFLAGS): Add -Werror=undef.
23441         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23442         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23443         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23445         * Makeconfig (after-link): New variable.
23446         (+link-pie, +link-pie-tests): Use it.
23447         (+link-static, +link-static-tests): Likewise.
23448         (+link, +link-tests): Likewise.
23449         * Makerules (build-module, build-module-asneeded): Likewise.
23450         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23451         Likewise.
23452         * elf/Makefile ($(objpfx)ld.so): Likewise.
23454 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23456         [BZ #17965]
23457         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23458         both struct timeval and struct timespec.
23460 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23462         [BZ #16560]
23463         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23464         and redefine.
23465         (__ieee754_exp2l): Do not multiply small fractional parts by
23466         M_LN2l.
23467         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23468         small argument.
23469         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23470         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23471         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23472         * math/auto-libm-test-in: Add more tests of exp2.
23473         * math/auto-libm-test-out: Regenerated.
23475 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23477         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23478         unaligned path.
23480 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23482         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23483         little endian.
23485 2015-02-12  Andreas Schwab  <schwab@suse.de>
23487         [BZ #15790]
23488         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23489         Filter out elision flags from value returned in kind.
23490         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23491         * nptl/tst-pthread-mutexattr.c: New file.
23493 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23495         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23496         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23497         into gnu-gnu, and update comment to refer to abi-tags.
23499 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23501         [BZ #15467]
23502         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23503         (__sincos): Set errno to EDOM for infinite argument.
23504         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23505         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23506         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23507         (__sincosl): Set errno to EDOM for infinite argument.
23508         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23509         (__sincosl): Set errno to EDOM for infinite argument.
23510         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23511         (__sincosl): Set errno to EDOM for infinite argument.
23512         * math/libm-test.inc (sincos_test_data): Test errno setting.
23514 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23516         * string/strxfrm_l.c: Remove #define STRCMP.
23517         * string/strcoll_l.c: Remove #define STRLEN.
23518         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23519         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23521 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23523         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23524         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23525         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23526         * sysdeps/mips/mips64/Makefile: ... here.
23527         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23528         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23529         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23530         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23531         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23532         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23533         * sysdeps/mips/mips64/n64/Implies: Likewise.
23535 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23537         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23538         <sys/time.h>, <string.h>, and <errno.h>.
23539         (dest_offset, dest_address, value, zero): Remove unused variables.
23540         (ldouble): Remove typedef.
23541         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23542         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23543         1).  Fix code style.
23544         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23545         (check): Function removed.
23546         (CHECK): New macro.
23547         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23548         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23549         Don't call set_sigaction_FP and remove_sigaction_FP here.
23550         (ldouble_test): Just use 'long double' as macro argument, no need for
23551         the 'ldouble' typedef.
23552         (do_test): Set up SIGFPE handler at start, using plain signal rather
23553         than sigaction.  Fix code style.
23555 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23557         [BZ #17949]
23558         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23559         jump label.
23561 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23563         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23564         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23566         * sysdeps/powerpc/configure.ac: Remove file.
23567         * sysdeps/powerpc/configure: Likewise.
23569         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23570         [sysdep_routines]: Remove wordcopy-power6 object.
23571         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23572         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23573         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23574         (__memmove_ppc32): Likewise.
23575         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23576         file.
23577         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23578         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23579         Remove preprocessor.
23581         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23582         [sysdep_routines]: Remove wide chars objects.
23583         [wcsmbs]: New rule for wide char objects.
23585         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23586         Remove wordcopy-power6 obejct.
23587         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23588         Use local call for wordcopy and memcpy symbols.
23589         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23590         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23591         implementation for loader.
23592         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23594         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23595         Remove wordcopy-power7 object.
23596         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23597         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23598         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23599         (_wordcopy_fwd_dest_aligned): Likewise.
23600         (_wordcopy_bwd_aligned): Likewise.
23601         (_wordcopy_bwd_dest_aligned): Likewise.
23603         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23604         Rewrite to call __memmove_ppc instead of include default
23605         implementation.
23607         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23608         Remove wide chars objects.
23609         [wcsmbs]: New rule for wide char objects.
23611 2015-02-09  Andreas Schwab  <schwab@suse.de>
23613         [BZ #17912]
23614         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23615         in terms of __O_DIRECTORY.
23617 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23619         * time/getdate.c: Include <stdbool.h>.
23620         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23621         call PTR_MANGLE.
23622         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23623         PTR_DEMANGLE.
23625 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23627         Add ersatz _Static_assert on older C hosts
23628         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23629         pre-C11 C platform that is not known to support _Static_assert.
23631 2015-02-07  Richard Braun  <rbraun@sceen.net>
23633         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23634         sigstate.
23635         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23637 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23639         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23640         priority against unexistent AIO_PRIO_DELTA_MAX.
23641         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23642         instead of int.
23643         * misc/fchflags.c (fchflags): Likewise.
23644         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23645         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23646         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23647         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23648         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23649         Declare macros.
23650         [__USE_MISC] (chflags, fchflags): Declare functions.
23651         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23652         EINVAL when nfds is greater than FD_SETSIZE.
23653         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23654         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23655         45.
23656         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23657         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23658         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23659         MACH_RCV_TIMED_OUT.
23660         * hurd/hurd/signal.h (_hurd_self_sigstate,
23661         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23662         Explicit casts from void *.
23663         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23664         * abi-tags: Rename gnu-gnu os into gnu.
23666         [BZ #4719]
23667         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23668         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23669         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23670         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23671         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23672         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23674         [BZ #17944]
23675         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23676         duplicates ADDR->sun_path with sockaddr LEN limitation.
23677         * sysdeps/mach/hurd/connect.c: Include <string.h>
23678         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23679         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23680         * sysdeps/mach/hurd/sendto.c: Likewise.
23681         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23682         implementing it by hand.
23684 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23686         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23687         Use sfi_breg on ldr.
23688         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23689         Likewise.
23691         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23692         it's defined.
23693         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23694         Test SIGSETXID only if it's defined.
23696         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23698         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23699         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23701         * nptl/tst-align2.c: Moved ...
23702         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23703         * nptl/Makefile (tests): Remove tst-align2.
23704         * sysdeps/unix/sysv/linux/Makefile
23705         [$(subdir) = nptl] (tests): Add tst-align-clone.
23706         * nptl/tst-getpid1.c: Moved ...
23707         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23708         * nptl/tst-getpid2.c: Moved ...
23709         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23710         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23711         * sysdeps/unix/sysv/linux/Makefile
23712         [$(subdir) = nptl] (tests): ... here.
23713         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23714         * sysdeps/unix/sysv/linux/Makefile
23715         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23717         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23718         Drop trailing \n from perror argument.  Use return rather than exit.
23720         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23721         on [SA_SIGINFO].
23722         * nptl/tst-cancel21.c (do_test): Likewise.
23723         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23724         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23725         [!SA_SIGINFO]: Make it a stub test.
23727         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23728         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23730         * posix/tst-getlogin.c: Move to ...
23731         * login/tst-getlogin.c: ... here.
23732         * posix/Makefile (tests): Move tst-getlogin to ...
23733         * login/Makefile (tests): ... here.
23735         * libio/tst-atime.c (do_test): Move local variables SV and E
23736         inside [ST_NOATIME] conditional.
23738         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23740         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23742         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23743         (wait_code): New function replaces macro.
23744         Call nanosleep rather than syscall.
23746         * nptl/pt-system.c: Rewritten.  Put everything under
23747         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23748         Use IFUNC to redirect when possible.
23750         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23751         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23752         Use IFUNC to redirect when possible.
23754         * nptl/pt-fork.c: Rewritten.  Put everything under
23755         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23756         Use IFUNC to redirect when possible.
23757         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23759         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23760         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23761         unconditionally nowadays.  This included the only reference to
23762         __vdso_clock_gettime that appears outside libc proper.
23763         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23764         Remove version set (containing only __vdso_clock_gettime).
23765         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23766         Add attribute_hidden.
23767         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23768         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23769         libc_hidden_data_def.
23770         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23771         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23773         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23774         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23775         setrpcent, and getrpcport to ...
23776         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23777         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23778         getrpcbynumber_r, and getrpcent_r to ...
23779         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23780         * inet/getrpcbyname.c: Moved ...
23781         * sunrpc/getrpcbyname.c: ... here.
23782         * inet/getrpcbyname_r.c: Moved ...
23783         * sunrpc/getrpcbyname_r.c: ... here.
23784         * inet/getrpcbynumber.c: Moved ...
23785         * sunrpc/getrpcbynumber.c: ... here.
23786         * inet/getrpcbynumber_r.c: Moved ...
23787         * sunrpc/getrpcbynumber_r.c: ... here.
23788         * inet/getrpcent.c: Moved ...
23789         * sunrpc/getrpcent.c: ... here.
23790         * inet/getrpcent_r.c: Moved ...
23791         * sunrpc/getrpcent_r.c: ... here.
23792         * inet/Makefile (routines): Move those to ...
23793         * sunrpc/Makefile (routines): ... here.
23794         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23795         the $(subdirs) list.
23796         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23797         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23798         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23799         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23801         * elf/Makefile (routines): Include $(all-dl-routines), not just
23802         $(dl-routines).
23803         (rtld-routines): Likewise.  Use = rather than :=.
23804         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23805         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23806         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23807         * sysdeps/arm/Makefile: Likewise.
23808         * sysdeps/i386/Makefile: Likewise.
23809         * sysdeps/x86_64/Makefile: Likewise.
23810         * sysdeps/hppa/Makefile [$(subdir) = elf]
23811         (sysdep_routines, sysdep-rtld-routines): Don't add
23812         $(sysdep-dl-routines) to these.
23813         * sysdeps/ia64/Makefile: Likewise.
23814         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23815         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23816         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23817         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23818         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23819         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23820         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23821         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23822         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23823         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23824         these; sysdep-dl-routines alone is enough.
23826 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23828         [BZ #17932]
23829         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23830         where multiplication results in zero and third argument is finite
23831         and nonzero.
23832         * math/auto-libm-test-in: Add more tests of fma.
23833         * math/auto-libm-test-out: Regenerated.
23835         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23836         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23837         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23838         (_FP_CMP_EQ): Likewise.
23839         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23841         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23842         extra argument CHECK_NAN.  Redefine as wrapper around
23843         _FP_EXTEND_CNAN.
23845 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23847         * version.h (RELEASE): Set to "stable".
23848         (VERSION): Set to "2.21"
23849         * include/features.h (__GLIBC_MINOR__): Set to 21.
23851         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23853 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23854             Paul Eggert  <eggert@cs.ucla.edu>
23856         [BZ #16618]
23857         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23858         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23859         size in bytes. Store needed elements in wpmax. Use needed size
23860         in bytes for extend_alloca.
23862 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23864         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23865         binutls 2.25, and texinfo 5.2.
23866         * INSTALL: Regenerate.
23867         * sysdeps/nios2/configure: Regenerate.
23868         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23869         * manual/contrib.texi: Update.
23870         * po/be.po: Update.
23871         * po/bg.po: Update.
23872         * po/ca.po: Update.
23873         * po/cs.po: Update.
23874         * po/da.po: Update.
23875         * po/de.po: Update.
23876         * po/el.po: Update.
23877         * po/eo.po: Update.
23878         * po/es.po: Update.
23879         * po/fi.po: Update.
23880         * po/fr.po: Update.
23881         * po/gl.po: Update.
23882         * po/hr.po: Update.
23883         * po/hu.po: Update.
23884         * po/ia.po: Update.
23885         * po/id.po: Update.
23886         * po/it.po: Update.
23887         * po/ja.po: Update.
23888         * po/ko.po: Update.
23889         * po/lt.po: Update.
23890         * po/nb.po: Update.
23891         * po/nl.po: Update.
23892         * po/pl.po: Update.
23893         * po/pt_BR.po: Update.
23894         * po/ru.po: Update.
23895         * po/rw.po: Update.
23896         * po/sk.po: Update.
23897         * po/sl.po: Update.
23898         * po/sv.po: Update.
23899         * po/tr.po: Update.
23900         * po/uk.po: Update.
23901         * po/vi.po: Update.
23902         * po/zh_CN.po: Update.
23903         * po/zh_TW.po: Update.
23905         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23906         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23907         * sysdeps/hppa/dl-irel.h: Remove #warning.
23908         * sysdeps/hppa/entry.h: Provide prototype for
23909         __canonicalize_funcptr_for_compare and cast argument.
23910         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23911         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23912         * sysdeps/hppa/sotruss-lib.c: New file.
23913         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23914         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23915         (atomic_compare_and_exchange_bool_acq): Likewise.
23916         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23917         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23919         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23920         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23921         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23923 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23925         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23926         called function in non-PIC case.
23928 2015-01-31  David S. Miller  <davem@davemloft.net>
23930         * sysdeps/sparc/sparc32/bits/atomic.h
23931         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23932         unlock not after it.
23933         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23934         volatile register usage warnings from the compiler.
23936         * sysdeps/sparc/nptl/sem_init.c: Delete.
23937         * sysdeps/sparc/nptl/sem_post.c: Delete.
23938         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23939         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23940         * sysdeps/sparc/sparc32/sem_init.c: New file.
23941         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23942         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23943         padding explicitly initialized.
23944         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23945         padding for in-semaphore spinlock.
23946         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23947         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23948         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23949         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23950         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23951         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23952         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23953         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23954         version.
23955         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23956         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23958 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23960         [BZ #17801]
23961         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23962         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23963         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23964         New.
23965         (index_AVX_Fast_Unaligned_Load): Likewise.
23966         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23967         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23968         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23969         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23970         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23971         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23972         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23973         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23974         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23976 2015-01-29  Andreas Schwab  <schwab@suse.de>
23978         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23980 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23982         [BZ #17892]
23983         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23985 2015-01-28  Martin Sebor  <msebor@redhat.com>
23987         * math/README.libm-test: Clarify. Add "How to read the test output."
23989 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23991         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23992         Define to 0.
23994 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23996         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23997         (__HAVE_64B_ATOMICS): Define to 0.
23999 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24001         [BZ #17885]
24002         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24003         value to set as new flag.
24005         [BZ #16576]
24006         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24007         and use _ARCH_PPCSQ instead.
24008         (__ieee754_sqrt): Likewise.
24009         (__ieee754_sqrtf): Likewise.
24010         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24011         _ARCH_PPCSQ is defined.
24012         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24013         fsqrt instruction.
24014         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24015         _ARCH_PPCSQ is defined.
24016         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24017         fsqrts instruction.
24018         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24020 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24022         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24023         bug (GCC BZ #64739).
24025 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24027         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24028         Mark _retval as used.
24029         (lll_futex_wake_unlock): Likewise.
24030         (lll_futex_timed_wait_requeue_pi): Likewise.
24032         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24033         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24034         register variables.
24036         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24037         libm_hidden_def.
24039         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24040         (__bswap_64): Mark as __always_inline.
24042 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24044         [BZ #15378]
24045         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24046         when none of the search directories exist.
24048 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24050         [BZ #17869]
24051         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24052         power8 in .machine directive.
24054         [BZ #17868]
24055         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24056         set dependency from opd value.
24058 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24060         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24061         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24062         architecture.
24064 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24066         [BZ #17870]
24067         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24068         with uint64_t.
24069         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24070         (uint64_t) 1.
24071         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24072         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24073         Replace 1UL with (uint64_t) 1.
24074         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24075         int with uint64_t.
24077 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24079         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24080         (if_freenameindex): Likewise.
24082         * resource/getrlimit64.c: Add missing libc_hidden_def.
24084 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24086         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24087         __label__.
24088         (_FP_FMA): Likewise.
24089         (_FP_TO_INT_ROUND): Likewise.
24090         (_FP_FROM_INT): Likewise.
24092 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24094         [BZ #16418]
24095         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24096         Make code racy and cancel safe.
24098 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24100         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24101         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24102         attribution.
24104         * pwd/tst-getpw.c: Rewrite.
24106         [BZ #17702]
24107         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24108         (modules-names): Add moddummy1 and moddummy2.
24109         ($(objpfx)tst-rec-dlopen): Define.
24110         * dlfcn/moddummy1.c: New file.
24111         * dlfcn/moddummy2.c: New file.
24112         * dlfcn/tst-rec-dlopen.c: New file.
24113         * elf/dl-cache.c (_dl_load_cache_lookup):
24114         Return char*. Copy result with alloca/strcpy/strdup.
24115         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24116         returns char*. Free cached. If not saving realname
24117         free cached.
24118         * elf/dl-open.c (dl_open_worker): Do not assert that
24119         _r_debug->r_state is RT_CONSISTENT.
24120         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24121         returns char*.
24123 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24124             Carlos O'Donell  <carlos@redhat.com>
24126         [BZ #12674]
24127         * nptl/sem_waitcommon.c: New file.
24128         * nptl/sem_wait.c: Include sem_waitcommon.c.
24129         (__sem_wait_cleanup, do_futex_wait): Remove.
24130         (__new_sem_wait): Adapt.
24131         (__new_sem_trywait): New function.
24132         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24133         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24134         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24135         (sem_timedwait): Adapt.
24136         * nptl/sem_post.c (__new_sem_post): Adapt.
24137         (futex_wake): New function.
24138         (__old_sem_post): Add release MO fence.
24139         * nptl/sem_open.c (sem_open): Adapt.
24140         * nptl/sem_init.c (__new_sem_init): Adapt.
24141         (futex_private_if_supported): New function.
24142         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24143         (__old_sem_getvalue): Add using previous code.
24144         * sysdeps/nptl/internaltypes.h: Adapt.
24145         * nptl/tst-sem13.c (do_test): Adapt.
24146         * nptl/tst-sem11.c (main): Adapt.
24147         * nptl/sem_trywait.c: Remove.
24148         * nptl/DESIGN-sem.txt: Remove.
24149         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24150         (gen-as-const-headers): Remove structsem.sym.
24151         * nptl/structsem.sym: Remove.
24152         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24153         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24154         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24155         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24156         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24157         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24158         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24159         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24160         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24161         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24162         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24163         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24164         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24165         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24166         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24167         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24168         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24169         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24170         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24171         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24172         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24173         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24175 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24177         * INSTALL: Regenerated.
24179         * po/libc.pot: Regenerated.
24181 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24182             Sandra Loosemore  <sandra@codesourcery.com>
24183             Andrew Jenner  <andrew@codesourcery.com>
24184             Joseph Myers  <joseph@codesourcery.com>
24185             Nathan Sidwell  <nathan@codesourcery.com>
24187         * NEWS: Mention new Nios II port.
24188         * sysdeps/nios2/Implies: New file.
24189         * sysdeps/nios2/Makefile: New file.
24190         * sysdeps/nios2/Subdirs: New file.
24191         * sysdeps/nios2/Versions: New file.
24192         * sysdeps/nios2/__longjmp.S: New file.
24193         * sysdeps/nios2/abort-instr.h: New file.
24194         * sysdeps/nios2/backtrace.c: New file.
24195         * sysdeps/nios2/bits/endian.h: New file.
24196         * sysdeps/nios2/bits/fenv.h: New file.
24197         * sysdeps/nios2/bits/link.h: New file.
24198         * sysdeps/nios2/bits/setjmp.h: New file.
24199         * sysdeps/nios2/bsd-_setjmp.S: New file.
24200         * sysdeps/nios2/bsd-setjmp.S: New file.
24201         * sysdeps/nios2/configure: New generated file.
24202         * sysdeps/nios2/configure.ac: New file.
24203         * sysdeps/nios2/crti.S: New file.
24204         * sysdeps/nios2/crtn.S: New file.
24205         * sysdeps/nios2/dl-init.c: New file.
24206         * sysdeps/nios2/dl-machine.h: New file.
24207         * sysdeps/nios2/dl-sysdep.h: New file.
24208         * sysdeps/nios2/dl-tls.h: New file.
24209         * sysdeps/nios2/dl-trampoline.S: New file.
24210         * sysdeps/nios2/gccframe.h: New file.
24211         * sysdeps/nios2/gmp-mparam.h: New file.
24212         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24213         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24214         * sysdeps/nios2/ldsodefs.h: New file.
24215         * sysdeps/nios2/libc-tls.c: New file.
24216         * sysdeps/nios2/libm-test-ulps: New file.
24217         * sysdeps/nios2/machine-gmon.h: New file.
24218         * sysdeps/nios2/math-tests.h: New file.
24219         * sysdeps/nios2/math_private.h: New file.
24220         * sysdeps/nios2/memusage.h: New file.
24221         * sysdeps/nios2/nptl/Makefile: New file.
24222         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24223         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24224         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24225         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24226         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24227         * sysdeps/nios2/nptl/tls.h: New file.
24228         * sysdeps/nios2/preconfigure: New file.
24229         * sysdeps/nios2/s_fma.c: New file.
24230         * sysdeps/nios2/s_fmaf.c: New file.
24231         * sysdeps/nios2/setjmp.S: New file.
24232         * sysdeps/nios2/sfp-machine.h: New file.
24233         * sysdeps/nios2/sotruss-lib.c: New file.
24234         * sysdeps/nios2/stackguard-macros.h: New file.
24235         * sysdeps/nios2/stackinfo.h: New file.
24236         * sysdeps/nios2/start.S: New file.
24237         * sysdeps/nios2/sysdep.h: New file.
24238         * sysdeps/nios2/tls-macros.h: New file.
24239         * sysdeps/nios2/tst-audit.h: New file.
24240         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24241         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24242         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24243         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24244         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24245         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24246         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24247         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24248         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24249         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24250         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24251         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24252         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24253         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24254         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24255         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24256         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24257         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24258         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24259         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24260         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24261         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24262         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24263         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24264         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24265         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24266         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24267         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24268         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24269         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24270         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24271         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24272         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24273         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24274         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24275         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24276         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24277         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24278         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24279         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24280         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24281         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24282         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24283         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24285 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24287         [BZ #17844]
24288         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24289         (getutent): Use weak_alias in non SHARED case
24290         and default_symbol_version in SHARED case.
24291         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24292         (getutent_r, pututline): Likewise.
24293         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24294         (getutid): Likewise.
24295         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24296         (getutid_r): Likewise.
24297         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24298         (getutline): Likewise.
24299         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24300         (getutline_r): Likewise.
24301         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24302         (updwtmp): Likewise.
24304 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24306         [BZ #17848]
24307         * sysdeps/s390/s390-32/memcmp.S
24308         (memcmp_g5): Rename to __memcmp_g5.
24309         * sysdeps/s390/s390-32/memcpy.S
24310         (memcpy_g5): Rename to __memcpy_g5.
24311         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24312         (memcpy_mvcle) Rename to __memcpy_mvcle.
24313         * sysdeps/s390/s390-32/memset.S
24314         (memset_g5): Rename to __memset_g5.
24315         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24316         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24317         and use prefixed functions.
24318         * sysdeps/s390/s390-32/multiarch/memcmp.S
24319         (memcmp_z196): Rename to __memcmp_z196.
24320         (memcmp_z10): Rename to __memcmp_z10.
24321         (memcmp): Set alias to __memcmp_g5.
24322         (bcmp): Set alias to __memcmp_g5.
24323         * sysdeps/s390/s390-32/multiarch/memcpy.S
24324         (memcpy_z196): Rename to __memcpy_z196.
24325         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24326         (memcpy_z10): Rename to __memcpy_z10.
24327         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24328         (memcpy): Set alias to __memcpy_g5.
24329         * sysdeps/s390/s390-32/multiarch/memset.S
24330         (memset_z196): Rename to __memset_z196.
24331         Jump to __memset_mvcle instead of memset_mvcle.
24332         (memset_z10): Rename to __memset_z10.
24333         Jump to __memset_mvcle instead of memset_mvcle.
24334         (memset_mvcle) Rename to __memset_mvcle.
24335         (memset): Set alias to __memset_g5.
24336         * sysdeps/s390/s390-64/memcmp.S
24337         (memcmp_z900): Rename to __memcmp_z900.
24338         * sysdeps/s390/s390-64/memcpy.S
24339         (memcpy_z900): Rename to __memcpy_z900.
24340         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24341         (memcpy_mvcle) Rename to __memcpy_mvcle.
24342         * sysdeps/s390/s390-64/memset.S
24343         (memset_z900): Rename to __memset_z900.
24344         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24345         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24346         and use prefixed functions.
24347         * sysdeps/s390/s390-64/multiarch/memcmp.S
24348         (memcmp_z196): Rename to __memcmp_z196.
24349         (memcmp_z10): Rename to __memcmp_z10.
24350         (memcmp): Set alias to __memcmp_z900.
24351         (bcmp): Set alias to __memcmp_z900.
24352         * sysdeps/s390/s390-64/multiarch/memcpy.S
24353         (memcpy_z196): Rename to __memcpy_z196.
24354         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24355         (memcpy_z10): Rename to __memcpy_z10.
24356         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24357         (memcpy): Set alias to __memcpy_z900.
24358         * sysdeps/s390/s390-64/multiarch/memset.S
24359         (memset_z196): Rename to __memset_z196.
24360         Jump to __memset_mvcle instead of memset_mvcle.
24361         (memset_z10): Rename to __memset_z10.
24362         Jump to __memset_mvcle instead of memset_mvcle.
24363         (memset_mvcle) Rename to __memset_mvcle.
24364         (memset): Set alias to __memset_z900.
24366 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24368         [BZ #17748]
24369         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24370         __fesetenv instead of fesetenv.
24372 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24374         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24375         macro.
24377 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24379         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24380         regression on LE.
24382         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24383         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24384         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24385         strncmp-power8 object.
24386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24387         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24388         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24389         * NEWS: Update.
24391 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24392             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24394         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24395         trailing byte check.
24397 2015-01-13  David S. Miller  <davem@davemloft.net>
24399         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24401 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24403         * login/logout.c (logout): Use memset rather than bzero.
24404         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24405         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24406         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24407         (_gethtbyaddr): Likewise.
24408         * locale/programs/simple-hash.c (bcopy): Macro removed.
24410 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24412         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24413         Add strcmp-power8 object.
24414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24415         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24416         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24417         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24418         __strcmp_power8 implementation.
24419         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24420         * NEWS: Update.
24422         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24423         Add strncpy-power8 and stpncpy-power8 objects.
24424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24425         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24426         implementations.
24427         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24428         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24429         __stpncpy_power8 implementation.
24430         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24431         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24432         __strncpy_power8 implementation.
24433         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24434         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24435         * NEWS: Update.
24437         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24438         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24439         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24441         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24442         strncat-power8 object.
24443         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24444         __strcat_power8 implementation.
24445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24446         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24447         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24448         optimized strcat for power8.
24450         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24451         strcpy-power8 and stpcpy-power8 objects.
24452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24453         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24454         implementations.
24455         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24456         multiarch stpcpy implementation for POWER8.
24457         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24458         multiarch strcpy implementation for POWER8.
24459         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24460         __strcpy_power8 function.
24461         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24462         stpcpy for POWER8.
24463         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24464         strcpy for POWER8.
24465         * NEWS: Update.
24467 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24469         [BZ #16009]
24470         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24471         weights and rules. Use do_xfrm_cached if data fits in cache,
24472         do_xfrm otherwise.  Moved former main loop to...
24473         * (do_xfrm_cached): New function.
24474         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24475         find_idx, find_position and stack_push.
24476         * (find_idx): New function.
24477         * (find_position): Likewise.
24478         * localedata/sort-test.sh: Added test run for do_xfrm.
24479         * localedata/xfrm-test.c (main): Added command line option
24480         -nocache to run the test with strings that are too large for
24481         the STRXFRM cache.
24483 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24485         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24486         variable to lll_futex_wake call, not the value itself.
24488 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24490         [BZ #17803]
24491         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24492         twom64.  Adjust value to 0x1p-64L.
24493         (__scalblnl): Only return standard underflowing result for K <=
24494         -64 not K <= -63; adjust exponent for underflowing result by 64
24495         not 63.
24496         * math/libm-test.inc (scalbn_test_data): Add more tests.
24497         (scalbln_test_data): Likewise.
24499         [BZ #17834]
24500         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24501         0x1p63L.
24502         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24503         not HX.
24504         * math/libm-test.inc (scalbn_test_data): Add more tests.
24505         (scalbln_test_data): Likewise.
24507 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24508             Stefani Seibold  <stefani@seibold.net>
24510         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24511         (sysdep_routines): Add dl-vdso here, ...
24512         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24513         (sysdep_routines): ... not here.
24514         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24515         fallback when vDSO is not presented.
24516         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24517         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24518         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24519         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24520         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24521         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24522         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24523         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24524         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24525         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24526         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24527         fallback configurable symbol when vDSO is not available.
24528         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24529         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24530         be able to redefine fallback symbol when vDSO is not available.
24531         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24532         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24534 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24536         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24537         (TLS_INIT_TP): Add tm_capable initialization.
24538         (TLS_DEFINE_INIT_TP): Likewise.
24539         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24540         TCB.
24541         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24542         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24543         calculation.
24544         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24545         transactoion is lock elision is built and TCB tm_capable is set.
24546         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24548         (INTERNAL_SYSCALL_NCS): Likewise.
24549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24550         (INTERNAL_SYSCALL_NCS): Likewise.
24551         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24553         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24554         for powerpc.
24555         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24556         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24557         and remove it for 32 bits case.
24558         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24559         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24560         initialization.
24561         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24562         Disable lock elision with rdlocks if elision is not available.
24564         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24565         (sysdep_routines): Add lock elision objects.
24566         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24567         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24568         [pthread_mutex_t] (__elision): Add field.
24569         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24570         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24571         elision definitions for powerpc.
24572         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24573         implementation of lock elision for powerpc.
24574         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24575         implementation of timed lock elision for powerpc.
24576         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24577         implementation of trylock with lock elision for powerpc.
24578         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24579         implementaion of unlock for lock elision for powerpc.
24580         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24581         automatic enable lock elision for mutexes.
24582         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24583         transaction execution definitions for powerpc.
24584         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24585         definitions.
24586         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24587         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24588         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24589         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24590         * NEWS: Update.
24592 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24594         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24595         for #include of <shm-directory.h>.
24597 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24599         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24600         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24602 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24604         [BZ #17791]
24605         * NEWS: Mention bug fix.
24606         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24607         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24608         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24610 2015-01-09  Torvald Riegel <triegel@redhat.com>
24612         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24614 2015-01-09  Torvald Riegel <triegel@redhat.com>
24616         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24618 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24620         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24621         pointer and cast to uintptr_t.
24623 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24625         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24626         removed.
24627         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24629 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24631         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24632         of 0.
24634 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24636         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24637         <nptl/pthreadP.h> instead.
24638         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24640         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24641         already defined.
24642         [__SIGRTMIN] (init): Function removed.
24643         [__SIGRTMIN] (initialized): Variable removed.
24644         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24645         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24646         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24647         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24648         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24649         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24650         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24651         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24652         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24653         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24654         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24655         * sysdeps/nptl/allocrtsig.c: New file.
24656         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24657         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24658         * sysdeps/generic/testrtsig.h: File removed.
24660         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24661         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24663         * nptl/nptl-init.c (pthread_functions): Conditionalize
24664         .ptr__nptl_setxid initialization on [SIGSETXID].
24666         * sysdeps/nptl/sys/procfs.h: New file.
24667         * nptl_db/Makefile (headers): Add it.
24668         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24670         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24671         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24672         * nptl/pthread_attr_setaffinity.c: Include it.
24673         * nptl/pthread_setattr_default_np.c: Likewise.
24674         * nptl/check-cpuset.h: New file.
24676 2015-01-08  Richard Henderson  <rth@redhat.com>
24678         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24679         (CFLAGS-tst-execstack-prog.c): Likewise.
24680         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24682 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24683             Sandra Loosemore  <sandra@codesourcery.com>
24684             Andrew Jenner  <andrew@codesourcery.com>
24685             Joseph Myers  <joseph@codesourcery.com>
24686             Nathan Sidwell  <nathan@codesourcery.com>
24688         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24689         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24690         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24691         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24692         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24693         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24694         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24695         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24696         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24697         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24698         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24699         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24700         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24701         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24702         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24703         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24704         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24706 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24708         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24709         timespec struct member in syscall macro.
24710         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24711         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24712         first timeval struct member in syscall macro.
24713         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24715 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24717         [BZ #17748]
24718         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24719         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24720         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24721         __feupdateenv and define as weak alias of __feupdateenv.  Use
24722         libm_hidden_weak.
24723         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24724         libm_hidden_def.
24725         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24726         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24727         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24728         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24729         libm_hidden_def.
24730         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24731         __feupdateenv and define as weak alias of __feupdateenv.  Use
24732         libm_hidden_weak.
24733         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24734         libm_hidden_def.
24735         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24736         __feupdateenv and define as weak alias of __feupdateenv.  Use
24737         libm_hidden_weak.
24738         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24739         libm_hidden_def.
24740         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24741         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24742         (__feupdateenv): Likewise.
24743         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24744         __feupdateenv and define as weak alias of __feupdateenv.  Use
24745         libm_hidden_weak.
24746         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24747         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24748         libm_hidden_def.
24749         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24750         function.
24751         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24752         libm_hidden_def.
24753         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24754         __feupdateenv instead of feupdateenv.
24755         (default_libc_feupdateenv_test): Likewise.
24756         (libc_feresetround_ctx): Likewise.
24758 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24760         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24761         prototype.
24763 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24765         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24766         COLL_SYM in a couple of places to avoid uninitialized variable
24767         wanings on tilegx gcc 4.8.2.
24769 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24771         * sysdeps/aarch64/strcpy.S: New file.
24772         * sysdeps/aarch64/stpcpy.S: New file.
24773         * NEWS: Updated.
24775 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24777         * sysdeps/aarch64/strrchr.S: New file.
24778         * NEWS: Updated.
24780 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24782         [BZ #17658]
24783         * stdlib/setenv.c: Fix memory leak when setting large,
24784         duplicate string.
24786 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24788         [BZ #17273]
24789         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24790         and tabs from buffer before parsing fstab entry.
24791         * misc/tst-mntent.c (main): Add test for mount entry with
24792         trailing spaces and tabs.
24794 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24796         [BZ #17748]
24797         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24798         * math/fesetround.c (fesetround): Rename to __fesetround and
24799         define as weak alias of __fesetround.  Use libm_hidden_weak.
24800         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24801         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24802         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24803         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24804         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24805         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24806         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24807         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24808         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24809         __fesetround_inline.
24810         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24811         __fesetround_inline instead of __fesetround.
24812         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24813         __fesetround and define as weak alias of __fesetround.  Use
24814         libm_hidden_weak.  Call __fesetround_inline instead of
24815         __fesetround.
24816         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24817         __fesetround and define as weak alias of __fesetround.  Use
24818         libm_hidden_weak.
24819         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24820         Likewise.
24821         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24822         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24823         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24824         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24825         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24826         __fesetround and define as weak alias of __fesetround.  Use
24827         libm_hidden_weak.
24828         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24829         __fesetround instead of fesetround.
24830         (default_libc_feholdexcept_setround): Likewise.
24831         (libc_feholdsetround_ctx): Likewise.
24832         (libc_feholdsetround_noex_ctx): Likewise.
24834         [BZ #17748]
24835         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24836         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24837         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24838         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24839         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24840         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24841         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24842         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24843         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24844         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24845         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24846         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24847         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24848         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24849         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24850         libm_hidden_def.
24851         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24852         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24853         Likewise.
24854         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24855         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24856         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24857         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24858         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24859         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24860         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24861         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24862         __fesetenv instead of fesetenv.
24863         (libc_feresetround_noex_ctx): Likewise.
24864         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24865         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24866         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24867         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24868         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24869         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24870         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24871         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24872         (__feupdateenv): Likewise.
24873         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24874         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24875         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24876         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24878 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24880         [BZ #17806]
24881         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24882         addresses have been freed.
24884 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24886         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24887         and nservall.
24889 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24891         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24892         Clean up check_pf allocation pattern. addresses
24894 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24896         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24897         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24898         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24899         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24900         * nptl/pthread_join.c (pthread_join): Likewise.
24901         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24902         * sysdeps/posix/waitid.c (__waitid): Likewise.
24903         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24904         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24905         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24906         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24907         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24908         Likewise.
24909         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24910         (__libc_pread64): Likewise.
24911         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24912         (__libc_pwrite): Likewise.
24913         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24914         (__libc_pwrite64): Likewsie.
24915         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24916         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24917         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24918         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24919         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24920         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24921         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24923         Likewise.
24924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24925         (__libc_pread64): Likewise.
24926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24927         Likewise.
24928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24929         (__libc_pwrite64): Likewise.
24930         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24931         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24932         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24933         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24934         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24935         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24936         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24937         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24938         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24939         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24940         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24941         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24942         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24943         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24944         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24945         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24946         Likewise.
24948 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24950         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24951         (CFLAGS-test-double.c): Likewise.
24952         (CFLAGS-test-ldouble.c): Likewise.
24953         (CPPFLAGS-test-ifloat.c): Likewise.
24954         (CPPFLAGS-test-idouble.c): Likewise.
24955         (CPPFLAGS-test-ildoubl.c): Likewise.
24956         (CFLAGS-test-test-fenv.c): Remove variable.
24957         (CFLAGS-test-misc.c): Likewise.
24959 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24961         [BZ #17797]
24962         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24963         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24964         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24965         CLOCKS_PER_SEC == 1000000.
24966         * time/clocktest.c (main): Replace %ld with %jd and cast to
24967         intmax_t.
24969 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24971         * sysdeps/generic/unwind-resume.h: New file.
24972         * sysdeps/gnu/unwind-resume.c: Include it.
24973         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24974         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24975         argument list.
24976         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24977         global rather than static.
24978         (_Unwind_Resume): Update user.
24979         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24980         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24981         rather than static.  Add __attribute__ ((cold)).
24982         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24983         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24984         * sysdeps/arm/arm-unwind-resume.S: New file.
24985         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24986         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24987         * sysdeps/arm/Makefile [$(subdir) = csu]
24988         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24989         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24990         Add rt-arm-unwind-resume.
24991         [$(subdir) = nptl]
24992         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24993         Add pt-arm-unwind-resume.
24994         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24995         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24997 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24999         [BZ #17748]
25000         * include/fenv.h (__feholdexcept): Declare.  Use
25001         libm_hidden_proto.
25002         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25003         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25004         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25005         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25006         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25007         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25008         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25009         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25010         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25011         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25012         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25013         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25014         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25015         (feholdexcept): Likewise.
25016         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25017         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25018         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25019         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25020         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25021         __feholdexcept instead of feholdexcept.
25022         (default_libc_feholdexcept_setround): Likewise.
25024 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25026         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25027         to avoid using stl/str to align destination.
25029 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25031         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25033 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25035         [BZ #17796]
25036         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25037         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25038         Define as weak alias not strong alias.
25040 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25042         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25043         bltzal with addiupc.
25044         (RTLD_START): Ditto.
25046 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25048         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25049         for __vdso_* functions in declarations.
25050         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25051         definitions.
25052         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25053         INTERNAL_VSYSCALL): Use struct return types to check for error.
25055         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25056         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25057         function with cast from llround().
25058         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25059         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25060         Define.
25062 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25064         [BZ #17793]
25065         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25066         Define as weak alias not strong alias.
25068         [BZ #17635]
25069         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25070         ...
25071         * ctype/ctype-extn.c: ... here.
25072         (__isblank_l): Move to ...
25073         * ctype/ctype-c99_l.c: ... here.  New file.
25074         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25075         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25076         Remove variable.
25077         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25078         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25079         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25080         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25081         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25083         [BZ #17777]
25084         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25085         (posix_fadvise64): Define as weak alias not strong alias.
25086         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25087         (posix_fallocate64): Likewise.
25088         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25089         Remove variable.
25090         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25091         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25092         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25093         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25094         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25096 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25098         [BZ #16191]
25099         * NEWS: Mention bug fix.
25100         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25101         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25102         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25103         (HOST_STACK_END_ADDR): Likewise.
25105 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25107         [BZ #17748]
25108         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25109         * math/fegetround.c (fegetround): Rename to __fegetround and
25110         define as weak alias of __fegetround.  Use libm_hidden_weak.
25111         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25112         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25113         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25114         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25115         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25116         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25117         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25118         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25119         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25120         Undefine after rather than before function definition; use
25121         parentheses around function name in definition.
25122         (__fegetround): Also undefine macro after function definition.
25123         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25124         __fegetround and define as weak alias of __fegetround.  Use
25125         libm_hidden_weak.  Do not undefine as macro.
25126         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25127         Likewise.
25128         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25129         __fegetround and define as weak alias of __fegetround.  Use
25130         libm_hidden_weak.
25131         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25132         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25133         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25134         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25135         __fegetround and define as weak alias of __fegetround.  Use
25136         libm_hidden_weak.
25137         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25138         __fegetround instead of fegetround.
25140         [BZ #17782]
25141         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25142         Condition macro definition on [__USE_MISC].
25144         [BZ #17781]
25145         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25146         (struct sigaction): Change type of sa_flags field to int.
25148         [BZ #17780]
25149         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25150         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25151         __glibc_reserved0.
25153         * nptl/version.c (banner): Use single year in copyright notice.
25155         * NEWS: Update copyright dates.
25156         * catgets/gencat.c (print_version): Likewise.
25157         * csu/version.c (banner): Likewise.
25158         * debug/catchsegv.sh: Likewise.
25159         * debug/pcprofiledump.c (print_version): Likewise.
25160         * debug/xtrace.sh (do_version): Likewise.
25161         * elf/ldconfig.c (print_version): Likewise.
25162         * elf/ldd.bash.in: Likewise.
25163         * elf/pldd.c (print_version): Likewise.
25164         * elf/sotruss.sh: Likewise.
25165         * elf/sprof.c (print_version): Likewise.
25166         * iconv/iconv_prog.c (print_version): Likewise.
25167         * iconv/iconvconfig.c (print_version): Likewise.
25168         * locale/programs/locale.c (print_version): Likewise.
25169         * locale/programs/localedef.c (print_version): Likewise.
25170         * login/programs/pt_chown.c (print_version): Likewise.
25171         * malloc/memusage.sh (do_version): Likewise.
25172         * malloc/memusagestat.c (print_version): Likewise.
25173         * malloc/mtrace.pl: Likewise.
25174         * manual/libc.texinfo: Likewise.
25175         * nptl/version.c (banner): Likewise.
25176         * nscd/nscd.c (print_version): Likewise.
25177         * nss/getent.c (print_version): Likewise.
25178         * nss/makedb.c (print_version): Likewise.
25179         * posix/getconf.c (main): Likewise.
25180         * scripts/test-installation.pl: Likewise.
25181         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25183 2015-01-02  Will Newton  <will.newton@linaro.org>
25185         * sysdeps/arm/armv7/configure: Removed.
25186         * sysdeps/arm/armv7/configure.ac: Likewise.
25188 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25190         * All files with FSF copyright notices: Update copyright dates
25191         using scripts/update-copyrights.
25192         * intl/plural.c: Regenerated.
25193         * locale/programs/charmap-kw.h: Likewise.
25194         * locale/programs/locfile-kw.h: Likewise.
25196 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25198         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25200 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25202         [BZ #17748]
25203         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25204         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25205         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25206         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25207         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25208         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25209         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25210         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25211         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25212         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25213         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25214         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25215         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25216         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25217         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25218         libm_hidden_def.
25219         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25220         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25221         Likewise.
25222         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25223         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25224         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25225         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25226         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25227         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25228         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25229         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25230         __fegetenv instead of fegetenv.
25231         (libc_feholdsetround_noex_ctx): Likewise.
25233 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25235         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25236         (Elf_MIPS_ABIFlags_v0): New structure.
25237         (EF_MIPS_FP64): Define.
25238         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25239         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25240         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25241         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25242         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25243         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25244         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25245         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25246         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25247         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25248         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25249         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25250         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25251         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25252         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25253         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25254         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25255         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25256         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25257         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25258         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25259         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25260         field.
25261         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25262         EF_MIPS_FP64.
25263         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25264         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25265         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25266         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25267         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25268         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25269         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25270         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25271         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25272         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25273         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25274         record the current FP ABI extension.
25275         (mips-mode-switch): Define to show if kernel headers support mode
25276         switching.
25277         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25278         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25279         supported SYSV ABI version to 3.
25280         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25281         feature.
25283 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25284             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25286         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25287         path.
25288         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25290 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25292         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25293         __fegetround and redefine to call __fegetround.  Remove condition
25294         on [!__NO_MATH_INLINES].
25295         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25296         function.
25297         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25298         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25299         Remove macro.
25300         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25301         instead of <fenv_libc.h>.
25302         (__llrintl): Call fegetround instead of __fegetround.
25303         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25304         instead of <fenv_libc.h>.
25305         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25306         (__lrintl): Call fegetround instead of __fegetround.
25307         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25308         instead of <fenv_libc.h>.
25309         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25310         (__rintl): Call fegetround instead of __fegetround.
25312 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25314         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25315         arrays.
25317 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25319         [BZ #17775]
25320         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25321         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25322         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25324 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25326         * sysdeps/i386/tls-macros.h: Include <features.h>.
25327         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25328         (TLS_IE): Likewise.
25329         (TLS_LD): Likewise.
25330         (TLS_GD): Likewise.
25331         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25332         define for GCC >= 5.0.
25334 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25336         * math/test-fenv.c (test_single_exception, set_single_exc,
25337         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25338         feexcp_mask_test, feenable_test, fe_single_test): Add
25339         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25340         case where they are not used.
25341         * math/libm-test.inc: Likewise.
25342         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25343         unused in the absence of FP rounding/exception support.
25344         * stdio-common/tst-printf-round.c: Likewise.
25345         * stdlib/tst-strtod-round.c: Likewise.
25346         * stdlib/tst-strtod-underflow.c: Likewise.
25348 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25350         [BZ #17723]
25351         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25352         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25353         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25354         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25355         libm_hidden_weak.
25356         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25357         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25358         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25359         libm_hidden_def.
25360         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25361         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25362         libm_hidden_weak.
25363         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25364         Likewise.
25365         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25366         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25367         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25368         libm_hidden_weak.
25369         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25370         libm_hidden_def.
25371         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25372         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25373         (__feraiseexcept): Likewise.
25374         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25375         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25376         libm_hidden_weak.
25377         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25378         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25379         libm_hidden_def.
25380         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25381         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25382         Use libm_hidden_def.
25383         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25384         libm_hidden_def.
25385         (feraiseexcept): Define as weak not strong alias.  Use
25386         libm_hidden_weak.
25387         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25388         New inline function.  Factored out of ...
25389         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25390         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25391         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25392         feraiseexcept.
25393         * math/w_acos.c (__acos): Likewise.
25394         * math/w_asin.c (__asin): Likewise.
25395         * math/w_ilogb.c (__ilogb): Likewise.
25396         * math/w_j0.c (y0): Likewise.
25397         * math/w_j1.c (y1): Likewise.
25398         * math/w_jn.c (yn): Likewise.
25399         * math/w_log.c (__log): Likewise.
25400         * math/w_log10.c (__log10): Likewise.
25401         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25402         * sysdeps/aarch64/fpu/math_private.h
25403         (libc_feupdateenv_test_aarch64): Likewise.
25404         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25405         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25406         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25407         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25408         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25409         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25410         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25411         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25412         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25413         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25415 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25417         [BZ #17732]
25418         * io/test-utime.c (main): Replace %ld with %jd and cast to
25419         intmax_t.
25420         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25421         * nptl/tst-mutex5.c: Include <stdint.h>.
25422         (do_test): Replace %ld with %jd and cast to intmax_t.
25423         * posix/tst-regex.c (run_test): Likewise.
25424         (run_test_backwards): Likewise.
25425         * rt/tst-clock.c: Include <stdint.h>.
25426         (clock_test): Replace %ld with %jd and cast to intmax_t.
25427         * rt/tst-cpuclock1.c: Include <stdint.h>.
25428         (do_test): Replace %lu with %ju and cast to uintmax_t.
25429         * rt/tst-cpuclock2.c: Include <stdint.h>.
25430         (do_test): Replace %lu with %ju and cast to uintmax_t.
25431         * rt/tst-mqueue1.c: Include <stdint.h>.
25432         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25433         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25434         intmax_t.
25435         * rt/tst-mqueue4.c (do_test): Likewise.
25436         * rt/tst-timer4.c: Include <stdint.h>.
25437         (check_ts): Replace %ld with %jd and cast to intmax_t.
25438         (do_test): Likewise.
25439         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25440         and cast to intmax_t.
25441         * sysdeps/pthread/tst-timer.c (main): Likewise.
25442         * time/clocktest.c (main): Likewise.
25443         * time/tst-posixtz.c (do_test): Likewise.
25444         * timezone/tst-timezone.c (main): Likewise.
25446 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25447             H.J. Lu  <hongjiu.lu@intel.com>
25449         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25450         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25451         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25452         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25453         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25454         version if bit_Fast_Unaligned_Load is set.
25455         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25456         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25457         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25458         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25459         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25460         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25461         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25462         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25463         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25464         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25465         to 4.
25466         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25467         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25468         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25469         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25471 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25473         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25474         instead of #if to avoid a Wundef warning.
25475         * stdlib/tst-limits.c (do_test): Likewise.
25477         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25478         parallel other exception macros.
25479         (fegetenv): Convert from macro to extern inline so that it applies
25480         retroactively to inline functions already seen by the compiler.
25481         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25483         * posix/Makefile (before-compile): Use $(objpfx) for
25484         posix-conf-vars-def.h.
25486 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25488         * posix/getconf.c (main): Use size_t for type of I.
25489         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25490         NSPEC.
25492         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25493         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25494         * posix/posix-envs.def: Likewise.
25495         * sysdeps/posix/sysconf.c: Likewise.
25496         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25497         (specs): Remove array.
25498         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25499         array.
25501         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25502         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25503         (__sysconf): Use CONF_IS_* macros.
25505         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25506         ($(objpfx)posix-conf-vars-def.h): New target.
25507         * posix/posix-conf-vars.list: New file.
25508         * posix/posix-conf-vars.h: New file.
25509         * posix/confstr.c: Include posix-conf-vars.h.
25510         (confstr): Use CONF_IS_* macros.
25511         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25512         CONF_IS_* macros.
25513         * scripts/gen-posix-conf-vars.awk: New file.
25515 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25517         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25518         fegetround): Add no-op macros to avoid linknamespace issues.
25520         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25521         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25523         * sysdeps/unix/sysv/linux/tile/sysdep.h
25524         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25525         assembly-specific section to avoid a redefinition warning.
25527         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25528         long before casting to pointer to avoid a cast warning.
25530 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25532         * sysdeps/tile/tilegx/Implies: New file.
25534 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25536         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25538 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25540         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25542 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25544         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25545         not define.
25546         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25547         <kernel-features.h>.
25548         (__utimes) [__NR_utimes]: Make code unconditional.
25549         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25550         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25551         (__ASSUME_UTIMES): Do not undefine.
25552         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25553         (__ASSUME_UTIMES): Likewise.
25554         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25555         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25556         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25557         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25559 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25561         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25563 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25565         [BZ #17747]
25566         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25567         alias to weak alias for j0l, y0l.
25568         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25569         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25571         [BZ #17746]
25572         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25573         conversion.
25575 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25577         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25578         to zero if not already defined.
25580 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25582         [BZ #17724]
25583         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25584         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25585         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25586         (char *) casts added.
25587         * sysdeps/ieee754/k_standardf.c: New file.
25588         * sysdeps/ieee754/k_standardl.c: Likewise.
25589         * math/Makefile (libm-support): Remove k_standard.
25590         (libm-calls): Add k_standard.
25592 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25594         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25595         Optimize to avoid an unnecessary FPCR read.
25597 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25599         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25600         Optimize to reduce FPCR/FPSR accesses.
25602 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25604         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25605         Call libc_fetestexcept_aarch64.
25607 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25609         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25610         Call libc_fesetround_aarch64.
25612 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25614         [BZ #17733]
25615         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25616         (__bind): Do not define as weak alias.
25617         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25618         define.
25619         (__getsockname): Do not define as weak alias.
25621 2014-12-22  Will Newton  <will.newton@linaro.org>
25623         * manual/install.texi: Document that we require bison 2.7
25624         or above.
25625         * INSTALL: Regenerate.
25626         * configure.ac: Use AC_CHECK_PROG_VER instead of
25627         AC_PATH_PROG when checking for bison and check for
25628         version 2.7 or above.
25629         * configure: Regenerate.
25631 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25633         [BZ #17745]
25634         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25635         * sysdeps/tile/ffsll.c (ffsll): To here.
25637         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25639 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25641         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25642         if not defined.
25643         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25644         definition.
25645         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25646         hidden ___tls_get_addr.
25647         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25648         hidden __tls_get_addr.
25649         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25650         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25651         Likewise.
25653 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25655         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25656         _dl_init call.
25658 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25660         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25661         from "call _dl_init@PLT".
25662         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25664 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25666         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25667         guarantees.
25669 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25671         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25673 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25675         [BZ #17744]
25676         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25677         strnlen.
25679 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25681         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25682         of multu on MIPSr6.
25683         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25684         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25685         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25686         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25687         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25689 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25691         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25692         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25693         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25694         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25695         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25696         mips32r6/mips64r6.
25697         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25699 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25701         * string/strncat.c (STRNCAT): Simplify implementation.
25703 2014-12-19  David S. Miller  <davem@davemloft.net>
25705         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25706         access the quad as both a long double and as a series of 4 words.
25708         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25709         link_map->l_info array access.
25711 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25713         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25715         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25716         * math/atest-exp2.c (TIMEOUT): Likewise.
25717         * math/atest-sincos.c (TIMEOUT): Likewise.
25719 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25721         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25722         -Wno-error with -fno-builtin-lround.
25724 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25726         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25727         Contains futex constants and functions moved over from ...
25728         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25729         <lowlevellock-futex.h>.
25730         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25731         (lll_timedwait_tid): Add comments and parentheses around macro
25732         arguments.
25734 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25736         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25737         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25738         (__lll_private_flag): Remove.
25739         (lll_futex_wait): Likewise.
25740         (lll_futex_timed_wait): Likewise.
25741         (lll_futex_wake): Likewise.
25742         (lll_futex_requeue): Likewise.
25743         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25744         (__lll_timedwait_tid): Spell out argument names.
25745         (lll_timedwait_tid): Add comments and parentheses around macro
25746         arguments.
25747         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25748         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25750 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25752         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25753         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25754         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25755         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25756         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25757         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25758         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25759         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25760         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25761         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25762         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25763         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25764         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25765         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25766         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25767         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25768         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25769         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25770         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25772 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25774         * sysdeps/x86_64/x32/Makefile: New file.
25776 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25778         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25779         1L with (mp_limb_t) 1.
25781 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25783         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25784         * nptl/libc_pthread_init.c: ... here.
25785         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25786         * nptl/register-atfork.c: ... here.
25788         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25789         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25790         Use assert_perror to check its return value.
25791         (__gai_create_helper_thread): Likewise.
25793         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25795         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25797 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25799         [BZ #17725]
25800         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25801         __profil_counter.
25802         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25803         Likewise.
25804         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25805         Likewise.
25806         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25807         Likewise.
25808         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25809         (profil_counter): Likewise.
25810         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25811         (profil_counter): Likewise.
25812         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25813         Likewise.
25814         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25815         Likewise.
25816         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25817         (profil_counter): Likewise.
25818         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25819         Likewise.
25820         [!__profil_counter] (profil_counter): Define as weak alias of
25821         __profil_counter.
25822         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25823         (profil_counter): Rename to __profil_counter.
25824         [!__profil_counter] (profil_counter): Define as weak alias of
25825         __profil_counter.
25826         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25827         (profil_counter): Rename to __profil_counter.
25828         [!__profil_counter] (profil_counter): Define as weak alias of
25829         __profil_counter.
25830         * sysdeps/posix/profil.c: Update comment referring to
25831         profil_counter.
25832         (__profil): Use __profil_counter instead of profil_counter.
25833         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25834         __profil_counter.  Use __profil_counter_ushort and
25835         __profil_counter_uint in definitions.
25836         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25837         instead of profil_counter_uint and profil_counter_ushort.
25839         [BZ #17722]
25840         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25841         define as weak alias of __inet_makeaddr.
25842         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25843         as weak alias of __inet_addr.
25844         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25845         as weak alias of __inet_pton.  Use libc_hidden_weak.
25846         * include/arpa/inet.h (__inet_pton): Declare.  Use
25847         libc_hidden_proto.
25848         (inet_makeaddr): Don't use libc_hidden_proto.
25849         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25850         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25851         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25852         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25853         Remove variable.
25854         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25855         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25857 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25859         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25861 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25863         * stdio-common/bug-vfprintf-nargs.c (do_test):
25864         Cast value to intptr_t to avoid format warning
25865         for usage with PRIdPTR printing macro.
25867 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25869         * libio/tst-widetext.c (do_test):
25870         Use format type %td instead of %Zd for ptrdiff_t
25871         in order to avoid format warning.
25873 2014-12-17  Andreas Schwab  <schwab@suse.de>
25875         * nscd/mem.c (gc): Add size_t cast to match printf format.
25877 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25879         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25880         (init): Apply PTR_MANGLE to pointers before storing them.
25881         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25882         before using them.
25884 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25886         [BZ #17719]
25887         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25888         define as weak alias of __memrchr.
25889         (__memrchr): Do not define as strong alias of memrchr.
25890         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25891         Remove variable.
25892         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25893         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25894         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25896         [BZ #17717]
25897         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25898         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25899         (if_indextoname): Rename to __if_indextoname and define as weak
25900         alias of __if_indextoname.  Use libc_hidden_weak.
25901         (if_freenameindex): Rename to __if_freenameindex and define as
25902         weak alias of __if_freenameindex.
25903         (if_nameindex): Rename to __if_nameindex and define as weak alias
25904         of __if_nameindex.
25905         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25906         __if_nametoindex and define as weak alias of __if_nametoindex.
25907         Use libc_hidden_weak.
25908         (if_freenameindex): Rename to __if_freenameindex and define as
25909         weak alias of __if_freenameindex.
25910         (if_nameindex): Rename to __if_nameindex and define as weak alias
25911         of __if_nameindex.
25912         (if_indextoname): Rename to __if_indextoname and define as weak
25913         alias of __if_indextoname.  Use libc_hidden_weak.
25914         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25915         __if_nametoindex and define as weak alias of __if_nametoindex.
25916         Use libc_hidden_weak.
25917         (if_freenameindex): Rename to __if_freenameindex and define as
25918         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25919         (if_nameindex_netlink): Use __if_freenameindex instead of
25920         if_freenameindex.
25921         (if_nameindex): Rename to __if_nameindex and define as weak alias
25922         of __if_nameindex.  Use libc_hidden_weak.
25923         (if_indextoname): Rename to __if_indextoname and define as weak
25924         alias of __if_indextoname.  Use libc_hidden_weak.
25925         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25926         libc_hidden_proto.
25927         [!_ISOMAC] (__if_freenameindex): Likewise.
25928         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25929         if_nametoindex.
25930         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25931         variable.
25932         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25933         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25934         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25935         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25936         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25937         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25938         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25940         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25941         Remove variable.
25942         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25943         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25945 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25947         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25948         subscript above bounds'
25950         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25951         bounds.
25953 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25955         * libio/tst-fopenloc.c: Use test-skeleton.c.
25957         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25958         (entry): Rename to ITEM.
25959         (do_test, comp): Adjust.
25961         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25963 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25965         * string/tester.c: Include <libc-internal.h>.
25966         (test_memset): Ignore -Wmemset-transposed-args.
25968 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25970         * misc/tst-mntent2.c (do_test): Fix warning.
25972 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25974         * elf/tst-unique4lib.cc(a): Mark as used.
25976 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25978         [BZ #17630]
25979         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25980         names.
25982 2014-12-16  Allan McRae  <allan@archlinux.org>
25984         * stdio-common/Makefile (tests): Re-add bug26.
25986 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25988         [BZ #17657]
25989         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25990         static array.
25992 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25994         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25995         (__lll_lock_wait): Likewise.
25996         (__lll_timedlock_wait): Likewise.
25997         (__lll_timedwait_tid): Likewise.
25998         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25999         (__lll_robust_timedlock_wait): Likewise.
26000         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26001         (lll_cond_trylock): Likewise.
26002         (__lll_lock): Likewise.
26003         (__lll_robust_lock): Likewise.
26004         (__lll_cond_lock): Likewise.
26005         (lll_robust_cond_lock): Likewise.
26006         (__lll_timedlock): Likewise.
26007         (__lll_robust_timedlock): Likewise.
26008         (__lll_unlock): Likewise.
26009         (__lll_robust_unlock): Likewise.
26010         (lll_wait_tid): Likewise.
26011         (lll_timedwait_tid): Likewise.
26013 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26015         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26017 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26019         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26021 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26023         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26024         * stdio-common/tst-sprintf.c: Likewise.
26026 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26028         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26030 2014-12-15  Jeff Law  <law@redhat.com>
26032         [BZ #16617]
26033         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26034         on the heap.  (CVE-2012-3406)
26035         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26036         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26037         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26039 2014-12-15  Will Newton  <will.newton@linaro.org>
26041         * manual/install.texi: Bump required version of texinfo
26042         to 4.7 from 4.5.
26043         * INSTALL: Regenerated.
26044         * configure.ac: Check for makeinfo version 4.7 and above.
26045         * configure: Regenerated.
26047 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26049         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26050         PREFIX, string constant to insert between directory and name.
26051         * sysdeps/posix/shm_open.c: Update caller.
26052         * sysdeps/posix/shm_unlink.c: Likewise.
26053         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26054         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26055         (SEM_SHM_PREFIX): New macro.
26056         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26057         [$(have-thread-library) = no].
26058         * nptl/Makefile (libpthread-routines): Add shm-directory.
26059         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26060         * sysdeps/nptl/shm-directory.h: New file.
26061         * sysdeps/posix/shm-directory.c
26062         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26063         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26064         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26065         INTERNAL_SYSCALL.
26066         (__where_is_shmfs): Function removed.
26067         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26068         Variables removed.
26069         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26070         Use SHM_GET_NAME.
26071         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26073         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26074         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26075         unconditional for use inside libpthread.
26076         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26078 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26080         * nptl/pthread_getaffinity.c: New file.
26081         * nptl/pthread_setaffinity.c: New file.
26082         * nptl/pthread_getname.c: New file.
26083         * nptl/pthread_setname.c: New file.
26085         * nptl/pthread_create.c (START_THREAD_DEFN)
26086         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26088 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26089             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26091         * resolv/res_send.c (send_vc): Disable warning resplen may
26092         be used uninitialized.
26094 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26096         * nptl/tst-mutex6.c
26097         (ATTR_NULL): New define checks ATTR against NULL.
26098         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26099         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26101 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26103         [BZ #17581]
26104         * malloc/hooks.c
26105         (mem2mem_check): Revert my previous change.
26106         (malloc_check_get_size): Revert my previous change.
26107         (mem2chunk_check): Revert my previous change.
26109 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26111         * sysdeps/posix/shm-directory.c: New file.
26112         * sysdeps/posix/shm-directory.h: New file.
26113         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26114         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26115         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26116         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26117         Transmute EPERM to EACCES.
26118         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26119         from ...
26120         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26121         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26123 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26125         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26126         pointer and cast to uintptr_t.
26127         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26128         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26129         Add cast to avoid warning.
26130         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26132 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26134         * nptl/semaphore.h: Move to ...
26135         * sysdeps/pthread/semaphore.h: ... here.
26136         * Makefile (installed-headers): Change nptl/semaphore.h to
26137         sysdeps/pthread/semaphore.h.
26139 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26141         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26142         generated error format strings.
26144         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26145         -Wformat-extra-args warnings for scanf formats.
26146         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26147         test of zero-length format (duh).
26148         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26149         corner-case scanf format test.
26150         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26151         generated fprintf format string.
26152         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26153         corner-case sprintf format tests.
26154         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26155         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26156         -Wformat-extra-args warnings throughout.
26157         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26158         (CFLAGS-scanf4.c): Likewise.
26159         (CFLAGS-scanf7.c): Likewise.
26160         (CFLAGS-tst-sprintf.c): Likewise.
26161         (CFLAGS-tst-printf.c): Likewise.
26162         (CFLAGS-tst-printfsz.c): Likewise.
26164 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26166         * include/cpio.h: New file.
26167         * include/fmtmsg.h: Likewise.
26169         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26170         corresponding format argument to size_t.
26171         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26172         arguments.
26173         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26174         corresponding format argument to size_t.
26175         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26176         arguments.
26177         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26178         corresponding format argument to size_t.
26179         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26180         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26181         (CFLAGS-tst-mbswcs2.c): Likewise.
26182         (CFLAGS-tst-mbswcs3.c): Likewise.
26183         (CFLAGS-tst-mbswcs4.c): Likewise.
26184         (CFLAGS-tst-mbswcs5.c): Likewise.
26185         (CFLAGS-tst-trans.c): Likewise.
26187 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26189         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26190         rather than assuming they won't contain any '%'s.
26192 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26194         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26195         inhibit_loop_to_libcall to avoid recursive calls.
26196         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26197         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26199 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26201         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26202         prototype.
26204 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26206         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26207         integer value instead of boolean.
26209 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26211         * malloc/malloc.c: Fix powerof2 check.
26213 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26215         * locale/programs/locfile.h (maybe_swap_uint32):
26216         Remove inline and add unused attribute.
26218 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26220         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26221         Truncating assembler expression to a .long expression.
26223 2014-12-11  Andreas Schwab  <schwab@suse.de>
26225         * elf/rtld.c (struct map_args): Constify str member.
26226         (do_preload): Constify fname argument.
26228 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26230         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26231         constants definition.
26233 2014-12-11  Andreas Schwab  <schwab@suse.de>
26235         [BZ #16657]
26236         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26237         FORCE_ELISION instead of DO_ELISION.
26238         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26239         Remove.
26240         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26241         Likewise.
26243         * iconvdata/gconv-modules: Remove duplicate entry.
26245 2014-12-11  Will Newton  <will.newton@linaro.org>
26247         Merge gettext 0.19.3 into intl/.
26249         This involves a number of cosmetic changes to comments
26250         and ANSI function definitions and prototypes throughout
26251         all the files. The gettext copyright header is used but
26252         with the date ranges taken from the glibc copy.
26254         * NEWS: Add gettext merge to 2.21.
26255         * intl/bindtextdom.c: Switch to gettext copyright.
26256         Use ANSI definitions and prototypes.
26257         Use gl_* locking primitives rather than __libc_* ones.
26258         Use __builtin_expect rather than __glibc_likely/unlikely.
26259         * intl/dcgettext.c: Switch to gettext copyright.
26260         Use ANSI definitions and prototypes.
26261         * intl/dcigettext.c: Switch to gettext copyright.
26262         Use ANSI definitions and prototypes.
26263         (INTDIV0_RAISES_SIGFPE): New define.
26264         Use gl_* locking primitives rather than __libc_* ones.
26265         Include eval-plural.h instead of plural-eval.c.
26266         Use __builtin_expect rather than __glibc_likely/unlikely.
26267         * intl/dcngettext.c: Switch to gettext copyright.
26268         Use ANSI definitions and prototypes.
26269         * intl/dgettext.c: Likewise.
26270         * intl/dngettext.c: Likewise.
26271         * intl/plural-eval.c: Renamed to...
26272         * intl/eval-plural.h: ...this.
26273         * intl/explodename.c: Switch to gettext copyright.
26274         Use ANSI definitions and prototypes.
26275         (_nl_explode_name): Use strchr instead of __rawmemchr.
26276         * intl/finddomain.c: Switch to gettext copyright.
26277         Use ANSI definitions and prototypes.
26278         Use gl_* locking primitives rather than __libc_* ones.
26279         (_nl_find_domain): Use malloc rather than alloca for
26280         allocation of temporary locale name.
26281         * intl/gettext.c: Switch to gettext copyright.
26282         Use ANSI definitions and prototypes.
26283         * intl/gettextP.h: Switch to gettext copyright.
26284         Use ANSI definitions and prototypes.
26285         Use gl_* locking primitives rather than __libc_* ones.
26286         * intl/gmo.h: Switch to gettext copyright.
26287         (struct sysdep_string): Move struct segment_pair outside of
26288         struct definition.
26289         * intl/hash-string.c: Use ANSI definitions and prototypes.
26290         * intl/hash-string.h: Switch to gettext copyright.
26291         Use ANSI definitions and prototypes.
26292         * intl/l10nflist.c: Switch to gettext copyright.
26293         Use ANSI definitions and prototypes.
26294         (_nl_normalize_codeset): Avoid integer overflow.
26295         * intl/loadinfo.h: Switch to gettext copyright.
26296         Use ANSI definitions and prototypes.
26297         (LIBINTL_DLL_EXPORTED): New define.
26298         (PATH_SEPARATOR): New define.
26299         * intl/loadmsgcat.c: Switch to gettext copyright.
26300         * intl/localealias.c: Switch to gettext copyright.
26301         Use ANSI definitions and prototypes.
26302         (_nl_expand_alias): Use PATH_SEPARATOR.
26303         * intl/ngettext.c: Switch to gettext copyright.
26304         Use ANSI definitions and prototypes.
26305         * intl/plural-exp.c: Likewise.
26306         * intl/plural-exp.h: Switch to gettext copyright.
26307         Use ANSI definitions and prototypes.
26308         (struct expression): Move definition of enum operator outside
26309         of struct definition.
26310         * intl/plural.c: Regenerate.
26311         * intl/plural.y: Switch to gettext copyright.
26312         Use ANSI definitions and prototypes.
26313         Port to bison 3.0.
26314         * intl/textdomain.c: Switch to gettext copyright.
26315         Use ANSI definitions and prototypes.
26316         Use gl_* locking primitives rather than __libc_* ones.
26318 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26320         * debug/warning-nop.c: Add used atrribute.
26322 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26324         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26326         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26327         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26328         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26330 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26331             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26333         [BZ #17634]
26334         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26335         Undefine after defining function.  Define as weak alias of
26336         __wcschr.  Use libc_hidden_weak.
26337         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26338         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26339         (libc_hidden_def): Also define __GI___wcschr alias.
26340         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26341         __wcschr and define as weak alias of __wcschr.
26342         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26343         __wcschr.
26344         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26345         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26346         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26347         libc_hidden_weak.  Do not use libc_hidden_def.
26348         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26349         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26350         __GI___wcschr alias.
26351         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26352         [IS_IN (libc)] (wcschr): Define as macro expanding to
26353         __redirect_wcschr.
26354         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26355         [IS_IN (libc)] (__wcschr_power6): Likewise.
26356         [IS_IN (libc)] (__wcschr_power7): Likewise.
26357         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26358         instead of wcschr.
26359         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26360         __libc_wcschr.
26361         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26362         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26363         __wcschr and define as weak alias of __wcschr.  Use
26364         libc_hidden_builtin_def.
26365         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26366         as weak alias of __wcschr.  Use libc_hidden_weak.
26367         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26368         wcschr.
26369         * time/era.c (_nl_init_era_entries): Likewise.
26370         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26371         variable.
26372         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26373         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26375 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26377         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26378         format for long int variable.
26380 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26382         [BZ #10672]
26383         * manual/search.texi: (Array Sort Function): Remove claim how to make
26384         qsort stable.
26386 2014-12-10  Andreas Schwab  <schwab@suse.de>
26388         [BZ #12847]
26389         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26390         user-controlled locks.
26392 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26394         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26395         register.
26397 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26399         * configure.ac (--disable-werror): New configure option.
26400         (enable_werror): New AC_SUBST.
26401         * configure: Regenerated.
26402         * config.make.in (enable-werror): New variable.
26403         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26404         -Wno-error=undef.
26405         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26406         * manual/install.texi (Configuring and compiling): Document
26407         --disable-werror.
26408         * INSTALL: Regenerated.
26409         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26410         (CFLAGS-tst-chk2.c): Likewise.
26411         (CFLAGS-tst-chk3.c): Likewise.
26412         (CFLAGS-tst-chk4.cc): Likewise.
26413         (CFLAGS-tst-chk5.cc): Likewise.
26414         (CFLAGS-tst-chk6.cc): Likewise.
26415         (CFLAGS-tst-lfschk1.c): Likewise.
26416         (CFLAGS-tst-lfschk2.c): Likewise.
26417         (CFLAGS-tst-lfschk3.c): Likewise.
26418         (CFLAGS-tst-lfschk4.cc): Likewise.
26419         (CFLAGS-tst-lfschk5.cc): Likewise.
26420         (CFLAGS-tst-lfschk6.cc): Likewise.
26422         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26423         (main): Disable -Wdeprecated-declarations around calls to
26424         register_printf_function.
26426         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26427         (do_test): Disable -Wdiv-by-zero around some calls to
26428         fwrite_unlocked and fread_unlocked.
26430         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26431         (DIAG_POP_NEEDS_COMMENT): Likewise.
26432         (_DIAG_STR1): Likewise.
26433         (_DIAG_STR): Likewise.
26434         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26435         * stdio-common/bug21.c: Include <libc-internal.h>.
26436         (do_test): Disable -Wformat around call to sscanf.
26437         * stdio-common/scanf14.c: Include <libc-internal.h>.
26438         (main): Disable -Wformat around some calls to scanf functions.
26440 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26442         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26444 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26446         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26447         stack variable alignment.
26449 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26451         [BZ #17682]
26452         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26453         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26454         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26455         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26456         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26457         __getrlimit instead of getrlimit.
26458         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26459         __gettimeofday instead of gettimeofday.
26460         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26461         Likewise.
26462         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26463         Likewise.
26464         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26465         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26466         Remove variable.
26467         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26468         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26470 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26472         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26473         for wide-character tests.
26475 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26477         * io/openat64.c: #include <libc-internal.h>
26478         (__openat64): Prototypify.  Use ignore_value on MODE.
26479         * io/openat.c: Likewise.
26480         * misc/reboot.c: #include <libc-internal.h>
26481         (reboot): Prototypify.  Use ignore_value on HOWTO.
26482         * misc/ptrace.c: #include <libc-internal.h>
26483         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26485 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26487         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26488         XPG4, UNIX98 and XOPEN2K.
26489         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26490         Remove variable.
26491         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26493 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26495         * libio/fileops.c: Use ISO C style for function definitions.
26496         * libio/iofopen.c: Likewise.
26497         * libio/wfileops.c: Likewise.
26499         [BZ #17653]
26500         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26501         offset on EOF.
26502         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26503         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26504         (fgets_func): Function pointer to fgets and fgetws.
26505         (do_ftell_test): Add test to verify ftell value after read
26506         EOF.
26507         (do_test): Set fgets_func.
26509         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26510         O_TRUNC flag for w and w+ modes.
26511         (do_rewind_test): Likewise.
26512         (do_ftell_test): Likewise.
26513         (do_write_test): Likewise.
26515         [BZ #17647]
26516         * libio/fileops.c (do_ftell): Seek only when there are
26517         unflushed writes.
26518         * libio/wfileops.c (do_ftell_wide): Likewise.
26519         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26520         test case.
26521         (do_one_test): Call it.
26523 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26525         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26526         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26527         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26528         Remove variable.
26529         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26530         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26531         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26533 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26535         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26536         Remove variable.
26537         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26539         [BZ #17668]
26540         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26541         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26542         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26543         __freeifaddrs.  Use libc_hidden_weak.
26544         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26545         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26546         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26547         __freeifaddrs.  Use libc_hidden_weak.
26548         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26549         __getifaddrs and define as weak alias of __getifaddrs.  Use
26550         libc_hidden_weak.
26551         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26552         __freeifaddrs.  Use libc_hidden_weak.
26553         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26554         Remove variable.
26555         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26556         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26558 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26560         [BZ #17601]
26561         * sysdeps/mips/start.S (__start): Use indirect jump to call
26562         __libc_start_main.
26564 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26566         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26568         * nptl/tst-mutex1.c: Include <stdbool.h>.
26569         [!ATTR] (ATTR_NULL): New macro.
26570         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26571         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26572         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26574         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26575         to char *.
26577         [BZ #17665]
26578         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26579         Change conditional to [__USE_MISC].
26581         [BZ #17664]
26582         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26583         fgets_unlocked.
26584         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26585         __fgets_unlocked.
26586         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26587         fgets_unlocked.
26588         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26589         Remove variable.
26590         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26591         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26592         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26593         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26594         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26595         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26596         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26597         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26598         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26600         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26602 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26604         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26605         Remove strpbrk objects.
26606         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26607         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26608         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26609         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26610         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26611         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26613         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26614         Remove strcspn objects.
26615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26616         (__libc_ifunc_impl_list): Remove strcspn implementation.
26617         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26618         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26619         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26620         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26622         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26623         Remove strspn objetcs.
26624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26625         (__libc_ifunc_impl_list): Remove strspn implementation.
26626         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26627         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26628         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26629         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26631 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26633         [BZ #17581]
26634         * malloc/hooks.c
26635         (mem2mem_check): Add a terminator to the chain of checking blocks.
26636         (malloc_check_get_size): Use it here.
26637         (mem2chunk_check): Ditto.
26639 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26641         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26642         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26644 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26646         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26648         * nptl/nptl-init.c: Include libc-internal.h.
26649         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26651         * elf/ldconfig.c (search_dir): Expand comment.
26653 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26655         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26656         variable.
26657         (linknamespace-symlist-stdlibs-tests): Likewise.
26658         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26659         instead of $(objpfx)symlist-stdlibs.
26660         (linknamespace-libs-isoc): New variable.
26661         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26662         (linknamespace-libs-ISO): New variable.
26663         (linknamespace-libs-ISO99): Likewise.
26664         (linknamespace-libs-ISO11): Likewise.
26665         (linknamespace-libs-XPG3): Likewise.
26666         (linknamespace-libs-XPG4): Likewise.
26667         (linknamespace-libs-POSIX): Likewise.
26668         (linknamespace-libs-UNIX98): Likewise.
26669         (linknamespace-libs-XOPEN2K): Likewise.
26670         (linknamespace-libs-POSIX2008): Likewise.
26671         (linknamespace-libs-XOPEN2K8): Likewise.
26672         ($(objpfx)symlist-stdlibs): Replace by
26673         $(linknamespace-symlist-stdlibs-tests).  Use
26674         $(linknamespace-libs-$*) as set of libraries.
26675         ($(linknamespace-header-tests)): Update dependencies.  Use
26676         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26677         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26678         * conform/linknamespace.pl: Remove comment about considering
26679         definitions of symbols from irrelevant libraries.
26681 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26683         [BZ #13862]
26684         * elf/dl-tls.c: Include <atomic.h>.
26685         (oom): Remove #ifdef SHARED/#endif.
26686         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26687         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26688         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26689         big enough.
26690         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26691         * nptl/Makefile (tests): Add tst-stack4.
26692         (modules-names): Add tst-stack4mod.
26693         ($(objpfx)tst-stack4): New.
26694         (tst-stack4mod.sos): Likewise.
26695         ($(objpfx)tst-stack4.out): Likewise.
26696         ($(tst-stack4mod.sos)): Likewise.
26697         (clean): Likewise.
26698         * nptl/tst-stack4.c: New file.
26699         * nptl/tst-stack4mod.c: Likewise.
26701 2014-11-27  J. Brown  <jb999@gmx.de>
26703         * sysdeps/x86/bits/string.h: Add recent CPUs.
26705 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26707         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26708         sigblock.
26710         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26711         feof.
26713         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26714         variable.
26716 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26718         * nscd/connections.c: Include libc-internal.h because of macro
26719         usage ignore_value.
26721 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26723         * string/bits/string3.h (__warn_memset_zero_len): Don't
26724         declare for gcc newer than 5.0.
26725         (memset): Don't test for zero-length __LEN for gcc newer than
26726         5.0.
26728 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26730         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26731         size_t for %zu format.
26733         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26734         difference, not %ju.
26736 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26738         * include/libc-internal.h (ignore_value): New macro.
26739         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26740         with ignore_value.
26742         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26743         definition.
26745         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26746         pthread_cleanup_push to void *.
26748         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26749         Undefine.
26751         [BZ #16619]
26752         [BZ #16740]
26753         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26754         instead of 1L << 52.
26756         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26757         * libio/bug-rewind2.c (do_test): Likewise.
26759         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26760         * debug/test-strcpy_chk-ifunc.c: Likewise.
26761         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26762         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26763         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26764         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26765         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26766         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26767         * Rules [$(multi-arch) = no] (tests): Do not filter out
26768         $(tests-ifunc).
26769         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26770         * debug/Makefile (tests-ifunc): Remove variable.
26771         (tests): Do not add $(tests-ifunc).
26772         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26773         (tests): Do not add $(tests-ifunc).
26774         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26775         [TEST_IFUNC]: Remove conditionals.
26776         * string/test-string.h (TEST_IFUNC): Remove macro.
26777         [TEST_IFUNC]: Remove conditionals.
26779         * string/test-strchr.c [!WIDE] (L): New macro.
26780         [WIDE] (L): Likewise.
26781         (check1): Use CHAR instead of char.  Use L on string and character
26782         constants.
26784 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26786         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26787         tests.
26788         * sysdeps/powerpc/bits/atomic.h
26789         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26790         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26791         (atomic_exchange_and_add_acq): Likewise.
26792         (atomic_exchange_and_add_rel): Likewise.
26793         * sysdeps/powerpc/powerpc32/bits/atomic.h
26794         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26795         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26796         * sysdeps/powerpc/powerpc64/bits/atomic.h
26797         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26798         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26800 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26802         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26803         Change synchronization of __sched_fifo_min_prio and
26804         __sched_fifo_max_prio.
26805         * nptl/pthread_mutexattr_getprioceiling.c
26806         (pthread_mutexattr_getprioceiling): Likewise.
26807         * nptl/pthread_mutexattr_setprioceiling.c
26808         (pthread_mutexattr_setprioceiling): Likewise.
26809         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26810         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26811         Likewise.
26813 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26815         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26816         void.
26818 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26820         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26821         third argument const.
26823 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26825         fnmatch: work around GCC compiler warning bug with uninit var
26826         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26827         This works around a bug with x86-64 GCC 4.9.2 and earlier
26828         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26829         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26830         used uninitialized in this function [-Wmaybe-uninitialized]".
26832 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26834         * posix/bug-regex31.c (main): Return RES not 0.
26836 2014-11-25  Anton Blanchard <anton@samba.org>
26838         * sysdeps/powerpc/bits/atomic.h
26839         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26841 2014-11-24  Sterling Augustine  <saugustine@google.com>
26843         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26845 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26847         [BZ #17608]
26848         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26850 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26852         [BZ #17633]
26853         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26854         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26855         variable.
26856         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26857         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26859 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26861         * string/strncpy.c (strncpy): Improve performance by using memset.
26863 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26865         * string/strcpy.c (strcpy):
26866         Improve performance by using strlen and memcpy.
26868 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26870         * string/strcoll_l.c (get_next_seq): __always_inline.
26871         * string/strcoll_l.c (do_compare): __always_inline.
26873 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26875         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26876         defined.
26877         * include/mqueue.h: Likewise.
26878         * include/stdlib.h: Likewise.
26880         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26881         (get_null_defines): Adjust.
26882         * sunrpc/Makefile: Adjust comment.
26883         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26884         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26885         (CFLAGS-interp.c): Likewise.
26886         (CFLAGS-ldconfig.c): Likewise.
26887         (CPPFLAGS-.os): Likewise.
26888         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26889         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26890         * extra-modules.mk (extra-modules.mk): Likewise.
26891         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26892         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26893         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26894         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26895         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26896         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26897         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26898         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26899         * iconvdata/Makefile (CPPFLAGS): Likewise.
26900         (cpp-srcs-left): Add libof for all iconvdata routines.
26901         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26902         * include/assert.h: Likewise.
26903         * include/ctype.h: Likewise.
26904         * include/errno.h: Likewise.
26905         * include/libc-symbols.h: Likewise.
26906         * include/math.h: Likewise.
26907         * include/netdb.h: Likewise.
26908         * include/resolv.h: Likewise.
26909         * include/stdio.h: Likewise.
26910         * include/stdlib.h: Likewise.
26911         * include/string.h: Likewise.
26912         * include/sys/stat.h: Likewise.
26913         * include/wctype.h: Likewise.
26914         * intl/l10nflist.c: Likewise.
26915         * libidn/idn-stub.c: Likewise.
26916         * libio/libioP.h: Likewise.
26917         * nptl/libc_multiple_threads.c: Likewise.
26918         * nptl/pthreadP.h: Likewise.
26919         * posix/regex_internal.h: Likewise.
26920         * resolv/res_hconf.c: Likewise.
26921         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26922         * sysdeps/arm/memmove.S: Likewise.
26923         * sysdeps/arm/sysdep.h: Likewise.
26924         * sysdeps/generic/_itoa.h: Likewise.
26925         * sysdeps/generic/symbol-hacks.h: Likewise.
26926         * sysdeps/gnu/errlist.awk: Likewise.
26927         * sysdeps/gnu/errlist.c: Likewise.
26928         * sysdeps/i386/i586/memcpy.S: Likewise.
26929         * sysdeps/i386/i586/memset.S: Likewise.
26930         * sysdeps/i386/i686/memcpy.S: Likewise.
26931         * sysdeps/i386/i686/memmove.S: Likewise.
26932         * sysdeps/i386/i686/mempcpy.S: Likewise.
26933         * sysdeps/i386/i686/memset.S: Likewise.
26934         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26935         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26936         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26937         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26938         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26939         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26940         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26941         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26942         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26943         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26944         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26945         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26946         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26947         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26948         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26949         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26950         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26951         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26952         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26953         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26954         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26955         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26956         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26957         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26958         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26959         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26960         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26961         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26962         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26963         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26964         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26965         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26966         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26967         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26968         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26969         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26970         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26971         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26972         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26973         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26974         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26975         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26976         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26977         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26978         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26979         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26980         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26981         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26982         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26983         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26984         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26985         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26986         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26987         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26988         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26989         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26990         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26991         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26992         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26993         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26994         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26995         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26996         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26997         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26998         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26999         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27000         * sysdeps/posix/closedir.c: Likewise.
27001         * sysdeps/posix/opendir.c: Likewise.
27002         * sysdeps/posix/readdir.c: Likewise.
27003         * sysdeps/posix/rewinddir.c: Likewise.
27004         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27005         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27006         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27007         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27008         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27009         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27010         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27011         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27012         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27013         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27014         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27015         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27016         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27017         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27018         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27019         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27020         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27021         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27022         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27023         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27024         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27025         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27026         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27027         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27028         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27029         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27030         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27031         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27032         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27033         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27034         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27035         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27036         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27037         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27038         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27039         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27040         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27041         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27042         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27043         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27044         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27045         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27046         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27047         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27048         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27049         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27050         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27051         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27052         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27053         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27054         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27055         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27056         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27057         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27058         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27059         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27060         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27061         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27062         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27063         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27064         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27065         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27066         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27067         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27068         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27069         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27070         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27071         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27072         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27073         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27074         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27075         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27076         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27077         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27078         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27079         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27080         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27081         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27082         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27083         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27084         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27085         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27086         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27087         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27088         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27089         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27090         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27091         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27092         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27093         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27094         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27095         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27096         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27097         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27098         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27099         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27100         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27101         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27102         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27103         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27104         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27105         * sysdeps/unix/alpha/sysdep.S: Likewise.
27106         * sysdeps/unix/alpha/sysdep.h: Likewise.
27107         * sysdeps/unix/make-syscalls.sh: Likewise.
27108         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27109         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27110         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27111         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27112         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27113         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27114         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27115         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27116         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27117         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27118         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27119         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27120         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27121         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27122         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27123         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27124         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27125         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27126         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27127         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27128         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27129         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27130         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27131         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27132         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27133         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27134         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27137         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27138         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27139         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27140         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27141         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27142         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27143         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27144         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27145         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27146         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27147         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27148         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27149         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27150         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27151         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27152         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27153         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27154         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27155         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27156         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27157         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27158         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27159         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27160         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27161         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27162         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27163         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27164         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27165         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27166         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27167         * sysdeps/x86_64/memcpy.S: Likewise.
27168         * sysdeps/x86_64/memmove.c: Likewise.
27169         * sysdeps/x86_64/memset.S: Likewise.
27170         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27171         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27172         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27173         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27174         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27175         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27176         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27177         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27178         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27179         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27180         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27181         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27182         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27183         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27184         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27185         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27186         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27187         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27188         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27189         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27190         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27191         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27192         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27193         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27194         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27195         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27196         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27197         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27198         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27199         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27200         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27201         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27202         * sysdeps/x86_64/strcmp.S: Likewise.
27204         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27206         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27207         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27208         * elf/rtld-Rules: Likewise.
27209         * elf/setup-vdso.h: Likewise.
27210         * include/assert.h: Likewise.
27211         * include/bits/stdlib-float.h: Likewise.
27212         * include/errno.h: Likewise.
27213         * include/sys/stat.h: Likewise.
27214         * include/unistd.h: Likewise.
27215         * sysdeps/aarch64/setjmp.S: Likewise.
27216         * sysdeps/alpha/setjmp.S: Likewise.
27217         * sysdeps/arm/__longjmp.S: Likewise.
27218         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27219         * sysdeps/arm/setjmp.S: Likewise.
27220         * sysdeps/arm/sysdep.h: Likewise.
27221         * sysdeps/generic/_itoa.h: Likewise.
27222         * sysdeps/generic/dl-sysdep.h: Likewise.
27223         * sysdeps/generic/ldsodefs.h: Likewise.
27224         * sysdeps/i386/dl-tls.h: Likewise.
27225         * sysdeps/i386/setjmp.S: Likewise.
27226         * sysdeps/m68k/setjmp.c: Likewise.
27227         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27228         * sysdeps/mach/hurd/opendir.c: Likewise.
27229         * sysdeps/posix/getcwd.c: Likewise.
27230         * sysdeps/posix/opendir.c: Likewise.
27231         * sysdeps/posix/profil.c: Likewise.
27232         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27233         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27234         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27235         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27236         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27237         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27238         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27239         * sysdeps/s390/dl-tls.h: Likewise.
27240         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27241         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27242         * sysdeps/sh/sh3/setjmp.S: Likewise.
27243         * sysdeps/sh/sh4/setjmp.S: Likewise.
27244         * sysdeps/unix/alpha/sysdep.h: Likewise.
27245         * sysdeps/unix/arm/sysdep.S: Likewise.
27246         * sysdeps/unix/i386/sysdep.S: Likewise.
27247         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27248         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27249         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27250         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27251         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27252         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27253         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27254         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27255         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27256         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27257         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27258         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27259         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27262         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27263         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27264         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27265         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27266         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27267         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27268         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27269         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27270         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27271         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27272         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27273         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27274         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27275         * sysdeps/x86_64/setjmp.S: Likewise.
27277         * include/math.h: Use IS_IN instead of IS_IN_libm.
27278         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27279         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27280         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27281         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27282         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27283         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27284         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27285         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27286         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27287         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27288         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27289         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27290         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27291         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27292         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27293         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27294         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27295         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27296         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27297         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27298         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27299         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27300         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27301         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27302         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27303         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27304         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27305         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27306         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27307         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27308         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27309         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27310         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27312         Likewise.
27313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27314         Likewise.
27315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27316         Likewise.
27317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27318         Likewise.
27319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27320         Likewise.
27321         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27322         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27323         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27324         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27325         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27326         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27332         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27333         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27334         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27335         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27336         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27337         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27338         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27339         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27340         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27341         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27342         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27343         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27344         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27345         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27347         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27349         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27350         * nptl/pthreadP.h: Likewise.
27351         * nptl_db/structs.def: Likewise.
27352         * sysdeps/arm/sysdep.h: Likewise.
27353         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27354         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27355         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27356         * sysdeps/unix/alpha/sysdep.h: Likewise.
27357         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27358         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27359         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27360         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27361         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27362         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27363         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27364         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27365         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27366         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27367         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27368         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27369         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27370         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27373         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27374         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27375         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27376         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27377         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27378         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27379         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27380         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27381         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27382         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27384         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27385         * nptl/pthreadP.h: Likewise.
27386         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27387         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27388         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27389         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27390         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27391         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27392         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27393         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27394         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27395         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27396         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27397         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27399         Likewise.
27400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27401         Likewise.
27402         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27403         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27404         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27405         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27406         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27407         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27408         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27409         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27411         * dlfcn/dladdr.c: Use IS_IN.
27412         * dlfcn/dladdr1.c: Likewise.
27413         * dlfcn/dlclose.c: Likewise.
27414         * dlfcn/dlerror.c: Likewise.
27415         * dlfcn/dlinfo.c: Likewise.
27416         * dlfcn/dlmopen.c: Likewise.
27417         * dlfcn/dlopen.c: Likewise.
27418         * dlfcn/dlsym.c: Likewise.
27419         * dlfcn/dlvsym.c: Likewise.
27421         * include/ifaddrs.h: Use IS_IN.
27422         * inet/check_pf.c: Likewise.
27423         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27424         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27426         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27427         IS_IN_ldconfig.
27428         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27429         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27431         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27432         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27433         IS_IN (libc).
27435         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27437         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27438         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27439         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27440         * include/libc-symbols.h (IS_IN_LIB): New macro.
27441         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27442         * include/netdb.h: Likewise.
27443         * include/stap-probe.h: Remove all uses of IN_LIB.
27445         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27446         instead of IN_MODULE.
27447         * include/libc-symbols.h (IN_MODULE): Define using
27448         MODULE_NAME.
27449         (PASTE_NAME, PASTE_NAME1): New macros.
27450         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27451         of IN_LIB.
27452         (STAP_PROBE_ASM): Likewise.
27454 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27456         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27457         __mach_init in dlopened libc.
27459 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27461         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27462         * sysdeps/arm/preconfigure: Regenerate.
27464 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27466         * nptl/pthread_create.c (__pthread_create_2_1): Set
27467         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27468         when copying values from IATTR into PD.
27470 2014-11-21  Will Newton  <will.newton@linaro.org>
27471             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27473         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27474         Refactor inline-asm.  Also add comment.
27476         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27477         ElfW macro instead of hardcoded Elf64 types.
27478         (la_aarch64_gnu_pltenter): Likewise.
27479         * sysdeps/aarch64/dl-machine.h
27480         (elf_machine_runtime_setup): Use ElfW(Addr).
27482         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27483         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27484         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27485         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27486         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27487         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27488         (R_AARCH64_TLS_DTPMOD): This.
27489         (R_AARCH64_TLS_DTPREL64): Rename to ...
27490         (R_AARCH64_TLS_DTPREL): This.
27491         (R_AARCH64_TLS_TPREL64): Rename to ...
27492         (R_AARCH64_TLS_TPREL): This.
27493         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27494         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27495         R_AARCH64_TLS_TPREL64.
27496         (elf_machine_rela): Likewise.
27498 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27500         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27501         by setting it to 0.  64b atomics are not supported currently.
27503 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27505         [BZ #16469]
27506         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27507         search domain names.
27509 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27511         [BZ #16469]
27512         * NEWS: Update.
27513         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27514         trailing dot.
27515         * posix/tst-getaddrinfo5.c: New.
27516         * posix/Makefile (tests): Add it.
27518 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27520         [BZ #14498]
27521         * NEWS: Fixed.
27522         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27523         after parsing line but before break_if_match.
27524         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27525         if there is a protocol mismatch.
27527 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27529         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27530         because the potential race is on the user-supplied stream.
27532 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27534         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27535         string literal if not passed a buffer.
27536         * manual/job.texi (ctermid): Update reasoning, note deviation
27537         from posix, suggest mtasurace when not passed a buffer, for
27538         future non-preliminary safety notes.
27540 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27542         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27543         of not passing it a buffer.
27544         Reported by Peng Haitao.
27546 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27548         * manual/Makefile ($(objpfx)stamp-summary): Require
27549         check-safety.sh to pass.
27550         * manual/check-safety.sh: Wish for verification that every
27551         @deftypefn and @deftypefun is followed by a @safety remark.
27553 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27555         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27557         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27558         PTHREAD_CANCEL_ASYNCHRONOUS.
27559         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27560         send SIGCANCEL.
27562         * nptl/default-sched.h: New file.
27563         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27564         * nptl/pthread_create.c: Include it.
27565         (__pthread_create_2_1): Use collect_default_sched instead of making
27566         Linux syscalls here directly.
27568 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27570         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27571         __pthread_once): Use C11 atomics.
27573 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27575         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27577 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27579         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27580         atomic_thread_fence_acquire, atomic_thread_fence_release,
27581         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27582         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27583         atomic_compare_exchange_weak_relaxed,
27584         atomic_compare_exchange_weak_acquire,
27585         atomic_compare_exchange_weak_release,
27586         atomic_exchange_acquire, atomic_exchange_release,
27587         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27588         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27589         atomic_fetch_and_acquire,
27590         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27592 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27594         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27595         USE_ATOMIC_COMPILER_BUILTINS): Define.
27596         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27597         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27598         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27599         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27600         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27601         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27602         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27603         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27604         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27605         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27606         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27607         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27608         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27609         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27610         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27611         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27612         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27613         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27614         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27615         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27616         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27617         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27618         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27619         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27620         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27621         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27622         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27623         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27624         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27625         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27626         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27627         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27628         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27629         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27630         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27631         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27632         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27633         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27634         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27635         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27637 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27639         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27640         the sched_priority value here.  It was already checked when the user
27641         called pthread_attr_setschedparam.
27643         * nptl/tst-bad-schedattr.c: New file.
27644         * nptl/Makefile (tests): Add it.
27646 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27647             Florian Weimer  <fweimer@redhat.com>
27648             Joseph Myers  <joseph@codesourcery.com>
27649             Adam Conrad  <adconrad@0c3.net>
27650             Andreas Schwab  <schwab@suse.de>
27651             Brooks  <bmoses@google.com>
27653         [BZ #17625]
27654         * wordexp-test.c (__dso_handle): Add prototype.
27655         (__register_atfork): Likewise.
27656         (__app_register_atfork): New function.
27657         (registered_forks): New global.
27658         (register_fork): New function.
27659         (test_case): Add 3 new tests for WRDE_CMDSUB.
27660         (main): Call __app_register_atfork.
27661         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27662         fork count is non-zero fail the test.
27663         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27664         is set.
27665         (parse_dollars): Remove check for WRDE_NOCMD.
27666         (parse_dquote): Likewise.
27668 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27670         * Makeconfig (built-modules): List non-library modules to be
27671         built.
27672         (module-cppflags): Include libc-modules.h for
27673         everything except shlib-versions.v.i.
27674         (CPPFLAGS): Use it.
27675         (before-compile): Add libc-modules.h.
27676         ($(common-objpfx)libc-modules.h,
27677         $(common-objpfx)libc-modules.stmp): New targets.
27678         (common-generated): Add libc-modules.h and libc-modules.stmp.
27679         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27680         * include/libc-symbols.h: Don't include libc-modules.h.
27681         * include/libc-modules.h: Remove file.
27682         * scripts/gen-libc-modules.awk: New script to generate
27683         libc-modules.h.
27684         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27685         Depend on libc-modules.stmp.
27687         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27689         * Makeconfig (in-module): Get value of libof set for the
27690         translation unit.
27691         (CPPFLAGS): Use $(in-module).
27692         * Makerules: Don't suffix routine names for nonlib.
27693         * include/libc-modules.h: New file.
27694         * include/libc-symbols.h: Include libc-modules.h
27695         (IS_IN): New macro to replace IS_IN_* macros.
27696         * elf/Makefile: Set libof-* for each routine.
27697         * elf/rtld-Rules: Likewise.
27698         * extra-modules.mk: Likewise.
27699         * iconv/Makefile: Likewise.
27700         * iconvdata/Makefile: Likewise.
27701         * locale/Makefile: Likewise.
27702         * malloc/Makefile: Likewise.
27703         * nss/Makefile: Likewise.
27704         * sysdeps/gnu/Makefile: Likewise.
27705         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27706         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27707         * sysdeps/s390/s390-64/Makefile: Likewise.
27708         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27709         CPPFLAGS for nscd instead of nonlib.
27711 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27713         * nptl/createthread.c: New file.
27715         * nptl/createthread.c: Moved ...
27716         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27718         * nptl/createthread.c: Add proper top-line comment.
27719         (do_clone): Folded into ...
27720         (create_thread): ... here.  Take new arguments STOPPED_START and
27721         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27722         increment __nptl_threads, do event-reporting logic, do
27723         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27724         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27725         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27726         just send SIGCANCEL.
27727         * nptl/pthread_create.c: Forward-declare create_thread before
27728         including createthread.c.
27729         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27730         declaration, and new macro START_THREAD_SELF to replace argument.
27731         Remove return statement.
27732         (report_thread_creation): New function.
27733         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27734         synchronization logic, and __nptl_nthreads increment here, around
27735         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27736         PD->parent_cancelhandling here, before create_thread.  When
27737         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27738         __deallocate_stack, and ENOMEM translation here.
27740 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27742         [BZ #17616]
27743         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27744         (mptwo): Rename to __mptwo.
27745         (__inv): Use __mptwo instead of mptwo.
27746         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27747         (mptwo): Rename to __mptwo.
27748         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27749         of mpone and __mptwo instead of mptwo.
27750         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27751         instead of mpone.
27752         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27753         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27754         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27755         of mpone and __mptwo instead of mptwo.
27756         (__mpranred): Use __mpone instead of mpone.
27757         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27758         variable.
27759         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27760         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27761         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27762         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27763         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27764         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27765         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27766         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27767         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27768         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27769         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27770         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27771         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27772         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27773         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27774         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27775         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27776         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27777         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27779 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27781         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27782         replace BSD Handler xref with BSD Signal Handling.
27784 2014-11-17  Richard Henderson  <rth@redhat.com>
27786         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27787         (_FP_PACK_RAW_2): Remove.
27788         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27789         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27790         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27791         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27792         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27793         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27794         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27795         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27796         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27797         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27798         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27799         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27800         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27801         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27802         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27803         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27805 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27807         * signal/signal.h [__USE_MISC]
27808         (struct sigvec): Remove type.
27809         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27810         (sigvec): Remove declaration.
27811         * sysdeps/posix/sigvec.c: Moved ...
27812         * signal/sigvec.c: ... here, replacing old file.
27813         (struct sigvec): New type, copied from old signal.h definition.
27814         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27815         (__sigvec): Convert definition to prototype.
27816         (sigvec): Replace weak_alias with compat_symbol.
27817         * signal/Versions (libc: GLIBC_2.21): New version set.
27818         * include/signal.h: Remove __sigvec declaration.
27819         * sysdeps/unix/bsd/sigvec.c: Remove file.
27820         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27821         * manual/signal.texi (BSD Handler): Remove subsection.
27822         Move siginterrupt up to ...
27823         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27824         (Blocking in BSD): Fold subsection into its parent.
27825         * NEWS: Mention sigvec removal.
27827 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27829         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27830         (DLA_FMS): Make definition conditional only on [__FMA4__].
27831         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27832         definition.
27834         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27835         Make definition conditional only on [PROF].
27836         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27837         definition.
27838         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27839         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27841         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27842         !__GNUC__].
27843         * include/signal.h (__sigpause): Move declaration above call to
27844         libc_hidden_proto.
27845         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27846         variable.
27847         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27848         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27850 2014-11-14  David S. Miller  <davem@davemloft.net>
27852         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27853         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27855 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27857         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27858         * configure: Regenerated.
27859         * manual/install.texi (Tools for Compilation): Document a
27860         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27861         compiler verified to work.
27862         * INSTALL: Regenerated.
27864         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27865         redeclare with asm name.
27866         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27867         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27868         including <string.h>.
27869         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27870         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27871         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27872         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27873         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27874         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27875         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27877 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27879         * stdlib/strtol.c (__strtol): Use prototype definition.
27881         [BZ #17594]
27882         * stdlib/strtol.c (SYM__): New macro.
27883         (SYM__1): Likewise.
27884         (__strtol): Likewise.
27885         (strtol): Rename to __strtol and define as weak alias of
27886         __strtol.  Use libc_hidden_weak.
27888 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27890         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27891         Use numbered labels in inline assembly.
27893 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27895         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27896         Add setjmp LIBC_PROBE.
27897         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27898         Likewise.
27899         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27900         Add longjmp, longjmp_target LIBC_PROBE.
27901         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27902         Likewise.
27904 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27906         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27907         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27908         to get rid of unused variable warning.
27910 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27912         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27913         Check for unwind_backtrace ==  NULL only in SHARED case.
27914         (__backchain_backtrace): Compile only in SHARED case.
27915         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27916         Likewise.
27917         (__backchain_backtrace): Declare as static.
27919 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27921         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27922         (__libc_multiple_threads_ptr): Variable moved ...
27923         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27925 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27927         * conform/GlibcConform.pm: New file.
27928         * conform/conformtest.pl: Use GlibcConform module.
27929         * conform/linknamespace.pl: New file.
27930         * conform/list-header-symbols.pl: Likewise.
27931         * conform/Makefile (linknamespace-symlists-base): New variable.
27932         (linknamespace-symlists-tests): Likewise.
27933         (linknamespace-header-base): Likewise.
27934         (linknamespace-header-tests): Likewise.
27935         (tests-special): Add new tests.
27936         ($(linknamespace-symlists-tests)): New rule.
27937         (linknamespace-libs): New variable.
27938         ($(objpfx)symlist-stdlibs): New rule.
27939         ($(linknamespace-header-tests)): Likewise.
27940         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27941         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27942         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27943         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27944         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27945         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27946         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27947         (test-xfail-ISO/math.h/linknamespace): Likewise.
27948         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27949         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27950         (test-xfail-ISO/time.h/linknamespace): Likewise.
27951         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27952         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27953         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27954         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27955         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27956         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27957         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27958         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27959         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27960         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27961         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27962         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27963         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27964         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27965         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27966         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27967         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27968         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27969         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27970         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27971         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27972         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27973         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27974         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27975         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27976         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27977         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27978         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27979         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27980         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27981         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27982         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27983         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27984         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27985         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27986         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27987         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27988         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27989         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27990         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27991         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27992         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27993         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27994         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27995         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27996         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27997         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27998         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27999         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28000         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28001         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28002         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28003         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28004         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28005         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28006         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28007         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28008         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28009         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28010         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28011         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28012         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28013         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28014         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28015         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28016         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28017         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28018         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28019         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28020         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28021         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28022         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28023         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28024         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28025         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28026         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28027         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28028         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28029         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28030         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28031         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28032         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28033         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28034         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28035         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28036         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28037         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28038         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28039         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28040         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28041         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28042         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28043         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28044         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28045         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28046         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28047         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28048         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28049         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28050         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28051         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28052         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28053         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28054         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28055         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28056         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28057         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28058         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28059         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28060         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28061         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28062         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28063         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28064         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28065         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28066         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28067         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28068         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28069         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28070         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28071         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28072         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28073         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28074         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28075         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28076         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28077         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28078         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28079         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28080         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28081         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28082         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28083         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28084         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28085         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28086         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28087         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28088         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28089         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28090         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28091         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28092         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28093         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28094         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28095         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28096         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28097         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28098         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28099         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28100         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28102         [BZ #17589]
28103         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28104         of fgets_unlocked.
28106         [BZ #17585]
28107         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28108         (memmem): Rename to __memmem and define as weak alias of
28109         __memmem.  Use libc_hidden_weak.
28110         (__memmem): Use libc_hidden_def.
28111         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28112         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28113         memmem.
28115         [BZ #17582]
28116         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28117         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28118         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28119         and define as weak alias of __fgets_unlocked.  Use
28120         libc_hidden_weak.
28121         (__fgets_unlocked): Use libc_hidden_def.
28122         * include/stdio.h (__fgets_unlocked): Declare.  Use
28123         libc_hidden_proto.
28124         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28125         __fgets_unlocked instead of fgets_unlocked.
28126         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28127         (GET_NPROCS_CONF_PARSER): Likewise.
28128         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28129         (GET_NPROCS_CONF_PARSER): Likewise.
28131         [BZ #17574]
28132         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28133         weak alias of __wmemset.  Use libc_hidden_weak.
28134         (__wmemset): Use libc_hidden_def.
28135         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28136         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28137         of wmemset.
28139         [BZ #17573]
28140         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28141         with asm name __mempcpy.
28142         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28144         [BZ #17572]
28145         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28146         and define as weak alias of __rawmemchr.
28147         (__rawmemchr): Do not define as strong alias of rawmemchr.
28149         [BZ #17571]
28150         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28151         alias of __qsort_r.
28152         (qsort): Call __qsort_r instead of qsort_r.
28153         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28154         (__qsort_r): Declare.  Call libc_hidden_proto.
28155         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28156         instead of qsort_r.
28157         * nscd/gai.c (__qsort_r): Define to qsort_r.
28158         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28159         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28160         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28162         [BZ #17570]
28163         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28164         define as weak alias of __malloc_info.
28166         [BZ #17584]
28167         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28168         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28169         (__rewinddir): Use libc_hidden_def.
28170         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28171         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28172         (__rewinddir): Use libc_hidden_def.
28173         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28174         weak alias of __rewinddir.  Don't use libc_hidden_def.
28175         (__rewinddir): Use libc_hidden_def.
28176         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28177         (__rewinddir): Use libc_hidden_proto.
28178         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28179         rewinddir.
28180         (__getcwd): Use __rewinddir instead of rewinddir.
28182         [BZ #17583]
28183         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28184         alias of __fileno.  Use libc_hidden_weak.
28185         (__fileno): Use libc_hidden_def.
28186         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28187         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28188         alias of __ftello.
28189         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28190         __ftello.
28191         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28192         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28193         libc_hidden_def.
28194         (fread_unlocked): Don't use libc_hidden_ver.
28195         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28196         and define as weak alias of __fread_unlocked.  Don't use
28197         libc_hidden_def.
28198         (__fread_unlocked): Use libc_hidden_def.
28199         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28200         (ftello): Don't use libc_hidden_proto.
28201         (__ftello): Declare.  Use libc_hidden_proto.
28202         (fread_unlocked): Don't use libc_hidden_proto.
28203         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28204         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28205         and __ftello instead of fileno, fread_unlocked and ftello.
28207 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28209         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28210         GOT12.
28211         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28212         Likewise.
28213         (_dl_start_user): Likewise.
28214         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28216 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28217             Siddhesh Poyarekar  <siddhesh@redhat.com>
28219         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28220         Move argv and envp down instead of moving argc up.
28221         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28223 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28225         [BZ #17506]
28226         * test-skeleton.c (main): Return successful if one of
28227         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28228         * string/tst-strcoll-overflow.c: Define expected status.
28230 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28232         [BZ #17475]
28233         * locale/iso-639.def: Define Bhili and Tulu language codes.
28235 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28237         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28239 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28241         [BZ #17555]
28242         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28244 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28246         * configure.ac: Updated check of minimal required version to
28247         2.22.
28248         * manual/install.texi (Tools for Compilation): Updated version
28249         number.
28250         * configure: Regenerated.
28251         * INSTALL: Likewise.
28253 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28255         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28256         __tls_get_addr.
28258 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28260         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28261         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28262         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28263         libc_hidden_weak.
28264         (waitpid): Define as alias of __waitpid.
28265         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28266         __waitpid.
28267         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28268         libc_hidden_weak.
28269         (waitpid): Define as alias of __waitpid.
28270         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28271         __libc_waitpid alias.
28272         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28273         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28274         Likewise.
28275         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28276         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28277         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28278         alias.
28279         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28280         __waitpid.
28281         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28282         libc_hidden_weak.
28283         (waitpid): Define as alias of __waitpid.
28285 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28287         * manual/llio.texi: Add comment that write safety has been
28288         fixed in Linux.
28290         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28291         (localplt-build-dso): Add elf/ld.so.
28292         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28293         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28294         and free for ld.so.
28295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28296         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28298         Likewise.
28299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28300         Likewise.
28301         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28302         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28303         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28304         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28305         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28306         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28307         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28308         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28309         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28310         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28311         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28313 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28315         [BZ #14132]
28316         * include/libc-symbols.h (INTUSE): Remove macro.
28317         (INTDEF): Likewise.
28318         (INTVARDEF): Likewise.
28319         (_INTVARDEF): Likewise.
28320         (INTDEF2): Likewise.
28321         (INTVARDEF2): Likewise.
28322         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28323         rtld_hidden_def instead of INTVARDEF.
28324         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28325         (_dl_starting_up_internal): Remove declaration.
28326         (_dl_starting_up): Use rtld_hidden_proto.
28327         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28328         declaration.
28329         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28330         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28331         _dl_starting_up.
28332         * elf/dl-writev.h (_dl_writev): Likewise.
28333         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28334         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28335         _dl_starting_up_internal.
28337 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28339         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28340         test-skeleton.c.
28342 2014-11-05  Will Newton  <will.newton@linaro.org>
28344         * benchtests/Makefile: (bench-malloc): Add malloc thread
28345         scalability benchmark.
28346         * benchtests/bench-malloc-threads.c: New file.
28348 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28350         * sysdeps/aarch64/strchrnul.S: New file.
28352 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28354         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28355         definition.
28356         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28357         Likwise.
28358         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28359         Likewise.
28360         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28361         Likewise.
28362         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28363         Likewise.
28364         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28365         Likewise.
28367 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28369         * catgets/test-gencat.c: Use test-skeleton.c.
28370         * catgets/tst-catgets.c: Likewise.
28371         * csu/tst-empty.c: Likewise.
28372         * elf/tst-audit2.c: Likewise.
28373         * elf/tst-global1.c: Likewise.
28374         * elf/tst-pathopt.c: Likewise.
28375         * elf/tst-piemod1.c: Likewise.
28376         * elf/tst-tls10.c: Likewise.
28377         * elf/tst-tls11.c: Likewise.
28378         * elf/tst-tls12.c: Likewise.
28379         * gnulib/tst-gcc.c: Likewise.
28380         * iconvdata/tst-e2big.c: Likewise.
28381         * iconvdata/tst-loading.c: Likewise.
28382         * iconv/tst-iconv1.c: Likewise.
28383         * iconv/tst-iconv2.c: Likewise.
28384         * inet/test-inet6_opt.c: Likewise.
28385         * inet/tst-gethnm.c: Likewise.
28386         * inet/tst-network.c: Likewise.
28387         * inet/tst-ntoa.c: Likewise.
28388         * intl/tst-codeset.c: Likewise.
28389         * intl/tst-gettext2.c: Likewise.
28390         * intl/tst-gettext3.c: Likewise.
28391         * intl/tst-ngettext.c: Likewise.
28392         * intl/tst-translit.c: Likewise.
28393         * io/test-stat.c: Likewise.
28394         * libio/test-fmemopen.c: Likewise.
28395         * libio/tst-freopen.c: Likewise.
28396         * libio/tst-sscanf.c: Likewise.
28397         * libio/tst-ungetwc1.c: Likewise.
28398         * libio/tst-ungetwc2.c: Likewise.
28399         * libio/tst-widetext.c: Likewise.
28400         * localedata/tst-ctype.c: Likewise.
28401         * localedata/tst-digits.c: Likewise.
28402         * localedata/tst-leaks.c: Likewise.
28403         * localedata/tst-mbswcs1.c: Likewise.
28404         * localedata/tst-mbswcs2.c: Likewise.
28405         * localedata/tst-mbswcs3.c: Likewise.
28406         * localedata/tst-mbswcs4.c: Likewise.
28407         * localedata/tst-mbswcs5.c: Likewise.
28408         * localedata/tst-setlocale.c: Likewise.
28409         * localedata/tst-trans.c: Likewise.
28410         * localedata/tst-wctype.c: Likewise.
28411         * localedata/tst-xlocale1.c: Likewise.
28412         * login/tst-grantpt.c: Likewise.
28413         * malloc/tst-calloc.c: Likewise.
28414         * malloc/tst-malloc.c: Likewise.
28415         * malloc/tst-mallocstate.c: Likewise.
28416         * malloc/tst-mcheck.c: Likewise.
28417         * malloc/tst-mtrace.c: Likewise.
28418         * malloc/tst-obstack.c: Likewise.
28419         * math/atest-exp2.c: Likewise.
28420         * math/atest-exp.c: Likewise.
28421         * math/atest-sincos.c: Likewise.
28422         * math/test-matherr.c: Likewise.
28423         * math/test-misc.c: Likewise.
28424         * math/test-powl.c: Likewise.
28425         * math/tst-definitions.c: Likewise.
28426         * misc/tst-dirname.c: Likewise.
28427         * misc/tst-efgcvt.c: Likewise.
28428         * misc/tst-fdset.c: Likewise.
28429         * misc/tst-hsearch.c: Likewise.
28430         * misc/tst-mntent2.c: Likewise.
28431         * nptl/tst-sem7.c: Likewise.
28432         * nptl/tst-sem8.c: Likewise.
28433         * nptl/tst-sem9.c: Likewise.
28434         * nss/test-netdb.c: Likewise.
28435         * posix/tst-fnmatch.c: Likewise.
28436         * posix/tst-getlogin.c: Likewise.
28437         * posix/tst-gnuglob.c: Likewise.
28438         * posix/tst-mmap.c: Likewise.
28439         * pwd/tst-getpw.c: Likewise.
28440         * resolv/tst-inet_ntop.c: Likewise.
28441         * rt/tst-timer.c: Likewise.
28442         * stdio-common/test-fseek.c: Likewise.
28443         * stdio-common/test-popen.c: Likewise.
28444         * stdio-common/test-vfprintf.c: Likewise.
28445         * stdio-common/tst-cookie.c: Likewise.
28446         * stdio-common/tst-fileno.c: Likewise.
28447         * stdio-common/tst-gets.c: Likewise.
28448         * stdio-common/tst-obprintf.c: Likewise.
28449         * stdio-common/tst-perror.c: Likewise.
28450         * stdio-common/tst-sprintf2.c: Likewise.
28451         * stdio-common/tst-sprintf3.c: Likewise.
28452         * stdio-common/tst-sprintf.c: Likewise.
28453         * stdio-common/tst-swprintf.c: Likewise.
28454         * stdio-common/tst-tmpnam.c: Likewise.
28455         * stdio-common/tst-unbputc.c: Likewise.
28456         * stdio-common/tst-wc-printf.c: Likewise.
28457         * stdlib/tst-environ.c: Likewise.
28458         * stdlib/tst-fmtmsg.c: Likewise.
28459         * stdlib/tst-limits.c: Likewise.
28460         * stdlib/tst-rand48-2.c: Likewise.
28461         * stdlib/tst-rand48.c: Likewise.
28462         * stdlib/tst-random2.c: Likewise.
28463         * stdlib/tst-random.c: Likewise.
28464         * stdlib/tst-strtol.c: Likewise.
28465         * stdlib/tst-strtoll.c: Likewise.
28466         * stdlib/tst-tls-atexit.c: Likewise.
28467         * stdlib/tst-xpg-basename.c: Likewise.
28468         * string/test-ffs.c: Likewise.
28469         * string/tst-bswap.c: Likewise.
28470         * string/tst-inlcall.c: Likewise.
28471         * string/tst-strtok.c: Likewise.
28472         * string/tst-strxfrm.c: Likewise.
28473         * sysdeps/x86_64/tst-audit10.c: Likewise.
28474         * sysdeps/x86_64/tst-audit3.c: Likewise.
28475         * sysdeps/x86_64/tst-audit4.c: Likewise.
28476         * sysdeps/x86_64/tst-audit5.c: Likewise.
28477         * time/tst-ftime_l.c: Likewise.
28478         * time/tst-getdate.c: Likewise.
28479         * time/tst-mktime3.c: Likewise.
28480         * time/tst-mktime.c: Likewise.
28481         * time/tst-posixtz.c: Likewise.
28482         * time/tst-strptime2.c: Likewise.
28483         * time/tst-strptime3.c: Likewise.
28484         * wcsmbs/tst-btowc.c: Likewise.
28485         * wcsmbs/tst-mbrtowc.c: Likewise.
28486         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28487         * wcsmbs/tst-wchar-h.c: Likewise.
28488         * wcsmbs/tst-wcpncpy.c: Likewise.
28489         * wcsmbs/tst-wcrtomb.c: Likewise.
28490         * wcsmbs/tst-wcsnlen.c: Likewise.
28491         * wcsmbs/tst-wcstof.c: Likewise.
28493 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28495         [BZ #14132]
28496         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28497         INTDEF.
28498         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28499         declaration.
28500         (_dl_mcount): Use rtld_hidden_proto.
28501         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28502         _dl_mcount.
28503         * elf/rtld.c (_rtld_global_ro): Likewise.
28505         [BZ #14132]
28506         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28507         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28508         of _dl_init_internal.
28509         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28510         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28511         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28512         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28513         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28514         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28515         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28516         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28517         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28518         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28519         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28520         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28521         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28522         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28523         * sysdeps/tile/dl-start.S (_start): Likewise.
28524         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28525         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28527         [BZ #14132]
28528         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28529         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28530         (rtld_progname): Make macro definition unconditional.
28531         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28532         INTDEF.
28533         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28534         (dl_main): Likewise.
28535         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28536         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28537         instead of _dl_argv_internal.
28538         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28539         __GI__dl_argv instead of INTUSE(_dl_argv).
28540         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28541         __GI__dl_argv instead of _dl_argv_internal.
28543         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28544         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28545         macro.
28546         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28547         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28548         New macro.
28549         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28550         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28551         macro.
28552         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28553         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28555 2014-11-04  Andreas Schwab  <schwab@suse.de>
28557         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28559 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28561         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28562         mtvsrd instruction in binary form.
28564 2014-11-03  Andreas Schwab  <schwab@suse.de>
28566         [BZ #17522]
28567         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28568         for less than MB_LEN_MAX use a local buffer of that size.
28569         * libio/tst-fputws.c: New file.
28570         * libio/Makefile (tests): Add tst-fputws.
28572 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28574         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28575         the size of the fpu_fr.fpu_dregs[] array.
28577 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28579         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28580         (__nanosleep): Do not define as alias.
28581         (nanosleep): Define as alias of __nanosleep.
28582         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28583         __libc_nanosleep name.
28585 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28587         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28588         install.texi in comment.
28590 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28592         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28593         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28594         ... add here and use lwsync or sync ...
28595         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28596         ... and add here using lwsync.
28598 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28600         * elf/dl-machine-reject-phdr.h: New file.
28601         * elf/dl-load.c: #include that.
28602         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28603         if that returned true.
28605 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28607         [BZ #17496]
28608         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28609         gen-as-const-headers chunk.  Add a big scare comment after the last
28610         safe place to touch before-compile.
28612 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28614         * manual/install.texi (Tools for Compilation): Update autoconf
28615         version requirements.
28616         * INSTALL: Regenerated.
28618         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28619         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28620         (__libc_pselect): Likewise.
28622         [BZ #14138]
28623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28628 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28630         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28631         correct barrier instruction.
28632         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28633         Likewise.
28634         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28635         Likewise.
28637 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28639         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28640         after defining inlines.  Instead, just use parens to defeat macro
28641         expansion of __isctype in its declaration.
28643 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28645         * include/sys/uio.h (__libc_readv): Remove declaration.
28646         (__libc_writev): Likewise.
28647         * misc/readv.c (__libc_readv): Rename to __readv.
28648         (__readv): Do not define as alias.
28649         (readv): Define as alias of __readv.
28650         * misc/writev.c (__libc_writev): Rename to __writev.
28651         (__writev): Do not define as alias.
28652         (writev): Define as alias of __writev.
28653         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28654         (__readv): Do not define as alias.
28655         (readv): Define unconditionally as alias of __readv.
28656         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28657         (__writev): Do not define as alias.
28658         (writev): Define unconditionally as alias of __writev.
28659         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28660         name.
28661         (writev): Do not define __libc_writev name.
28663 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28665         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28666         (convert_charseq): New function, broken out of ...
28667         (use_from_charmap): ... here.  Call it.
28668         (use_to_charmap): Use convert_charseq and free instead of duplicating
28669         its code with a variable-length stack struct.
28671 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28673         * include/fcntl.h (__libc_creat): Remove declaration.
28674         * io/creat.c (__libc_creat): Rename to creat.
28675         (creat): Do not define as alias.
28676         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28677         of creat instead of __libc_creat.
28678         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28679         to creat.
28680         (creat): Do not define as alias.
28681         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28682         __libc_creat.
28683         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28684         __libc_creat name.
28685         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28686         Likewise.
28688 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28690         * manual/llio.texi: Add comments discussing why write() may be
28691         considered MT-unsafe on Linux.
28693 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28695         * dl-load.c (local_strdup): Remove.
28696         (expand_dynamic_string_token): Use __strdup.
28697         (decompose_rpath): Likewise.
28698         (_dl_map_object): Likewise.
28700 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28702         [BZ #14132]
28703         * sysdeps/generic/unwind-dw2-fde.c
28704         (__register_frame_info_bases_internal): Do not declare.
28705         (__register_frame_info_table_bases_internal): Likewise.
28706         (__deregister_frame_info_bases_internal): Likewise.
28707         (__register_frame_info_bases): Declare and use hidden_proto before
28708         definition.  Use hidden_def instead of INTDEF.
28709         (__register_frame_info_table_bases): Likewise.
28710         (__deregister_frame_info_bases): Likewise.
28711         (__register_frame_info): Do not use INTUSE.
28712         (__register_frame): Likewise.
28713         (__register_frame_info_table): Likewise.
28714         (__register_frame_table): Likewise.
28715         (__deregister_frame_info): Likewise.
28716         (__deregister_frame): Likewise.
28718 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28720         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28721         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28722         not undefine.
28723         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28724         Likewise.
28725         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28726         Likewise.
28728 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28730         [BZ #14138]
28731         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28732         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28733         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28734         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28735         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28736         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28737         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28738         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28739         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28740         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28741         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28742         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28743         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28744         syscall.
28745         (setfsuid): Likewise.
28746         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28747         (setfsuid): Likewise.
28748         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28749         (setfsuid): Likewise.
28750         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28751         Likewise.
28752         (setfsuid): Likewise.
28753         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28754         (setfsuid): Likewise.
28755         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28756         Likewise.
28757         (setfsuid): Likewise.
28759 2014-10-27  Andreas Schwab  <schwab@suse.de>
28761         [BZ #17501]
28762         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28763         check for Slow_SSE4_2 feature bit.
28764         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28765         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28766         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28767         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28769 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28771         * configure.ac: Validate compiler version with a empirical test of
28772         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28773         $CC -v output.
28774         * configure: Regenerated.
28776         * inet/htons.c (htons): Prototypify.
28777         * inet/htonl.c (htonl): Likewise.
28779 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28781         * string/strncat.c (strncat): Improve performance by using strlen.
28783 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28785         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28787 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28789         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28790         Call libc_fetestexcept_aarch64.
28792 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28794         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28795         Call libc_feholdexcept_aarch64.
28797 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28799         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28800         Call get_rounding_mode.
28802 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28804         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28805         Simplify logic.
28807 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28809         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28810         Simplify logic.
28812 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28814         [BZ #14138]
28815         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28816         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28817         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28818         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28819         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28820         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28821         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28822         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28823         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28824         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28825         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28826         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28827         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28828         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28829         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28830         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28831         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28832         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28833         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28834         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28835         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28836         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28837         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28838         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28839         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28840         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28841         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28842         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28843         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28844         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28845         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28846         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28847         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28848         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28849         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28850         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28851         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28852         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28853         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28854         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28855         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28856         syscall.
28857         (geteuid): Likewise.
28858         (getgid): Likewise.
28859         (getuid): Likewise.
28860         (getresgid): Likewise.
28861         (getresuid): Likewise.
28862         (getgroups): Likewise.
28863         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28864         (geteuid): Likewise.
28865         (getgid): Likewise.
28866         (getuid): Likewise.
28867         (getresgid): Likewise.
28868         (getresuid): Likewise.
28869         (getgroups): Likewise.
28870         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28871         (geteuid): Likewise.
28872         (getgid): Likewise.
28873         (getuid): Likewise.
28874         (getresgid): Likewise.
28875         (getresuid): Likewise.
28876         (getgroups): Likewise.
28877         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28878         Likewise.
28879         (geteuid): Likewise.
28880         (getgid): Likewise.
28881         (getuid): Likewise.
28882         (getresgid): Likewise.
28883         (getresuid): Likewise.
28884         (getgroups): Likewise.
28885         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28886         (geteuid): Likewise.
28887         (getgid): Likewise.
28888         (getuid): Likewise.
28889         (getresgid): Likewise.
28890         (getresuid): Likewise.
28891         (getgroups): Likewise.
28892         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28893         Likewise.
28894         (geteuid): Likewise.
28895         (getgid): Likewise.
28896         (getuid): Likewise.
28897         (getgroups): Likewise.
28899         [BZ #14138]
28900         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28901         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28902         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28903         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28904         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28905         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28906         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28907         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28908         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28909         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28910         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28911         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28912         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28913         __chown.
28914         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28915         (lchown): Likewise.
28916         (fchown): Likewise.
28917         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28918         Likewise.
28919         (lchown): Likewise.
28920         (fchown): Likewise.
28921         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28922         (lchown): Likewise.
28923         (fchown): Likewise.
28924         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28925         Likewise.
28926         (lchown): Likewise.
28927         (fchown): Likewise.
28929 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28931         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28932         Simplify logic.
28934 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28936         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28937         Cleanup logic.
28939 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28941         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28942         Remove unused include.
28944 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28946         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28947         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28948         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28949         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28951 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28952             Helge Deller <deller@gmx.de>
28954         [BZ #17508]
28955         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28956         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28957         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28959 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28961         [BZ #14132]
28962         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28963         Remove macro definition.
28964         (__ashrdi3_v_glibc20): Likewise.
28965         (__lshrdi3_v_glibc20): Likewise.
28966         (__cmpdi2_v_glibc20): Likewise.
28967         (__ucmpdi2_v_glibc20): Likewise.
28968         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28969         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28970         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28971         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28972         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28973         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28975 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28977         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28978         old GNU extension [0] syntax.
28979         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28980         alloca rather than an array member with variable length.
28981         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28982         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28983         (parse_opt): ... here.  Likewise use alloca there.
28984         Validate the -i argument before checking for rootness.
28985         (send_shutdown): New function, broken out of ...
28986         (parse_opt): ... here.
28988 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28990         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28991         macro to get at the _rt_local_ro field.
28992         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28993         ([PIC] case) or _dl_hwcap ([!PIC] case).
28994         * sysdeps/arm/setjmp.S: Likewise.
28996         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28997         * sysdeps/arm/configure.ac: New check to define it.
28998         * sysdeps/arm/configure: Regenerated.
28999         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29000         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29001         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29002         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29003         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29004         Use move/movt pair instead of a load.
29005         (LDST_GLOBAL): Macro removed.
29006         (LDR_GLOBAL): New macro replaces it.
29007         (LDR_HIDDEN): New macro.
29008         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29009         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29011         * setjmp/tst-setjmp-static.c: New file.
29012         * setjmp/Makefile (tests): Add it.
29013         (tests-static): New variable.
29015 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29017         [BZ #17485]
29018         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29020 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29022         [BZ #14132]
29023         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29025 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29027         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29029 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29031         * io/fts.c (dirent_not_directory): New function.
29032         (fts_build): Call it.
29034 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29036         * nptl/version.c (__nptl_main): Use normal __write rather than
29037         INTERNAL_SYSCALL.
29038         (banner): Update copyright years.
29040         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29041         gettimeofday.
29042         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29043         * nptl/pthread_cond_timedwait.c: Likewise.
29044         * nptl/pthread_mutex_timedlock.c: Likewise.
29045         * nptl/sem_timedwait.c: Likewise.
29047         * sysdeps/nptl/bits/libc-lock.h
29048         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29049         (__libc_lock_init_recursive): Return void, not 0.
29050         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29051         (__libc_rwlock_init): Likewise.
29052         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29054 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29056         [BZ #15215]
29057         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29058         (__pthread_once_slow): ... here.
29059         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29060         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29062 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29064         [BZ #15215]
29065         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29066         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29067         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29068         * nptl/pthread_once.c (__pthread_once): Likewise.
29069         Update comments.
29071 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29073         [BZ #14138]
29074         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29075         name.
29076         (writev): Use __libc_writev as strong name.
29077         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29078         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29080 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29082         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29084         * sysdeps/i386/nptl/tls.h
29085         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29086         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29087         New macros.
29088         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29089         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29090         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29091         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29092         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29093         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29095         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29096         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29097         on [__NR_futex].
29098         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29099         broken out of ...
29100         (__pthread_mutex_init): ... here.  Call it.
29101         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29102         Conditionalize PI cases on [__NR_futex].
29103         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29104         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29105         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29107         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29108         conditional on [SIGSETXID].
29109         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29110         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29111         is defined.  Likewise for SIGSETXID.
29112         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29113         Conditionalize definitions on [SIGSETXID].
29114         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29115         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29116         unblocking on [SIGCANCEL].
29118         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29119         [__NR_set_robust_list].
29121 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29123         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29124         (do_compare): Likewise.
29126 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29128         [BZ #15884]
29129         * string/strcoll_l.c: Don't include stdio.h.
29130         (coll_seq): Remove members idxarr and rulearr.
29131         (get_next_seq_cached): Remove function.
29132         (get_next_seq): Likewise.
29133         (get_next_seq_nocache): Rename to get_next_seq.
29134         (do_compare): Remove function.
29135         (do_compare_nocache): Rename to do_compare.
29136         (STRCOLL): Remove weight and rules cache.
29138 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29140         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29141         * sysdeps/arm/sfp-machine.h: ... to here.
29142         * sysdeps/arm/Implies: Remove arm/soft-fp.
29144 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29146         * conform/data/sys/utsname.h-data (*_t): Allow.
29147         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29148         [POSIX] (WEXITED): Do not expect constant.
29149         [POSIX] (WSTOPPED): Likewise.
29150         [POSIX] (WNOHANG): Likewise.
29151         [POSIX] (WNOWAIT): Likewise.
29152         [POSIX] (siginfo_t): Do not expect type or elements.
29153         [POSIX] (pid_t): Do not expect type.
29154         [POSIX] (signal.h): Do not allow header.
29155         [POSIX] (sys/resource.h): Likewise.
29156         [POSIX] (si_*): Do not allow pattern.
29157         [POSIX] (W*): Likewise.
29158         [POSIX] (P_*): Likewise.
29159         [POSIX] (BUS_*): Likewise.
29160         [POSIX] (CLD_*): Likewise.
29161         [POSIX] (FPE_*): Likewise.
29162         [POSIX] (ILL_*): Likewise.
29163         [POSIX] (POLL_*): Likewise.
29164         [POSIX] (SEGV_*): Likewise.
29165         [POSIX] (SI_*): Likewise.
29166         [POSIX] (TRAP_*): Likewise.
29167         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29168         variable.
29170 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29172         [BZ #12926]
29173         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29174         infinite loop when __recvmsg returns 0.
29176 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29178         * CANCEL-FCT-WAIVE: Remove file.
29179         * CANCEL-FILE-WAIVE: Likewise.
29181         [BZ #14132]
29182         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29183         instead of INTVARDEF.
29184         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29185         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29186         rtld_hidden_data_def instead of INTVARDEF.
29187         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29188         * elf/dl-deps.c (expand_dst): Likewise.
29189         * elf/dl-load.c (_dl_dst_count): Likewise.
29190         (_dl_dst_substitute): Likewise.
29191         (decompose_rpath): Likewise.
29192         (_dl_init_paths): Likewise.
29193         (open_path): Likewise.
29194         (_dl_map_object): Likewise.
29195         * elf/rtld.c (dl_main): Likewise.
29196         (process_dl_audit): Likewise.
29197         (process_envvars): Likewise.
29198         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29199         Remove declaration.
29200         (__libc_enable_secure): Use rtld_hidden_proto.
29202 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29204         * elf/dl-load.c
29205         (add_path): New function broken out of _dl_rtld_di_serinfo.
29206         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29208 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29210         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29211         parentheses around macro arguments.
29212         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29213         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29214         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29215         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29216         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29217         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29218         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29219         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29220         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29221         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29222         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29223         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29224         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29225         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29226         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29227         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29228         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29229         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29230         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29231         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29232         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29233         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29234         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29235         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29236         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29237         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29238         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29239         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29240         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29241         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29242         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29243         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29244         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29245         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29246         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29247         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29248         Likewise.
29249         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29250         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29251         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29252         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29253         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29254         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29255         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29256         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29257         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29258         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29259         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29260         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29261         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29262         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29263         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29264         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29265         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29266         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29267         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29268         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29269         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29270         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29271         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29272         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29273         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29274         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29275         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29276         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29277         (_FP_FRAC_SRS_1): Likewise.
29278         (_FP_FRAC_CLZ_1): Likewise.
29279         (_FP_MUL_MEAT_1_imm): Likewise.
29280         (_FP_MUL_MEAT_1_wide): Likewise.
29281         (_FP_MUL_MEAT_1_hard): Likewise.
29282         (_FP_SQRT_MEAT_1): Likewise.
29283         (_FP_FRAC_ASSEMBLE_1): Likewise.
29284         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29285         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29286         (__FP_CLZ_2): Likewise.
29287         (_FP_MUL_MEAT_2_wide): Likewise.
29288         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29289         (_FP_MUL_MEAT_2_gmp): Likewise.
29290         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29291         (_FP_SQRT_MEAT_2): Likewise.
29292         (_FP_FRAC_ASSEMBLE_2): Likewise.
29293         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29294         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29295         (_FP_FRAC_CLZ_4): Likewise.
29296         (_FP_MUL_MEAT_4_wide): Likewise.
29297         (_FP_MUL_MEAT_4_gmp): Likewise.
29298         (_FP_SQRT_MEAT_4): Likewise.
29299         (_FP_FRAC_ASSEMBLE_4): Likewise.
29300         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29301         * soft-fp/op-common.h (_FP_CMP): Likewise.
29302         (_FP_CMP_EQ): Likewise.
29303         (_FP_CMP_UNORD): Likewise.
29304         (_FP_TO_INT): Likewise.
29305         (_FP_FROM_INT): Likewise.
29306         [!__FP_CLZ] (__FP_CLZ): Likewise.
29307         (_FP_DIV_HELP_imm): Likewise.
29308         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29309         Likewise.
29310         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29311         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29312         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29313         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29314         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29315         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29316         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29317         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29318         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29319         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29320         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29321         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29322         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29323         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29324         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29325         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29326         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29327         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29328         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29329         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29330         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29331         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29332         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29333         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29334         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29335         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29336         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29337         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29338         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29339         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29340         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29341         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29342         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29343         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29344         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29345         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29346         (FP_UNPACK_RAW_SP): Likewise.
29347         (FP_PACK_RAW_S): Likewise.
29348         (FP_PACK_RAW_SP): Likewise.
29349         (FP_UNPACK_S): Likewise.
29350         (FP_UNPACK_SP): Likewise.
29351         (FP_UNPACK_SEMIRAW_S): Likewise.
29352         (FP_UNPACK_SEMIRAW_SP): Likewise.
29353         (FP_PACK_S): Likewise.
29354         (FP_PACK_SP): Likewise.
29355         (FP_PACK_SEMIRAW_S): Likewise.
29356         (FP_PACK_SEMIRAW_SP): Likewise.
29357         (_FP_SQRT_MEAT_S): Likewise.
29358         (FP_CMP_S): Likewise.
29359         (FP_CMP_EQ_S): Likewise.
29360         (FP_CMP_UNORD_S): Likewise.
29361         (FP_TO_INT_S): Likewise.
29362         (FP_FROM_INT_S): Likewise.
29364         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29366         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29367         (FP_EX_INVALID_IMZ): Likewise.
29368         (FP_EX_INVALID_IMZ_FMA): Likewise.
29369         (FP_EX_INVALID_ISI): Likewise.
29370         (FP_EX_INVALID_ZDZ): Likewise.
29371         (FP_EX_INVALID_IDI): Likewise.
29372         (FP_EX_INVALID_SQRT): Likewise.
29373         (FP_EX_INVALID_CVI): Likewise.
29374         (FP_EX_INVALID_VC): Likewise.
29375         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29376         "invalid" exceptions.
29377         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29378         (_FP_ADD_INTERNAL): Likewise.
29379         (_FP_MUL): Likewise.
29380         (_FP_FMA): Likewise.
29381         (_FP_DIV): Likewise.
29382         (_FP_CMP_CHECK_NAN): Likewise.
29383         (_FP_SQRT): Likewise.
29384         (_FP_TO_INT): Likewise.
29385         (FP_EXTEND): Likewise.
29387 2014-10-09  Allan McRae  <allan@archlinux.org>
29389         * po/fr.po: Update French translation from translation project.
29391 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29393         [BZ #14132]
29394         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29395         of INTDEF.
29396         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29397         (__cxa_atexit): Use libc_hidden_proto.
29398         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29400         [BZ #14132]
29401         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29402         declaration.
29403         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29404         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29405         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29406         [!_ISOMAC] (__iswctype_internal): Likewise.
29407         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29408         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29409         alias.
29410         (fcntl): Remove __fcntl_internal alias.
29411         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29412         __connect_internal alias.
29413         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29414         Likewise.
29416         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29417         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29418         FP_DENORM_ZERO.
29419         (_FP_CHECK_FLUSH_ZERO): New macro.
29420         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29421         (_FP_CMP): Likewise.
29422         (_FP_CMP_EQ): Likewise.
29423         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29424         FP_DENORM_ZERO.
29425         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29426         (FP_TRUNC): Likewise.
29428         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29429         treated as invalid conversion, not as normal exponent.
29431         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29432         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29433         (_FP_CMP_EQ): Likewise.
29434         (_FP_CMP_UNORD): Likewise.
29435         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29436         (FP_CMP_EQ_D): Likewise.
29437         (FP_CMP_UNORD_D): Likewise.
29438         * soft-fp/extended.h (FP_CMP_E): Likewise.
29439         (FP_CMP_EQ_E): Likewise.
29440         (FP_CMP_UNORD_E): Likewise.
29441         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29442         (FP_CMP_EQ_Q): Likewise.
29443         (FP_CMP_UNORD_Q): Likewise.
29444         * soft-fp/single.h (FP_CMP_S): Likewise.
29445         (FP_CMP_EQ_S): Likewise.
29446         (FP_CMP_UNORD_S): Likewise.
29447         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29448         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29449         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29450         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29451         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29452         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29453         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29454         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29455         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29456         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29457         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29458         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29459         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29460         to FP_CMP_Q.
29461         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29462         FP_CMP_Q.
29463         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29464         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29465         FP_CMP_EQ_Q.
29466         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29467         FP_CMP_Q.
29468         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29469         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29470         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29471         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29472         FP_CMP_EQ_Q.
29473         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29474         FP_CMP_Q.
29475         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29476         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29477         FP_CMP_EQ_Q.
29478         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29479         FP_CMP_Q.
29480         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29481         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29482         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29483         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29484         FP_CMP_EQ_Q.
29486         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29487         a subnormal result, set the underflow exception if trapping on
29488         underflow is enabled.
29489         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29490         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29491         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29492         redefine to 0.
29493         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29494         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29495         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29496         * soft-fp/extendxftf2.c (__extendxftf2): Use
29497         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29499         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29500         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29501         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29502         FP_HANDLE_EXCEPTIONS.
29503         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29504         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29505         FP_HANDLE_EXCEPTIONS.
29506         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29507         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29508         FP_HANDLE_EXCEPTIONS.
29509         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29510         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29511         FP_HANDLE_EXCEPTIONS.
29513 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29515         [BZ #14132]
29516         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29517         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29518         use INTUSE.
29519         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29520         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29521         Remove alias.
29522         (__adjtimex): Define using libc_hidden_ver.
29523         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29524         Remove declaration.
29525         (ntp_gettime): Call __adjtimex directly.
29526         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29527         Remove declaration.
29528         (ntp_gettimex): Call __adjtimex directly.
29529         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29530         __adjtimex_internal alias.
29532 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29534         [BZ #17460]
29535         * nscd/nscd.c (more_help): Rewrite list of tables collection
29536         using xstrdup and asprintf.
29538         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29540 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29541             Roland McGrath  <roland@hack.frob.com>
29543         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29544         (do_lookup_unique): ... local function 'enter' here; update callers.
29546 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29548         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29549         compat_symbol calls on [SHARED].
29550         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29551         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29552         Remove.
29553         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29554         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29555         (oldsetrlimit): Remove.
29556         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29558         (lchown): New syscall entry.
29559         (oldsetrlimit): Remove.
29560         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29561         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29562         (oldsetrlimit): Remove.
29563         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29565         [BZ #14138]
29566         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29567         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29568         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29569         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29570         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29571         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29572         (fchown): Likewise.
29573         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29574         (fchown): Likewise.
29575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29576         Likewise.
29578 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29580         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29581         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29582         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29583         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29584         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29585         Likewise.
29586         (__old_sem_post): Likewise.
29588 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29590         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29591         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29592         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29593         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29594         Use INLINE_VSYSCALL macro.
29595         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29596         __vdso_clock_gettime.
29597         * sysdeps/unix/sysv/linux/tile/init-first.c
29598         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29599         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29600         __vdso_clock_gettime.
29602         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29603         to set up frame more cleanly.
29605         * sysdeps/tile/memcmp.c: New file.
29607         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29609         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29610         * sysdeps/tile/tilegx/strcasestr.c: New file.
29611         * sysdeps/tile/tilegx/strnlen.c: New file.
29612         * sysdeps/tile/tilegx/strstr.c: New file.
29614         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29616 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29618         * nptl/tst-setuid3.c: Write errors to stdout.
29620 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29622         * elf/dl-deps.c
29623         (preload): New functions broken out of _dl_map_object_deps.
29624         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29626 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29628         [BZ #14138]
29629         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29630         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29632 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29634         * sysdeps/mips/strcmp.S: New.
29636 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29638         [BZ #14138]
29639         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29640         (linkat): Likewise.
29641         (mkdirat): Likewise.
29642         (readlinkat): Likewise.
29643         (renameat): Likewise.
29644         (symlinkat): Likewise.
29645         (unlinkat): Likewise.
29646         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29647         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29648         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29649         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29650         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29651         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29652         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29654 2014-09-30  Will Newton  <will.newton@linaro.org>
29656         * math/math.h: Define long double math functions if
29657         _LIBC_TEST is defined.
29658         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29660         * localedata/Makefile: Move assignment to tests-special
29661         into an ifdef testing run-built-tests.
29662         * timezone/Makefile: Likewise.
29664 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29666         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29667         with $(BASH) not $(SHELL).
29669 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29670             Matthew LeGendre  <legendre1@llnl.gov>
29672         [BZ #17411]
29673         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29674         l_reloc_result.
29676 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29678         * stdio-common/printf_fp.c
29679         (hack_digit): New function, broken out of ...
29680         (__printf_fp): ... local function here.  Update call sites.
29681         hack_digit now takes an additional parameter that is a pointer
29682         to a struct of the referenced locals.  Those locals moved inside
29683         the struct and references updated.
29685 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29687         * aclocal.m4: Require autoconf 2.69.
29688         * configure: Regenerated.
29689         * sysdeps/aarch64/configure: Likewise.
29690         * sysdeps/alpha/configure: Likewise.
29691         * sysdeps/arm/armv7/configure: Likewise.
29692         * sysdeps/arm/configure: Likewise.
29693         * sysdeps/ia64/configure: Likewise.
29694         * sysdeps/mach/configure: Likewise.
29695         * sysdeps/mips/configure: Likewise.
29696         * sysdeps/s390/configure: Likewise.
29697         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29700         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29701         file.
29702         * sysdeps/ia64/configure.ac: Likewise.
29704 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29707         specify symbol version for ld.so.  Do not include entry for
29708         libpthread.
29709         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29710         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29711         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29713         [BZ #14171]
29714         * Makeconfig [$(build-shared) = yes]
29715         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29716         makefiles.
29717         [$(build-shared) = yes && $(soversions.mk-done) = t]
29718         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29719         [$(build-shared) = yes && $(soversions.mk-done) = t]
29720         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29721         to Makerules.
29722         [$(build-shared) = yes && $(soversions.mk-done) = t]
29723         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29724         here.
29725         [$(build-shared) = yes && $(soversions.mk-done) = t]
29726         (common-generated): Don't append gnu/lib-names.h and
29727         gnu/lib-names.stmp here.
29728         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29729         (lib-names-h-abi): New variable.
29730         [$(build-shared) = yes && $(soversions.mk-done) = t]
29731         (lib-names-stmp-abi): Likewise.
29732         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29733         abi-variants] (before-compile): Append
29734         $(common-objpfx)$(lib-names-h-abi).
29735         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29736         abi-variants] (common-generated): Append gnu/lib-names.h.
29737         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29738         abi-variants] (install-others-nosubdir): Depend on
29739         $(inst_includedir)/$(lib-names-h-abi).
29740         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29741         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29742         [$(build-shared) = yes && $(soversions.mk-done) = t]
29743         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29744         [$(build-shared) = yes && $(soversions.mk-done) = t]
29745         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29746         [$(build-shared) = yes && $(soversions.mk-done) = t]
29747         (common-generated): Append $(lib-names-h-abi) and
29748         $(lib-names-stmp-abi).
29749         * scripts/lib-names.awk: Do not handle multi being set.
29750         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29751         Remove variable.
29752         (abi-lp64_be-ld-soname): Likewise.
29753         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29754         Likewise.
29755         (abi-hard-ld-soname): Likewise.
29756         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29757         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29758         Remove variable.
29759         (abi-o32_hard-ld-soname): Likewise.
29760         (abi-o32_soft_2008-ld-soname): Likewise.
29761         (abi-o32_hard_2008-ld-soname): Likewise.
29762         (abi-n32_soft-ld-soname): Likewise.
29763         (abi-n32_hard-ld-soname): Likewise.
29764         (abi-n32_soft_2008-ld-soname): Likewise.
29765         (abi-n32_hard_2008-ld-soname): Likewise.
29766         (abi-n64_soft-ld-soname): Likewise.
29767         (abi-n64_hard-ld-soname): Likewise.
29768         (abi-n64_soft_2008-ld-soname): Likewise.
29769         (abi-n64_hard_2008-ld-soname): Likewise.
29770         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29771         Likewise.
29772         (abi-64-v2-ld-soname): Likewise.
29773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29774         ld.so entries.
29775         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29776         variable.
29777         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29778         entry.
29779         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29780         variable.
29781         (abi-64-ld-soname): Likewise.
29782         (abi-x32-ld-soname): Likewise.
29783         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29784         entry.
29785         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29787 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29789         [BZ #14138]
29790         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29791         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29792         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29793         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29794         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29795         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29796         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29797         syscall entry for GLIBC_2.2 symbol version.
29798         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29799         Likewise.
29800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29801         (setrlimit): Likewise.
29802         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29803         Likewise.
29805 2014-09-23  Will Newton  <will.newton@linaro.org>
29807         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29808         _LINUX_ARM_SYSDEP_H include guard too.
29809         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29810         define.
29812 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29814         * sysdeps/unix/sysv/linux/eventfd.c:
29815         Make first argument unsigned.
29816         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29817         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29819 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29821         [BZ #16852]
29822         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29823         * socket/sys/socket.h: Likewise.
29824         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29826 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29828         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29830 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29832         * time/tst-ftime.c: New test.
29833         * time/Makefile (tests): Add tst-ftime.
29835 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29837         * soft-fp/extended.h: Fix comment formatting.
29838         * soft-fp/op-1.h: Likewise.
29839         * soft-fp/op-2.h: Likewise.
29840         * soft-fp/op-4.h: Likewise.
29841         * soft-fp/op-8.h: Likewise.
29842         * soft-fp/op-common.h: Likewise.
29843         * soft-fp/soft-fp.h: Likewise.
29845         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29847 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29849         [BZ #6652]
29850         * Makeconfig (soversions-default-setname): Remove variable.
29851         ($(common-objpfx)soversions.i): Don't pass default_setname to
29852         soversions.awk.
29853         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29854         oldest_abi to abi-versions.awk.
29855         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29856         * config.make.in (oldest-abi): Remove variable.
29857         * configure.ac (--enable-oldest-abi): Remove configure option.
29858         * configure: Regenerated.
29859         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29860         text.
29861         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29862         * scripts/soversions.awk: Do not handle default_setname variable.
29863         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29864         variable.
29865         * sysdeps/mach/hurd/configure: Regenerated.
29866         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29867         variable.
29868         * sysdeps/unix/sysv/linux/configure: Regenerated.
29870 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29872         * elf/Makefile (CFLAGS-interp.c): Remove.
29873         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29874         path string.
29875         * elf/interp.c: Include generated runtime-linker.h
29877         * Makerules (lib%.so): Don't include $(+interp) in
29878         prerequisites.
29879         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29880         * dlfcn/eval.c: Remove file.
29882         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29883         macros.
29885         [BZ #17266]
29886         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29887         4.2 and newer.
29889         [BZ #17370]
29890         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29892 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29893             Jakub Jelinek  <jakub@redhat.com>
29895         [BZ #17266]
29896         * libio/stdio.h: Check definition of __fortify_function
29897         instead of __extern_always_inline to include bits/stdio2.h.
29898         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29899         check if __extern_always_inline is defined.
29900         [__USE_MISC || __USE_XOPEN]: Likewise.
29901         [__USE_ISOC99] Likewise.
29902         * misc/sys/cdefs.h (__fortify_function): Define only if
29903         __extern_always_inline is defined.
29904         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29905         __extern_always_inline and __extern_inline only for g++-4.3
29906         and newer or a compatible gcc.
29908 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29910         [BZ #17371]
29911         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29912         last change to handle zero prefix length.
29914 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29916         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29917         _SC_REGEX_VERSION.
29919         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29920         _POSIX_RAW_SOCKETS.
29922 2014-09-13  Allan McRae  <allan@archlinux.org>
29924         * po/ru.po: Update Russian translation from translation project.
29926 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29928         * locale/programs/locale.c (show_locale_vars): Inline local function
29929         into its sole call site.  Clean up some style nits.
29930         (print_item): New function, broken out of ...
29931         (show_info): ... local function here.  Clean up style nits.
29933         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29934         out of ...
29935         (set_class_defaults): ... local function set_default here.
29936         Define set_default as a macro locally to pass constant parameters.
29937         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29938         rather than a shared local.
29940         * stdlib/rpmatch.c (try): New function, broken out of ...
29941         (rpmatch): ... local function here.  Also, prototypify definition.
29943 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29945         * scripts/soversions.awk: Do not handle configuration names.
29946         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29947         vendor and os variables to soversions.awk.
29948         * configure.ac: Do not modify gnu-* host_os.
29949         * configure: Regenerated
29950         * shlib-versions: Remove first column with configuration names.
29951         * nptl/shlib-versions: Likewise.
29952         * nptl_db/shlib-versions: Likewise.
29953         * sysdeps/hppa/shlib-versions: Likewise.
29954         * sysdeps/m68k/shlib-versions: Likewise.
29955         * sysdeps/mach/hurd/shlib-versions: Likewise.
29956         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29957         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29958         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29959         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29960         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29961         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29962         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29963         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29965         Likewise.
29966         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29967         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29968         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29969         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29970         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29971         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29972         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29973         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29976         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29978         Regenerated.
29979         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29981         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29983         * shlib-versions: Remove OS-specific entries.  Moved to files in
29984         sysdeps.
29985         * sysdeps/mach/hurd/shlib-versions: New file.
29986         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29988         * nptl/shlib-versions: Remove architecture-specific entries.
29989         Moved to files in sysdeps.
29990         * shlib-versions: Likewise.
29991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29992         file.
29993         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29994         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29995         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29996         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29998         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29999         (UDP_NO_CHECK6_RX): Likewise.
30001 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30003         * sysdeps/posix/sysconf.c (__sysconf): Spell
30004         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30006 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30008         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30009         loading.
30010         * iconv/Versions (__gconv_transliterate): Export for use from
30011         gconv modules.
30012         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30013         (struct __gconv_trans_data, __gconv_trans_fct,
30014         __gconv_trans_context_fct, __gconv_trans_query_fct,
30015         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30016         definitions.
30017         (struct __gconv_step_data): Remove __trans member.
30018         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30019         longer hidden.  Remove unused trans_data argument.
30020         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30021         (__gconv_translit_find): Remove declaration.
30022         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30023         prototype.
30024         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30025         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30026         trans_data argument.  Add hidden definition.
30027         (__gconv_translit_find): Remove.
30028         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30029         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30030         * iconv/skeleton.c: Remove transliteration initialization.
30031         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30032         __gconv_step_data initialization.
30033         * libio/iofwide.c (__libio_translit_): Remove.
30034         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30035         * wcsmbs/btowc.c (__btowc): Likewise.
30036         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30037         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30038         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30039         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30040         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30041         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30042         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30043         * wcsmbs/wctob.c (wctob): Likewise.
30045 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30047         [BZ #16194]
30048         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30049         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30050         register usage.
30051         * sysdeps/x86/Makefile: Adjust.
30053 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30054             Roland McGrath  <roland@hack.frob.com>
30056         * locale/weight.h: Add include guard.
30057         (findidx): Make static rather than auto; take new parameters
30058         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30059         * locale/weightwc.h: Likewise.
30060         * posix/fnmatch_loop.c
30061         (FCT): Change type of EXTRA from int32_t to wint_t.
30062         Don't include either header inside the function.
30063         Call FINDIDX rather than findidx, and pass new arguments.
30064         #undef FINDIDX at the end of the file.
30065         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30066         FINDIDX before including fnmatch_loop.c for the non-wide version.
30067         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30068         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30069         for the wide version.
30070         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30071         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30072         Pass new arguments to findidx.
30073         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30074         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30075         Don't #include it inside the function.  Pass new arguments to findidx.
30076         * posix/regex_internal.h
30077         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30078         (re_string_elem_size_at): Don't #include it inside the function.
30079         Pass new arguments to findidx.
30080         * string/strcoll_l.c: #include WEIGHT_H at top level.
30081         (get_next_seq): Don't #include it inside the function.
30082         Pass new arguments to findidx.
30083         (get_next_seq_nocache): Likewise.
30084         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30085         (STRXFRM): Don't #include it inside the function.
30086         Pass new arguments to findidx.
30088 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30090         [BZ #17344]
30091         * malloc/malloc.c (unlink): Turn asserts into a call to
30092         malloc_printerr.
30094 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30096         [BZ #17370]
30097         * libio/wfileops (do_ftell_wide): Free OUT.
30099 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30101         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30103 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30105         [BZ #17363]
30106         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30107         group if the current group is empty.
30109 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30111         * benchtests/bench-memset.c (test_main): Add more test from size
30112         from 32 to 512 bytes.
30113         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30114         Add POWER8 memset object.
30115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30116         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30117         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30118         implementation.
30119         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30120         Likewise.
30121         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30122         multiarch POWER8 memset optimization.
30123         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30124         POWER8 memset optimization.
30126         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30127         Remove bzero multiarch objects.
30128         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30129         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30130         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30131         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30132         Remove define.
30133         [__bzero]: Redefine to specific name.
30134         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30135         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30136         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30137         define.
30138         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30139         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30141 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30143         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30144         warnings into errors.
30146         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30147         __cxa_thread_atexit_impl prototype.
30149 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30151         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30152         Fix capitalization of error message.
30154 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30156         * sysdeps/mips/preconfigure: Modify ABI tests.
30158 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30160         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30162 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30163             Carlos O'Donell  <carlos@systemhalted.org>
30165         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30166         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30167         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30168         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30169         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30170         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30171         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30172         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30173         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30174         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30175         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30176         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30177         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30178         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30179         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30180         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30181         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30182         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30183         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30184         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30185         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30186         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30187         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30188         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30189         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30190         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30191         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30192         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30193         Deconditionalize the code that was previously under [RESET_PID].
30194         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30195         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30196         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30197         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30198         include sysdep.h.
30200 2014-09-08  Allan McRae  <allan@archlinux.org>
30202         * version.h (RELEASE): Set to "development".
30203         (VERSION): Set to "2.20.90"
30205 2014-09-07  Allan McRae  <allan@archlinux.org
30207         * version.h (RELEASE): Set to "stable".
30208         (VERSION): Set to "2.20"
30209         * include/features.h (__GLIBC_MINOR__): Set to 20.
30211         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30212         Liebler.
30214         * po/ko.po: Update Korean translation from translation project.
30216 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30218         [BZ #17354]
30219         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30220         macro for handling signed relocations.
30222 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30224         [BZ #17325]
30225         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30226         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30227         assert.
30228         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30229         * iconvdata/ibm935.c (BODY): Likewise.
30230         * iconvdata/ibm937.c (BODY): Likewise.
30231         * iconvdata/ibm939.c (BODY): Likewise.
30232         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30233         assert.
30234         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30235         script.
30236         * iconvdata/run-iconv-test.sh: New test loop for checking for
30237         decoder crashers.
30239 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30241         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30242         libm_hidden_ver.
30244 2014-09-01  Allan McRae  <allan@archlinux.org>
30246         * po/eo.po: Update Esperanto translation from translation project.
30248         * po/ca.po: Update Catalan translation from translation project.
30250 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30252         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30253         __proc_dostop call.
30255 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30257         [BZ #17319]
30258         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30259         to call set_thread_area instead of hand written asm.
30260         (__NR_set_thread_area): Removed define.
30261         (TLS_FLAG_WRITABLE): Likewise.
30262         (__ASSUME_SET_THREAD_AREA): Remove check.
30263         (TLS_EBX_ARG): Remove define.
30264         (TLS_LOAD_EBX): Likewise.
30266 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30268         Simplify atomicity of socket creation in bind.
30270         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30271         looking up the name after linking the file.
30273 2014-08-27  Allan McRae  <allan@archlinux.org>
30275         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30277 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30279         [BZ #17187]
30280         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30281         trans_compare, open_translit, __gconv_translit_find):
30282         Remove module loading code.
30284 2014-08-26  Allan McRae  <allan@archlinux.org>
30286         * po/vi.po: Update Vietnamese translation from translation project.
30288         * po/uk.po: Update Ukrainian translation from translation project.
30290         * po/fr.po: Update French translation from translation project.
30292         * po/ru.po: Update Russian translation from translation project.
30294         * po/pl.po: Update Polish translation from translation project.
30296         * po/cs.po: Update Czech translation from translation project.
30298         * po/de.po: Update German translation from translation project.
30300         * po/bg.po: Update Bulgarian translation from translation project.
30302         * po/sv.po: Update Sweedish translation from translation project.
30304         * po/nl.po: Update Dutch translation from translation project.
30306         * po/es.po: Update Spanish translation from translation project.
30308 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30310         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30312         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30313         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30314         (CPPFLAGS-iconvconfig): Likewise.
30315         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30317         * include/libc-symbols.h: Remove unnecessary check for
30318         NOT_IN_libc.
30319         * nptl/pthreadP.h: Likewise.
30320         * sysdeps/aarch64/setjmp.S: Likewise.
30321         * sysdeps/alpha/setjmp.S: Likewise.
30322         * sysdeps/arm/sysdep.h: Likewise.
30323         * sysdeps/i386/setjmp.S: Likewise.
30324         * sysdeps/m68k/setjmp.c: Likewise.
30325         * sysdeps/posix/getcwd.c: Likewise.
30326         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30327         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30328         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30329         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30330         * sysdeps/sh/sh3/setjmp.S: Likewise.
30331         * sysdeps/sh/sh4/setjmp.S: Likewise.
30332         * sysdeps/unix/alpha/sysdep.h: Likewise.
30333         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30334         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30335         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30336         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30339         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30340         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30341         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30342         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30343         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30344         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30345         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30346         * sysdeps/x86_64/setjmp.S: Likewise.
30348 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30350         [BZ #17263]
30351         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30352         <stdint.h>.
30353         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30354         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30356 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30358         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30360         [BZ #17262]
30361         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30362         and __x86_64__ when disabling x87 inline functions.
30364 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30366         [BZ #17259]
30367         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30368         asm statement with __cpuid_count.
30370 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30372         * configure.ac: Change __ehdr_start code to dereference the struct.
30373         Run readelf on the output to look for relocations.
30374         * configure: Regenerated.
30376 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30378         [BZ #17261]
30379         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30380         value to 0.
30381         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30383 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30385         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30387 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30389         [BZ #16892]
30390         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30391         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30393 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30395         * malloc/malloc.c: Fix typo in comment.
30397 2014-08-09  Allan McRae  <allan@archlinux.org>
30399         * Regenerate libc.po.
30401 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30403         * intl/tst-gettext2.sh: Check every lang file for creation.
30405 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30407         * sysdeps/aarch64/fpu/math_private.h
30408         (libc_feholdsetround_noex_aarch64_ctx): New function.
30410 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30412         * sysdeps/arm/armv6/strcpy.S (strcpy):
30413         Fix performance issue in misaligned cases.
30415 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30417         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30418         Move definition from termios.h.
30419         (struct termio): Likewise.
30420         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30421         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30422         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30423         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30424         Likewise.
30425         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30426         Move definition to ioctl-types.h
30427         (struct termio): Likewise.
30428         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30429         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30430         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30431         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30432         Likewise.
30434 2014-08-05  Richard Henderson  <rth@redhat.com>
30436         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30437         exceptions.
30438         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30439         Add fraiseexcpt.
30440         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30441         Use __feraiseexcept.
30442         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30443         Protect libm symbols with IS_IN_libm.
30445         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30447 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30449         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30451 2014-08-04  Will Newton  <will.newton@linaro.org>
30453         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30454         file.
30456 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30458         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30459         variants for each function.
30461 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30463         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30464         appended ...
30465         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30466         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30467         appended ...
30468         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30469         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30470         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30471         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30472         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30473         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30474         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30475         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30476         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30477         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30478         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30479         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30480         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30481         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30482         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30483         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30484         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30485         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30486         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30487         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30488         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30489         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30490         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30491         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30492         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30493         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30494         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30495         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30496         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30497         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30498         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30499         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30500         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30501         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30502         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30503         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30504         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30505         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30506         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30507         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30508         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30509         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30510         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30511         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30512         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30513         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30514         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30515         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30516         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30517         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30518         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30519         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30520         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30521         Update #include.
30522         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30523         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30525 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30527         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30528         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30529         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30530         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30531         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30532         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30534 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30536         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30537         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30538         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30539         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30541 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30543         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30544         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30545         (__libc_vfork): Define function under this name.
30546         (__vfork): Define as an alias.
30547         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30548         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30550 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30552         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30553         that was previously under [RESET_PID].
30554         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30556 2014-08-04  Andreas Schwab  <schwab@suse.de>
30558         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30560 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30562         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30563         (main): Likewise.
30565 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30567         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30569 2014-08-01  Richard Henderon  <rth@redhat.com>
30571         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30572         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30573         typo in exact zero test.
30574         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30575         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30576         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30578 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30580         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30581         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30582         * sysdeps/arm/sysdep.h: ... here.
30583         [!__ASSEMBLER__]: Include <stdint.h>.
30585 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30587         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30588         (HAVE_WCTYPE_H): Likewise.
30589         (HAVE_ISWCTYPE): Likewise.
30590         (ENABLE_NLS): Likewise.
30591         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30592         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30594         * posix/regex_internal.c: Check if DEBUG is defined and is
30595         set.
30597         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30598         (HAVE_MBSRTOWCS): Likewise.
30599         * posix/fnmatch.c: Include string.h unconditionally.
30601 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30603         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30604         reversal.
30606 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30608         * sysdeps/generic/safe-fatal.h: New file.
30609         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30610         * nptl/forward.c: Include it.
30611         (__pthread_unwind): Use __safe_fatal as default action, rather
30612         than a bogus use of INTERNAL_SYSCALL that could never work.
30614         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30615         * configure.ac (libc_cv_builtin_trap): New test.
30616         * configure: Regenerated.
30617         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30618         (ABORT_INSTRUCTION): Define using __builtin_trap.
30620         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30621         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30622         * sysdeps/nptl/nptl-signals.h: New file.
30623         * nptl/pthreadP.h: Include <nptl-signals.h>.
30625 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30627         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30628         (ONE_DIRECTION): Define.
30629         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30630         (ONE_DIRECTION): Define.
30631         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30632         (ONE_DIRECTION): Define.
30634 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30636         * sysdeps/s390/Makefile: Delete file.
30637         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30638         * sysdeps/s390/__longjmp.c: Delete file.
30639         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30640         Remove fields __flags and __reserved.
30641         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30642         and add versioning.
30643         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30644         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30645         * sysdeps/s390/rtld-setjmp.S: Likewise.
30646         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30647         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30648         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30649         * sysdeps/s390/s390-32/setjmp.S: ... here.
30650         Add versioning.
30651         (__sigsetjmp): Remove setting __flags field.
30652         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30653         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30654         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30655         * sysdeps/s390/s390-64/setjmp.S: ... here.
30656         Add versioning.
30657         (__sigsetjmp): Remove setting __flags field.
30658         * sysdeps/s390/setjmp.S: Delete file.
30659         * sysdeps/s390/sigjmp.c: Likewise.
30660         * sysdeps/s390/v1-longjmp.c: Likewise.
30661         * sysdeps/s390/v1-setjmp.h: Likewise.
30662         * sysdeps/s390/v1-sigjmp.c: Likewise.
30663         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30664         Remove v1-longjmp_chk.
30665         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30666         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30667         Include debug/longjmp_chk.c and add versioning.
30668         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30669         Include nptl/pt-longjmp.c and add versioning.
30670         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30671         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30672         Include __longjmp.c.
30673         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30674         Move to ...
30675         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30676         (__getcontext): Remove setting __flags field.
30677         Add versioning.
30678         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30679         Don't restore upper high grps.
30680         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30681         Likewise.
30682         (__swapcontext): Remove setting uc_flags field.
30683         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30684         Delete file.
30685         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30686         Include __longjmp.c.
30687         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30688         Move to ...
30689         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30690         (__getcontext): Remove setting __flags field.
30691         Add versioning.
30692         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30693         (__swapcontext): Remove setting uc_flags field.
30694         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30695         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30696         Remove fields uc_high_gprs and __reserved.
30697         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30698         New file with reverted content.
30699         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30700         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30701         Regenerated.
30702         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30703         Regenerated.
30705 2014-07-31  Andreas Schwab  <schwab@suse.de>
30707         * config.h.in (HAVE_IFUNC): Define to 0.
30708         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30709         definedness.
30711 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30713         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30714         memmove-avx-unaligned, memcpy-avx-unaligned and
30715         mempcpy-avx-unaligned.
30716         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30717         Add tests for AVX memcpy functions.
30718         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30719         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30720         memcpy_chk.
30721         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30722         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30723         memmove_chk.
30724         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30725         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30726         mempcpy_chk.
30727         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30728         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30729         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30731 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30733         [BZ #17213]
30734         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30735         powerpc64le.
30737 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30739         [BZ #16839]
30740         * manual/llio.texi: Add section about open file description locks.
30741         * manual/examples/ofdlocks.c: Example of open file description
30742         lock usage.
30743         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30744         F_OFD_SETLK, and F_OFD_SETLKW.
30746 2014-07-23  Allan McRae  <allan@archlinux.org>
30748         * po/es.po: Update Spanish translation from translation project.
30750 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30752         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30754 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30756         [BZ #17078]
30757         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30758         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30759         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30761 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30763         [BZ #17088]
30764         * math/fesetenv.c (__fesetenv)
30765         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30766         * math/feupdateenv.c (__feupdateenv)
30767         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30769         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30770         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30771         (__ASSUME_SOCKETCALL): Do not define.
30773         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30774         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30775         (__ASSUME_SOCKETCALL): Do not define.
30776         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30777         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30778         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30779         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30780         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30781         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30782         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30783         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30785         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30786         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30787         (__ASSUME_SOCKETCALL): Do not define.
30788         (__ASSUME_IPC64): Define unconditionally.
30789         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30790         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30791         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30792         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30793         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30794         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30795         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30796         Likewise.
30798         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30799         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30800         (__ASSUME_SOCKETCALL): Do not define.
30801         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30802         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30803         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30804         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30805         (__ASSUME_REQUEUE_PI): Define unconditionally.
30806         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30807         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30808         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30809         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30810         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30811         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30813         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30814         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30815         (__ASSUME_SOCKETCALL): Do not define.
30816         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30817         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30818         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30819         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30820         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30821         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30823         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30824         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30825         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30826         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30827         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30828         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30829         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30830         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30831         (__ASSUME_GETCPU_SYSCALL): Likewise.
30833         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30834         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30835         cases for individual architectures.
30836         * sysdeps/gnu/configure: Regenerated.
30837         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30838         LIBC_SLIBDIR_RTLDDIR.
30839         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30840         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30841         LIBC_SLIBDIR_RTLDDIR.
30842         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30844         LIBC_SLIBDIR_RTLDDIR.
30845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30846         Regenerated.
30847         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30848         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30849         file.
30850         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30851         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30852         file.
30853         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30854         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30855         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30856         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30858         * sysdeps/aarch64/shlib-versions: Move to ...
30859         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30860         * sysdeps/alpha/shlib-versions: Move to ...
30861         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30862         * sysdeps/arm/shlib-versions: Move to ...
30863         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30864         * sysdeps/hppa/shlib-versions: Move all contents except for
30865         libgcc_s entry to ...
30866         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30867         entry from ...
30868         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30869         * sysdeps/ia64/shlib-versions: Move to ...
30870         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30871         entry from ...
30872         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30873         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30874         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30875         * sysdeps/microblaze/shlib-versions: Move to ...
30876         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30877         * sysdeps/mips/shlib-versions: Move to ...
30878         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30879         entry from ...
30880         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30881         * sysdeps/tile/shlib-versions: Move to ...
30882         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30883         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30884         from ...
30885         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30886         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30887         entry from ...
30888         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30890 2014-07-17  Will Newton  <will.newton@linaro.org>
30892         * sysdeps/arm/bits/atomic.h
30893         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30894         (__arch_compare_and_exchange_bool_16_int): Likewise.
30895         (__arch_compare_and_exchange_bool_64_int): Likewise.
30897         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30898         into an #else block.
30900 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30902         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30903         just Linux configurations.  Test empirically that the compiler sets
30904         __ARM_EABI__, rather than using the tuple to decide.
30905         * sysdeps/arm/preconfigure: Regenerated.
30906         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30907         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30908         contents appended ...
30909         * sysdeps/arm/configure.ac: ... here.
30910         * sysdeps/arm/configure: Regenerated.
30912 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30914         * nptl/pthread_kill.c: New file.
30915         * nptl/pthread_sigmask.c: New file.
30916         * nptl/pthread_sigqueue.c: New file.
30918         * sysdeps/nptl/lowlevellock.h: New file.
30919         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30920         * sysdeps/nptl/lowlevellock-futex.h: New file.
30922         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30923         Remove dead declarations.
30925 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30927         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30928         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30929         config-cflags-avx2.
30930         * sysdeps/x86_64/configure.ac: Likewise.
30931         * sysdeps/i386/configure: Regenerated.
30932         * sysdeps/x86_64/configure: Likewise.
30933         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30934         memset-avx2 only if config-cflags-avx2 is yes.
30935         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30936         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30937         defined.
30938         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30939         only if HAVE_AVX2_SUPPORT is defined.
30940         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30942 2014-07-14  Alan Modra  <amodra@gmail.com>
30944         [BZ #17153]
30945         * elf/elf.h (DT_PPC64_NUM): Correct value.
30946         * NEWS: Add to fixed bug list.
30948 2014-07-13  Jim Meyering  <meyering@fb.com>
30950         [BZ 17150]
30951         regex: don't deref NULL upon heap allocation failure
30952         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30953         failure in one more place.
30954         To trigger the segfault, configure grep -with-included-regex,
30955         build it, and run these commands:
30956         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30958 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30960         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30962 2014-07-11  Richard Henderson  <rth@redhat.com>
30964         * sysdeps/aarch64/libm-test-ulps: Update.
30966 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30968         [BZ #17135]
30969         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30970         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30971         (__nptl_setxid): Initialize error member.  Call
30972         __nptl_setxid_error.
30973         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30974         * nptl/descr.h (struct xid_command): Add error member.
30975         * nptl/tst-setuid3.c: New file.
30976         * nptl/Makefile (tests): Add it.
30978 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30980         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30981         New define.
30982         (__lll_trylock): Use __lll_base_trylock.
30983         (__lll_cond_trylock): Likewise.
30985 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30987         * nptl/pthread_create.c (start_thread): Use atomic_or and
30988         lll_futex_wake directly rather than lll_robust_dead.
30989         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30990         (lll_robust_dead): Macro removed.
30991         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30992         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30993         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30994         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30995         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30996         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30997         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30998         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30999         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31000         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31001         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31002         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31003         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31004         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31005         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31007         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31008         Use atomic_compare_and_exchange_val_acq directly rather than
31009         lll_robust_trylock.
31010         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31011         (__lll_robust_trylock, lll_robust_trylock): Removed.
31012         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31013         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31014         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31015         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31016         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31017         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31018         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31019         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31020         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31021         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31022         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31023         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31024         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31025         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31027 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31029         * manual/locale.texi (Locale Names): New section documenting
31030         locale name syntax.  Adjust menu and node chaining accordingly.
31031         (Choosing Locale): Reference Locale Names, Locale Categories.
31032         Mention setting LC_ALL=C.  Reflect that name syntax is now
31033         documented.
31034         (Locale Categories): New section title.  Reference Locale Names.
31035         LC_ALL is an environment variable, but not a category.
31036         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31037         description, now in Locale Name.  Reference that section.  Locale
31038         name syntax is now documented.
31040 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31042         [BZ #17137]
31043         * locale/findlocale.c (name_present, valid_locale_name): New
31044         functions.
31045         (_nl_find_locale): Use the loc_name variable to store name
31046         candidates.  Call name_present and valid_locale_name to check and
31047         validate locale names.  Return an error if the locale is invalid.
31049 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31051         * locale/setlocale.c (setlocale): Use strdup for allocating
31052         composite name copy.
31054 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31056         Sync up with gnulib.
31057         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31058         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31059         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31060         and _GL_ARG_NONNULL.
31061         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31062         [!_LIBC]: Include code for Windows and Cygwin.
31063         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31064         Include prototype for int strerror_r.
31065         [!_LIBC] (is_open): New function.
31066         (flush_stdout): New function.
31067         (print_errno_message): Use it.
31068         (error): Likewise.
31069         (error_at_line): Likewise.
31070         (error_tail) Add function attribute macros.  Use
31071         __builtin_expect.
31073         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31075         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31077         * io/ftw.c: Include sys/param.h unconditionally.
31079         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31081         [BZ #17125]
31082         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31083         libc_freeres_ptr.
31084         (freecache): New function to free CACHE on exit.
31086         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31087         initialization.
31089 2014-07-09  David S. Miller  <davem@davemloft.net>
31091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31093         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31094         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31095         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31096         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31097         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31098         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31099         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31100         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31101         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31102         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31103         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31104         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31105         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31107 2014-07-09  Andreas Schwab  <schwab@suse.de>
31109         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31110         output.
31111         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31112         (do_test): Likewise.
31114         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31116 2014-07-09  Will Newton  <will.newton@linaro.org>
31118         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31119         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31120         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31121         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31122         * sysdeps/hppa/start.S (_start): Likewise.
31124 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31126         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31128         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31129         defined.
31131 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31133         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31134         after checking that it is non-NULL.
31136         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31138 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31140         * sysdeps/powerpc/memmove.c: Remove file.
31141         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31142         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31143         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31144         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31145         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31146         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31147         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31148         string memmove instead of removed powerpc one.
31150         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31151         [weak_alias]: Fix compiler warning due trailing data.
31152         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31153         [weak_alias]: Likewise.
31154         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31155         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31157         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31158         (__libc_ifunc_impl_list): Add memmove functions.
31160 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31162         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31163         Remove code.
31164         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31165         Likewise.
31166         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31167         Likewise.
31168         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31169         Likewise.
31170         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31171         Likewise.
31172         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31173         Likewise.
31174         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31175         Likewise.
31176         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31177         Likewise.
31178         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31179         Likewise.
31180         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31181         Likewise.
31182         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31183         Likewise.
31184         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31185         Likewise.
31186         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31187         Likewise.
31188         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31189         Likewise.
31190         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31191         Likewise.
31192         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31193         Likewise.
31194         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31195         Likewise.
31197 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31199         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31200         to avoid alignment traps in non-cacheable memory.
31201         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31203         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31204         multiarch objects.
31205         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31206         file: multiarch power7 memmove.
31207         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31208         multiarch default memmove.
31209         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31210         multiarch memove for powerpc32/power4.
31212         * string/bcopy.c: Use full path to include memmove.c.
31213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31214         multiarch objects.
31215         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31216         bcopy for powerpc64.
31217         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31218         bcopy for powerpc64.
31219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31220         and memmove implementations.
31221         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31222         optimized multiarch memmove for POWER7/powerpc64.
31223         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31224         default multiarch memmove for powerpc64.
31225         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31226         multiarch for powerpc64.
31227         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31228         for POWER7/powerpc64.
31229         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31230         memmove for POWER7/powerpc64.
31232         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31233         glibc default one.
31235         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31236         __ELF_NATIVE_CLASS equal to 64.
31238 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31240         * sysdeps/nptl/lowlevellock.h: File removed.
31242         * NEWS: NPTL is no longer an add-on!
31243         * nptl/internaltypes.h: Moved ...
31244         * sysdeps/nptl/internaltypes.h: ... here.
31245         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31246         * sysdeps/nptl/fork.c: Likewise.
31247         * sysdeps/nptl/gai_misc.h: Likewise.
31248         * sysdeps/nptl/librt-cancellation.c: Likewise.
31249         * sysdeps/nptl/jmp-unwind.c: Likewise.
31250         * sysdeps/nptl/setxid.h: Likewise.
31251         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31252         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31253         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31254         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31255         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31256         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31257         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31258         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31259         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31260         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31261         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31262         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31263         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31264         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31265         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31266         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31267         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31268         * nptl/Makeconfig: Moved ...
31269         * sysdeps/nptl/Makeconfig: ... here.
31270         * nptl/configure: File removed.
31271         * nptl/ANNOUNCE: File removed.
31272         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31273         * sysdeps/unix/sysv/linux/configure: Regenerated.
31275         * nptl/Makefile (routines): Add libc_pthread_init,
31276         libc_multiple_threads, register-atfork and unregister-atfork.
31277         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31278         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31279         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31280         pthread-pi-defines.sym, structsem.sym.
31281         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31282         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31283         [$(subdir) = nptl] (tests): Add tst-setgetname.
31284         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31285         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31286         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31287         [!LIBC_SIGACTION]: Remove aliases.
31288         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31289         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31290         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31291         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31292         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31293         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31294         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31295         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31296         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31297         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31298         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31299         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31300         __libc_allocate_rtsig_private.
31301         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31302         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31303         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31304         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31305         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31306         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31307         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31308         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31309         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31310         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31311         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31312         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31313         * nptl/internaltypes.h: ... here.
31314         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31315         * sysdeps/nptl/jmp-unwind.c: ... here.
31316         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31317         * nptl/libc-lowlevellock.c: ... here.
31318         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31319         * nptl/libc_multiple_threads.c: ... here.
31320         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31321         * nptl/libc_pthread_init.c: ... here.
31322         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31323         * nptl/lowlevelbarrier.sym: ... here.
31324         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31325         * nptl/lowlevelcond.sym: ... here.
31326         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31327         * nptl/lowlevellock.c: ... here.
31328         * nptl/lowlevellock.h: Moved ...
31329         * sysdeps/nptl/lowlevellock.h: ... here.
31330         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31331         * nptl/lowlevelrobustlock.c: ... here.
31332         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31333         * nptl/lowlevelrobustlock.sym: ... here.
31334         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31335         * nptl/lowlevelrwlock.sym: ... here.
31336         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31337         * nptl/pt-fork.c: ... here.
31338         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31339         * nptl/pthread-pi-defines.sym: ... here.
31340         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31341         * nptl/pthread_attr_getaffinity.c: ... here.
31342         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31343         * nptl/pthread_attr_setaffinity.c: ... here.
31344         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31345         * nptl/pthread_mutex_cond_lock.c: ... here.
31346         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31347         Update #include.
31348         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31349         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31350         * nptl/pthread_once.c: ... here, replacing old file.
31351         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31352         * nptl/pthread_yield.c: ... here.
31353         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31354         * nptl/register-atfork.c: ... here.
31355         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31356         * nptl/sem_post.c: ... here.
31357         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31358         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31359         * nptl/sem_timedwait.c: ... here.
31360         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31361         * nptl/sem_trywait.c: ... here.
31362         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31363         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31364         * nptl/sem_wait.c: ... here.
31365         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31366         * nptl/structsem.sym: ... here.
31367         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31368         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31369         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31370         * nptl/unregister-atfork.c: ... here.
31371         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31372         * nptl/unwindbuf.sym: ... here.
31373         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31374         * sysdeps/nptl/fork.c: ... here.
31375         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31376         * sysdeps/nptl/fork.h: ... here.
31377         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31378         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31379         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31380         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31381         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31382         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31383         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31384         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31385         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31386         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31387         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31388         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31389         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31390         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31391         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31392         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31393         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31394         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31395         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31396         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31397         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31398         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31399         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31400         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31401         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31402         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31403         * sysdeps/unix/sysv/linux/raise.c: ... here.
31404         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31405         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31406         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31407         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31408         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31409         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31410         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31411         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31412         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31413         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31414         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31415         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31416         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31417         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31418         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31420 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31422         * sysdeps/generic/memcopy.h: Add comment for
31423         MEMCPY_OK_FOR_FWD_MEMMOVE.
31425 2014-07-04  Will Newton  <will.newton@linaro.org>
31427         * string/memchr.c: Merge from gnulib.
31428         [_LIBC]: Remove conditionals.
31429         (__ptr_t): Remove define.
31430         (LONG_MAX_32_BITS): Likewise.
31431         (LONG_MAX): Likewise.
31432         (MEMCHR): Use ANSI prototype and optimize algorithm.
31434         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31436 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31438         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31439         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31441         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31442         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31443         in a bare environment with no <stdlib.h> installed.
31444         * sysdeps/nptl/configure: Regenerated.
31446         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31448         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31449         AC_EGREP_CPP for kernel header checks, so they only succeed if
31450         including <linux/version.h> actually works right.
31451         * sysdeps/unix/sysv/linux/configure: Regenerated.
31453         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31454         value so it's not diagnosed as unused.
31456         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31457         thing) with "ifeq ($(subdir),rt)".
31459 2014-07-03  Richard Henderson  <rth@redhat.com>
31461         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31462         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31463         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31465         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31466         (math_force_eval): New.
31468         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31469         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31471         * sysdeps/alpha/fpu/s_round.c: Remove file.
31472         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31474         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31475         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31476         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31477         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31478         (_dl_start, print_statistics): Likewise.
31479         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31480         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31482         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31483         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31484         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31485         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31486         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31487         (HP_SMALL_TIMING_AVAIL): Define.
31488         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31489         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31490         (HP_SMALL_TIMING_AVAIL): Define.
31491         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31492         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31494         * sysdeps/aarch64/hp-timing.h: New file.
31496         * sysdeps/generic/hp-timing.h: Remove dead comment.
31497         * sysdeps/generic/hp-timing-common.h: New file.
31498         * sysdeps/alpha/hp-timing.h: Include it.
31499         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31500         * sysdeps/i386/i686/hp-timing.h: Likewise.
31501         * sysdeps/ia64/hp-timing.h: Likewise.
31502         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31503         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31504         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31505         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31506         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31507         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31508         (hp_timing_t): New.
31510         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31511         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31512         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31513         * elf/rtld.c (_dl_start_final): Likewise.
31514         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31515         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31516         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31517         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31518         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31519         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31520         (HP_TIMING_DIFF_INIT): Remove.
31521         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31522         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31523         (HP_TIMING_DIFF_INIT): Remove.
31524         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31525         * sysdeps/i386/i686/hp-timing.c: Remove file.
31526         * sysdeps/x86_64/hp-timing.c: Remove file.
31527         * sysdeps/ia64/hp-timing.c: Remove file.
31528         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31529         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31530         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31531         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31533         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31534         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31535         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31536         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31537         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31538         (HP_TIMING_ACCUM): Remove.
31539         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31540         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31541         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31543         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31544         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31545         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31546         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31547         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31548         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31549         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31550         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31552         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31554 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31556         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31558 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31560         Sync up with gettext.
31561         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31562         [_MSC_VER]: Include malloc.h
31563         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31564         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31565         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31566         TEMP_FAILURE_RETRY.  Cast return of alloca.
31567         [!_LIBC] Call gl_rwlock_init.
31568         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31570 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31572         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31573         before checking its value.
31575 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31577         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31579         * debug/memcpy_chk.c: Don't include pagecopy.h.
31580         * debug/mempcpy_chk.c: Likewise.
31581         * string/memcpy.c: Likewise.
31582         * string/memmove.c: Likewise.
31583         * sysdeps/powerpc/memmove.c: Likewise.
31584         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31585         definition of PAGE_COPY_FWD_MAYBE here...
31586         * sysdeps/generic/pagecopy.h: ... from here.
31587         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31589 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31590             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31592         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31594         optimizations.
31595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31596         (__libc_ifunc_impl_list): Likewise.
31597         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31598         multiarch strcat for PPC64.
31599         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31600         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31602 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31604         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31606 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31608         * intl/loadmsgcat.c: Remove declaration of
31609         get_sysdep_segment_value.
31610         (get_sysdep_segment_value): Use ISO C style.
31611         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31612         semicolon.  Fix typo and formatting in comment.
31613         (_nl_unload_domain): Use ISO C style.
31615         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31617 2014-07-02  Will Newton  <will.newton@linaro.org>
31619         * malloc/obstack.c: Merge from gnulib master.
31620         [HAVE_CONFIG_H]: Remove conditional code.
31621         [!_LIBC]: Include config.h.
31622         [!ELIDE_CODE]: Don't include inttypes.h, include
31623         stdint.h unconditionally.
31624         (print_and_abort): Mark as _Noreturn.
31625         (_obstack_allocated_p): Mark as __attribute_pure__.
31626         (obstack_free): Rename to __obstack_free.
31627         [!__attribute__]: Remove conditional code.
31628         * malloc/obstack.h: Merge from gnulib master.
31629         [__cplusplus]: Move conditional down.
31630         [!__attribute_pure__]: Define __attribute_pure__ here
31631         if it is not already defined.
31632         (_obstack_memory_used): Mark as __attribute_pure__.
31633         [!__obstack_free]: Define as obstack_free.
31634         [__GNUC__]: Remove check for ancient NeXT gcc.
31636 2014-07-02  Will Newton  <will.newton@linaro.org>
31637             Paul Eggert  <eggert@cs.ucla.edu>
31639         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31641 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31643         * resolv/gethnamaddr.c: Add comment warning that the file is
31644         not maintained.
31646 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31648         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31649         entries.
31651         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31652         entry for aio_cancel and aio_cancel64.
31653         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31654         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31655         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31656         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31657         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31658         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31659         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31660         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31661         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31662         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31663         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31664         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31665         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31667 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31669         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31670         * nptl/pthread_mutex_lock.c: Likewise.
31671         * nptl/pthread_mutex_timedlock.c: Likewise.
31672         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31674 2014-07-01  Richard henderson  <rth@redhat.com>
31676         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31677         (__isnan, __isnanl): Remove.
31678         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31680         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31682 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31684         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31686 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31688         * resolv/nss_dns/dns-host.c (getanswer_r)
31689         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31691 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31693         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31694         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31695         undefine.
31696         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31697         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31699 2014-07-01  Roland McGrath <roland@hack.frob.com>
31701         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31702         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31704         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31705         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31707         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31708         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31709         ... here.
31710         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31711         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31713         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31714         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31715         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31716         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31718         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31719         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31720         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31721         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31722         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31723         Moved ...
31724         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31725         ... here.
31726         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31727         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31728         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31729         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31730         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31731         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31732         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31733         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31734         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31735         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31736         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31737         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31738         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31739         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31740         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31741         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31742         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31743         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31744         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31745         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31746         ... here.
31747         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31748         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31749         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31750         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31751         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31752         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31753         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31754         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31756 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31758         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31759         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31760         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31761         Add sysdep.
31763 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31767 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31769         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31770         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31772         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31774         * sysdeps/arm/libm-test-ulps: Regenerated.
31776 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31777             Roland McGrath <roland@hack.frob.com>
31779         * test-skeleton.c (signal_handler): Kill the whole process group
31780         before killing the child individually.
31781         (main): Report any failure on `setpgid'.
31783 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31785         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31786         from _TLS_H to _ARM_NPTL_TLS_H.
31787         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31788         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31790 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31792         [BZ #16539]
31793         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31794         (__expm1l): Return argument unchanged when small but not
31795         subnormal.
31797         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31798         include macro name.
31799         (_FP_UNPACK_RAW_1_P): Likewise.
31800         (_FP_PACK_RAW_1): Likewise.
31801         (_FP_PACK_RAW_1_P): Likewise.
31802         (_FP_MUL_MEAT_1_wide): Likewise.
31803         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31804         (_FP_MUL_MEAT_1_hard): Likewise.
31805         (_FP_DIV_MEAT_1_imm): Likewise.
31806         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31807         (_FP_DIV_MEAT_1_udiv): Likewise.
31808         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31809         (_FP_UNPACK_RAW_2): Likewise.
31810         (_FP_UNPACK_RAW_2_P): Likewise.
31811         (_FP_PACK_RAW_2): Likewise.
31812         (_FP_PACK_RAW_2_P): Likewise.
31813         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31814         (_FP_MUL_MEAT_2_wide): Likewise.
31815         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31816         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31817         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31818         (_FP_MUL_MEAT_2_gmp): Likewise.
31819         (_FP_DIV_MEAT_2_udiv): Likewise.
31820         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31821         (_FP_FRAC_SRL_4): Likewise.
31822         (_FP_FRAC_SRST_4): Likewise.
31823         (_FP_FRAC_SRS_4): Likewise.
31824         (_FP_UNPACK_RAW_4): Likewise.
31825         (_FP_UNPACK_RAW_4_P): Likewise.
31826         (_FP_PACK_RAW_4): Likewise.
31827         (_FP_PACK_RAW_4_P): Likewise.
31828         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31829         (_FP_MUL_MEAT_4_wide): Likewise.
31830         (_FP_MUL_MEAT_4_gmp): Likewise.
31831         (umul_ppppmnnn): Likewise.
31832         (_FP_DIV_MEAT_4_udiv): Likewise.
31833         (__FP_FRAC_ADD_4): Likewise.
31834         (__FP_FRAC_SUB_3): Likewise.
31835         (__FP_FRAC_SUB_4): Likewise.
31836         (__FP_FRAC_DEC_3): Likewise.
31837         (__FP_FRAC_DEC_4): Likewise.
31838         (__FP_FRAC_ADDI_4): Likewise.
31839         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31840         (_FP_FRAC_SRL_8): Likewise.
31841         (_FP_FRAC_SRS_8): Likewise.
31843         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31844         include macro name.
31845         (FP_UNPACK_RAW_EP): Likewise.
31846         (FP_PACK_RAW_E): Likewise.
31847         (FP_PACK_RAW_EP): Likewise.
31848         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31849         (_FP_ISSIGNAN): Likewise.
31850         (_FP_ADD_INTERNAL): Likewise.
31851         (_FP_FMA): Likewise.
31852         (_FP_CMP): Likewise.
31853         (_FP_SQRT): Likewise.
31854         (_FP_TO_INT): Likewise.
31855         (_FP_FROM_INT): Likewise.
31856         (FP_EXTEND): Likewise.
31857         (_FP_DIV_MEAT_N_loop): Likewise.
31859 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31861         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31862         throughout.
31864 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31866         [BZ #17097]
31867         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31868         result with correct sign in case of exponents that produce
31869         overflow except for X very close to 1.
31871 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31873         mktime: merge #if/#ifdef usage from glibc
31874         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31875         as that works with both Glibc's and Gnulib's style.
31876         See thread starting at Siddhesh Poyarekar's bug report at:
31877         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31879 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31881         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31882         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31883         * sysdeps/tile/tilegx/memmove.c: Remove file.
31885 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31887         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31888         abi-name definition.
31889         * scripts/soversions.awk: Do not handle or generate ABI lines.
31890         * shlib-versions: Remove ABI entries.
31891         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31892         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31894 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31896         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31897         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31898         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31899         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31900         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31901         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31902         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31903         Moved ...
31904         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31905         ... here.
31906         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31907         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31908         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31909         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31910         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31911         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31912         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31913         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31914         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31915         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31916         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31917         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31918         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31919         Moved ...
31920         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31921         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31922         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31923         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31924         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31925         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31926         Moved ...
31927         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31929         Moved ...
31930         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31931         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31932         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31934         Moved ...
31935         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31936         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31937         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31938         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31939         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31940         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31941         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31942         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31943         Moved ...
31944         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31945         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31946         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31947         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31948         Moved ...
31949         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31950         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31951         Moved ...
31952         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31953         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31954         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31955         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31956         Moved ...
31957         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31958         ... here.
31959         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31960         Identical file removed.
31961         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31962         Moved ...
31963         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31964         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31965         Identical file removed.
31966         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31967         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31968         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31969         Moved ...
31970         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31971         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31972         Identical file removed.
31973         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31974         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31975         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31976         Identical file removed.
31977         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31978         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31979         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31980         Identical file removed.
31981         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31982         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31983         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31984         Identical file removed.
31985         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31986         Moved ...
31987         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31988         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31989         Identical file removed.
31990         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31991         Moved ...
31992         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31993         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31994         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31995         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31996         Identical file removed.
31997         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31998         Moved ...
31999         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32000         ... here.
32001         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32002         Identical file removed.
32003         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32004         Moved ...
32005         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32006         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32007         Identical file removed.
32008         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32009         Moved ...
32010         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32011         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32012         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32013         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32014         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32015         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32016         Moved ...
32017         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32018         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32019         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32021         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32022         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32023         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32024         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32025         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32027 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32029         [BZ #17092]
32030         * nscd/nscd.c (monitor_child): Return exit status of child
32031         instead of return value from wait syscall.
32033 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32035         * configure.ac (libc_commonpagesize): Remove variable.
32036         (libc_relro_required): Likewise.
32037         (libc_cv_z_relro): Remove configure test.
32038         * configure: Regenerated.
32039         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32040         variable.
32041         (libc_relro_required): Likewise.
32042         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32043         (libc_relro_required): Likewise.
32044         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32045         (libc_relro_required): Likewise.
32046         * sysdeps/arm/preconfigure: Regenerated.
32047         * sysdeps/ia64/preconfigure: Remove file.
32048         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32049         variable.
32050         (libc_relro_required): Likewise.
32052         [BZ #16561]
32053         [BZ #16562]
32054         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32055         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32056         recompute overflowing results in original rounding mode.
32057         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32058         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32059         recompute overflowing results in original rounding mode.
32060         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32061         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32062         recompute overflowing results in original rounding mode.
32063         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32064         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32065         recompute overflowing results in original rounding mode.
32066         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32067         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32068         recompute overflowing results in original rounding mode.
32069         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32070         (libc_feholdsetround_ctx): New macro.
32071         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32072         * sysdeps/i386/fpu/libm-test-ulps: Update.
32073         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32075 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32077         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32078         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32079         corresponding .cpsetup call.
32081 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32083         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32084         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32085         * sysdeps/arm/Makefile [$(subdir) = csu]
32086         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32087         (static-only-routines): Add aeabi_read_tp here.
32088         (shared-only-routines): Add libc-aeabi_read_tp here.
32089         (CFLAGS-libc-start.c): Add -fexceptions here.
32090         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32091         (sysdep_routines, static-only-routines, shared-only-routines):
32092         Don't add to these here.
32093         (CFLAGS-libc-start.c): Likewise.
32095         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32096         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32097         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32098         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32099         * sysdeps/arm/Makefile [$(subdir) = rt]
32100         (librt-sysdep_routines, librt-shared-only-routines):
32101         Append rt-aeabi_unwind_cpp_pr1 here.
32102         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32103         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32104         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32105         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32106         Append nptl-aeabi_unwind_cpp_pr1 here.
32107         (tests): Filter out tst-cleanupx4 here.
32108         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32109         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32110         Don't do those here.
32112 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32114         * scripts/list-sources.sh: Do not handle ports specially.
32116 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32118         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32119         * sysdeps/arm/feupdateenv.c: Likewise.
32121         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32123 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32125         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32126         trailing whitespace removed.
32127         * scripts/config.guess: Update to version 2014-03-23.
32128         * scripts/config.sub: Update to version 2014-05-01
32129         * scripts/install-sh: Update to version 2013-12-25.23.
32130         * scripts/move-if-change: Update from gnulib.
32132 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32134         * debug/memmove_chk.c: Remove pagecopy.h include.
32136 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32138         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32139         identical to gnulib mktime.
32141 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32143         * configure.ac: Do not test for machine being rs6000.  Do not test
32144         for powerpc*-*soft.
32145         * configure: Regenerated.
32147         [BZ #11505]
32148         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32149         test.
32150         * configure: Regenerated.
32151         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32152         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32153         Remove configure test.
32154         * sysdeps/arm/configure: Regenerated.
32155         * sysdeps/nptl/configure.ac: Do not check
32156         libc_cv_asm_cfi_directives.
32157         * sysdeps/nptl/configure: Regenerated.
32158         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32159         * sysdeps/x86_64/nptl/configure: Remove generated file.
32160         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32161         unconditional.
32162         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32164 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32166         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32167         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32168         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32169         it is defined.
32171         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32172         instead of whether it is defined.
32173         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32174         * sysdeps/hppa/dl-machine.h: Likewise.
32175         * sysdeps/ia64/dl-machine.h: Likewise.
32176         * sysdeps/m68k/dl-machine.h: Likewise.
32177         * sysdeps/microblaze/dl-machine.h: Likewise.
32178         * sysdeps/mips/dl-machine.: Likewise.
32179         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32180         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32181         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32182         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32183         * sysdeps/sh/dl-machine.h: Likewise.
32184         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32185         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32186         * sysdeps/tile/dl-machine.h: Likewise.
32187         * sysdeps/x86_64/dl-machine.h: Likewise.
32189         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32190         code.
32191         (verify_persistent_db): Likewise.
32193 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32196         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32198         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32200         Moved ...
32201         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32202         ... here.
32203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32204         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32206         Identical file removed.
32207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32208         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32210         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32212         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32214         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32216         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32218         Moved ...
32219         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32221         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32223         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32225         Moved ...
32226         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32228         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32230         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32232         Identical file removed.
32233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32234         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32236         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32238         Moved ...
32239         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32240         ... here.
32241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32242         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32244         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32246         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32248         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32250         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32252         Moved ...
32253         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32255         Moved ...
32256         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32258         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32260         Moved ...
32261         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32263         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32265         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32266         folded into ...
32267         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32268         * sysdeps/unix/sysv/linux/s390/Versions
32269         (libpthread: GLIBC_2.19): New version set.
32270         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32271         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32272         (librt: GLIBC_2.3.3): New version set.
32273         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32274         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32275         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32276         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32277         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32278         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32279         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32280         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32281         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32282         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32283         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32284         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32285         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32286         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32287         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32288         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32289         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32290         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32291         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32292         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32293         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32294         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32295         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32296         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32297         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32298         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32299         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32300         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32301         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32302         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32303         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32304         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32305         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32306         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32307         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32308         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32309         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32310         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32311         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32312         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32313         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32314         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32315         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32316         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32317         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32319         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32320         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32321         (__libc_vfork): Define the function under this name.
32322         [!NOT_IN_libc] (__vfork): Make this an alias.
32323         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32324         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32325         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32326         (__libc_vfork): Define the function under this name.
32327         [!NOT_IN_libc] (__vfork): Make this an alias.
32328         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32329         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32330         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32331         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32332         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32333         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32335         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32336         code that was previously under [RESET_PID].
32337         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32338         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32339         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32341         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32342         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32343         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32344         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32345         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32346         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32347         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32348         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32349         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32350         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32351         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32352         Moved ...
32353         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32354         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32355         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32356         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32357         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32358         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32359         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32360         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32361         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32362         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32363         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32364         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32365         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32366         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32367         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32368         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32369         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32370         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32371         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32372         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32373         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32374         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32375         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32376         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32377         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32378         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32379         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32380         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32381         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32383 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32385         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32386         that was previously under [RESET_PID].
32387         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32389 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32391         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32392         not undefine and redefine.
32393         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32394         [O_CLOEXEC]: Make code unconditional.
32395         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32396         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32397         <kernel-features.h>.
32398         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32399         conditional variable definition.
32400         (shm_open) [O_CLOEXEC]: Make code unconditional.
32401         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32402         code.
32404         * configure.ac (USE_REGPARMS): Don't define here.
32405         * configure: Regenerated.
32406         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32407         * sysdeps/i386/configure: Regenerated.
32409         * nptl/createthread.c: Don't include kernel-features.h.
32410         * nptl/pthread_cancel.c: Likewise.
32411         * nptl/pthread_condattr_setclock.c: Likewise.
32412         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32413         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32414         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32415         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32416         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32417         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32418         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32419         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32420         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32421         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32422         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32423         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32424         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32425         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32426         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32427         * nscd/gai.c: Likewise.
32428         * nss/nss_db/db-open.c: Likewise.
32429         * sysdeps/generic/ldsodefs.h: Likewise.
32430         * sysdeps/sh/nptl/tls.h: Likewise.
32431         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32432         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32433         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32434         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32435         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32436         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32437         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32438         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32439         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32440         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32441         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32442         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32443         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32444         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32445         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32446         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32447         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32448         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32449         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32450         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32451         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32452         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32453         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32454         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32455         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32456         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32457         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32458         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32459         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32460         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32461         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32462         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32463         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32464         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32465         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32466         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32467         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32468         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32469         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32470         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32471         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32472         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32473         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32474         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32475         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32476         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32477         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32478         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32479         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32480         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32481         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32482         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32483         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32484         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32485         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32486         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32487         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32488         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32511         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32512         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32513         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32514         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32515         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32516         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32517         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32518         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32519         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32520         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32521         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32522         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32523         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32524         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32525         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32526         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32527         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32528         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32529         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32530         * sysdeps/unix/sysv/linux/system.c: Likewise.
32531         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32532         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32533         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32534         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32535         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32536         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32537         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32539         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32540         * configure: Regenerated.
32541         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32543         * configure.ac (base_machine): Do not set specially for particular
32544         machines here.
32545         * configure: Regenerated.
32546         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32547         settings from configure.ac.
32548         * sysdeps/i386/preconfigure: New file.
32549         * sysdeps/s390/preconfigure: Likewise.
32550         * sysdeps/sh/preconfigure: Likewise.
32551         * sysdeps/sparc/preconfigure: Likewise.
32553 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32555         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32556         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32557         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32558         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32559         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32560         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32561         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32562         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32563         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32564         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32565         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32566         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32567         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32568         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32569         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32570         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32571         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32572         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32573         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32575         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32576         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32577         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32578         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32579         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32580         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32581         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32582         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32583         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32584         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32585         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32586         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32587         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32588         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32589         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32590         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32591         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32592         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32593         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32594         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32595         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32596         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32597         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32598         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32599         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32600         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32601         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32602         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32603         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32604         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32605         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32606         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32607         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32608         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32609         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32610         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32611         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32612         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32615         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32617         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32619         Moved ...
32620         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32621         ... here.
32622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32623         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32625         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32627         Moved ...
32628         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32630         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32632         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32634         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32636         Moved ...
32637         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32639         Moved ...
32640         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32642         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32644         Moved ...
32645         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32647         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32649         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32650         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32651         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32653         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32655         Moved ...
32656         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32657         ... here.
32658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32659         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32661         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32663         Moved ...
32664         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32666         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32668         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32670         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32672         Moved ...
32673         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32675         Moved ...
32676         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32678         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32680         Moved ...
32681         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32683         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32685         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32687 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32689         * timezone/checktab.awk: Update from tzcode 2014e.
32690         * timezone/private.h: Likewise.
32691         * timezone/tzfile.h: Likewise.
32692         * timezone/zdump.c: Likewise.
32693         * timezone/zic.c: Likewise.
32695         * sysdeps/unix/sysv/linux/kernel-features.h
32696         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32697         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32698         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32699         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32700         Remove conditional code.
32702 2014-06-25  Will Newton  <will.newton@linaro.org>
32704         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32705         (_dl_arm_cap_flags): Add HWCAP2 values.
32706         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32707         (_DL_HWCAP_COUNT): Increase to 37.
32708         (_DL_HWCAP_LAST): New define.
32709         (_DL_HWCAP2_LAST): New define.
32710         (_dl_procinfo): Add support for printing
32711         AT_HWCAP2 entries.
32712         (_dl_string_hwcap): Use _dl_hwcap_string.
32714 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32718 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32720         * README: Do not mention ports directory.
32722         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32723         Remove macro.
32724         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32725         <kernel-features.h>.
32726         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32727         conditional variable definition.
32728         (__futimes): Update comment.
32729         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32730         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32732         [BZ #16560]
32733         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32734         arguments close to 0.
32735         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32736         Likewise.
32737         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32738         Likewise.
32739         * math/auto-libm-test-in: Add more tests of exp10.
32740         * math/auto-libm-test-out: Regenerated.
32741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32743         * sysdeps/unix/sysv/linux/kernel-features.h
32744         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32745         * sysdeps/unix/sysv/linux/readv.c: Do not include
32746         <kernel-features.h>.
32747         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32748         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32749         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32750         unconditional.
32751         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32752         conditional code.
32753         * sysdeps/unix/sysv/linux/writev.c: Do not include
32754         <kernel-features.h>.
32755         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32756         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32757         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32758         unconditional.
32759         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32760         conditional code.
32762 2014-06-25  Will Newton  <will.newton@linaro.org>
32764         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32765         comment changes throughout the file.  Remove checks
32766         for HAVE_*_H definitions that are not required.
32767         (__gen_tempname): Call abort if an unknown kind value is
32768         passed.
32770 2014-06-25  Andreas Schwab  <schwab@suse.de>
32772         [BZ #17086]
32773         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32774         scalbln, scalblnf, scalblnl in libc.
32776 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32778         [BZ #17086]
32779         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32780         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32781         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32783 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32785         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32786         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32787         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32788         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32789         Update #include.
32790         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32791         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32792         Update #include.
32793         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32794         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32795         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32796         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32797         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32798         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32799         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32800         * sysdeps/x86/bits/semaphore.h: ... here.
32801         * sysdeps/x86/nptl/elide.h: Moved ...
32802         * sysdeps/x86/elide.h: ... here.
32803         * sysdeps/x86_64/nptl/Implies: File removed.
32804         * sysdeps/i386/nptl/Implies: File removed.
32806 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32808         [BZ #16539]
32809         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32810         return the argument for normal arguments with exponent below -64.
32811         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32812         Likewise.
32813         * math/auto-libm-test-in: Add another test of expm1.
32814         * math/auto-libm-test-out: Regenerated.
32816         [BZ #16287]
32817         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32818         calling __erfcl for arguments at least 16.
32819         * math/auto-libm-test-in: Add more tests of erf.
32820         * math/auto-libm-test-out: Regenerated.
32822         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32823         individual architectures.
32824         * sysdeps/unix/sysv/linux/configure: Regenerated.
32825         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32826         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32827         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32828         (ldd_rewrite_script): Define variable.
32829         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32831         file.
32832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32833         generated file.
32834         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32835         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32836         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32837         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32838         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32839         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32840         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32841         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32843 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32845         [BZ #17084]
32846         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32847         Rename member __data.d to __data.__elision_data.
32849 2014-06-24  Wilco  <wdijkstr@arm.com>
32851         * NEWS: Add 16918 to fixed bug list.
32853 2014-06-24  Wilco  <wdijkstr@arm.com>
32855         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32857 2014-06-24  Wilco  <wdijkstr@arm.com>
32859         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32860         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32861         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32862         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32863         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32864         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32865         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32866         Use _FPU_MASK_RM.
32868 2014-06-24  Wilco  <wdijkstr@arm.com>
32870         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32872 2014-06-24  Wilco  <wdijkstr@arm.com>
32874         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32875         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32876         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32877         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32879 2014-06-24  Wilco  <wdijkstr@arm.com>
32881         [BZ #16918]
32882         * sysdeps/arm/feupdateenv.c (feupdateenv):
32883         Rewrite to reduce FPSCR accesses and fix return value.
32885 2014-06-24  Wilco  <wdijkstr@arm.com>
32887         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32888         Optimize to avoid unnecessary FPSCR writes.
32889         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32890         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32891         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32892         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32894 2014-06-24  Wilco  <wdijkstr@arm.com>
32896         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32897         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32898         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32899         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32900         Call libc_fetestexcept_vfp.
32901         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32902         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32903         __SOFTFP__ ifdef so that they can be built for softfp.
32905 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32907         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32908         argument type signed char.
32910         * Makerules (check-abi): Dump diff of symlist if the test
32911         fails.
32913 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32915         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32916         using abort.
32918         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32919         Remove unused variable ST.
32921 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32923         [BZ #16354]
32924         [BZ #17061]
32925         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32926         small arguments before calling __expm1.
32927         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32928         small arguments before calling __expm1f.
32929         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32930         small arguments before calling __expm1l.
32931         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32932         Likewise.
32933         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32934         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32935         spurious underflow for some cosh tests.
32936         * math/auto-libm-test-out: Regenerated.
32937         * sysdeps/i386/fpu/libm-test-ulps: Update.
32939         [BZ #17050]
32940         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32941         (__ieee754_y1): Set errno if return value overflows.
32942         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32943         (__ieee754_y1f): Set errno if return value overflows.
32944         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32945         (__ieee754_y1l): Set errno if return value overflows.
32946         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32947         (__ieee754_y1l): Set errno if return value overflows.
32948         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32949         * math/auto-libm-test-out: Regenerated.
32951         * math/gen-auto-libm-tests.c: Document use of
32952         ignore-zero-inf-sign.
32953         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32954         (input_flags): Add ignore-zero-inf-sign.
32955         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32956         * math/gen-libm-test.pl (generate_testfile): Handle
32957         ignore-zero-inf-sign.
32958         * math/auto-libm-test-in: Mark some cpow tests with
32959         ignore-zero-inf-sign and some with xfail-rounding.
32960         * math/auto-libm-test-out: Regenerated.
32961         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32962         * sysdeps/i386/fpu/libm-test-ulps: Update.
32963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32965         [BZ #16315]
32966         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32967         overflowing or underflowing operations take place with sign of
32968         result.
32969         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32970         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32971         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32972         (__ieee754_pow): Recompute overflowing and underflowing results in
32973         original rounding mode.
32974         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32975         (__powl_helper): Allow negative argument X and scale negated value
32976         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32977         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32978         overflowing or underflowing operations take place with sign of
32979         result.
32980         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32981         Include <math.h>.
32982         * math/auto-libm-test-in: Add more tests of pow.
32983         * math/auto-libm-test-out: Regenerated.
32984         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32985         (pow_tonearest_test_data): Remove.
32986         (pow_test_tonearest): Likewise.
32987         (pow_towardzero_test_data): Likewise.
32988         (pow_test_towardzero): Likewise.
32989         (pow_downward_test_data): Likewise.
32990         (pow_test_downward): Likewise.
32991         (pow_upward_test_data): Likewise.
32992         (pow_test_upward): Likewise.
32993         (main): Don't call removed functions.
32994         * sysdeps/i386/fpu/libm-test-ulps: Update.
32995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32997 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33000         Moved ...
33001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33003         Moved ...
33004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33006         Moved ...
33007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33009         Moved ...
33010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33012         File removed.
33013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33014         File removed.
33015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33016         File removed.
33017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33018         File removed.
33019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33020         File removed.
33021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33022         File removed.
33023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33024         File removed.
33025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33026         File removed.
33027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33028         File removed.
33029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33030         File removed.
33031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33032         File removed.
33033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33034         File removed.
33035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33036         Moved ...
33037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33039         Moved ...
33040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33041         ... here.
33042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33043         Moved ...
33044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33046         Moved ...
33047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33049         Moved ...
33050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33052         Moved ...
33053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33055         Moved ...
33056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33058         Moved ...
33059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33061         Moved ...
33062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33065         ... here.
33066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33067         Moved ...
33068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33070         Moved ...
33071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33072         ... here.
33073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33074         Moved ...
33075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33076         ... here.
33077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33078         Moved ...
33079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33080         ... here.
33081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33082         Moved ...
33083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33085         Moved ...
33086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33090         Moved ...
33091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33092         ... here.
33093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33094         Moved ...
33095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33096         ... here.
33097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33098         Moved ...
33099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33101         Moved ...
33102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33104         Moved ...
33105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33107         Moved ...
33108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33110         Moved ...
33111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33112         ... here.
33113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33114         Moved ...
33115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33117         Moved ...
33118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33120         Moved ...
33121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33123         Moved ...
33124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33128         Moved ...
33129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33131         Moved ...
33132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33134         Moved ...
33135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33136         ... here.
33137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33138         Moved ...
33139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33140         ... here.
33141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33142         Moved ...
33143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33144         ... here.
33145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33146         Moved ...
33147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33149         Moved ...
33150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33152         Moved ...
33153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33155         Moved ...
33156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33157         ... here.
33158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33159         Moved ...
33160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33161         ... here.
33162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33163         Moved ...
33164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33165         ... here.
33166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33167         Moved ...
33168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33170         Moved ...
33171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33173 2014-06-23  Will Newton  <will.newton@linaro.org>
33174             Wilco  <wdijkstr@arm.com>
33176         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33177         implementation.  Include get-rounding-mode.h.
33178         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33179         [!libc_feholdsetround_noex_ctx]: Define
33180         libc_feholdsetround_noex_ctx.
33181         [!libc_feholdsetround_noexf_ctx]: Define
33182         libc_feholdsetround_noexf_ctx.
33183         [!libc_feholdsetround_noexl_ctx]: Define
33184         libc_feholdsetround_noexl_ctx.
33185         (libc_feholdsetround_ctx): New function.
33186         (libc_feresetround_ctx): New function.
33187         (libc_feholdsetround_noex_ctx): New function.
33188         (libc_feresetround_noex_ctx): New function.
33190 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33192         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33193         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33194         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33195         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33196         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33197         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33199         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33200         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33201         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33202         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33203         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33204         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33205         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33206         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33207         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33208         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33209         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33210         Moved ...
33211         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33212         ... here.
33213         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33214         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33215         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33216         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33217         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33218         Moved ...
33219         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33220         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33221         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33222         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33223         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33224         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33225         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33226         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33227         Moved ...
33228         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33229         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33230         Moved ...
33231         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33232         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33233         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33234         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33235         Moved ...
33236         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33237         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33238         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33239         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33240         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33241         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33242         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33243         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33244         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33245         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33246         Moved ...
33247         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33248         ... here.
33249         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33250         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33251         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33252         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33253         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33254         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33255         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33256         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33257         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33258         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33259         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33260         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33261         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33262         Moved ...
33263         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33264         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33265         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33266         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33267         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33268         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33269         Moved ...
33270         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33271         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33272         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33273         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33274         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33276         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33277         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33278         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33279         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33280         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33281         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33282         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33283         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33284         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33285         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33286         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33287         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33288         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33289         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33290         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33291         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33292         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33293         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33294         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33295         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33296         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33297         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33298         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33299         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33300         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33301         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33302         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33303         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33305 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33307         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33308         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33309         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33310         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33311         (IPV6_PMTUDISC_INTERFACE): Likewise.
33312         (IPV6_PMTUDISC_OMIT): Likewise.
33314 2014-06-23  Andreas Schwab  <schwab@suse.de>
33316         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33317         Remove unused errout label.
33319 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33321         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33322         macro: hardware supports Vector Crypto instructions.
33324 2014-06-23  Will Newton  <will.newton@linaro.org>
33326         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33327         rather than __builtin_expect.
33329         * elf/dl-lookup.c (undefined_msg): Remove variable.
33330         (_dl_lookup_symbol_x): Replace undefined_msg with string
33331         literal.
33333         * elf/dl-lookup.c (do_lookup_unique): New function.
33334         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33335         to a separate function.
33337 2014-06-23  Andreas Schwab  <schwab@suse.de>
33339         [BZ #17079]
33340         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33341         before reading the next line.
33343 2014-06-23  Will Newton  <will.newton@linaro.org>
33345         * test-skeleton.c (signal_handler): Use printf and %m
33346         rather than perror.  Use printf rather than fprintf to
33347         stderr.  Use puts rather than fputs to stderr.
33348         (main): Likewise.
33350 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33352         * nscd/nscd.c (thread_info_t): Remove typedef.
33353         (thread_info): Remove variable.
33355 2014-06-21  Allan McRae  <allan@archlinux.org>
33357         * NEWS: Mention CVE-2014-4043.
33359 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33361         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33362         * nptl/smp.h: ... here.
33364         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33366         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33367         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33368         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33369         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33371         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33372         * nptl/stack-aliasing.h: New file.
33373         * sysdeps/i386/i686/stack-aliasing.h: New file.
33374         * sysdeps/i386/i686/nptl/Makefile: File removed.
33375         * sysdeps/x86_64/stack-aliasing.h: New file.
33376         * sysdeps/x86_64/nptl/Makefile
33377         (CFLAGS-pthread_create.c): Variable removed.
33379         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33380         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33381         old file.
33382         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33383         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33384         old file.
33386 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33388         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33389         (__ASSUME_SIGFRAME_V2): Remove macro.
33390         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33391         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33392         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33393         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33394         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33395         Declare as function.  Remove conditional macro definitions.
33396         (__default_rt_sa_restorer): Likewise.
33397         (__default_sa_restorer_v1): Remove declaration.
33398         (__default_sa_restorer_v2): Likewise.
33399         (__default_rt_sa_restorer_v1): Likewise.
33400         (__default_rt_sa_restorer_v2): Likewise.
33401         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33402         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33403         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33405 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33407         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33408         (libpthread-routines): Add sysdep.
33409         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33410         * sysdeps/unix/sysv/linux/sparc/Versions
33411         (libpthread: GLIBC_2.3.3): New version set.
33412         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33413         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33414         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33415         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33416         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33417         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33418         Moved ...
33419         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33420         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33421         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33422         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33423         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33424         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33425         * sysdeps/sparc/nptl/sem_init.c: ... here.
33426         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33427         * sysdeps/sparc/nptl/sem_post.c: ... here.
33428         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33429         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33430         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33431         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33432         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33433         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33434         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33435         (libpthread-routines): Add cpu_relax.
33436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33437         File removed.
33438         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33439         (librt: GLIBC_2.3.3): New version set.
33440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33441         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33442         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33443         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33446         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33448         Moved ...
33449         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33451         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33453         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33454         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33455         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33456         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33457         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33459         Moved ...
33460         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33461         Update #include.
33462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33463         Moved ...
33464         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33465         Update #include.
33466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33467         Moved ...
33468         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33469         Update #include.
33470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33471         Moved ...
33472         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33473         Update #include.
33474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33475         Moved ...
33476         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33477         Update #include.
33478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33479         Moved ...
33480         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33481         Update #include.
33482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33483         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33485         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33486         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33487         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33489         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33490         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33491         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33493         Moved ...
33494         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33496         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33498         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33500 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33502         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33503         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33504         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33505         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33506         * nscd/nscd.c: Likewise.
33507         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33508         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33509         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33510         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33512         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33513         <kernel-features.h>.
33514         (init_mq_netlink): Remove conditional have_sock_cloexec
33515         definitions.  Remove code conditional on have_sock_cloexec < 0.
33516         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33517         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33518         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33519         <kernel-features.h>.
33520         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33521         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33523 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33525         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33526         Add tests for memset_chk and memset.
33528         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33529         with AVX2_Usable.
33531 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33533         [BZ #16046]
33534         * elf/tst-dl-iter-static.c: New file.
33535         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33537         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33538         error.
33540 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33542         * sysdeps/unix/sysv/linux/kernel-features.h
33543         (__ASSUME_F_GETOWN_EX): Remove macro.
33544         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33545         <kernel-features.h>.
33546         (miss_F_GETOWN_EX): Remove variable or macro.
33547         (do_fcntl): Do not check miss_F_GETOWN_EX.
33548         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33550         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33551         Remove macro.
33552         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33553         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33554         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33556         * sysdeps/unix/sysv/linux/kernel-features.h
33557         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33558         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33559         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33560         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33562 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33564         [BZ #17075]
33565         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33566         Fix calculation of the symbol's value.
33567         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33568         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33569         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33570         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33571         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33572         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33573         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33574         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33575         (modules-names): Add `tst-armtlsdescmod',
33576         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33577         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33578         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33579         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33580         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33581         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33582         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33583         ($(objpfx)tst-armtlsdescloc): New dependency.
33584         ($(objpfx)tst-armtlsdescextnow): Likewise.
33585         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33586         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33587         TLS scheme support.
33588         * sysdeps/arm/configure: Regenerate.
33590 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33592         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33593         (__atfct_seterrno_2): Likewise.
33594         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33595         <kernel-features.h>.
33596         (__ASSUME_ATFCTS): Do not undefine and redefine.
33597         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33598         (__have_atfcts): Remove conditional definition.
33599         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33600         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33601         unreachable if [__ASSUME_ATFCTS].
33602         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33603         not undefine and redefine.
33604         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33605         <kernel-features.h>.
33606         (faccessat) [__NR_faccessat]: Make code unconditional.
33607         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33608         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33609         <kernel-features.h>.
33610         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33611         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33612         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33613         <kernel-features.h>.
33614         (fchownat) [__NR_fchownat]: Make code unconditional.
33615         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33616         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33617         <kernel-features.h>.
33618         (futimesat) [__NR_futimesat]: Make code unconditional.
33619         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33620         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33621         <kernel-features.h>.
33622         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33623         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33624         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33625         <kernel-features.h>.
33626         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33627         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33628         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33629         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33630         <kernel-features.h>.
33631         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33632         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33633         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33634         <kernel-features.h>.
33635         (linkat) [__NR_linkat]: Make code unconditional.
33636         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33637         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33638         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33639         <kernel-features.h>.
33640         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33641         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33642         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33643         <kernel-features.h>.
33644         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33645         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33646         * sysdeps/unix/sysv/linux/openat.c: Do not include
33647         <kernel-features.h>.
33648         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33649         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33650         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33651         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33652         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33653         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33654         <kernel-features.h>.
33655         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33656         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33657         result of INLINE_SYSCALL directly, not via int variable.
33658         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33659         <kernel-features.h>.
33660         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33661         (renameat) [__NR_renameat]: Make code unconditional.
33662         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33663         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33664         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33665         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33666         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33667         (__ASSUME_ATFCTS): Do not undefine and redefine.
33668         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33669         <kernel-features.h>.
33670         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33671         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33672         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33673         <kernel-features.h>.
33674         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33675         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33676         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33677         (__ASSUME_ATFCTS): Do not undefine and redefine.
33678         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33679         <kernel-features.h>.
33680         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33681         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33682         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33683         <kernel-features.h>.
33684         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33685         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33687 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33689         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33691 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33693         [BZ #17069]
33694         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33695         constructed tree before returning error.
33696         * posix/bug-regexp36.c: Expand test case.
33698 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33700         [BZ #6803]
33701         * math/libm-test.inc (scalbln_test_date):
33702         Add errno expectations.
33703         * math/w_scalblnf.c: New File.
33704         Add wrapper which checks for setting errno to ERANGE.
33705         Add weak_alias for corresponding scalbln function.
33706         * math/w_scalbln.c: Likewise.
33707         * math/w_scalblnl.c: Likewise.
33708         * math/Makefile (libm-calls): Add w_scalbln.
33709         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33710         Remove weak_alias for corresponding scalbln function.
33711         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33712         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33713         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33714         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33715         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33716         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33717         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33718         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33719         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33720         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33721         Remove long_double_symbol for scalblnl function in libm, libc.
33722         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33723         Add wrapper which checks for setting errno to ERANGE.
33724         Add long_double_symbol for scalblnl function in libm, libc.
33725         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33726         Remove long_double_symbol for scalblnl in libm.
33727         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33728         Add wrapper which checks for setting errno to ERANGE.
33729         Add long_double_symbol for scalblnl function in libm.
33730         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33731         Do not use wrapper because of own implementation.
33733 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33735         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33736         3 bytes for __pad1 for x32.
33737         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33739 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33740             H.J. Lu  <hongjiu.lu@intel.com>
33742         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33743         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33744         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33745         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33746         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33748 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33750         [BZ #17069]
33751         * posix/regcomp.c (parse_expression): Deallocate partially
33752         constructed tree before returning error.
33753         * posix/Makefile.c (tests): Add bug-regex36.
33754         (generated): Add bug-regex36.mtrace.
33755         (tests-special): Add $(objpfx)bug-regex36-mem.out
33756         (bug-regex36-ENV): New variable.
33757         ($(objpfx)bug-regex36-mem.out): New rule.
33758         * posix/bug-regex36.c: New file.
33760 2014-06-19  Will Newton  <will.newton@linaro.org>
33762         * malloc/malloc.c (systrim): If extra is zero then return
33763         early.
33765 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33767         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33769 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33771         * sysdeps/aarch64/strchr.S: New file.
33773 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33775         [BZ #17022]
33776         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33777         from arguments -2 or below.
33778         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33779         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33781 2014-06-18  Andreas Schwab  <schwab@suse.de>
33783         [BZ #17062]
33784         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33785         of a bracket expr not to run off the end of the string.
33786         * posix/Makefile (tests): Add tst-fnmatch3.
33787         * posix/tst-fnmatch3.c: New file.
33789 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33791         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33792         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33793         [$(cross-compiling) = no]: Likewise.
33794         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33795         [$(cross-compiling) = no]: Likewise.
33797 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33799         [BZ #17031]
33800         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33801         double, adjusted for any remainder from the high double.
33802         * math/libm-test.inc (nearbyint): Add tests.
33803         (rint): Likewise.
33805 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33807         * nptl/sysdeps/powerpc/Makefile: Moved ...
33808         * sysdeps/powerpc/nptl/Makefile: ... here.
33809         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33810         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33811         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33812         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33813         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33814         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33815         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33816         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33817         * nptl/sysdeps/powerpc/tls.h: Moved ...
33818         * sysdeps/powerpc/nptl/tls.h: ... here.
33820 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33822         [BZ #16681]
33823         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33824         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33825         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33826         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33827         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33828         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33829         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33830         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33831         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33833 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33835         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33837 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33839         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33840         defined operator.
33842         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33843         $TIMEOUTFACTOR.
33845 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33847         [BZ #17058]
33848         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33849         non-executed part of the test.
33851 2014-06-16  Andreas Schwab  <schwab@suse.de>
33853         * string/bits/string2.h (strdup, strndup): Update feature guard.
33855 2014-06-14  David S. Miller  <davem@davemloft.net>
33857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33859 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33861         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33862         that was previously under [RESET_PID].
33863         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33865         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33866         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33867         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33868         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33869         (__libc_vfork): New strong alias.
33870         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33872 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33874         * sysdeps/generic/elide.h: New file.
33876 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33878         * Makefile (installed-headers): Adjust path of pthread.h header.
33880 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33882         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33883         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33884         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33885         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33887         * nptl/sysdeps/s390/Makefile: Moved ...
33888         * sysdeps/s390/nptl/Makefile: ... here.
33889         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33890         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33891         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33892         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33893         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33894         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33895         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33896         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33897         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33898         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33899         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33900         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33901         * nptl/sysdeps/s390/tls.h: Moved ...
33902         * sysdeps/s390/nptl/tls.h: ... here.
33904         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33905         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33907 2014-06-13  David S. Miller  <davem@davemloft.net>
33909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33910         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33912         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33916         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33917         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33918         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33919         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33920         Remove RESET_PID cpp guards.
33921         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33922         Remove RESET_PID cpp guards.
33923         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33925 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33927         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33928         __sp to uintptr_t.
33930 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33932         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33933         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33934         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33935         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33936         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33937         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33938         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33939         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33940         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33941         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33942         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33943         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33944         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33945         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33946         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33947         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33948         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33949         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33950         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33951         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33953         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33954         (pthread_rwlock_rdlock): Add elision.
33955         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33956         (pthread_rwlock_wrlock): Add elision.
33957         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33958         (pthread_rwlock_trywrlock): Add elision.
33959         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33960         (pthread_rwlock_tryrdlock): Add elision.
33961         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33962         (pthread_rwlock_tryrdlock): Add elision unlock.
33963         * nptl/sysdeps/pthread/pthread.h:
33964         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33965         (PTHREAD_RWLOCK_INITIALIZER,
33966         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33967         Handle new elision field.
33968         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33969         * sysdeps/arm/nptl/bits/pthreadtypes.h
33970         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33971         * sysdeps/sh/nptl/bits/pthreadtypes.h
33972         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33973         * sysdeps/tile/nptl/bits/pthreadtypes.h
33974         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33975         * sysdeps/a/nptl/bits/pthreadtypes.h
33976         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33977         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33978         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33979         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33980         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33981         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33982         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33983         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33984         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33985         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33986         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33987         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33988         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33989         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33990         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33991         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33992         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33993         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33994         (elision_init): Set try_xbegin to zero when no RTM.
33995         * sysdeps/x86/nptl/bits/pthreadtypes.h
33996         (pthread_rwlock_t): Change __pad1 to __rwelision.
33997         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33999 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34001         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34002         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34003         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34004         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34006 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34008         [BZ #16996]
34009         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34010         that the cached result has been set before returning it.
34012 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34014         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34015         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34016         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34017         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34018         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34019         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34021         * nptl/sysdeps/sparc/Makefile: Moved ...
34022         * sysdeps/sparc/nptl/Makefile: ... here.
34023         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34024         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34025         * nptl/sysdeps/sparc/tls.h: Moved ...
34026         * sysdeps/sparc/nptl/tls.h: ... here.
34027         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34028         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34029         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34030         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34031         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34032         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34033         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34034         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34035         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34036         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34037         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34038         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34039         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34040         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34041         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34042         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34043         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34044         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34045         Update #include.
34046         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34047         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34048         Update #include.
34049         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34050         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34051         Update #include.
34052         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34053         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34054         Update #include.
34056         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34058         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34059         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34061         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34062         (struct list_links): Type removed.
34063         (struct thread_node, struct timer_node): Replace struct list_links
34064         with struct list_head.
34065         (list_unlink_ip): Likewise.
34066         * sysdeps/pthread/timer_routines.c
34067         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34068         (list_append, list_insbefore): Likewise.
34069         (list_init): Function removed.
34070         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34071         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34072         * sysdeps/pthread/Makefile: ... here, new file.
34074         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34075         * sysdeps/nptl/Implies: ... here.
34076         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34077         * nptl/sysdeps/pthread/list.h: Moved ...
34078         * include/list.h: ... here.
34079         * nptl/sysdeps/pthread/createthread.c: Moved ...
34080         * nptl/createthread.c: ... here.
34081         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34082         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34083         * nptl/pt-longjmp.c: ... here.
34084         * nptl/sysdeps/pthread/Makefile: Moved ...
34085         * sysdeps/nptl/Makefile: ... here.
34086         * nptl/sysdeps/pthread/Subdirs: Moved ...
34087         * sysdeps/nptl/Subdirs: ... here.
34088         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34089         * sysdeps/nptl/aio_misc.h: ... here.
34090         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34091         * sysdeps/nptl/bits/libc-lock.h: ... here.
34092         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34093         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34094         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34095         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34096         * nptl/sysdeps/pthread/configure: Moved ...
34097         * sysdeps/nptl/configure: ... here.
34098         * nptl/sysdeps/pthread/configure.ac: Moved ...
34099         * sysdeps/nptl/configure.ac: ... here.
34100         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34101         * sysdeps/nptl/gai_misc.h: ... here.
34102         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34103         * sysdeps/nptl/librt-cancellation.c: ... here.
34104         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34105         * sysdeps/nptl/malloc-machine.h: ... here.
34106         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34107         * sysdeps/nptl/pthread-functions.h: ... here.
34108         * nptl/sysdeps/pthread/pthread.h: Moved ...
34109         * sysdeps/nptl/pthread.h: ... here.
34110         * nptl/sysdeps/pthread/setxid.h: Moved ...
34111         * sysdeps/nptl/setxid.h: ... here.
34112         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34113         * sysdeps/nptl/sigfillset.c: ... here.
34114         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34115         * sysdeps/nptl/tcb-offsets.h: ... here.
34116         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34117         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34118         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34119         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34120         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34121         * sysdeps/pthread/allocalim.h: ... here.
34122         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34123         * sysdeps/pthread/bits/sigthread.h: ... here.
34124         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34125         * sysdeps/pthread/flockfile.c: ... here.
34126         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34127         * sysdeps/pthread/ftrylockfile.c: ... here.
34128         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34129         * sysdeps/pthread/funlockfile.c: ... here.
34130         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34131         * sysdeps/pthread/posix-timer.h: ... here.
34132         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34133         * sysdeps/pthread/timer_create.c: ... here.
34134         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34135         * sysdeps/pthread/timer_delete.c: ... here.
34136         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34137         * sysdeps/pthread/timer_getoverr.c: ... here.
34138         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34139         * sysdeps/pthread/timer_gettime.c: ... here.
34140         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34141         * sysdeps/pthread/timer_routines.c: ... here.
34142         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34143         * sysdeps/pthread/timer_settime.c: ... here.
34144         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34145         * sysdeps/pthread/tst-timer.c: ... here.
34146         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34147         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34149         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34150         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34152         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34153         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34154         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34155         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34156         Update #include target.
34157         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34158         * sysdeps/i386/i686/nptl/Makefile: ... here.
34159         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34160         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34161         Update #include target.
34162         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34163         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34164         * nptl/sysdeps/i386/Makefile: Moved ...
34165         * sysdeps/i386/nptl/Makefile: ... here.
34166         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34167         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34168         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34169         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34170         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34171         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34172         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34173         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34174         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34175         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34176         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34177         * nptl/sysdeps/i386/tls.h: Moved ...
34178         * sysdeps/i386/nptl/tls.h: ... here.
34180         * sysdeps/sh/Makefile [$(subdir) = csu]
34181         (gen-as-const-headers): Add tcb-offsets.sym.
34182         * nptl/sysdeps/sh/Makefile: File removed.
34183         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34184         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34185         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34186         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34187         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34188         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34189         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34190         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34191         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34192         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34193         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34194         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34195         * nptl/sysdeps/sh/tls.h: Moved ...
34196         * sysdeps/sh/nptl/tls.h: ... here.
34197         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34198         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34199         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34200         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34201         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34202         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34203         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34204         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34205         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34206         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34207         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34208         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34209         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34210         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34211         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34212         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34213         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34214         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34215         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34216         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34217         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34218         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34219         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34220         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34221         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34222         Moved ...
34223         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34224         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34225         Moved ...
34226         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34227         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34228         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34229         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34230         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34231         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34232         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34233         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34234         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34235         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34236         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34237         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34238         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34239         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34240         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34241         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34242         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34243         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34244         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34246 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34248         * posix/spawn_faction_addopen.c: Include string.h.
34250 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34252         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34253         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34254         * nptl/sysdeps/x86_64/Makefile: Moved ...
34255         * sysdeps/x86_64/nptl/Makefile: ... here.
34256         * nptl/sysdeps/x86_64/configure: Moved ...
34257         * sysdeps/x86_64/nptl/configure: ... here.
34258         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34259         * sysdeps/x86_64/nptl/configure.ac: ... here.
34260         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34261         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34262         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34263         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34264         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34265         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34266         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34267         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34268         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34269         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34270         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34271         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34272         * nptl/sysdeps/x86_64/tls.h: Moved ...
34273         * sysdeps/x86_64/nptl/tls.h: ... here.
34274         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34275         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34276         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34277         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34279         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34281 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34285 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34287         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34288         type.
34289         [POSIX] (off_t): Likewise.
34290         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34291         [POSIX] (S_ISBLK): Require macro.
34292         [POSIX] (S_ISCHR): Likewise.
34293         [POSIX] (S_ISDIR): Likewise.
34294         [POSIX] (S_ISFIFO): Likewise.
34295         [POSIX] (S_ISREG): Likewise.
34296         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34297         optional-macro.
34298         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34299         type.
34300         [POSIX] (time_t): Likewise.
34301         [POSIX] (timer_t): Likewise.
34303 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34305         [BZ #17048]
34306         * posix/spawn_int.h (struct __spawn_action): Make the path string
34307         non-const to support deallocation.
34308         * posix/spawn_faction_addopen.c
34309         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34310         * posix/spawn_faction_destroy.c
34311         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34312         path in all spawn_do_open actions.
34313         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34314         posix_spawn_file_actions_addopen.
34316 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34318         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34319         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34320         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34321         conditional code always true.
34322         (__libc_vfork): New alias.
34324 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34326         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34327         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34329         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34331         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34332         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34334         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34335         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34337         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34338         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34340 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34342         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34343         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34344         multiarch strcmp for PPC64.
34345         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34346         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34347         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34348         multiarch optimizations.
34349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34350         (__libc_ifunc_impl_list): Likewise.
34352 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34354         * benchtests/scripts/validate_benchout.py: New script.
34355         * benchtests/Makefile (bench-func): Call it.
34356         * benchtests/scripts/benchout.schema.json: New file.
34358 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34360         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34361         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34362         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34363         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34364         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34365         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34366         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34367         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34368         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34369         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34370         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34371         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34372         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34373         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34374         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34375         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34377         Moved ...
34378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34379         ... here.
34380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34381         Moved ...
34382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34384         Moved ...
34385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34386         ... here.
34387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34388         Moved ...
34389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34390         ... here.
34391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34392         Moved ...
34393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34395         Moved ...
34396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34397         ... here.
34398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34399         Moved ...
34400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34401         ... here.
34402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34403         Moved ...
34404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34406         Moved ...
34407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34408         ... here.
34409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34410         Moved ...
34411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34412         ... here.
34413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34414         Moved ...
34415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34416         ... here.
34417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34418         Moved ...
34419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34421         Moved ...
34422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34423         ... here.
34424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34425         Moved ...
34426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34427         ... here.
34428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34429         Moved ...
34430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34431         ... here.
34432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34433         Moved ...
34434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34436         Moved ...
34437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34438         ... here.
34439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34440         Moved ...
34441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34442         ... here.
34443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34444         Moved ...
34445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34447         Moved ...
34448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34449         ... here.
34450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34451         Moved ...
34452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34454         Moved ...
34455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34457         Moved ...
34458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34459         ... here.
34460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34461         Moved ...
34462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34463         ... here.
34464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34465         Moved ...
34466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34467         ... here.
34468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34469         Moved ...
34470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34472         Moved ...
34473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34474         ... here.
34475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34476         Moved ...
34477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34478         ... here.
34479         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34480         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34481         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34482         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34483         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34484         Moved ...
34485         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34486         ... here.
34487         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34488         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34489         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34490         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34491         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34492         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34493         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34494         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34495         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34496         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34497         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34498         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34499         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34500         Moved ...
34501         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34502         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34503         Moved ...
34504         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34505         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34506         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34507         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34508         Moved ...
34509         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34510         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34511         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34512         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34513         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34514         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34515         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34517 2014-06-10  Wilco  <wdijkstr@arm.com>
34519         * math/test-fenv-return.c: New file.
34520         * math/Makefile: Add new test test-fenv-return.
34522 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34524         [BZ #17042]
34525         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34526         when x - 1 is zero.
34527         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34528         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34529         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34530         0.0L for an argument of 1.0L.
34531         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34532         Likewise.
34533         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34534         value when x - 1 is zero.
34535         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34536         * sysdeps/i386/fpu/libm-test-ulps: Update.
34537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34539 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34541         [BZ #15119]
34542         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34544 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34546         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34547         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34549 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34551         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34552         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34554         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34555         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34557         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34558         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34560         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34561         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34563         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34564         if not already defined.
34565         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34566         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34567         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34568         (TLS_INIT_TP): Use it.
34569         (TLS_DEFINE_INIT_TP): New macro.
34570         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34572 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34574         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34575         constant.
34576         [POSIX] (IXANY): Likewise.
34577         [POSIX] (OLCUC): Likewise.
34578         [POSIX || POSIX2008] (CBAUD): Do not allow.
34579         [POSIX || POSIX2008] (DEFECHO): Likewise.
34580         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34581         [POSIX || POSIX2008] (ECHOKE): Likewise.
34582         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34583         [POSIX || POSIX2008] (EXTA): Likewise.
34584         [POSIX || POSIX2008] (EXTB): Likewise.
34585         [POSIX || POSIX2008] (FLUSHO): Likewise.
34586         [POSIX || POSIX2008] (LOBLK): Likewise.
34587         [POSIX || POSIX2008] (PENDIN): Likewise.
34588         [POSIX || POSIX2008] (SWTCH): Likewise.
34589         [POSIX || POSIX2008] (VDISCARD): Likewise.
34590         [POSIX || POSIX2008] (VDSUSP): Likewise.
34591         [POSIX || POSIX2008] (VLNEXT): Likewise.
34592         [POSIX || POSIX2008] (VREPRINT): Likewise.
34593         [POSIX || POSIX2008] (VSTATUS): Likewise.
34594         [POSIX || POSIX2008] (VWERASE): Likewise.
34595         (B*): Change to B[0123456789]*.
34596         * conform/data/time.h-data [POSIX || UNIX98]
34597         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34598         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34599         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34600         [POSIX] (tm_*): Do not allow.
34602 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34604         * Makefile (install): Don't set LANGUAGE.
34605         * Makefile.in (install): Likewise.
34606         * assert/Makefile (test-assert-ENV): Remove variable.
34607         (test-assert-perr-ENV): Likewise.
34608         * elf/Makefile (neededtest4-ENV): Likewise.
34609         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34610         [$(cross-compiling) = no]: Don't set LANGUAGE.
34611         * io/ftwtest-sh (LANG): Remove variable.
34612         * libio/Makefile (tst-widetext-ENV): Likewise.
34613         * manual/install.texi (Running make install): Don't refer to
34614         environment settings for make install.
34615         * INSTALL: Regenerated.
34616         * nptl/tst-tls6.sh: Don't set LANG.
34617         * posix/globtest.sh (LANG): Remove variable.
34618         * string/Makefile (tester-ENV): Likewise.
34619         (inl-tester-ENV): Likewise.
34620         (noinl-tester-ENV): Likewise.
34621         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34622         [$(cross-compiling) = no]: Don't set LANGUAGE.
34623         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34624         without explicit environment settings.
34626 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34628         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34629         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34630         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34631         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34633 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34635         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34636         other files in the crypt directory.
34637         * crypt/crypt.c: Remove duplicate includes.
34638         * crypt/crypt-entry.c: Likewise.
34639         * crypt/crypt_util.c: Likewise.
34641 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34643         * Makeconfig (run-program-env): New variable.
34644         (run-program-prefix-before-env): Likewise.
34645         (run-program-prefix-after-env): Likewise.
34646         (run-program-prefix): Define in terms of new variables.
34647         (built-program-cmd-before-env): New variable.
34648         (built-program-cmd-after-env): Likewise.
34649         (built-program-cmd): Define in terms of new variables.
34650         (test-program-prefix-before-env): New variable.
34651         (test-program-prefix-after-env): Likewise.
34652         (test-program-prefix): Define in terms of new variables.
34653         (test-program-cmd-before-env): New variable.
34654         (test-program-cmd-after-env): Likewise.
34655         (test-program-cmd): Define in terms of new variables.
34656         * Rules (make-test-out): Use $(run-program-env).
34657         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34658         (help): Do not mention environment variables.  Mention
34659         --timeoutfactor option.
34660         (timeoutfactor): New variable.
34661         (blacklist_exports): Remove function.
34662         (exports): Remove variable.
34663         (command): Do not include ${exports}.
34664         * manual/install.texi (Configuring and compiling): Do not mention
34665         test wrappers preserving environment variables.  Mention that last
34666         assignment to a variable must take precedence.
34667         * INSTALL: Regenerated.
34668         * benchtests/Makefile (run-bench): Use $(run-program-env).
34669         * catgets/Makefile ($(objpfx)test1.cat): Use
34670         $(built-program-cmd-before-env), $(run-program-env) and
34671         $(built-program-cmd-after-env).
34672         ($(objpfx)test2.cat): Do not specify environment variables
34673         explicitly.
34674         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34675         $(run-program-env) and $(built-program-cmd-after-env).
34676         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34677         $(run-program-env) and $(test-program-cmd-after-env).
34678         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34679         explicitly.
34680         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34681         run_program_env and test_program_cmd_after_env arguments.
34682         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34683         * elf/tst-pathopt.sh: Use run_program_env argument.
34684         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34685         $(test-wrapper-env) and $(run-program-env).
34686         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34687         run_program_env arguments.
34688         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34689         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34690         $(test-program-prefix-before-env), $(run-program-env) and
34691         $(test-program-prefix-after-env).
34692         ($(objpfx)tst-gettext2.out): Likewise.
34693         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34694         run_program_env and test_program_prefix_after_env arguments.
34695         * intl/tst-gettext2.sh: Likewise.
34696         * intl/tst-gettext4.sh: Do not set environment variables
34697         explicitly.
34698         * intl/tst-gettext6.sh: Likewise.
34699         * intl/tst-translit.sh: Likewise.
34700         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34701         $(test-program-prefix-before-env), $(run-program-env) and
34702         $(test-program-prefix-after-env).
34703         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34704         run_program_env and test_program_prefix_after_env arguments.
34705         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34706         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34707         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34708         explicitly with each use of ${test_wrapper_env}.
34709         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34710         $(test-program-prefix-before-env), $(run-program-env) and
34711         $(test-program-prefix-after-env).
34712         * posix/tst-getconf.sh: Do not set environment variables
34713         explicitly.
34714         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34715         run_program_env and test_program_prefix_after_env arguments.
34716         * stdio-common/tst-printf.sh: Do not set environment variables
34717         explicitly.
34718         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34719         $(test-program-prefix-before-env), $(run-program-env) and
34720         $(test-program-prefix-after-env).
34721         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34722         run_program_env and test_program_prefix_after_env arguments.
34723         Split $test calls into $test_pre and $test.
34724         * timezone/Makefile (build-testdata): Use
34725         $(built-program-cmd-before-env), $(run-program-env) and
34726         $(built-program-cmd-after-env).
34728 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34730         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34731         strlen for non SHARED builds.
34733 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34735         * nptl/allocatestack.c (check_list): Inlined function...
34736         (__reclaim_stacks): ... here.
34738 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34740         [BZ #15698]
34741         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34742         memory overrun.
34744 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34746         * Rules (make-test-out): Include
34747         LOCPATH=$(common-objpfx)localedata in default environment.
34748         * debug/Makefile (tst-chk1-ENV): Remove variable.
34749         (tst-chk2-ENV): Likewise.
34750         (tst-chk3-ENV): Likewise.
34751         (tst-chk4-ENV): Likewise.
34752         (tst-chk5-ENV): Likewise.
34753         (tst-chk6-ENV): Likewise.
34754         (tst-lfschk1-ENV): Likewise.
34755         (tst-lfschk2-ENV): Likewise.
34756         (tst-lfschk3-ENV): Likewise.
34757         (tst-lfschk4-ENV): Likewise.
34758         (tst-lfschk5-ENV): Likewise.
34759         (tst-lfschk6-ENV): Likewise.
34760         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34761         (tst-iconv7-ENV): Likewise.
34762         * intl/Makefile (LOCPATH-ENV): Likewise.
34763         (tst-codeset-ENV): Likewise.
34764         (tst-gettext3-ENV): Likewise.
34765         (tst-gettext5-ENV): Likewise.
34766         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34767         (tst-fopenloc-ENV): Likewise.
34768         (tst-fgetws-ENV): Remove variable.
34769         (tst-ungetwc1-ENV): Likewise.
34770         (tst-ungetwc2-ENV): Likewise.
34771         (bug-ungetwc2-ENV): Likewise.
34772         (tst-swscanf-ENV): Likewise.
34773         (bug-ftell-ENV): Likewise.
34774         (tst-fgetwc-ENV): Likewise.
34775         (tst-fseek-ENV): Likewise.
34776         (tst-ftell-partial-wide-ENV): Likewise.
34777         (tst-ftell-active-handler-ENV): Likewise.
34778         (tst-ftell-append-ENV): Likewise.
34779         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34780         (tst-regexloc-ENV): Likewise.
34781         (bug-regex1-ENV): Likewise.
34782         (tst-regex-ENV): Likewise.
34783         (tst-regex2-ENV): Likewise.
34784         (bug-regex5-ENV): Likewise.
34785         (bug-regex6-ENV): Likewise.
34786         (bug-regex17-ENV): Likewise.
34787         (bug-regex18-ENV): Likewise.
34788         (bug-regex19-ENV): Likewise.
34789         (bug-regex20-ENV): Likewise.
34790         (bug-regex22-ENV): Likewise.
34791         (bug-regex23-ENV): Likewise.
34792         (bug-regex25-ENV): Likewise.
34793         (bug-regex26-ENV): Likewise.
34794         (bug-regex30-ENV): Likewise.
34795         (bug-regex32-ENV): Likewise.
34796         (bug-regex33-ENV): Likewise.
34797         (bug-regex34-ENV): Likewise.
34798         (bug-regex35-ENV): Likewise.
34799         (tst-rxspencer-ENV): Likewise.
34800         (tst-rxspencer-no-utf8-ENV): Likewise.
34801         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34802         (tst-sscanf-ENV): Likewise.
34803         (tst-swprintf-ENV): Likewise.
34804         (tst-swscanf-ENV): Likewise.
34805         (test-vfprintf-ENV): Likewise.
34806         (scanf13-ENV): Likewise.
34807         (bug14-ENV): Likewise.
34808         (tst-grouping-ENV): Likewise.
34809         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34810         (tst-strtod3-ENV): Likewise.
34811         (tst-strtod4-ENV): Likewise.
34812         (tst-strtod5-ENV): Likewise.
34813         (testmb2-ENV): Likewise./
34814         * string/Makefile (tst-strxfrm-ENV): Likewise.
34815         (tst-strxfrm2-ENV): Likewise.
34816         (bug-strcoll1-ENV): Likewise.
34817         (test-strcasecmp-ENV): Likewise.
34818         (test-strncasecmp-ENV): Likewise.
34819         * time/Makefile (tst-strptime-ENV): Likewise.
34820         (tst-ftime_l-ENV): Likewise.
34821         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34822         (tst-mbrtowc-ENV): Likewise.
34823         (tst-wcrtomb-ENV): Likewise.
34824         (tst-mbrtowc2-ENV): Likewise.
34825         (tst-c16c32-1-ENV): Likewise.
34826         (tst-mbsnrtowcs-ENV): Likewise.
34828 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34830         * manual/resource.texi (How to get information about the memory
34831         subsystem?): Fix typo.
34832         Reported by Peon de la Parra Ivan <peon@keba.com>
34834 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34836         [BZ #16882]
34837         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34838         (pthread_spin_lock): Branch out of spin loop to proper location.
34839         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34840         (pthread_spin_lock): Likewise.
34842         * nptl/tst-spin4.c: New test.
34843         * nptl/Makefile (tests): Add tst-spin4.
34845 2014-06-03  Andreas Schwab  <schwab@suse.de>
34847         [BZ #15946]
34848         * resolv/res_send.c (send_dg): Reload file descriptor after
34849         calling reopen.
34851 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34853         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34855 2014-06-03  Richard Henderson  <rth@redhat.com>
34857         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34858         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34859         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34860         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34861         in the SAVE_PID block.
34862         (__libc_vfork): New alias.
34863         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34865         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34866         child in registers, not on the stack.  Remove RESET_PID conditionals.
34867         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34869 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34871         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34873 2014-06-03  Wilco  <wdijkstr@arm.com>
34875         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34876         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34877         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34878         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34879         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34880         Likewise.
34882 2014-06-03  Wilco  <wdijkstr@arm.com>
34884         * sysdeps/aarch64/fpu/math_private.h
34885         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34886         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34887         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34888         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34889         Fix declarations.
34891 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34893         * crypt/crypt-private.h: Include ufc-crypt.h.
34894         (__b64_from_24bit): Declare extern.
34895         * crypt/crypt_util.c(__b64_from_24bit): New function.
34896         (b64t): New static const variable.
34897         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34898         (b64t): Remove variable.
34899         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34900         * crypt/sha256-crypt.c: Include crypt-private.h.
34901         (b64t): Remove variable.
34902         (__sha256_crypt_r): Remove b64_from_24bit and replace
34903         with __b64_from_24bit.
34904         * crypt/sha512-crypt.c: Likewise.
34906 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34908         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34909         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34910         Label the code __libc_vfork rather than __vfork.
34911         [!NOT_IN_libc] (vfork): Define as weak alias.
34912         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34913         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34914         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34916 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34918         * malloc/malloc.c (malloc_info): Fix format specifier for
34919         n_mmaps.
34921 2014-06-02  Wilco  <wdijkstr@arm.com>
34923         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34924         FPCR write.
34926 2014-06-02  Wilco  <wdijkstr@arm.com>
34928         [BZ #17009]
34929         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34930         Rewrite to reduce FPCR/FPSR accesses.
34932 2014-06-01  David S. Miller  <davem@davemloft.net>
34934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34936 2014-05-31  David S. Miller  <davem@davemloft.net>
34938         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34939         to occur in round to nearest mode when |x| >= 2.0
34941 2014-05-30  Richard Henderson  <rth@twiddle.net>
34943         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34944         (PSEUDO_RET_NOERRNO): Remove.
34945         (ret): Don't redefine.
34946         (ret_NOERRNO): Define in terms of ret.
34947         (ret_ERRVAL): Likewise.
34949         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34950         use of PSEUDO_RET; perform the error check directly.
34952 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34954         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34955         with __int128_t.
34957 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34959         * malloc/malloc (malloc_info): Fix formatting.
34961 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34962             Roland McGrath  <roland@hack.frob.com>
34964         * malloc/malloc (malloc_info): Also print mmapped statistics.
34966 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34968         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34969         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34971 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34973         * malloc/malloc.c (malloc_info): Inline mi_arena.
34975 2014-05-29  Richard Henderson  <rth@twiddle.net>
34977         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34978         Remove comma before expanding ASM_ARGS_##nr.
34979         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34980         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34981         of ASM_ARGS_##nr.
34982         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34983         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34984         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34985         (ASM_ARGS_1): Add leading comma.
34987         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34988         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34989         to __errno_location.
34990         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34991         Remove the expected plt for __errno_location.
34993         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34994         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34995         call to __read_tp.
34997         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34998         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34999         it and break it down.
35000         (DOCARGS_0, DOCARGS_1): Do nothing.
35001         (DOCARGS_2): Update to store into the new stack frame.
35002         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35003         (UNDOCARGS_1): Update to restore from the new stack frame.
35004         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35005         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35007         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35008         (SINGLE_THREAD_P): New parameter for result regno.
35009         (PSEUDO): Update to match; use cbz instead of beq.
35011         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35012         Use ENTRY to define the _nocancel entry point.  Share the syscall
35013         and syscall error check paths with the cancel path.
35014         (PSEUDO_END): New.
35016         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35017         whitespace; tabs before and after asm mnemonics.
35019 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35021         [BZ #15132]
35022         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35023         Call fstat64 or stat64 internally, depending on arguments passed.
35024         Replace stat buffer argument with file descriptor argument.
35025         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35026         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35027         Pass fd to __internal_statvfs instead of calling fstat64.
35028         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35029         Pass fd to __internal_statvfs64 instead of calling fstat64.
35030         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35031         Pass -1 to __internal_statvfs instead of calling stat64.
35032         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35033         Pass -1 to __internal_statvfs64 instead of calling stat64.
35035 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35037         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35038         that was previously under [RESET_PID].
35039         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35041         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35042         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35044 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35046         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35048         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35049         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35051 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35053         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35055 2014-05-27  Andreas Schwab  <schwab@suse.de>
35057         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35058         TLS_INIT_TP macro.
35059         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35060         * elf/rtld.c (init_tls, dl_main): Likewise.
35061         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35062         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35063         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35064         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35065         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35066         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35067         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35068         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35069         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35070         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35071         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35072         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35073         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35074         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35075         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35076         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35077         * sysdeps/generic/tls.h: Update description.
35079 2014-05-27  Will Newton  <will.newton@linaro.org>
35081         [BZ #16990]
35082         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35083         and restore r2 rather than just restoring.
35085 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35087         [BZ #16724]
35088         * libio/tst-ftell-append.c: New test case.
35089         * libio/Makefile (tests): Add test case.
35090         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35091         append mode.
35092         * libio/wfileops.c (do_ftell_wide): Likewise.
35094 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35098         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35099         ...
35100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35102         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35103         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35104         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35105         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35106         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35107         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35108         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35109         Moved ...
35110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35111         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35112         Moved ...
35113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35114         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35115         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35116         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35117         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35118         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35119         ...
35120         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35121         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35122         Moved ...
35123         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35124         here.
35125         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35126         ...
35127         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35128         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35129         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35131         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35132         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35133         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35134         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35136         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35137         merge into ...
35138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35139         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35140         ...
35141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35143         ...
35144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35145         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35146         Moved ...
35147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35148         here.
35149         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35150         Moved ...
35151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35152         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35153         Moved ...
35154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35157         conditional [RESET_PID].
35158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35159         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35160         removed.
35161         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35162         removed.
35164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35165         <tcb-offsets.h>.
35166         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35167         (__libc_vfork): New strong alias.
35168         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35169         removed.
35170         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35171         Removed.
35173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35174         <tcb-offsets.h>.
35175         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35176         (__libc_vfork): New strong alias.
35177         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35178         removed.
35179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35180         removed.
35182 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35184         * malloc/malloc.c (mi_arena): New function.
35185         (malloc_info): Remove nested function mi_arena. Call non-nosted
35186         function mi_arena.
35188 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35190         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35191         by insrwi.
35192         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35193         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35194         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35195         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35196         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35197         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35198         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35200 2014-05-26  Andreas Schwab  <schwab@suse.de>
35202         [BZ #16984]
35203         * locale/programs/repertoire.c (repertoire_read): Add slash
35204         between I18NPATH element and file name.
35205         * locale/programs/locfile.c (locfile_read): Likewise.
35207 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35209         * nptl/pthread_mutexattr_settype.c
35210         (__pthread_mutexattr_settype):
35211         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35213 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35215         * nptl/tst-mutex5 (do_test):
35216         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35218 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35220         * benchtests/README: Document 'init' directive.
35221         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35222         BENCH_INIT.
35223         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35224         (parse_file): Recognize 'init' directive.
35226 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35228         [BZ #16796]
35229         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35230         alignment of struct pthread.
35232 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35234         [BZ #16878]
35235         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35236         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35237         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35238         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35240 2014-05-25  Richard Henderson  <rth@twiddle.net>
35242         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35243         (SINGLE_THREAD_P_PIC): Remove.
35244         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35245         (SINGLE_THREAD_P_PIC): Remove.
35247         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35248         branch to syscall error ...
35249         (PSEUDO): ... here.
35250         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35251         from __local_syscall_error to .Lsyscall_error.
35252         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35253         (SYSCALL_ERROR): Update label name.
35255         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35256         Do not use DOARGS/UNDOARGS.
35257         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35258         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35259         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35260         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35261         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35263         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35264         block comment.
35266         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35267         define if !NOT_IN_libc.
35268         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35269         define with non-default symbol versions.
35271 2014-05-23  Richard Henderson  <rth@twiddle.net>
35273         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35274         (vfork, __vfork): Define via compat_symbol.
35276         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35277         [!HAVE_IFUNC] (vfork_compat): Remove.
35278         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35280 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35282         [BZ #16978]
35283         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35284         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35285         variable.
35287 2014-05-23  Richard Henderson  <rth@twiddle.net>
35289         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35290         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35291         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35292         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35294         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35295         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35296         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35297         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35298         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35299         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35300         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35301         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35302         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35303         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35304         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35305         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35306         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35307         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35308         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35309         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35310         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35311         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35312         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35313         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35314         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35315         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35316         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35317         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35318         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35319         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35320         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35321         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35322         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35323         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35324         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35325         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35326         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35327         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35328         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35329         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35330         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35331         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35332         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35333         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35334         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35335         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35336         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35337         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35338         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35339         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35340         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35341         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35342         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35343         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35344         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35345         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35346         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35347         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35348         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35349         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35351         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35352         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35353         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35354         before exiting on error.
35355         (__libc_vfork): New strong alias.
35356         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35357         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35359         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35360         that was previously under [RESET_PID].
35361         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35363         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35365 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35367         [BZ #16977]
35368         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35369         value when x - 1 is zero.
35370         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35371         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35372         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35373         0.0L for an argument of 1.0L.
35374         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35375         Likewise.
35376         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35377         value when x - 1 is zero.
35378         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35379         * sysdeps/i386/fpu/libm-test-ulps: Update.
35380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35382 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35384         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35385         alphasort and versionsort.
35387 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35389         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35390         macro.
35391         [copysignf]: Likewise.
35393 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35395         * crypt/md5-crypt.c: Fix formatting.
35397 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35399         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35400         (b64_from_24bit): New function.
35402 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35404         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35405         libc_hidden_builtin_def to ifunc.
35406         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35407         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35409 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35411         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35412         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35414 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35416         * nscd/Depend (linuxthreads): Remove.
35417         (nptl): Add.
35418         * resolv/Depend (linuxthreads): Remove.
35419         * rt/Depend (linuxthreads): Remove.
35421         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35422         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35423         $(common-objpfx)elf/.
35424         (link-libc-before-gnulib): Likewise.
35425         (elfobjdir): Remove variable.
35426         * Makefile (install): Use $(elf-objpfx) instead of
35427         $(common-objpfx)elf/.
35428         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35429         $(elfobjdir)/.
35430         (link-libc-deps): Likewise.
35431         ($(common-objpfx)libc.so): Likewise.
35432         ($(common-objpfx)linkobj/libc.so): Likewise.
35433         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35434         instead of $(common-objpfx)elf/.
35435         (symbolic-link-list): Likewise.
35436         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35437         [$(cross-compiling) = no]: Likewise.
35438         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35439         $(elfobjdir)/.
35440         (static-gnulib-arch): Likewise.
35441         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35442         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35443         $(common-objpfx)elf/.
35445 2014-05-21  Richard Henderson  <rth@redhat.com>
35447         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35448         (SINGLE_THREAD_P): Use the correct width load.  Fold
35449         into the ldr offset.
35451         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35452         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35454 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35456         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35457         (libgcc_s_resume): Use __attribute_used__.
35458         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35459         Likewise.
35461 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35463         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35464         optimization when used with float constants.
35466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35468 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35470         [BZ #16915]
35471         * locale/nl_langinfo_l.c: Make direct reference to every
35472         _nl_current_CATEGORY symbol.
35473         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35474         (tests-static): Add tst-langinfo-static.
35475         (tests-special): Add tst-langinfo-static.out.
35476         ($(objpfx)tst-langinfo.out): Redirect output.
35477         ($(objpfx)tst-langinfo-static.out): New.
35478         * localedata/tst-langinfo.sh: Send output to stdout.
35479         * localedata/tst-langinfo-static.c: New file.
35481         [BZ #16965]
35482         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35483         when the shift amount is modulo the limb size.
35485 2014-05-20  Richard Henderson  <rth@redhat.com>
35487         [BZ #16967]
35488         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35489         Change type of sa_flags from unsigned int to int.
35491         [BZ #16966]
35492         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35494         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35496 2014-05-20  Will Newton  <will.newton@linaro.org>
35498         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35499         Test the return value of the system call in the nocancel case.
35501 2014-05-20  Will Newton  <will.newton@linaro.org>
35502             Yvan Roux  <yvan.roux@linaro.org>
35504         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35505         #include of asm/ptrace.h.
35506         (PTRACE_GET_THREAD_AREA): Remove #undef.
35507         (PTRACE_GETHBPREGS): Likewise.
35508         (PTRACE_SETHBPREGS): Likewise.
35509         (struct user_regs_struct): New structure.
35510         (struct user_fpsimd_struct): New structure.
35511         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35512         #include of asm/ptrace.h and second #include of sys/user.h.
35513         (PTRACE_GET_THREAD_AREA): Remove #undef.
35514         (PTRACE_GETHBPREGS): Likewise.
35515         (PTRACE_SETHBPREGS): Likewise.
35516         (ELF_NGREG): Use new struct user_regs_struct.
35517         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35519 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35521         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35522         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35524 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35526         [BZ #16958]
35527         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35528         membar to avoid block loads/stores to overlap previous stores.
35530 2014-05-17  Richard Henderson  <rth@redhat.com>
35532         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35533         Create the __##syscall_name##_nocancel entry point.
35534         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35535         Remove; let the sysdep-cancel.h code create it.
35537 2014-05-17  David S. Miller  <davem@davemloft.net>
35539         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35540         Protect with __USE_GNU.
35541         (TIOCSET_TEMPT): Likewise.
35542         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35543         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35544         these are already provided in bits/ioctl-types.h
35546 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35548         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35549         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35551         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35552         Use wait4 regardless of [__NR_waitpid].
35554 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35556         PR libgcc/60166
35557         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35558         (_FP_NANSIGN_Q): Set the quiet bit.
35560 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35562         * benchtests/Makefile
35563         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35564         not $(common-objpfx)math/libm.so.
35565         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35566         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35567         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35568         $(common-objpfx)dlfcn/libdl.so.
35569         ($(objpfx)tst-audit8): Depend on $(libm), not
35570         $(common-objpfx)math/libm.so.
35571         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35572         not $(common-objpfx)dlfcn/libdl.so.
35573         * math/Makefile
35574         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35575         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35576         [$(build-shared) = yes].
35577         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35578         $(common-objpfx)nptl/libpthread.so.
35579         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35580         $(common-objpfx)math/libm.so$(libm.so-version) or
35581         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35582         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35583         $(common-objpfx)dlfcn/libdl.so.
35584         * setjmp/Makefile (link-libm): Remove variable.
35585         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35586         * stdio-common/Makefile (link-libm): Remove variable.
35587         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35588         * stdlib/Makefile (link-libm): Remove variable.
35589         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35590         ($(objpfx)tst-strtod-round): Likewise.
35591         ($(objpfx)tst-tininess): Likewise.
35592         ($(objpfx)tst-strtod-underflow): Likewise.
35593         ($(objpfx)tst-strtod6): Likewise.
35594         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35595         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35596         $(common-objpfx)dlfcn/libdl.so.
35598 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35600         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35601         BSD terminal modes definitions.
35603 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35605         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35606         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35608         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35609         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35610         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35611         Don't do #include_next.
35612         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35613         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35614         Don't do #include_next.
35615         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35616         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35617         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35618         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35620 2014-05-16  Allan McRae  <allan@archlinux.org>
35622         * po/sv.po: Update Swedish translation from translation project.
35624         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35625         in sed expression.
35627 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35629         [BZ #16917]
35630         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35631         errno if the TIOCGPTN ioctl fails with an error different than
35632         EINVAL.
35633         * login/tst-ptsname.c: New file.
35634         * login/Makefile (tests): Add tst-ptsname.
35636         [BZ #16943]
35637         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35638         and prlimit64.
35640 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35642         [BZ #16849]
35643         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35644         herrno to return EAI_AGAIN.
35646 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35648         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35649         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35650         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35651         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35652         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35653         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35654         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35655         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35656         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35657         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35658         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35659         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35660         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35661         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35662         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35663         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35664         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35665         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35666         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35667         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35668         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35669         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35670         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35671         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35672         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35673         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35674         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35675         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35676         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35677         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35679         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35681         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35683         Moved ...
35684         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35686         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35688         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35690         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35692         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35694         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35696         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35698         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35700         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35702         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35704         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35706         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35708         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35710         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35712         Moved ...
35713         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35715         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35717         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35719         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35721         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35723         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35725         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35727         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35729         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35731         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35733         Moved ...
35734         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35736         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35738         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35739         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35740         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35741         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35742         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35743         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35744         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35745         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35746         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35747         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35748         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35749         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35750         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35751         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35752         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35753         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35754         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35755         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35756         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35757         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35758         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35759         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35760         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35761         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35762         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35763         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35764         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35765         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35766         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35767         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35768         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35770         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35771         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35773         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35774         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35775         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35776         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35777         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35778         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35779         Moved ...
35780         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35781         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35782         Moved ...
35783         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35784         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35785         Moved ...
35786         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35787         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35788         Moved ...
35789         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35790         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35791         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35792         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35793         Moved ...
35794         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35795         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35796         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35797         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35798         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35799         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35800         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35801         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35802         Moved ...
35803         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35804         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35805         Moved ...
35806         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35807         ... here.
35808         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35809         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35810         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35811         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35812         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35813         Moved ...
35814         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35815         ... here.
35816         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35817         Moved ...
35818         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35819         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35820         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35821         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35822         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35823         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35824         Moved ...
35825         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35826         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35827         Moved ...
35828         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35829         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35830         Moved ...
35831         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35832         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35833         Moved ...
35834         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35835         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35836         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35837         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35838         Moved ...
35839         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35840         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35841         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35842         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35843         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35844         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35845         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35846         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35847         Moved ...
35848         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35849         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35850         Moved ...
35851         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35852         ... here.
35853         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35854         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35855         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35856         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35857         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35858         Moved ...
35859         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35860         ... here.
35861         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35862         Moved ...
35863         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35864         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35865         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35866         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35867         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35868         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35869         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35870         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35871         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35872         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35873         Moved ...
35874         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35875         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35876         Moved ...
35877         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35878         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35879         Moved ...
35880         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35881         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35882         Moved ...
35883         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35884         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35885         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35886         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35887         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35888         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35889         Moved ...
35890         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35891         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35892         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35893         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35894         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35895         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35896         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35897         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35898         Moved ...
35899         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35900         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35901         Moved ...
35902         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35903         ... here.
35904         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35905         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35906         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35907         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35908         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35909         Moved ...
35910         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35911         ... here.
35912         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35913         Moved ...
35914         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35915         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35916         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35917         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35918         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35919         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35920         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35921         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35922         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35923         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35924         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35926         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35927         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35929         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35930         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35932         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35933         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35934         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35935         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35936         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35937         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35938         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35939         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35940         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35941         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35942         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35943         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35944         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35945         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35946         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35947         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35948         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35949         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35950         Moved ...
35951         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35952         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35953         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35954         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35955         Moved ...
35956         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35957         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35958         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35959         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35960         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35961         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35962         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35963         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35964         Moved ...
35965         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35966         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35967         Moved ...
35968         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35969         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35970         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35971         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35972         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35973         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35974         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35975         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35976         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35977         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35978         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35979         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35980         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35981         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35982         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35983         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35984         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35986         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35987         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35988         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35989         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35990         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35992         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35993         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35994         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35995         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35996         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35997         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35998         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35999         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36000         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36001         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36003         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36004         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36006         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36007         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36008         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36009         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36010         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36011         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36012         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36013         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36014         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36015         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36016         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36017         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36018         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36019         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36020         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36021         Update #include.
36022         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36023         Likewise.
36024         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36025         Likewise.
36026         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36027         Likewise.
36028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36029         Likewise.
36030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36031         Likewise.
36032         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36033         Likewise.
36034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36035         Likewise.
36036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36037         Likewise.
36038         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36039         Likewise.
36040         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36041         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36042         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36043         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36044         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36045         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36046         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36047         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36048         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36049         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36050         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36051         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36052         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36053         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36054         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36056         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36057         that was previously under [RESET_PID].
36058         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36059         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36060         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36062         * sysdeps/i386/nptl/Implies: New file.
36063         * sysdeps/x86_64/nptl/Implies: New file.
36064         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36065         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36066         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36067         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36069         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36070         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36071         (__libc_vfork): New strong alias.
36072         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36073         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36075         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36076         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36077         (__libc_vfork): New strong alias.
36078         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36079         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36081         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36082         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36083         (__libc_vfork): New strong alias.
36084         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36085         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36086         * nptl/pt-vfork.c: New file.
36087         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36088         (libpthread: GLIBC_2.20): New version set (empty).
36090 2014-05-14  Will Newton  <will.newton@linaro.org>
36092         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36093         rather than #if.
36095 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36097         [BZ #16564]
36098         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36099         arguments with exponent 65 or above.
36100         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36101         arguments 0x1p113L or above.
36102         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36103         to arguments 0x1p107L or above.
36104         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36105         positive arguments with exponent 65 or above.
36106         * math/auto-libm-test-in: Add more tests of log1p.
36107         * math/auto-libm-test-out: Regenerated.
36109         [BZ #16928]
36110         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36111         non-finite arguments is +0.
36112         * math/s_cacosf.c (__cacosf): Likewise.
36113         * math/s_cacosl.c (__cacosl): Likewise.
36114         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36115         * sysdeps/i386/fpu/libm-test-ulps: Update.
36116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36118         [BZ #16927]
36119         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36120         value.
36121         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36122         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36123         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36124         for explicit high bit of mantissa when testing for argument equal
36125         to 1.
36126         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36127         * sysdeps/i386/fpu/libm-test-ulps: Update.
36128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36130         [BZ #16516]
36131         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36132         (__erf): Scale by 16 instead of 8 in potentially underflowing
36133         case.  Ensure exception if result actually underflows.
36134         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36135         (__erff): Scale by 16 instead of 8 in potentially underflowing
36136         case.  Ensure exception if result actually underflows.
36137         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36138         (efx8): Remove variable.
36139         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36140         case.  Ensure exception if result actually underflows.
36141         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36142         (efx8): Remove variable.
36143         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36144         case.  Ensure exception if result actually underflows.
36145         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36146         (efx8): Remove variable.
36147         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36148         case.  Ensure exception if result actually underflows.
36149         * math/auto-libm-test-in: Add more tests of erf.
36150         * math/auto-libm-test-out: Regenerated.
36152 2014-05-14  Andreas Schwab  <schwab@suse.de>
36154         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36155         Remove code conditionalized on USE___THREAD.
36157         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36158         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36159         not definedness.
36161 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36163         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36164         Define unconditionally.
36165         (__ASSUME_O_CLOEXEC): Likewise.
36166         (__ASSUME_SOCK_CLOEXEC): Likewise.
36167         (__ASSUME_IN_NONBLOCK): Likewise.
36168         (__ASSUME_PIPE2): Likewise.
36169         (__ASSUME_EVENTFD2): Likewise.
36170         (__ASSUME_SIGNALFD4): Likewise.
36171         (__ASSUME_DUP3): Likewise.
36172         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36173         (__ASSUME_DUP3): Do not define.
36174         (__ASSUME_EVENTFD2): Likewise.
36175         (__ASSUME_IN_NONBLOCK): Likewise.
36176         (__ASSUME_O_CLOEXEC): Likewise.
36177         (__ASSUME_PIPE2): Likewise.
36178         (__ASSUME_SIGNALFD4): Likewise.
36179         (__ASSUME_SOCK_CLOEXEC): Likewise.
36180         (__ASSUME_UTIMES): Undefine.
36181         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36182         (__ASSUME_UTIMES): Do not define.
36183         (__ASSUME_O_CLOEXEC): Likewise.
36184         (__ASSUME_SOCK_CLOEXEC): Likewise.
36185         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36186         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36187         0x020621].
36188         (__ASSUME_PIPE2): Likewise.
36189         (__ASSUME_EVENTFD2): Likewise.
36190         (__ASSUME_SIGNALFD4): Likewise.
36191         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36192         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36193         Do not define.
36194         (__ASSUME_EVENTFD2): Likewise.
36195         (__ASSUME_SIGNALFD4): Likewise.
36196         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36197         (__ASSUME_32BITUIDS): Likewise.
36198         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36199         (__ASSUME_IPC64): Likewise.
36200         (__ASSUME_ST_INO_64_BIT): Likewise.
36201         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36202         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36203         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36204         (__ASSUME_UTIMES): Do not define.
36205         (__ASSUME_PSELECT): Likewise.
36206         (__ASSUME_PPOLL): Likewise.
36207         (__ASSUME_O_CLOEXEC): Likewise.
36208         (__ASSUME_SOCK_CLOEXEC): Likewise.
36209         (__ASSUME_IN_NONBLOCK): Likewise.
36210         (__ASSUME_PIPE2): Likewise.
36211         (__ASSUME_EVENTFD2): Likewise.
36212         (__ASSUME_SIGNALFD4): Likewise.
36213         (__ASSUME_DUP3): Likewise.
36214         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36215         (__ASSUME_UTIMES): Likewise.
36216         (__ASSUME_O_CLOEXEC): Likewise.
36217         (__ASSUME_SOCK_CLOEXEC): Likewise.
36218         (__ASSUME_IN_NONBLOCK): Likewise.
36219         (__ASSUME_PIPE2): Likewise.
36220         (__ASSUME_EVENTFD2): Likewise.
36221         (__ASSUME_SIGNALFD4): Likewise.
36222         (__ASSUME_DUP3): Likewise.
36223         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36224         (__ASSUME_UTIMES): Likewise.
36225         (__ASSUME_O_CLOEXEC): Likewise.
36226         (__ASSUME_SOCK_CLOEXEC): Likewise.
36227         (__ASSUME_IN_NONBLOCK): Likewise.
36228         (__ASSUME_PIPE2): Likewise.
36229         (__ASSUME_EVENTFD2): Likewise.
36230         (__ASSUME_SIGNALFD4): Likewise.
36231         (__ASSUME_DUP3): Likewise.
36232         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36233         Likewise.
36234         (__ASSUME_UTIMES): Likewise.
36235         (__ASSUME_EVENTFD2): Likewise.
36236         (__ASSUME_SIGNALFD4): Likewise.
36237         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36238         (__ASSUME_O_CLOEXEC): Likewise.
36239         (__ASSUME_SOCK_CLOEXEC): Likewise.
36240         (__ASSUME_IN_NONBLOCK): Likewise.
36241         (__ASSUME_PIPE2): Likewise.
36242         (__ASSUME_EVENTFD2): Likewise.
36243         (__ASSUME_SIGNALFD4): Likewise.
36244         (__ASSUME_DUP3): Likewise.
36245         (__ASSUME_UTIMES): Undefine.
36247         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36248         feclearexcept.  Remove symbol versioning code.
36249         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36250         symbol versioning code.
36251         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36252         symbol versioning code.
36253         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36254         feupdateenv.  Remove symbol versioning code.
36255         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36256         fegetexceptflag.  Remove symbol versioning code.
36257         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36258         fesetexceptflag.  Remove symbol versioning code.
36259         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36260         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36261         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36262         (__posix_fadvise64_l32): Remove prototype.
36263         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36264         code.
36266 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36268         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36269         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36270         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36271         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36273 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36275         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36276         current working directory
36278 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36280         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36281         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36282         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36283         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36284         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36285         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36286         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36287         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36288         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36289         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36290         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36291         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36292         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36293         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36294         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36295         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36296         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36297         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36298         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36299         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36300         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36301         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36302         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36303         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36304         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36305         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36306         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36307         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36308         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36309         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36310         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36311         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36312         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36313         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36314         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36315         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36316         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36317         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36318         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36319         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36320         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36321         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36323         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36324         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36326         * sysdeps/unix/sysv/linux/arm/Makefile
36327         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36328         Add rt-aeabi_unwind_cpp_pr1.
36329         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36330         Add nptl-aeabi_unwind_cpp_pr1.
36331         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36332         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36333         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36334         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36335         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36336         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36338         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36339         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36340         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36341         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36343         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36344         Deconditionalize the code that was previously under [RESET_PID].
36345         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36347         * sysdeps/generic/exit-thread.h: New file.
36348         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36349         * include/unistd.h (__exit_thread): Remove declaration.
36350         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36351         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36352         * csu/libc-start.c: Include <exit-thread.h>.
36353         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36354         * nptl/pthread_create.c: Include <exit-thread.h>.
36355         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36356         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36357         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36358         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36359         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36360         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36361         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36362         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36363         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36364         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36365         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36366         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36367         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36368         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36369         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36370         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36371         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36373 2014-05-13  Andreas Schwab  <schwab@suse.de>
36375         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36377 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36379         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36380         (__ASSUME_UTIMES): Do not condition on kernel version.
36381         (__ASSUME_PSELECT): Define unconditionally.
36382         (__ASSUME_PPOLL): Likewise.
36383         (__ASSUME_ATFCTS): Likewise.
36384         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36385         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36386         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36387         (__ASSUME_UTIMENSAT): Define unconditionally.
36388         (__ASSUME_PRIVATE_FUTEX): Likewise.
36389         (__ASSUME_FALLOCATE): Likewise.
36390         (__ASSUME_O_CLOEXEC): Likewise.
36391         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36392         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36393         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36394         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36395         (__ASSUME_IN_NONBLOCK): Likewise.
36396         (__ASSUME_PIPE2): Likewise.
36397         (__ASSUME_EVENTFD2): Likewise.
36398         (__ASSUME_SIGNALFD4): Likewise.
36399         (__ASSUME_DUP3): Likewise.
36400         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36401         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36402         (__ASSUME_AT_RANDOM): Likewise.
36403         (__ASSUME_PREADV): Likewise.
36404         (__ASSUME_PWRITEV): Likewise.
36405         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36406         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36407         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36408         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36409         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36410         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36411         (__ASSUME_O_CLOEXEC): Define unconditionally.
36412         (__ASSUME_PSELECT): Do not undefine conditionally.
36413         (__ASSUME_PPOLL): Likewise.
36414         (__ASSUME_ATFCTS): Likewise.
36415         (__ASSUME_SET_ROBUST_LIST): Likewise.
36416         (__ASSUME_UTIMENSAT): Likewise.
36417         (__ASSUME_FDATASYNC): Define unconditionally.
36418         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36419         (__ASSUME_SIGFRAME_V2): Likewise.
36420         )__ASSUME_EVENTFD2): Likewise.
36421         (__ASSUME_SIGNALFD4): Likewise.
36422         (__ASSUME_PSELECT): Do not undefine conditionally.
36423         (__ASSUME_PPOLL): Likewise.
36424         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36425         (__ASSUME_PSELECT): Define unconditionally.
36426         (__ASSUME_PPOLL): Likewise.
36427         (__ASSUME_O_CLOEXEC): Likewise.
36428         (__ASSUME_SOCK_CLOEXEC): Likewise.
36429         (__ASSUME_IN_NONBLOCK): Likewise.
36430         (__ASSUME_PIPE2): Likewise.
36431         (__ASSUME_EVENTFD2): Likewise.
36432         (__ASSUME_SIGNALFD4): Likewise.
36433         (__ASSUME_DUP3): Likewise.
36434         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36435         (__ASSUME_O_CLOEXEC): Likewise.
36436         (__ASSUME_SOCK_CLOEXEC): Likewise.
36437         (__ASSUME_IN_NONBLOCK): Likewise.
36438         (__ASSUME_PIPE2): Likewise.
36439         (__ASSUME_EVENTFD2): Likewise.
36440         (__ASSUME_SIGNALFD4): Likewise.
36441         (__ASSUME_DUP3): Likewise.
36442         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36443         (__ASSUME_EVENTFD2): Likewise.
36444         (__ASSUME_SIGNALFD4): Likewise.
36445         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36447 2014-05-12  Andreas Schwab  <schwab@suse.de>
36449         [BZ #16932]
36450         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36451         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36452         than maximum RPC packet size.
36453         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36454         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36455         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36456         (_nss_nis_getservbyport_r): Likewise.
36458 2014-05-12  Will Newton  <will.newton@linaro.org>
36460         * malloc/Makefile (tests): Add tst-mallopt.
36461         * malloc/tst-mallopt.c: New file.
36463 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36465         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36466         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36468 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36470         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36471         (tst-tlsmod6.so): Likewise.
36473 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36475         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36477 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36479         [BZ #16064]
36480         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36481         and <dl-procinfo.h>.
36482         (__fegetenv): Save SSE state in envp->__eip if supported.
36483         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36484         envp->__eip if supported.
36485         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36486         and <dl-procinfo.h>.
36487         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36488         __data_offset and __data_selector in environment to 0.  Set SSE
36489         state if supported.
36490         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36491         test-fenv-sse.
36492         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36493         -mfpmath=sse.
36494         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36496 2014-05-09  Will Newton  <will.newton@linaro.org>
36498         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36499         and libc_relro_required for ARM.
36500         * sysdeps/arm/preconfigure: Regenerate.
36502 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36503             Stefan Liebler  <stli@linux.vnet.ibm.com>
36505         * config.make.in (enable-lock-elision): New Makefile variable.
36506         * configure.ac: Likewise.
36507         * configure: Regenerate.
36508         * sysdeps/s390/configure.ac:
36509         Add check for gcc transactions support.
36510         * sysdeps/s390/configure: Regenerate.
36511         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36512         Build elision files if enabled.
36513         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36514         Add lock elision support for s390.
36515         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36516         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36517         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36518         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36519         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36520         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36521         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36522         Likewise.
36523         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36524         Likewise.
36525         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36526         Likewise.
36527         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36528         Likewise.
36529         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36530         (__lll_timedlock_elision, __lll_lock_elision)
36531         (__lll_unlock_elision, __lll_trylock_elision)
36532         (lll_timedlock_elision, lll_lock_elision)
36533         (lll_unlock_elision, lll_trylock_elision): Add.
36534         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36535         (pthread_mutex_t): Add lock elision support for s390.
36537 2014-05-14  Wilco  <wdijkstr@arm.com>
36539         * sysdeps/arm/fclrexcpt.c: Cleanup.
36540         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36541         * sysdeps/arm/feenablxcpt.c: Cleanup.
36542         * sysdeps/arm/fegetenv.c: Cleanup.
36543         * sysdeps/arm/fegetexcept.c: Cleanup.
36544         * sysdeps/arm/fegetround.c: Cleanup.
36545         * sysdeps/arm/feholdexcpt.c: Cleanup.
36546         * sysdeps/arm/fesetenv.c: Cleanup.
36547         * sysdeps/arm/fesetround.c: Cleanup.
36548         * sysdeps/arm/feupdateenv.c: Cleanup.
36549         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36550         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36551         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36552         * sysdeps/arm/ftestexcept.c: Cleanup.
36553         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36554         * sysdeps/arm/setfpucw.c: Cleanup.
36556 2014-05-09  Will Newton  <will.newton@linaro.org>
36558         * sysdeps/arm/armv7/strcmp.S: New file.
36559         * NEWS: Mention addition of ARMv7 optimized strcmp.
36561 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36563         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36564         look for %.ac rather than %.in.
36566         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36567         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36568         * sysdeps/mach/hurd/configure: Regenerated.
36569         * sysdeps/unix/sysv/linux/configure: Regenerated.
36571         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36573 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36575         [BZ# 16922]
36576         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36577         (LONG_SUB): Ditto.
36578         (PTR_SUB): Ditto.
36580 2014-05-07  Andreas Schwab  <schwab@suse.de>
36582         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36583         when skipping over non-matching result from nscd.
36585 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36587         [BZ #16876]
36588         * nptl/sockperf.c (client): Check socket return value.
36590         [BZ #16877]
36591         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36592         nscd security class.
36594 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36596         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36597         * sysdeps/arm/unwind.h: ... here.
36599 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36601         [BZ# 16916]
36602         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36603         Define.
36605 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36607         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36608         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36609         multiarch strncpy for PPC64.
36610         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36611         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36613         multiarch optimizations.
36614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36615         (__libc_ifunc_impl_list): Likewise.
36616         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36617         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36618         multiarch stpncpy for PPC64.
36619         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36620         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36622 2014-05-06  Andreas Schwab  <schwab@suse.de>
36624         [BZ #16912]
36625         * gmon/mcount.c (_MCOUNT_DECL): Use
36626         atomic_compare_and_exchange_bool_acq instead of
36627         catomic_compare_and_exchange_bool_acq.
36629 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36631         * elf/Makefile (others, install-bin): Remove pldd.
36632         (pldd-modules): Variable removed.
36633         ($(objpfx)pldd): Target removed.
36634         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36635         (others, install-bin): Append pldd here.
36636         ($(objpfx)pldd): New target.
36638         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36639         to 0, so the first #if test emitted later doesn't see it undefined.
36640         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36641         * sysdeps/gnu/errlist.c: Regenerated.
36643 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36645         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36646         [libc_hidden_builtin_def]: Define to empty value.
36647         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36648         [libc_hidden_builtin_def]: Likewise.
36649         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36650         [libc_hidden_builtin_def]: Likewise.
36651         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36652         [libc_hidden_builtin_def]: Likewise.
36653         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36654         __redirect_memcpy and define ifunc as default hidden symbol.
36655         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36656         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36658 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36660         * locale/iso-4217.def: Reintroduce XDR currency.
36662 2014-05-04  Allan McRae  <allan@archlinux.org>
36664         * po/eo.po: Update Esperanto translation from translation project.
36666 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36668         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36669         and FEATURE_INDEX_MAX to 1.
36670         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36672 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36674         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36675         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36676         * iconvdata/big5.c (ONE_DIRECTION): Define.
36677         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36678         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36679         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36680         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36681         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36682         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36683         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36684         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36685         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36686         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36687         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36688         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36689         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36690         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36691         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36692         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36693         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36694         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36695         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36696         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36697         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36698         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36699         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36700         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36701         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36702         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36703         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36704         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36705         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36706         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36707         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36708         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36709         * iconvdata/johab.c (ONE_DIRECTION): Define.
36710         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36711         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36712         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36713         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36714         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36715         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36716         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36717         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36718         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36719         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36721 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36723         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36724         (_IO_JUMPS_OFFSET): Define to 0.
36726         * nptl/sysdeps/pthread/bits/libc-lock.h
36727         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36728         (__libc_lock_define_initialized_recursive): Always define using
36729         initializer.  Modern compilers treat uninitialized (implicit zero) and
36730         explicit zero initializers the same (i.e. put the datum in bss).
36732 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36734         * nscd/nscd-client.h: Include <string.h>.
36736 2014-05-01  David S. Miller  <davem@davemloft.net>
36738         [BZ #16885]
36739         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36740         multiple zero bytes exist at the end of a string.
36741         Reported by Aurelien Jarno <aurelien@aurel32.net>
36743         * string/test-strcmp.c (check): Add explicit test for situations where
36744         there are multiple zero bytes after the first.
36746 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36748         [BZ #16890]
36749         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36750         when compiling wprintf.
36751         * stdio-common/tstdiomisc.c (t3): New function.
36752         (main): Call it.
36754 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36756         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36757         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36758         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36759         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36761 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36763         * stdlib/longlong.h: Updated from GCC.
36765 2014-05-01  Will Newton  <will.newton@linaro.org>
36766             Bernard Ogden  <bernie.ogden@linaro.org>
36768         * NEWS: Update fixed bug list.
36770         [BZ #15119]
36771         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36773 2014-04-30  David S. Miller  <davem@davemloft.net>
36775         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36776         (libc_feholdexcept_setround_sparc_ctx): New function.
36777         (libc_fesetenv_sparc_ctx): Likewise.
36778         (libc_feupdateenv_sparc_ctx): Likewise.
36779         (libc_feholdsetround_sparc_ctx): Likewise.
36780         (libc_feholdexcept_setround_ctx): Define.
36781         (libc_feholdexcept_setroundf_ctx): Likewise.
36782         (libc_feholdexcept_setroundl_ctx): Likewise.
36783         (libc_fesetenv_ctx): Likewise.
36784         (libc_fesetenvf_ctx): Likewise.
36785         (libc_fesetenvl_ctx): Likewise.
36786         (libc_feupdateenv_ctx): Likewise.
36787         (libc_feupdateenvf_ctx): Likewise.
36788         (libc_feupdateenvl_ctx): Likewise.
36789         (libc_feresetround_ctx): Likewise.
36790         (libc_feresetroundf_ctx): Likewise.
36791         (libc_feresetroundl_ctx): Likewise.
36792         (libc_feholdsetround_ctx): Likewise.
36793         (libc_feholdsetroundf_ctx): Likewise.
36794         (libc_feholdsetroundl_ctx): Likewise.
36796         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36797         with __USE_GNU instead of XOPEN cpp guards.
36799         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36800         0.
36802         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36803         with XOPEN cpp guards.
36805 2014-04-30  Julian Brown  <julian@codesourcery.com>
36807         [BZ #16888]
36808         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36809         handling.
36811 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36813         [BZ #9894]
36814         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36815         Change to 2.6.32.
36816         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36817         * sysdeps/unix/sysv/linux/configure: Regenerated.
36818         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36819         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36820         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36821         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36822         * README: Update reference to required Linux kernel version.
36823         * manual/install.texi (Linux): Update reference to required Linux
36824         kernel headers version.
36825         * INSTALL: Regenerated.
36827         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36828         header inclusion.
36829         [POSIX] (limits.h): Likewise.
36830         [POSIX] (math.h): Likewise.
36831         [POSIX] (sys/wait.h): Likewise.
36832         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36833         function.
36834         [POSIX] (stddef.h): Do not allow header inclusion.
36836 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36838         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36840 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36842         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36843         Return immediately after lll_futex_wake.
36845 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36847         [BZ #16791]
36848         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36849         structure.
36850         (datahead_init_pos): Call datahead_init_common early.
36851         (datahead_init_neg): Likewise.
36853         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36854         datahead_init_neg): New functions.
36855         * nscd/aicache.c (addhstaiX): Use them.
36856         * nscd/grpcache.c (cache_addgr): Likewise.
36857         * nscd/hstcache.c (cache_addhst): Likewise.
36858         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36859         * nscd/netgroupcache.c (do_notfound): Likewise.
36860         (addgetnetgrentX): Likewise.
36861         (addinnetgrX): Likewise.
36862         * nscd/pwdcache.c (cache_addpw): Likewise.
36863         * nscd/servicescache.c (cache_addserv): Likewise.
36865 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36866             Atsushi Onoe  <atsushi@onoe.org>
36868         [BZ #14308]
36869         [BZ #12994]
36870         [BZ #13651]
36871         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36872         one response is valid.
36873         * resolv/res_send.c (send_dg): Check for validity of other
36874         response if the current response is a referral.
36876 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36878         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36880 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36882         [BZ #16823]
36883         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36884         Always divide by positive zero when computing -Inf result.
36885         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36886         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36888 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36890         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36891         FPSCR if value do not change.
36892         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36893         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36894         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36895         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36896         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36897         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36898         function.
36900 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36902         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36903         * sysdeps/unix/sysv/linux/hppa: Move directory from
36904         ports/systeps/unix/sysv/linux/hppa.
36905         * README: Update listing for hppa-*-linux-gnu.
36907 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36909         [BZ #16754]
36910         * manual/stdio.texi (Hook functions): Fix types of stream hook
36911         functions.
36912         [BZ #16854]
36913         * socket/sys/socket.h: Fix typo in comment.
36915 2014-04-28  Wilco  <wdijkstr@arm.com>
36917         * sysdeps/arm/fenv_private.h: New file.
36918         * sysdeps/arm/math_private.h: New file.
36919         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36921 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36923         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36924         with __int128_t.
36925         (La_x86_64_retval): Likewise.
36927 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36929         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36930         fpsr if value didn't change.
36931         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36932         to fpcr if value didn't change.
36933         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36934         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36935         fpsr or fpcr if value didn't change.
36936         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36937         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36938         fpcr if value didn't change.
36939         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36940         to fpsr if value didn't change.
36942 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36944         * nptl/tst-sem3.c: Use test-skeleton.c
36945         (main): Rename to do_test.  Use return instead of
36946         exit.
36947         * nptl/tst-sem4.c: Use test-skeleton.c
36948         (main): Rename to do_test.
36950 2014-04-22  David S. Miller  <davem@davemloft.net>
36952         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36953         (struct sigaction): New struct member __glibc_reserved0, change
36954         type of sa_flags to int.
36956 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36958         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36959         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36961 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36963         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36964         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36966 2014-04-22  Will Newton  <will.newton@linaro.org>
36967             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36969         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36970         (__longjmp): Add longjmp and longjmp_target SystemTap
36971         probes.
36972         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36973         (__sigsetjmp): Add setjmp SystemTap probe.
36975 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36977         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36978         match manual order.
36980 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36982         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36984         * sysdeps/powerpc/fpu/fenv_private.h
36985         (libc_feholdexcept_setroundl_ctx): Define to
36986         libc_feholdexcept_setround_ppc_ctx.
36987         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36988         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36989         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36990         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36992 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36994         * sysdeps/aarch64/math-tests.h: New file.
36996 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36998         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36999         New.
37000         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37001         Check and set bit_AVX2_Usable.
37002         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37003         macro.
37004         (bit_AVX2): Likewise.
37005         (index_AVX2_Usable): Likewise.
37006         (CPUID_AVX2): Likewise.
37007         (HAS_AVX2): Likewise.
37009 2014-04-17  Will Newton  <will.newton@linaro.org>
37011         * manual/setjmp.texi (System V contexts): Add note that
37012         calling setcontext on a context created by a call to a
37013         signal handler is undefined.  Update text to note that
37014         setcontext from a signal handler is possible but not
37015         recommended.
37017         [BZ #16629]
37018         * stdlib/tst-setcontext.c: Include signal.h.
37019         (main): Check that the signal stack before and
37020         after swapcontext is the same.
37022         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37023         Re-implement to restore registers in user code and avoid
37024         rt_sigreturn system call.
37026 2014-04-17  Wilco  <wdijkstr@arm.com>
37028         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37029         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37030         * math/test-fenv.c: Skip exception trap tests on targets which only
37031         support non-stop mode.
37033 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37034             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37036         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37037         (libc_feholdsetround_aarch64_ctx)
37038         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37039         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37040         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37041         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37042         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37043         (libc_feresetround_noexl_ctx): Define.
37045 2014-04-16  Richard Henderson  <rth@redhat.com>
37047         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37049         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37050         unwind tables.
37052         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37053         const from the non-libc, non-ldso copy.
37055         * sysdeps/alpha/libm-test-ulps: Regenerate.
37057 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37058             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37060         * sysdeps/aarch64/fpu/math_private.h: New file.
37062 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37064         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37066 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37068         [BZ #16275]
37069         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37070         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37071         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37072         Intel MPX bound registers before _dl_profile_fixup.
37073         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37074         registers after _dl_profile_fixup.  Save and restore bound
37075         registers bnd0/bnd1 when calling _dl_call_pltexit.
37076         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37077         (LR_BND_OFFSET): Likewise.
37078         (LRV_BND0_OFFSET): Likewise.
37079         (LRV_BND1_OFFSET): Likewise.
37081 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37083         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37084         to...
37085         * sysdeps/mach/hurd/i386/tls.h: ... here.
37086         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37087         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37088         fields.
37090 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37092         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37094 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37096         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37098 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37100         [BZ #14770]
37101         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37102         * sysdeps/s390/configure: Regenerate.
37104         [BZ #16824]
37105         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37106         Set round-to-nearest internally to reduce error accumulation.
37108 2014-04-16  Alan Modra  <amodra@gmail.com>
37110         [BZ #16740]
37111         [BZ #16619]
37112         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37113         * math/libm-test.inc (frexp_test_data): Add tests.
37114         * NEWS: Update fixed bug list.
37116 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37118         * benchtests/Makefile: Depend on libraries in build directory.
37119         (bench-math): Separate out math tests.
37120         (bench-pthread): Separate out pthread tests.
37121         (bench): Include math and pthread tests.
37123 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37125         [BZ #16831]
37126         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37127         _dl_debug_initialize.
37129         * configure.ac: Remove SELinux header check.
37130         * configure: Regenerate.
37131         * nscd/selinux.c (perms): Array of const char* to permission names.
37132         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37133         default policy. Call string_to_security_class and string_to_av_perm to
37134         translate strings. Enforce default policy and call avs_has_perm with
37135         results of translated strings.
37137 2014-04-13  David S. Miller  <davem@davemloft.net>
37139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37141 2014-04-12  Allan McRae  <allan@archlinux.org>
37143         [BZ #16838]
37144         * manual/string.texi (Collation Functions): Fix qsort argument
37145         order in example.
37146         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37148 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37150         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37151         Make the test a no-op if there are no exceptions defined.
37153 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37155         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37156         enable-hardcoded-path-in-tests
37158 2014-04-11  Will Newton  <will.newton@linaro.org>
37160         * benchtests/Makefile (extra-objs): Add json-lib.o.
37161         (bench-func): Tidy up JSON output.
37162         * benchtests/bench-skeleton.c: Include json-lib.h.
37163         (main): Use JSON library functions to do output of
37164         benchmark results.
37165         * benchtests/bench-timing-type.c (main): Output the
37166         timing type simply, leaving formatting to the user.
37167         * benchtests/json-lib.c: New file.
37168         * benchtests/json-lib.h: Likewise.
37170 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37172         [BZ #15215]
37173         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37174         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37175         memory barriers.  Add comments.
37176         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37177         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37178         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37179         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37180         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37181         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37183 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37185         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37186         * sysdeps/s390/s390-64/configure.ac: ... this ...
37187         * sysdeps/s390/configure.ac: ... to here.
37188         * sysdeps/s390/s390-32/configure: Delete file.
37189         * sysdeps/s390/s390-64/configure: Delete file.
37190         * sysdeps/s390/configure: Regenerate.
37192 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37194         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37196 2014-04-11  Will Newton  <will.newton@linaro.org>
37198         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37199         to zero if it is not defined elsewhere.  (mtrim): Test
37200         the value of MALLOC_DEBUG with #if rather than #ifdef.
37202 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37204         * benchtests/pthread_once-inputs: New file.
37205         * benchtests/pthread_once-source.c: New file.
37206         * benchtests/README: Update documentation.
37208 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37209             H.J. Lu  <hongjiu.lu@intel.com>
37211         [BZ #16275]
37212         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37213         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37214         * sysdeps/x86_64/configure: Regenerated.
37215         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37216         macro.
37217         (REGISTER_SAVE_RAX): Likewise.
37218         (REGISTER_SAVE_RCX): Likewise.
37219         (REGISTER_SAVE_RDX): Likewise.
37220         (REGISTER_SAVE_RSI): Likewise.
37221         (REGISTER_SAVE_RDI): Likewise.
37222         (REGISTER_SAVE_R8): Likewise.
37223         (REGISTER_SAVE_R9): Likewise.
37224         (REGISTER_SAVE_BND0): Likewise.
37225         (REGISTER_SAVE_BND1): Likewise.
37226         (REGISTER_SAVE_BND2): Likewise.
37227         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37228         bound registers when calling _dl_fixup.
37230 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37232         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37233         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37234         of its definition.
37235         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37236         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37237         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37238         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37239         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37240         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37241         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37243 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37245         [BZ #15514]
37246         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37247         pathconf(_PC_NAME_MAX).
37249 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37251         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37252         Remove macro usage.
37253         (__PTHREAD_SPINS): Move definition to ...
37254         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37255         (__PTHREAD_SPINS): ... here.
37256         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37257         (__PTHREAD_SPIN): Likewise.
37258         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37259         (__PTHREAD_SPIN): Likewise.
37260         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37261         (__PTHREAD_SPIN): Likewise.
37262         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37263         (__PTHREAD_SPIN): Likewise.
37264         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37265         (__PTHREAD_SPIN): Likewise.
37266         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37267         (__PTHREAD_SPIN): Likewise.
37268         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37269         (__PTHREAD_SPIN): Likewise.
37270         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37271         (__PTHREAD_SPIN): Likewise.
37272         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37273         (__PTHREAD_SPIN): Likewise.
37274         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37275         (__PTHREAD_SPIN): Likewise.
37276         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37277         (__PTHREAD_SPIN): Likewise.
37278         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37279         (__PTHREAD_SPIN): Likewise.
37281         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37282         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37283         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37284         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37285         imply folder.
37286         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37287         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37288         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37289         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37290         correct imply path.
37291         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37292         strlen symbol for non multi-arch builds.
37293         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37294         missing hidden_def and weak_alias.
37296 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37298         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37300 2014-04-07  Will Newton  <will.newton@linaro.org>
37302         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37303         and contents.  [!_LIBC] Remove #ifndef and contents.
37304         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37305         * string/memccpy.c (__memccpy): Use ANSI prototype.
37306         * string/memfrob.c (memfrob): Likewise.
37307         * string/strcoll.c (STRCOLL): Likewise.
37308         * string/strlen.c (strlen): Likewise.
37309         * string/strtok.c (STRTOK): Likewise.
37310         * string/strcat.c: Remove unused #include of memcopy.h.
37311         (strcat): Use ANSI prototype.
37312         * string/strchr.c: Remove unused #include of memcopy.h.
37313         (strchr): Use ANSI prototype.
37314         * string/strcmp.c: Remove unused #include of memcopy.h.
37315         (strcmp): Use ANSI prototype.
37316         * string/strcpy.c: Remove unused #include of memcopy.h.
37317         (strcpy): Use ANSI prototype.
37319 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37321         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37322         * config.make.in (config-extra-cppflags): Set it from
37323         libc_extra_cppflags.
37324         * configure.ac (libc_extra_cflags): Make it accumulate over
37325         configure fragments.
37326         (libc_extra_cppflags): New flag.
37327         * configure. Regenerate.
37328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37329         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37330         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37333         [BZ #16815]
37334         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37335         result for FE_DOWNWARD rounding mode.
37336         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37337         Likewise.
37338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37340 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37342         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37343         in function argument name.
37345 2014-04-03  David Svoboda  <svoboda@cert.org>
37347         [BZ #5666]
37348         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37349         explicitly.
37351 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37353         * elf/dl-unmap-segments.h: New file.
37354         * sysdeps/generic/ldsodefs.h
37355         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37356         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37357         * elf/dl-fptr.c: Likewise.
37358         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37359         * sysdeps/aarch64/tlsdesc.c: Likewise.
37360         * sysdeps/arm/tlsdesc.c: Likewise.
37361         * sysdeps/i386/tlsdesc.c: Likewise.
37362         * sysdeps/tile/dl-runtime.c: Likewise.
37363         * sysdeps/x86_64/tlsdesc.c: Likewise.
37364         * elf/dl-load.h: New file.
37365         * elf/dl-load.c: Include it.
37366         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37367         Macros moved to dl-load.h.
37368         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37369         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37370         Use _dl_unmap_segments in place of __munmap.
37371         Break out segment-mapping loop into ...
37372         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37374 2014-04-03  Will Newton  <will.newton@linaro.org>
37376         * elf/dl-lookup.c (do_lookup_x): Remove comment
37377         referring to nested function and move variable
37378         declarations down to before first use.
37380 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37382         [BZ #16799]
37383         [BZ #16800]
37384         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37385         with 0 numerator.
37386         * math/s_catanf.c (__catanf): Likewise.
37387         * math/s_catanh.c (__catanh): Likewise.
37388         * math/s_catanhf.c (__catanhf): Likewise.
37389         * math/s_catanhl.c (__catanhl): Likewise.
37390         * math/s_catanl.c (__catanl): Likewise.
37391         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37392         by positive zero when computing -Inf result.
37393         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37394         (catanh_test): Likewise.
37395         * sysdeps/i386/fpu/libm-test-ulps: Update.
37396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37398         [BZ #16789]
37399         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37400         instead of using underflowing value in computing result.
37401         * math/s_clog10.c (__clog10): Likewise.
37402         * math/s_clog10f.c (__clog10f): Likewise.
37403         * math/s_clog10l.c (__clog10l): Likewise.
37404         * math/s_clogf.c (__clogf): Likewise.
37405         * math/s_clogl.c (__clogl): Likewise.
37406         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37407         (clog10_test): Likewise.
37408         * sysdeps/i386/fpu/libm-test-ulps: Update.
37409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37411 2014-04-02  Alan Modra  <amodra@gmail.com>
37413         [BZ #16739]
37414         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37415         output when value is near a power of two.  Use int64_t for lx and
37416         remove casts.  Use decimal rather than hex exponent constants.
37417         Don't use long double multiplication when double will suffice.
37418         * math/libm-test.inc (nextafter_test_data): Add tests.
37419         * NEWS: Add 16739 and 16786 to bug list.
37421         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37423         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37425 2014-04-01  Will Newton  <will.newton@linaro.org>
37427         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37428         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37430 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37432         [BZ #13347]
37433         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37434         * nptl/tst-setuid2.c: New file.
37435         * nptl/Makefile (xtests): Add tst-setuid2.
37437 2014-04-01  Alan Modra  <amodra@gmail.com>
37439         [BZ #16786]
37440         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37442 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37444         [BZ #6803]
37445         [BZ #6804]
37446         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37447         set errno as appropriate.
37448         * math/w_scalbf.c (__scalbf): Likewise.
37449         * math/w_scalbl.c (__scalbl): Likewise.
37450         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37451         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37452         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37453         Add more NaN tests.
37455         [BZ #16349]
37456         * math/w_atan2.c: Include <errno.h>.
37457         (__atan2): Set errno for result underflowing to zero.
37458         * math/w_atan2f.c: Include <errno.h>.
37459         (__atan2f): Set errno for result underflowing to zero.
37460         * math/w_atan2l.c: Include <errno.h>.
37461         (__atan2l): Set errno for result underflowing to zero.
37462         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37463         tests.
37464         * math/auto-libm-test-out: Regenerated.
37466 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37468         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37469         Encode instruction correctly in little endian.
37470         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37471         Likewise.
37472         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37473         Likewise.
37474         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37475         Likewise.
37476         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37477         Likewise.
37479 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37481         [BZ #9894]
37482         * sysdeps/unix/sysv/linux/kernel-features.h
37483         [__sparc__ && !__arch64__ && !__sparc_v9__]
37484         (__ASSUME_SET_ROBUST_LIST): Do not define.
37485         [__sparc__ && !__arch64__ && !__sparc_v9__]
37486         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37487         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37488         Likewise.
37489         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37490         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37491         (__ASSUME_REQUEUE_PI): Likewise.
37492         (__ASSUME_SET_ROBUST_LIST): Likewise.
37493         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37494         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37495         Undefine.
37496         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37497         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37498         Likewise.
37499         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37500         Likewise.
37501         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37502         Likewise.
37503         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37504         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37505         Undefine.
37506         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37507         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37508         Likewise.
37510         [BZ #16648]
37511         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37512         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37513         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37515 2014-03-31  Will Newton  <will.newton@linaro.org>
37517         * benchtests/Makefile (bench): Add ffs and ffsll to list
37518         of tests.
37519         * benchtests/ffs-inputs: New file.
37520         * benchtests/ffsll-inputs: Likewise.
37522 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37524         [BZ #16770]
37525         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37526         too large before casting to int.
37527         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37528         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37529         * math/libm-test.inc (scalb_test_data): Add more tests.
37531 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37533         * benchtests/Makefile (DETAILED_OPT): New make option.
37534         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37535         set.
37536         * benchtests/bench-skeleton.c: Include stdbool.h.
37537         (main): Store and print timings per input.
37538         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37539         member to each argument value.
37540         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37541         (_print_arg_data): Initialize per-input timing to 0.
37543         * benchtests/Makefile (timing-type): New binary.
37544         (bench-clean): Also remove bench-timing-type.
37545         (bench): New target for timing-type.
37546         (bench-func): Print output in JSON format.
37547         * benchtests/bench-skeleton.c (main): Print output in JSON
37548         format.
37549         * benchtests/bench-timing-type.c: New file.
37550         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37551         (TIMING_PRINT_STATS): Remove.
37552         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37553         name separately.
37555         * benchtests/bench-modf.c: Remove.
37556         * benchtests/modf-inputs: New inputs file.
37558 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37560         [BZ #16362]
37561         * math/s_clog10.c (M_PI_LOG10E): New macro.
37562         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37563         imaginary parts are 0.
37564         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37565         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37566         imaginary parts are 0.
37567         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37568         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37569         imaginary parts are 0.
37570         * math/libm-test.inc (clog10_test_data): Update expected results
37571         for when real and imaginary parts are 0.
37573 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37575         * elf/dl-load.c: Finish conversion of __builtin_expect into
37576         __glibc_{un}likely.
37578 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37580         [BZ #16348]
37581         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37582         1+x for argument with exponent below -67.
37583         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37584         Likewise.
37585         * math/auto-libm-test-in: Add more tests of exp.
37586         * math/auto-libm-test-out: Regenerated.
37588 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37590         [BZ #16759]
37591         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37592         (nscd_getnetgrent): Use it.
37594         [BZ #16760]
37595         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37596         of stpcpy.
37598 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37600         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37601         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37602         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37603         (lll_robust_unlock): Remove out of line section. Use cfi
37604         intrinsics.
37605         (LLL_STUB_UNWIND_INFO*): Remove.
37606         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37607         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37608         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37609         (lll_robust_unlock): Remove out of line section. Use cfi
37610         intrinsics.
37611         (LLL_STUB_UNWIND_INFO*): Remove.
37613 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37615         [BZ #16758]
37616         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37617         blank values.
37619 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37621         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37623 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37625         [BZ #16198]
37626         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37627         fnstenv.
37628         * math/test-fenv-preserve.c: New file.
37629         * math/Makefile (tests): Add test-fenv-preserve.
37631 2014-03-26  Will Newton <will.newton@linaro.org>
37633         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37635 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37637         * scripts/versionlist.awk: Partition the version sets and emit all
37638         GLIBC_* (sorted) before all others (sorted).
37640 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37642         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37643         GLIBC_2.2.5 version.
37645 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37647         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37648         calls.
37650         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37651         previous change.
37653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37655 2014-03-25  Andreas Schwab  <schwab@suse.de>
37657         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37658         label to be used after in6ailist is initialized.
37660 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37662         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37663         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37665 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37667         [BZ #16357]
37668         [BZ #16599]
37669         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37670         min_plus_half.
37671         (fp_formats): Update initializers.
37672         (init_fp_formats): Initialize new field.
37673         (output_for_one_input_case): Allow underflow for results up to
37674         min_plus_half.
37675         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37676         * math/auto-libm-test-in: Don't mark some underflows from asin and
37677         atanh as spurious.
37678         * math/auto-libm-test-out: Regenerated.
37679         * sysdeps/i386/fpu/libm-test-ulps: Update.
37680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37682 2014-03-25  Andreas Schwab  <schwab@suse.de>
37684         * libio/Makefile (tst-ftell-partial-wide-ENV)
37685         (tst-ftell-active-handler-ENV): Define.
37687 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37689         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37691 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37693         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37695 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37697         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37698         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37699         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37701 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37703         [BZ #16634]
37704         * elf/dl-load.c (open_verify): Add mode parameter.
37705         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37706         (open_path): Change from boolean 'secure' to complete flag 'mode'
37707         (_dl_map_object): Adjust.
37708         * elf/Makefile (tests): Add tst-dlopen-aout.
37709         * elf/tst-dlopen-aout.c: New test.
37711 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37713         [BZ #16714]
37714         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37715         (struct stat): Rename member pad0 to __glibc_reserved0.
37717         [BZ #16712]
37718         * sysdeps/s390/s390-32/bits/wordsize.h
37719         (__WORDSIZE32_SIZE_ULONG): New define.
37720         * sysdeps/s390/s390-64/bits/wordsize.h
37721         (__WORDSIZE32_SIZE_ULONG): Likewise.
37722         * sysdeps/generic/stdint.h (SIZE_MAX):
37723         Define as UL if __WORDSIZE32_SIZE_ULONG.
37725         [BZ #16713]
37726         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37727         (__glibc_reserved0): New variable.
37728         (sa_flags): Change type to int.
37730         * posix/Makefile (before-compile): Use += before-compile instead
37731         of a :=.
37733         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37734         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37736 2014-03-20  Andreas Schwab  <schwab@suse.de>
37738         [BZ #16743]
37739         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37740         non-matching result from nscd.
37742 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37744         * scripts/bench.py: Moved to ...
37745         * benchtests/scripts/bench.py: ... here.
37746         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37748 2014-03-24  Andreas Schwab  <schwab@suse.de>
37750         [BZ #16002]
37751         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37752         alloca_account and account alloca use for struct in6ailist.
37754 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37756         [BZ #16284]
37757         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37758         rounding mode to recompute results that overflow to infinity or
37759         underflow to zero.
37760         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37761         bug 16284.
37762         * math/auto-libm-test-out: Regenerated.
37763         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37764         (ccosh_test): Likewise.
37765         (csin_test_data): Use plus_oflow.
37766         (csin_test): Use ALL_RM_TEST.
37767         (csinh_test_data): Use plus_oflow.
37768         (csinh_test): Use ALL_RM_TEST.
37769         * sysdeps/i386/fpu/libm-test-ulps: Update.
37770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37772 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37774         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37775         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37776         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37778         [BZ #16731]
37779         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37780         when x - 1 is zero.
37781         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37782         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37783         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37784         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37785         argument is 1.
37786         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37787         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37788         zero.
37789         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37790         * sysdeps/i386/fpu/libm-test-ulps: Update.
37791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37793 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37795         * scripts/bench.pl: Remove file.
37796         * scripts/bench.py: New benchmark script.
37797         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37798         * benchtests/README: Mention python dependency.
37799         * scripts/pylintrc: New file.
37800         * scripts/pylint: New file.
37802         * bits/mathdef.h: Use #ifdef instead of #if.
37803         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37804         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37805         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37806         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37807         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37808         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37810 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37811             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37813         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37815         and strpbrk-ppc64 objects.
37816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37817         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37818         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37819         multiarch strpbrk for POWER7.
37820         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37821         multiarch strpbrk for PPC64.
37822         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37823         ifunc selector.
37824         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37825         strpbrk for POWER7.
37827 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37829         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37830         (atan_test): Likewise.
37831         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37832         (atanh_test): Use ALL_RM_TEST.
37833         (atan2_test_data): Likewise.
37834         (cabs_test): Likewise.
37835         (cacosh_test): Likewise.
37836         (carg_test): Likewise.
37837         (casin_test): Likewise.
37838         (casinh_test): Likewise.
37839         (cbrt_test): Likewise.
37840         (csqrt_test): Likewise.
37841         (erf_test): Likewise.
37842         (erfc_test): Likewise.
37843         (pow10_test): Likewise.
37844         (exp2_test): Likewise.
37845         (hypot_test): Likewise.
37846         (j0_test): Likewise.
37847         (j1_test): Likewise.
37848         (lgamma_test): Likewise.
37849         (gamma_test): Likewise.
37850         (sincos_test): Likewise.
37851         (tanh_test): Likewise.
37852         (y0_test): Likewise.
37853         (y1_test): Likewise.
37854         * sysdeps/i386/fpu/libm-test-ulps: Update.
37855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37857 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37859         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37860         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37861         and strcspn-ppc64 objects.
37862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37863         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37864         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37865         multiarch strcspn for POWER7.
37866         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37867         multiarch strcspn for PPC64.
37868         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37869         ifunc selector.
37870         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37871         strcspn for POWER7.
37873 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37875         * math/gen-libm-test.pl (generate_testfile): Expect only function
37876         name as argument to AUTO_TESTS_* and pass results for all rounding
37877         modes to parse_args.
37878         (parse_auto_input): Separate inputs of automatic tests from
37879         outputs before storing in %auto_tests.
37880         * math/libm-test.inc (acos_test_data): Update call to
37881         AUTO_TESTS_f_f.
37882         (acos_test): Use ALL_RM_TEST.
37883         (acos_tonearest_test_data): Remove.
37884         (acos_test_tonearest): Likewise.
37885         (acos_towardzero_test_data): Likewise.
37886         (acos_test_towardzero): Likewise.
37887         (acos_downward_test_data): Likewise.
37888         (acos_test_downward): Likewise.
37889         (acos_upward_test_data): Likewise.
37890         (acos_test_upward): Likewise.
37891         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37892         (asin_test_data): Likewise.
37893         (asin_test): Use ALL_RM_TEST.
37894         (asin_tonearest_test_data): Remove.
37895         (asin_test_tonearest): Likewise.
37896         (asin_towardzero_test_data): Likewise.
37897         (asin_test_towardzero): Likewise.
37898         (asin_downward_test_data): Likewise.
37899         (asin_test_downward): Likewise.
37900         (asin_upward_test_data): Likewise.
37901         (asin_test_upward): Likewise.
37902         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37903         (atan_test_data): Likewise.
37904         (atanh_test_data): Likewise.
37905         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37906         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37907         (carg_test_data): Likewise.
37908         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37909         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37910         (ccosh_test_data): Likewise.
37911         (cexp_test_data): Likewise.
37912         (clog_test_data): Likewise.
37913         (clog10_test_data): Likewise.
37914         (cos_test_data): Update call to AUTO_TESTS_f_f.
37915         (cos_test): Use ALL_RM_TEST.
37916         (cos_tonearest_test_data): Remove.
37917         (cos_test_tonearest): Likewise.
37918         (cos_towardzero_test_data): Likewise.
37919         (cos_test_towardzero): Likewise.
37920         (cos_downward_test_data): Likewise.
37921         (cos_test_downward): Likewise.
37922         (cos_upward_test_data): Likewise.
37923         (cos_test_upward): Likewise.
37924         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37925         (cosh_test): Use ALL_RM_TEST.
37926         (cosh_tonearest_test_data): Remove.
37927         (cosh_test_tonearest): Likewise.
37928         (cosh_towardzero_test_data): Likewise.
37929         (cosh_test_towardzero): Likewise.
37930         (cosh_downward_test_data): Likewise.
37931         (cosh_test_downward): Likewise.
37932         (cosh_upward_test_data): Likewise.
37933         (cosh_test_upward): Likewise.
37934         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37935         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37936         (ctan_test_data): Likewise.
37937         (ctan_test): Use ALL_RM_TEST.
37938         (ctan_tonearest_test_data): Remove.
37939         (ctan_test_tonearest): Likewise.
37940         (ctan_towardzero_test_data): Likewise.
37941         (ctan_test_towardzero): Likewise.
37942         (ctan_downward_test_data): Likewise.
37943         (ctan_test_downward): Likewise.
37944         (ctan_upward_test_data): Likewise.
37945         (ctan_test_upward): Likewise.
37946         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37947         (ctanh_test): Use ALL_RM_TEST.
37948         (ctanh_tonearest_test_data): Remove.
37949         (ctanh_test_tonearest): Likewise.
37950         (ctanh_towardzero_test_data): Likewise.
37951         (ctanh_test_towardzero): Likewise.
37952         (ctanh_downward_test_data): Likewise.
37953         (ctanh_test_downward): Likewise.
37954         (ctanh_upward_test_data): Likewise.
37955         (ctanh_test_upward): Likewise.
37956         (erf_test_data): Update call to AUTO_TESTS_f_f.
37957         (erfc_test_data): Likewise.
37958         (exp_test_data): Likewise.
37959         (exp_test): Use ALL_RM_TEST.
37960         (exp_tonearest_test_data): Remove.
37961         (exp_test_tonearest): Likewise.
37962         (exp_towardzero_test_data): Likewise.
37963         (exp_test_towardzero): Likewise.
37964         (exp_downward_test_data): Likewise.
37965         (exp_test_downward): Likewise.
37966         (exp_upward_test_data): Likewise.
37967         (exp_test_upward): Likewise.
37968         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37969         (exp10_test): Use ALL_RM_TEST.
37970         (exp10_tonearest_test_data): Remove.
37971         (exp10_test_tonearest): Likewise.
37972         (exp10_towardzero_test_data): Likewise.
37973         (exp10_test_towardzero): Likewise.
37974         (exp10_downward_test_data): Likewise.
37975         (exp10_test_downward): Likewise.
37976         (exp10_upward_test_data): Likewise.
37977         (exp10_test_upward): Likewise.
37978         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37979         (expm1_test_data): Likewise.
37980         (expm1_test): Use ALL_RM_TEST.
37981         (expm1_tonearest_test_data): Remove.
37982         (expm1_test_tonearest): Likewise.
37983         (expm1_towardzero_test_data): Likewise.
37984         (expm1_test_towardzero): Likewise.
37985         (expm1_downward_test_data): Likewise.
37986         (expm1_test_downward): Likewise.
37987         (expm1_upward_test_data): Likewise.
37988         (expm1_test_upward): Likewise.
37989         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37990         (fma_test): Use ALL_RM_TEST.
37991         (fma_towardzero_test_data): Remove.
37992         (fma_test_towardzero): Likewise.
37993         (fma_downward_test_data): Likewise.
37994         (fma_test_downward): Likewise.
37995         (fma_upward_test_data): Likewise.
37996         (fma_test_upward): Likewise.
37997         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37998         (j0_test_data): Update call to AUTO_TESTS_f_f.
37999         (j1_test_data): Likewise.
38000         (jn_test_data): Update call to AUTO_TESTS_if_f.
38001         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38002         (log_test_data): Update call to AUTO_TESTS_f_f.
38003         (log10_test_data): Likewise.
38004         (log1p_test_data): Likewise.
38005         (log2_test_data): Likewise.
38006         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38007         (pow_tonearest_test_data): Likewise.
38008         (sin_test_data): Update call to AUTO_TESTS_f_f.
38009         (sin_test): Use ALL_RM_TEST.
38010         (sin_tonearest_test_data): Remove.
38011         (sin_test_tonearest): Likewise.
38012         (sin_towardzero_test_data): Likewise.
38013         (sin_test_towardzero): Likewise.
38014         (sin_downward_test_data): Likewise.
38015         (sin_test_downward): Likewise.
38016         (sin_upward_test_data): Likewise.
38017         (sin_test_upward): Likewise.
38018         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38019         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38020         (sinh_test): Use ALL_RM_TEST.
38021         (sinh_tonearest_test_data): Remove.
38022         (sinh_test_tonearest): Likewise.
38023         (sinh_towardzero_test_data): Likewise.
38024         (sinh_test_towardzero): Likewise.
38025         (sinh_downward_test_data): Likewise.
38026         (sinh_test_downward): Likewise.
38027         (sinh_upward_test_data): Likewise.
38028         (sinh_test_upward): Likewise.
38029         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38030         (sqrt_test): Use ALL_RM_TEST.
38031         (sqrt_tonearest_test_data): Remove.
38032         (sqrt_test_tonearest): Likewise.
38033         (sqrt_towardzero_test_data): Likewise.
38034         (sqrt_test_towardzero): Likewise.
38035         (sqrt_downward_test_data): Likewise.
38036         (sqrt_test_downward): Likewise.
38037         (sqrt_upward_test_data): Likewise.
38038         (sqrt_test_upward): Likewise.
38039         (tan_test_data): Update call to AUTO_TESTS_f_f.
38040         (tan_test): Use ALL_RM_TEST.
38041         (tan_tonearest_test_data): Remove.
38042         (tan_test_tonearest): Likewise.
38043         (tan_towardzero_test_data): Likewise.
38044         (tan_test_towardzero): Likewise.
38045         (tan_downward_test_data): Likewise.
38046         (tan_test_downward): Likewise.
38047         (tan_upward_test_data): Likewise.
38048         (tan_test_upward): Likewise.
38049         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38050         (tgamma_test_data): Likewise.
38051         (y0_test_data): Likewise.
38052         (y1_test_data): Likewise.
38053         (yn_test_data): Update call to AUTO_TESTS_if_f.
38054         (main): Do not call removed functions.
38056 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38058         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38059         (ldexp_test_data): Remove.
38060         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38061         scalbn_test_data.
38062         (scalb_test): Use ALL_RM_TEST.
38064 2014-03-19  Andreas Schwab  <schwab@suse.de>
38066         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38068 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38070         [BZ #16649]
38071         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38072         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38073         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38074         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38075         (__ASSUME_PREADV): Undefine.
38076         (__ASSUME_PWRITEV): Likewise.
38078 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38080         * bits/mman-linux.h: Add comment about non-Linux use.
38081         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38082         bits/mman-linux.h resting place.
38084         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38085         * bits/mman-linux.h: ... here.
38087 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38089         * conform/conformtest.pl: Add standard definition when calling C
38090         preprocessor on data files.
38091         (checknamespace): Remove unused variable.
38093 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38095         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38096         minus_oflow, plus_uflow and minus_uflow in expected results.
38097         * math/libm-test.inc (scalbn_test_data): Add more tests of
38098         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38099         minus_uflow.
38100         (scalbn_test): Use ALL_RM_TEST.
38101         (scalbln_test_data): Add more tests of negative arguments.  Use
38102         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38103         (scalbln_test): Use ALL_RM_TEST.
38105 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38107         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38109 2014-03-18  Will Newton  <will.newton@linaro.org>
38111         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38112         inaccurate comment.
38114 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38116         * Makerules [!subdir] (check-abi): Exit with error status if a
38117         test failed.
38119 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38121         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38122         for rint.  Include results for all rounding modes.
38123         (nearbyint_test): Use ALL_RM_TEST.
38124         (rint_test_data): Include all tests used for nearbyint.
38126 2014-03-17  Will Newton  <will.newton@linaro.org>
38128         * nptl/sysdeps/pthread/pthread.h: Revert previous
38129         change.
38131         * sysdeps/generic/ldsodefs.h: Revert previous
38132         change.
38134         * libio/genops.c: Revert previous change.
38135         * libio/libioP.h: Likewise.
38136         * stdio-common/vfprintf.c: Likewise.
38138         * sysdeps/generic/math_private.h: Revert previous
38139         change.
38141         * sysdeps/generic/math_private.h: Check whether
38142         HAVE_RM_CTX is defined with #ifdef rather
38143         than #if.
38145         * argp/argp-fmtstream.h: Check whether
38146         __STRICT_ANSI__ is defined with #ifdef rather
38147         than #if.
38148         * argp/argp.h: Likewise.
38150         * libio/genops.c: Check whether
38151         _IO_JUMPS_OFFSET is defined with #ifdef rather
38152         than #if.
38153         * libio/libioP.h: Likewise.
38154         * stdio-common/vfprintf.c: Likewise.
38156         * sysdeps/generic/ldsodefs.h: Check whether
38157         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38158         than #if.
38160         * nptl/sysdeps/pthread/pthread.h: Check
38161         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38162         its value.
38164 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38166         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38167         setting O_APPEND.
38168         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38169         test case.
38171         [BZ #16680]
38172         * libio/fileops.c (_IO_file_open): Seek to end of file but
38173         don't cache the offset.
38174         (get_file_offset): Remove function.
38175         (do_ftell): Use cached offset when available.
38176         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38177         don't cache the offset.
38178         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38179         case.
38180         (do_one_test): Call it.
38181         (do_ftell_test): Fix up expected old offset for a+ mode.
38182         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38183         available.
38185         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38186         up test status with function return status.
38187         (do_write_test): Likewise.
38188         (do_append_test): Likewise.
38190         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38191         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38192         Remove.
38194 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38196         * math/gen-libm-test.pl (parse_args): Handle results specified for
38197         each rounding mode separately.
38198         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38199         tests and results from lrint_tonearest_test_data,
38200         lrint_towardzero_test_data, lrint_downward_test_data and
38201         lrint_upward_test_data.
38202         (lrint_test): Use ALL_RM_TEST.
38203         (lrint_tonearest_test_data): Remove.
38204         (lrint_test_tonearest): Likewise.
38205         (lrint_towardzero_test_data): Likewise.
38206         (lrint_test_towardzero): Likewise.
38207         (lrint_downward_test_data): Likewise.
38208         (lrint_test_downward): Likewise.
38209         (lrint_upward_test_data): Likewise.
38210         (lrint_test_upward): Likewise.
38211         (llrint_test_data): Merge in per-rounding-mode tests and results
38212         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38213         llrint_downward_test_data and llrint_upward_test_data.
38214         (llrint_test): Use ALL_RM_TEST.
38215         (llrint_tonearest_test_data): Remove.
38216         (llrint_test_tonearest): Likewise.
38217         (llrint_towardzero_test_data): Likewise.
38218         (llrint_test_towardzero): Likewise.
38219         (llrint_downward_test_data): Likewise.
38220         (llrint_test_downward): Likewise.
38221         (llrint_upward_test_data): Likewise.
38222         (llrint_test_upward): Likewise.
38223         (rint_test_data): Merge in per-rounding-mode tests and results
38224         from rint_tonearest_test_data, rint_towardzero_test_data,
38225         rint_downward_test_data and rint_upward_test_data.  Add
38226         per-rounding-mode results for tests not in those arrays.
38227         (rint_test): Use ALL_RM_TEST.
38228         (rint_tonearest_test_data): Remove.
38229         (rint_test_tonearest): Likewise.
38230         (rint_towardzero_test_data): Likewise.
38231         (rint_test_towardzero): Likewise.
38232         (rint_downward_test_data): Likewise.
38233         (rint_test_downward): Likewise.
38234         (rint_upward_test_data): Likewise.
38235         (rint_test_upward): Likewise.
38236         (main): Don't call removed functions.
38238 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38240         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38241         "Compiled on ..." crapola.  It is anti-useful.
38243 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38245         * scripts/evaluate-test.sh: Handle fourth argument to determine
38246         whether test run should stop on failure.
38247         * Makeconfig (stop-on-test-failure): New variable.
38248         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38249         $(stop-on-test-failure).
38250         * Makefile (tests): Give a summary of results from testing and
38251         exit with failure status if they include an ERROR or FAIL.
38252         (xtests): Likewise.
38253         * manual/install.texi (Configuring and compiling): Mention
38254         stop-on-test-failure=y.
38255         * INSTALL: Regenerated.
38257 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38259         * scripts/versionlist.awk: New file.
38260         * Makerules [$(build-shared) = yes]
38261         (postclean-generated): Add Versions.def, not Versions.def.v and
38262         Versions.def.v.i.
38263         ($(common-objpfx)Versions.def.v.i): Target removed.
38264         ($(common-objpfx)Versions.def): New target.
38265         ($(common-objpfx)Versions.all): Depend on that rather that
38266         $(common-objpfx)Versions.def.v.
38267         * Versions.def: File removed.
38269         * Makeconfig (+gccwarn): Add -Wundef.
38270         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38271         a dl-sysdep.h breaking its contract.
38272         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38273         * include/stackinfo.h: New file.
38274         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38275         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38276         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38277         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38278         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38279         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38280         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38281         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38282         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38283         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38284         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38285         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38286         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38287         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38288         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38290 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38292         [BZ #16707]
38293         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38294         implementation.
38295         * math/libm-test.inc (round_test_data): Add more tests.
38297         [BZ #16706]
38298         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38299         implementation.
38300         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38302         [BZ #16701]
38303         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38304         implementation.
38305         * math/libm-test.inc (ceil_test_data): Add more tests.
38307         * math/libm-test.inc (trunc_test_data): Add more tests related to
38308         BZ#16414.
38310 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38312         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38313         with #if rather than #ifdef.
38314         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38316 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38318         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38319         first.  Disable AVX-512 GCC support if assembler doesn't support
38320         it.
38321         * sysdeps/x86_64/configure: Regenerated.
38323 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38325         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38326         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38327         (__old_pthread_attr_setstack): Likewise.
38328         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38329         [!_STACK_GROWS_DOWN]: Likewise.
38331 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38333         * config.make.in (have-bash2): Delete.
38334         * configure.ac (libc_cv_have_bash2): Delete.
38335         * configure: Regenerate.
38336         * elf/Makefile (common-ldd-rewrite): Rename to ...
38337         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38338         (sh-ldd-rewrite): Delete.
38339         (bash-ldd-rewrite): Delete.
38340         (have-bash2): Delete checks.
38341         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38342         ldd-rewrite.
38344         * config.make.in (have-ksh): Delete.
38345         (KSH): Delete.
38346         * configure.ac (libc_cv_have_ksh): Delete.
38347         * configure: Regenerate.
38349         * elf/Makefile: Delete $(have-ksh) check.
38350         ($(objpfx)sotruss): Change KSH to BASH.
38351         * elf/sotruss.ksh: Rename to ...
38352         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38353         function style to match POSIX.  Drop ksh vim mode setting.
38355         * manual/time.texi (Specifying the Time Zone with TZ): Change
38356         Tuesday to Thursday.
38358         * debug/tst-longjmp_chk2.c: Update header comment.
38359         (stackoverflow_handler): Add comment.  Call assert on pass value.
38361 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38363         [BZ #16194]
38364         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38365         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38366         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38367         (La_x86_64_vector): Add zmm.
38368         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38369         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38370         ($(objpfx)tst-audit10): New target.
38371         ($(objpfx)tst-audit10.out): Likewise.
38372         (tst-audit10-ENV): New.
38373         (AVX512-CFLAGS): Likewise.
38374         (CFLAGS-tst-audit10.c): Likewise.
38375         (CFLAGS-tst-auditmod10a.c): Likewise.
38376         (CFLAGS-tst-auditmod10b.c): Likewise.
38377         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38378         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38379         * sysdeps/x86_64/configure: Regenerated.
38380         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38381         AVX-512 zmm register support.
38382         (_dl_x86_64_save_sse): Likewise.
38383         (_dl_x86_64_restore_sse): Likewise.
38384         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38385         size vector registers.
38386         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38387         (ZMM_SIZE): Likewise.
38388         * sysdeps/x86_64/tst-audit10.c: New file.
38389         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38390         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38392 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38394         * configure.ac (HAVE_EHDR_START): New check.
38395         * configure: Regenerated.
38396         * config.h.in (HAVE_EHDR_START): New #undef.
38397         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38398         assuming the lowest-addressed segment maps the start of the file.
38400 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38402         * INSTALL: Regenerated.
38404 2014-03-13  Will Newton  <will.newton@linaro.org>
38406         * manual/setjmp.texi (System V contexts): Improve
38407         clarity and grammar of documentation.
38409 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38411         [BZ #16381]
38412         * elf/Makefile (tests): Add tst-pie2.
38413         (tests-pie): Add tst-pie2.
38414         * elf/tst-pie2.c: New file.
38415         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38416         for ET_EXEC.
38417         * elf/rtld.c (map_doit): Load executable as lt_executable.
38418         (dl_main): Likewise.
38420 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38422         [BZ #16642]
38423         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38424         (__ASSUME_PSELECT): Undefine.
38426 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38428         [BZ #16689]
38429         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38430         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38431         static build.
38432         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38433         selector for static builds.
38435 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38437         [BZ #16695]
38438         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38439         key in the buffer.
38441 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38443         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38444         IFUNC selector for static builds.
38446 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38448         * sysdeps/mips/math_private.h [__mips_hard_float]
38449         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38450         libc_feresetround_mips_ctx.
38451         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38452         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38453         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38455         [BZ #16677]
38456         * math/s_nextafter.c (__nextafter): Do not return value from
38457         overflowing computation.
38458         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38459         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38460         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38461         Likewise.
38462         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38463         Likewise.
38464         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38465         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38467 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38469         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38470         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38471         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38472         the new mov targetting sp.
38474 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38476         [BZ #16683]
38477         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38478         Define it for static builds as well.
38479         (NO_BZERO_IMPL): Likewise.
38481 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38483         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38484         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38485         multiarch strspn for PPC64.
38486         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38487         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38489         (__libc_ifunc_impl_list): Likewise.
38490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38491         multiarch optimizations
38492         * string/strspn.c (strspn): Using macro to redefine symbol name.
38494 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38495             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38497         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38498         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38499         multiarch strncat for PPC64.
38500         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38501         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38503         (__libc_ifunc_impl_list): Likewise.
38504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38505         multiarch optimizations
38507 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38509         [BZ #16639]
38510         * nscd/nscd.service: Make service type forking.
38512 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38514         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38515         sign in non default rounding modes.
38516         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38518 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38520         * math/libm-test.inc (ALL_RM_TEST): New macro.
38521         (ceil_test): Use ALL_RM_TEST.
38522         (cimag_test): Likewise.
38523         (conj_test): Likewise.
38524         (copysign_test): Likewise.
38525         (cproj_test): Likewise.
38526         (creal_test): Likewise.
38527         (fabs_test): Likewise.
38528         (floor_test): Likewise.
38529         (fmax_test): Likewise.
38530         (fmin_test): Likewise.
38531         (fmod_test): Likewise.
38532         (fpclassify_test): Likewise.
38533         (frexp_test): Likewise.
38534         (ilogb_test): Likewise.
38535         (isfinite_test): Likewise.
38536         (finite_test): Likewise.
38537         (isgreater_test): Likewise.
38538         (isgreaterequal_test): Likewise.
38539         (isinf_test): Likewise.
38540         (isless_test): Likewise.
38541         (islessequal_test): Likewise.
38542         (islessgreater_test): Likewise.
38543         (isnan_test): Likewise.
38544         (isnormal_test): Likewise.
38545         (issignaling_test): Likewise.
38546         (isunordered_test): Likewise.
38547         (logb_test): Likewise.
38548         (logb_downward_test_data): Remove.
38549         (logb_test_downward): Likewise.
38550         (lround_test): Use ALL_RM_TEST.
38551         (llround_test): Likewise.
38552         (modf_test): Likewise.
38553         (nexttoward_test): Likewise.
38554         (remainder_test): Likewise.
38555         (drem_test): Likewise.
38556         (remainder_tonearest_test_data): Likewise.
38557         (remainder_test_tonearest): Likewise.
38558         (drem_test_tonearest): Likewise.
38559         (remainder_towardzero_test_data): Likewise.
38560         (remainder_test_towardzero): Likewise.
38561         (drem_test_towardzero): Likewise.
38562         (remainder_downward_test_data): Likewise.
38563         (remainder_test_downward): Likewise.
38564         (drem_test_downward): Likewise.
38565         (remainder_upward_test_data): Likewise.
38566         (remainder_test_upward): Likewise.
38567         (drem_test_upward): Likewise.
38568         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38569         (round_test): Use ALL_RM_TEST.
38570         (signbit_test): Likewise.
38571         (trunc_test): Likewise.
38572         (significand_test): Likewise.
38573         (main): Don't call removed functions.
38575 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38577         [BZ #16674]
38578         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38579         || __USE_XOPEN2K8].
38580         (ILL_ILLOPN): Likewise.
38581         (ILL_ILLADR): Likewise.
38582         (ILL_ILLTRP): Likewise.
38583         (ILL_PRVOPC): Likewise.
38584         (ILL_PRVREG): Likewise.
38585         (ILL_COPROC): Likewise.
38586         (ILL_BADSTK): Likewise.
38587         (FPE_INTDIV): Likewise.
38588         (FPE_INTOVF): Likewise.
38589         (FPE_FLTDIV): Likewise.
38590         (FPE_FLTOVF): Likewise.
38591         (FPE_FLTUND): Likewise.
38592         (FPE_FLTRES): Likewise.
38593         (FPE_FLTINV): Likewise.
38594         (FPE_FLTSUB): Likewise.
38595         (SEGV_MAPERR): Likewise.
38596         (SEGV_ACCERR): Likewise.
38597         (BUS_ADRALN): Likewise.
38598         (BUS_ADRERR): Likewise.
38599         (BUS_OBJERR): Likewise.
38600         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38601         (TRAP_TRACE): Likewise.
38602         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38603         __USE_XOPEN2K8].
38604         (CLD_KILLED): Likewise.
38605         (CLD_DUMPED): Likewise.
38606         (CLD_TRAPPED): Likewise.
38607         (CLD_STOPPED): Likewise.
38608         (CLD_CONTINUED): Likewise.
38609         (POLL_IN): Likewise.
38610         (POLL_OUT): Likewise.
38611         (POLL_MSG): Likewise.
38612         (POLL_ERR): Likewise.
38613         (POLL_PRI): Likewise.
38614         (POLL_HUP): Likewise.
38615         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38616         Likewise.
38617         (ILL_ILLOPN): Likewise.
38618         (ILL_ILLADR): Likewise.
38619         (ILL_ILLTRP): Likewise.
38620         (ILL_PRVOPC): Likewise.
38621         (ILL_PRVREG): Likewise.
38622         (ILL_COPROC): Likewise.
38623         (ILL_BADSTK): Likewise.
38624         (FPE_INTDIV): Likewise.
38625         (FPE_INTOVF): Likewise.
38626         (FPE_FLTDIV): Likewise.
38627         (FPE_FLTOVF): Likewise.
38628         (FPE_FLTUND): Likewise.
38629         (FPE_FLTRES): Likewise.
38630         (FPE_FLTINV): Likewise.
38631         (FPE_FLTSUB): Likewise.
38632         (SEGV_MAPERR): Likewise.
38633         (SEGV_ACCERR): Likewise.
38634         (BUS_ADRALN): Likewise.
38635         (BUS_ADRERR): Likewise.
38636         (BUS_OBJERR): Likewise.
38637         (BUS_MCEERR_AR): Likewise.
38638         (BUS_MCEERR_AO): Likewise.
38639         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38640         (TRAP_TRACE): Likewise.
38641         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38642         __USE_XOPEN2K8].
38643         (CLD_KILLED): Likewise.
38644         (CLD_DUMPED): Likewise.
38645         (CLD_TRAPPED): Likewise.
38646         (CLD_STOPPED): Likewise.
38647         (CLD_CONTINUED): Likewise.
38648         (POLL_IN): Likewise.
38649         (POLL_OUT): Likewise.
38650         (POLL_MSG): Likewise.
38651         (POLL_ERR): Likewise.
38652         (POLL_PRI): Likewise.
38653         (POLL_HUP): Likewise.
38654         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38655         (ILL_ILLOPN): Likewise.
38656         (ILL_ILLADR): Likewise.
38657         (ILL_ILLTRP): Likewise.
38658         (ILL_PRVOPC): Likewise.
38659         (ILL_PRVREG): Likewise.
38660         (ILL_COPROC): Likewise.
38661         (ILL_BADSTK): Likewise.
38662         (FPE_INTDIV): Likewise.
38663         (FPE_INTOVF): Likewise.
38664         (FPE_FLTDIV): Likewise.
38665         (FPE_FLTOVF): Likewise.
38666         (FPE_FLTUND): Likewise.
38667         (FPE_FLTRES): Likewise.
38668         (FPE_FLTINV): Likewise.
38669         (FPE_FLTSUB): Likewise.
38670         (SEGV_MAPERR): Likewise.
38671         (SEGV_ACCERR): Likewise.
38672         (BUS_ADRALN): Likewise.
38673         (BUS_ADRERR): Likewise.
38674         (BUS_OBJERR): Likewise.
38675         (BUS_MCEERR_AR): Likewise.
38676         (BUS_MCEERR_AO): Likewise.
38677         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38678         (TRAP_TRACE): Likewise.
38679         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38680         __USE_XOPEN2K8].
38681         (CLD_KILLED): Likewise.
38682         (CLD_DUMPED): Likewise.
38683         (CLD_TRAPPED): Likewise.
38684         (CLD_STOPPED): Likewise.
38685         (CLD_CONTINUED): Likewise.
38686         (POLL_IN): Likewise.
38687         (POLL_OUT): Likewise.
38688         (POLL_MSG): Likewise.
38689         (POLL_ERR): Likewise.
38690         (POLL_PRI): Likewise.
38691         (POLL_HUP): Likewise.
38692         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38693         Likewise.
38694         (ILL_ILLOPN): Likewise.
38695         (ILL_ILLADR): Likewise.
38696         (ILL_ILLTRP): Likewise.
38697         (ILL_PRVOPC): Likewise.
38698         (ILL_PRVREG): Likewise.
38699         (ILL_COPROC): Likewise.
38700         (ILL_BADSTK): Likewise.
38701         (ILL_BADIADDR): Likewise.
38702         (ILL_BREAK): Likewise.
38703         (FPE_INTDIV): Likewise.
38704         (FPE_INTOVF): Likewise.
38705         (FPE_FLTDIV): Likewise.
38706         (FPE_FLTOVF): Likewise.
38707         (FPE_FLTUND): Likewise.
38708         (FPE_FLTRES): Likewise.
38709         (FPE_FLTINV): Likewise.
38710         (FPE_FLTSUB): Likewise.
38711         (FPE_DECOVF): Likewise.
38712         (FPE_DECDIV): Likewise.
38713         (FPE_DECERR): Likewise.
38714         (FPE_INVASC): Likewise.
38715         (FPE_INVDEC): Likewise.
38716         (SEGV_MAPERR): Likewise.
38717         (SEGV_ACCERR): Likewise.
38718         (SEGV_PSTKOVF): Likewise.
38719         (BUS_ADRALN): Likewise.
38720         (BUS_ADRERR): Likewise.
38721         (BUS_OBJERR): Likewise.
38722         (BUS_MCEERR_AR): Likewise.
38723         (BUS_MCEERR_AO): Likewise.
38724         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38725         (TRAP_TRACE): Likewise.
38726         (TRAP_BRANCH): Likewise.
38727         (TRAP_HWBKPT): Likewise.
38728         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38729         __USE_XOPEN2K8].
38730         (CLD_KILLED): Likewise.
38731         (CLD_DUMPED): Likewise.
38732         (CLD_TRAPPED): Likewise.
38733         (CLD_STOPPED): Likewise.
38734         (CLD_CONTINUED): Likewise.
38735         (POLL_IN): Likewise.
38736         (POLL_OUT): Likewise.
38737         (POLL_MSG): Likewise.
38738         (POLL_ERR): Likewise.
38739         (POLL_PRI): Likewise.
38740         (POLL_HUP): Likewise.
38741         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38742         (ILL_ILLOPN): Likewise.
38743         (ILL_ILLADR): Likewise.
38744         (ILL_ILLTRP): Likewise.
38745         (ILL_PRVOPC): Likewise.
38746         (ILL_PRVREG): Likewise.
38747         (ILL_COPROC): Likewise.
38748         (ILL_BADSTK): Likewise.
38749         (FPE_INTDIV): Likewise.
38750         (FPE_INTOVF): Likewise.
38751         (FPE_FLTDIV): Likewise.
38752         (FPE_FLTOVF): Likewise.
38753         (FPE_FLTUND): Likewise.
38754         (FPE_FLTRES): Likewise.
38755         (FPE_FLTINV): Likewise.
38756         (FPE_FLTSUB): Likewise.
38757         (SEGV_MAPERR): Likewise.
38758         (SEGV_ACCERR): Likewise.
38759         (BUS_ADRALN): Likewise.
38760         (BUS_ADRERR): Likewise.
38761         (BUS_OBJERR): Likewise.
38762         (BUS_MCEERR_AR): Likewise.
38763         (BUS_MCEERR_AO): Likewise.
38764         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38765         (TRAP_TRACE): Likewise.
38766         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38767         __USE_XOPEN2K8].
38768         (CLD_KILLED): Likewise.
38769         (CLD_DUMPED): Likewise.
38770         (CLD_TRAPPED): Likewise.
38771         (CLD_STOPPED): Likewise.
38772         (CLD_CONTINUED): Likewise.
38773         (POLL_IN): Likewise.
38774         (POLL_OUT): Likewise.
38775         (POLL_MSG): Likewise.
38776         (POLL_ERR): Likewise.
38777         (POLL_PRI): Likewise.
38778         (POLL_HUP): Likewise.
38779         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38780         (ILL_ILLOPN): Likewise.
38781         (ILL_ILLADR): Likewise.
38782         (ILL_ILLTRP): Likewise.
38783         (ILL_PRVOPC): Likewise.
38784         (ILL_PRVREG): Likewise.
38785         (ILL_COPROC): Likewise.
38786         (ILL_BADSTK): Likewise.
38787         (FPE_INTDIV): Likewise.
38788         (FPE_INTOVF): Likewise.
38789         (FPE_FLTDIV): Likewise.
38790         (FPE_FLTOVF): Likewise.
38791         (FPE_FLTUND): Likewise.
38792         (FPE_FLTRES): Likewise.
38793         (FPE_FLTINV): Likewise.
38794         (FPE_FLTSUB): Likewise.
38795         (SEGV_MAPERR): Likewise.
38796         (SEGV_ACCERR): Likewise.
38797         (BUS_ADRALN): Likewise.
38798         (BUS_ADRERR): Likewise.
38799         (BUS_OBJERR): Likewise.
38800         (BUS_MCEERR_AR): Likewise.
38801         (BUS_MCEERR_AO): Likewise.
38802         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38803         (TRAP_TRACE): Likewise.
38804         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38805         __USE_XOPEN2K8].
38806         (CLD_KILLED): Likewise.
38807         (CLD_DUMPED): Likewise.
38808         (CLD_TRAPPED): Likewise.
38809         (CLD_STOPPED): Likewise.
38810         (CLD_CONTINUED): Likewise.
38811         (POLL_IN): Likewise.
38812         (POLL_OUT): Likewise.
38813         (POLL_MSG): Likewise.
38814         (POLL_ERR): Likewise.
38815         (POLL_PRI): Likewise.
38816         (POLL_HUP): Likewise.
38817         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38818         (ILL_ILLOPN): Likewise.
38819         (ILL_ILLADR): Likewise.
38820         (ILL_ILLTRP): Likewise.
38821         (ILL_PRVOPC): Likewise.
38822         (ILL_PRVREG): Likewise.
38823         (ILL_COPROC): Likewise.
38824         (ILL_BADSTK): Likewise.
38825         (FPE_INTDIV): Likewise.
38826         (FPE_INTOVF): Likewise.
38827         (FPE_FLTDIV): Likewise.
38828         (FPE_FLTOVF): Likewise.
38829         (FPE_FLTUND): Likewise.
38830         (FPE_FLTRES): Likewise.
38831         (FPE_FLTINV): Likewise.
38832         (FPE_FLTSUB): Likewise.
38833         (SEGV_MAPERR): Likewise.
38834         (SEGV_ACCERR): Likewise.
38835         (BUS_ADRALN): Likewise.
38836         (BUS_ADRERR): Likewise.
38837         (BUS_OBJERR): Likewise.
38838         (BUS_MCEERR_AR): Likewise.
38839         (BUS_MCEERR_AO): Likewise.
38840         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38841         (TRAP_TRACE): Likewise.
38842         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38843         __USE_XOPEN2K8].
38844         (CLD_KILLED): Likewise.
38845         (CLD_DUMPED): Likewise.
38846         (CLD_TRAPPED): Likewise.
38847         (CLD_STOPPED): Likewise.
38848         (CLD_CONTINUED): Likewise.
38849         (POLL_IN): Likewise.
38850         (POLL_OUT): Likewise.
38851         (POLL_MSG): Likewise.
38852         (POLL_ERR): Likewise.
38853         (POLL_PRI): Likewise.
38854         (POLL_HUP): Likewise.
38855         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38856         (ILL_ILLOPN): Likewise.
38857         (ILL_ILLADR): Likewise.
38858         (ILL_ILLTRP): Likewise.
38859         (ILL_PRVOPC): Likewise.
38860         (ILL_PRVREG): Likewise.
38861         (ILL_COPROC): Likewise.
38862         (ILL_BADSTK): Likewise.
38863         (ILL_DBLFLT): Likewise.
38864         (ILL_HARDWALL): Likewise.
38865         (FPE_INTDIV): Likewise.
38866         (FPE_INTOVF): Likewise.
38867         (FPE_FLTDIV): Likewise.
38868         (FPE_FLTOVF): Likewise.
38869         (FPE_FLTUND): Likewise.
38870         (FPE_FLTRES): Likewise.
38871         (FPE_FLTINV): Likewise.
38872         (FPE_FLTSUB): Likewise.
38873         (SEGV_MAPERR): Likewise.
38874         (SEGV_ACCERR): Likewise.
38875         (BUS_ADRALN): Likewise.
38876         (BUS_ADRERR): Likewise.
38877         (BUS_OBJERR): Likewise.
38878         (BUS_MCEERR_AR): Likewise.
38879         (BUS_MCEERR_AO): Likewise.
38880         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38881         (TRAP_TRACE): Likewise.
38882         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38883         __USE_XOPEN2K8].
38884         (CLD_KILLED): Likewise.
38885         (CLD_DUMPED): Likewise.
38886         (CLD_TRAPPED): Likewise.
38887         (CLD_STOPPED): Likewise.
38888         (CLD_CONTINUED): Likewise.
38889         (POLL_IN): Likewise.
38890         (POLL_OUT): Likewise.
38891         (POLL_MSG): Likewise.
38892         (POLL_ERR): Likewise.
38893         (POLL_PRI): Likewise.
38894         (POLL_HUP): Likewise.
38895         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38896         (ILL_ILLOPN): Likewise.
38897         (ILL_ILLADR): Likewise.
38898         (ILL_ILLTRP): Likewise.
38899         (ILL_PRVOPC): Likewise.
38900         (ILL_PRVREG): Likewise.
38901         (ILL_COPROC): Likewise.
38902         (ILL_BADSTK): Likewise.
38903         (FPE_INTDIV): Likewise.
38904         (FPE_INTOVF): Likewise.
38905         (FPE_FLTDIV): Likewise.
38906         (FPE_FLTOVF): Likewise.
38907         (FPE_FLTUND): Likewise.
38908         (FPE_FLTRES): Likewise.
38909         (FPE_FLTINV): Likewise.
38910         (FPE_FLTSUB): Likewise.
38911         (SEGV_MAPERR): Likewise.
38912         (SEGV_ACCERR): Likewise.
38913         (BUS_ADRALN): Likewise.
38914         (BUS_ADRERR): Likewise.
38915         (BUS_OBJERR): Likewise.
38916         (BUS_MCEERR_AR): Likewise.
38917         (BUS_MCEERR_AO): Likewise.
38918         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38919         (TRAP_TRACE): Likewise.
38920         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38921         __USE_XOPEN2K8].
38922         (CLD_KILLED): Likewise.
38923         (CLD_DUMPED): Likewise.
38924         (CLD_TRAPPED): Likewise.
38925         (CLD_STOPPED): Likewise.
38926         (CLD_CONTINUED): Likewise.
38927         (POLL_IN): Likewise.
38928         (POLL_OUT): Likewise.
38929         (POLL_MSG): Likewise.
38930         (POLL_ERR): Likewise.
38931         (POLL_PRI): Likewise.
38932         (POLL_HUP): Likewise.
38933         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38934         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38936         [BZ #16670]
38937         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38938         before #include of <time.h>.
38939         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38940         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38941         (test-xfail-UNIX98/sched.h/conform): Likewise.
38943 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38945         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38946         error absence of trapping exception support.
38947         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38949 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38951         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38952         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38953         * timezone/Makefile (testdata): Move definition above include of
38954         Rules.
38955         (test-zones): New variable.
38956         (tests-special): Add zone files.
38957         (build-testdata): Use $(evaluate-test).
38959         * elf/Makefile (tests-special): Rename tests to end with .out.
38960         ($(objpfx)noload-mem): Likewise.
38961         ($(objpfx)tst-leaks1-mem): Likewise.
38962         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38963         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38964         $(objpfx)test-iconvconfig.out.
38965         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38966         set -e inside subshell and redirect output to file.
38967         * iconvdata/Makefile (generated): Rename tests to end with .out.
38968         Correct type.
38969         (tests-special): Rename tests to end with .out.
38970         ($(objpfx)mtrace-tst-loading): Likewise.
38971         * intl/Makefile (generated): Likewise.
38972         (tests-special): Likewise.
38973         ($(objpfx)mtrace-tst-gettext): Likewise.
38974         * misc/Makefile (generated): Likewise.
38975         (tests-special): Likewise.
38976         ($(objpfx)tst-error1-mem): Likewise.
38977         * nptl/Makefile (tests-special): Likewise.
38978         ($(objpfx)tst-stack3-mem): Likewise.
38979         (generated): Likewise.
38980         * posix/Makefile (generated): Likewise.
38981         (tests-special): Likewise.
38982         (xtests-special): Likewise.
38983         ($(objpfx)tst-fnmatch-mem): Likewise.
38984         ($(objpfx)bug-regex2-mem): Likewise.
38985         ($(objpfx)bug-regex14-mem): Likewise.
38986         ($(objpfx)bug-regex21-mem): Likewise.
38987         ($(objpfx)bug-regex31-mem): Likewise.
38988         ($(objpfx)tst-vfork3-mem): Likewise.
38989         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38990         ($(objpfx)tst-pcre-mem): Likewise.
38991         ($(objpfx)tst-boost-mem): Likewise.
38992         ($(objpfx)bug-ga2-mem): Likewise.
38993         ($(objpfx)bug-glob2-mem): Likewise.
38994         * resolv/Makefile (generate): Likewise.
38995         (tests-special): Likewise.
38996         (xtests-special): Likewise.
38997         (generated): Likewise.
38998         ($(objpfx)mtrace-tst-leaks): Likewise.
38999         ($(objpfx)mtrace-tst-leaks2): Likewise.
39001         * scripts/merge-test-results.sh: New file.
39002         * Makefile (tests-special-notdir): New variable.
39003         (tests): Run merge-test-results.sh.
39004         (xtests): Likewise.
39005         * Rules (tests-special-notdir): New variable.
39006         (xtests-special-notdir): Likewise.
39007         (tests): Run merge-test-results.sh
39008         (xtests): Likewise.
39010         * Makeconfig (test-xfail-name): New variable.
39011         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39012         compute variable name for expected failures.
39013         * conform/Makefile (conformtest-headers-data): New variable.
39014         (conformtest-standards): Likewise.
39015         (conformtest-headers-ISO): Likewise.
39016         (conformtest-headers-ISO99): Likewise.
39017         (conformtest-headers-ISO11): Likewise.
39018         (conformtest-headers-POSIX): Likewise.
39019         (conformtest-headers-XPG3): Likewise.
39020         (conformtest-headers-XPG4): Likewise.
39021         (conformtest-headers-UNIX98): Likewise.
39022         (conformtest-headers-XOPEN2K): Likewise.
39023         (conformtest-headers-POSIX2008): Likewise.
39024         (conformtest-headers-XOPEN2K8): Likewise.
39025         (conformtest-header-list-base): Likewise.
39026         (conformtest-header-list-tests): Likewise.
39027         (conformtest-header-base): Likewise.
39028         (conformtest-header-tests): Likewise.
39029         (tests-special): Add $(conformtest-header-list-tests).  If
39030         [$(fast-check) && !$(cross-compiling)], add
39031         $(conformtest-header-tests) instead of
39032         $(objpfx)run-conformtest.out.
39033         (generated): Add $(conformtest-header-list-base).  If
39034         [$(fast-check) && !$(cross-compiling)], add
39035         $(conformtest-header-base).  Remove previous setting.
39036         ($(conformtest-header-list-tests)): New target.
39037         (test-xfail-run-conformtest): Remove variable.
39038         ($(objpfx)run-conformtest.out): Remove target.
39039         (test-xfail-ISO11/complex.h/conform): New variable.
39040         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39041         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39042         (test-xfail-XPG3/varargs.h/conform): Likewise.
39043         (test-xfail-XPG4/varargs.h/conform): Likewise.
39044         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39045         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39046         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39047         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39048         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39049         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39050         (test-xfail-XPG3/ftw.h/conform): Likewise.
39051         (test-xfail-XPG3/grp.h/conform): Likewise.
39052         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39053         (test-xfail-XPG3/limits.h/conform): Likewise.
39054         (test-xfail-XPG3/pwd.h/conform): Likewise.
39055         (test-xfail-XPG3/search.h/conform): Likewise.
39056         (test-xfail-XPG3/signal.h/conform): Likewise.
39057         (test-xfail-XPG3/stdio.h/conform): Likewise.
39058         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39059         (test-xfail-XPG3/string.h/conform): Likewise.
39060         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39061         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39062         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39063         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39064         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39065         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39066         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39067         (test-xfail-XPG3/termios.h/conform): Likewise.
39068         (test-xfail-XPG3/time.h/conform): Likewise.
39069         (test-xfail-XPG3/unistd.h/conform): Likewise.
39070         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39071         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39072         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39073         (test-xfail-XPG4/netdb.h/conform): Likewise.
39074         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39075         (test-xfail-XPG4/signal.h/conform): Likewise.
39076         (test-xfail-XPG4/stdio.h/conform): Likewise.
39077         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39078         (test-xfail-XPG4/stropts.h/conform): Likewise.
39079         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39080         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39081         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39082         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39083         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39084         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39085         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39086         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39087         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39088         (test-xfail-XPG4/termios.h/conform): Likewise.
39089         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39090         (test-xfail-XPG4/unistd.h/conform): Likewise.
39091         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39092         (test-xfail-POSIX/sched.h/conform): Likewise.
39093         (test-xfail-POSIX/signal.h/conform): Likewise.
39094         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39095         (test-xfail-POSIX/tar.h/conform): Likewise.
39096         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39097         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39098         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39099         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39100         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39101         (test-xfail-UNIX98/sched.h/conform): Likewise.
39102         (test-xfail-UNIX98/signal.h/conform): Likewise.
39103         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39104         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39105         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39106         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39107         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39108         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39109         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39110         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39111         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39112         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39113         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39114         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39115         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39116         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39117         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39118         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39119         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39120         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39121         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39122         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39123         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39124         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39125         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39126         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39127         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39128         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39129         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39130         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39131         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39132         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39133         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39134         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39135         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39136         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39137         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39138         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39139         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39140         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39141         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39142         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39143         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39144         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39145         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39146         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39147         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39148         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39149         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39150         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39151         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39152         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39153         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39154         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39155         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39156         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39157         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39158         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39159         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39160         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39161         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39162         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39163         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39164         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39165         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39166         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39167         (conformtest-cc-flags): Likewise.
39168         ($(conformtest-header-tests): New target.
39169         * conform/check-header-lists.sh: New file.
39170         * conform/run-conformtest.sh: Remove.
39172         * conform/conformtest.pl: Allow ' and \ in values given for
39173         constants.
39174         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39175         inclusion.
39176         [POSIX] (sys/types.h): Likewise.
39177         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39178         inclusion.
39179         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39180         inclusion.
39181         * conform/data/signal.h-data (SIGIO): Remove expectation.
39182         [XPG3] (SIGBUS): Do not expect.
39183         [POSIX || XPG3] (SIGPOLL): Likewise.
39184         [POSIX || XPG3] (SIGPROF): Likewise.
39185         [POSIX || XPG3] (SIGSYS): Likewise.
39186         [XPG3] (SIGTRAP): Likewise.
39187         [POSIX || XPG3] (SIGURG): Likewise.
39188         [POSIX || XPG3] (SIGVTALRM): Likewise.
39189         [POSIX || XPG3] (SIGXCPU): Likewise.
39190         [POSIX || XPG3] (SIGXFSZ): Likewise.
39191         [POSIX] (SA_SIGINFO): Expect.
39192         [XPG3] (siginfo_t): Do not expect type or contents.
39193         [POSIX] (si_pid): Do not expect element.
39194         [POSIX] (si_uid): Likewise.
39195         [POSIX] (si_addr): Likewise.
39196         [POSIX] (si_status): Likewise.
39197         [POSIX] (si_band): Likewise.
39198         [XPG4] (si_value): Likewise.
39199         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39200         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39201         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39202         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39203         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39204         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39205         [POSIX || XPG3] (ILL_COPROC): Likewise.
39206         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39207         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39208         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39209         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39210         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39211         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39212         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39213         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39214         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39215         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39216         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39217         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39218         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39219         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39220         [POSIX || XPG3] (CLD_EXITED): Likewise.
39221         [POSIX || XPG3] (CLD_KILLED): Likewise.
39222         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39223         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39224         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39225         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39226         [POSIX || XPG3] (POLL_IN): Likewise.
39227         [POSIX || XPG3] (POLL_OUT): Likewise.
39228         [POSIX || XPG3] (POLL_MSG): Likewise.
39229         [POSIX || XPG3] (POLL_ERR): Likewise.
39230         [POSIX || XPG3] (POLL_PRI): Likewise.
39231         [POSIX || XPG3] (POLL_HUP): Likewise.
39232         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39233         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39234         (SIG*): Do not allow.
39235         [XPG3] (si_*): Likewise.
39236         [XPG3] (SI_*): Likewise.
39237         [XPG3 || XPG4] (sigev_*): Likewise.
39238         [XPG3 || XPG4] (SIGEV_*): Likewise.
39239         [XPG3 || XPG4] (sival_*): Likewise.
39240         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39241         [POSIX || XPG3] (BUS_*): Likewise.
39242         [POSIX || XPG3] (CLD_*): Likewise.
39243         [POSIX || XPG3] (FPE_*): Likewise.
39244         [POSIX || XPG3] (ILL_*): Likewise.
39245         [POSIX || XPG3] (POLL_*): Likewise.
39246         [POSIX || XPG3] (SEGV_*): Likewise.
39247         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39248         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39249         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39250         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39251         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39252         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39253         Specify type and value.
39254         (TVERSLEN): Likewise.
39255         (REGTYPE): Likewise.
39256         (AREGTYPE): Likewise.
39257         (LNKTYPE): Likewise.
39258         (SYMTYPE): Likewise.
39259         (CHRTYPE): Likewise.
39260         (BLKTYPE): Likewise.
39261         (DIRTYPE): Likewise.
39262         (FIFOTYPE): Likewise.
39263         (CONTTYPE): Likewise.
39264         (TSUID): Likewise.
39265         (TSGID): Likewise.
39266         (TSVTX): Likewise.
39267         (TUREAD): Likewise.
39268         (TUWRITE): Likewise.
39269         (TUEXEC): Likewise.
39270         (TGREAD): Likewise.
39271         (TGWRITE): Likewise.
39272         (TGEXEC): Likewise.
39273         (TOREAD): Likewise.
39274         (TOWRITE): Likewise.
39275         (TOEXEC): Likewise.
39276         [POSIX] (TSVTX): Expect constant.
39278 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39280         * Makefile (tests): Change dependencies to ....
39281         (tests-special): ... additions to this variable.
39282         (tests): Depend on $(tests-special).
39283         * Makerules (check-abi-list): New variable.
39284         (check-abi): Depend on $(check-abi-list).
39285         [$(subdir) = elf] (tests-special): Add
39286         $(objpfx)check-abi-libc.out.
39287         [$(build-shared) = yes && subdir] (tests-special): Add
39288         $(check-abi-list).
39289         [$(build-shared) = yes && subdir] (tests): Do not depend on
39290         check-abi.
39291         * Rules (tests): Depend on $(tests-special).
39292         (xtests): Depend on $(xtests-special).
39293         * catgets/Makefile (tests): Change dependencies to ....
39294         (tests-special): ... additions to this variable.
39295         * conform/Makefile (tests): Change dependencies to ....
39296         (tests-special): ... additions to this variable.
39297         * elf/Makefile (tests): Change dependencies to ....
39298         (tests-special): ... additions to this variable.
39299         * grp/Makefile (tests): Change dependencies to ....
39300         (tests-special): ... additions to this variable.
39301         * iconv/Makefile (xtests): Change dependencies to ....
39302         (xtests-special): ... additions to this variable.
39303         * iconvdata/Makefile (tests): Change dependencies to ....
39304         (tests-special): ... additions to this variable.
39305         * intl/Makefile (tests): Change dependencies to ....
39306         (tests-special): ... additions to this variable.  Also add
39307         $(objpfx)tst-gettext.out.
39308         * io/Makefile (tests): Change dependencies to ....
39309         (tests-special): ... additions to this variable.
39310         * libio/Makefile (tests): Change dependencies to ....
39311         (tests-special): ... additions to this variable.
39312         * malloc/Makefile (tests): Change dependencies to ....
39313         (tests-special): ... additions to this variable.
39314         * misc/Makefile (tests): Change dependencies to ....
39315         (tests-special): ... additions to this variable.
39316         * nptl/Makefile (tests): Change dependencies to ....
39317         (tests-special): ... additions to this variable.
39318         * nptl_db/Makefile (tests): Change dependencies to ....
39319         (tests-special): ... additions to this variable.
39320         * posix/Makefile (tests): Change dependencies to ....
39321         (tests-special): ... additions to this variable.
39322         (xtests): Change dependencies to ....
39323         (xtests-special): ... additions to this variable.
39324         * resolv/Makefile (tests): Change dependencies to ....
39325         (tests-special): ... additions to this variable.
39326         (xtests): Change dependencies to ....
39327         (xtests-special): ... additions to this variable.
39328         * stdio-common/Makefile (tests): Change dependencies to ....
39329         (tests-special): ... additions to this variable.
39330         (do-tst-unbputc): Remove target.
39331         (do-tst-printf): Likewise.
39332         * stdlib/Makefile (tests): Change dependencies to ....
39333         (tests-special): ... additions to this variable.
39334         * string/Makefile (tests): Change dependencies to ....
39335         (tests-special): ... additions to this variable.
39336         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39337         (tests-special): ... additions to this variable.
39339         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39340         whole file.
39341         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39342         whole file.
39343         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39344         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39346         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39347         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39348         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39349         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39350         * conform/data/libgen.h-data [XPG3]: Likewise.
39351         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39352         * conform/data/ndbm.h-data [XPG3]: Likewise.
39353         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39354         * conform/data/netdb.h-data [XPG3]: Likewise.
39355         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39356         * conform/data/poll.h-data [XPG3]: Likewise.
39357         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39358         * conform/data/strings.h-data [XPG3]: Likewise.
39359         * conform/data/stropts.h-data [XPG3]: Likewise.
39360         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39361         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39362         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39363         Likewise.
39364         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39365         * conform/data/sys/time.h-data [XPG3]: Likewise.
39366         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39367         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39368         * conform/data/sys/un.h-data [XPG3]: Likewise.
39369         * conform/data/syslog.h-data [XPG3]: Likewise.
39370         * conform/data/ucontext.h-data [XPG3]: Likewise.
39371         * conform/data/utmpx.h-data [XPG3]: Likewise.
39372         * conform/data/varargs.h-data [UNIX98]: Enable file.
39374         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39376         * math/libm-test.inc (struct test_f_f_data): Move expected results
39377         into structure for each rounding mode.
39378         (struct test_ff_f_data): Likewise.
39379         (struct test_ff_f_data_nexttoward): Likewise.
39380         (struct test_fi_f_data): Likewise.
39381         (struct test_fl_f_data): Likewise.
39382         (struct test_if_f_data): Likewise.
39383         (struct test_fff_f_data): Likewise.
39384         (struct test_c_f_data): Likewise.
39385         (struct test_f_f1_data): Likewise.
39386         (struct test_fF_f1_data): Likewise.
39387         (struct test_ffI_f1_data): Likewise.
39388         (struct test_c_c_data): Likewise.
39389         (struct test_cc_c_data): Likewise.
39390         (struct test_f_i_data): Likewise.
39391         (struct test_ff_i_data): Likewise.
39392         (struct test_f_l_data): Likewise.
39393         (struct test_f_L_data): Likewise.
39394         (struct test_fFF_11_data): Likewise.
39395         (RM_): New macro.
39396         (RM_FE_DOWNWARD): Likewise.
39397         (RM_FE_TONEAREST): Likewise.
39398         (RM_FE_TOWARDZERO): Likewise.
39399         (RM_FE_UPWARD): Likewise.
39400         (RUN_TEST_LOOP_f_f): Update references to expected results.
39401         (RUN_TEST_LOOP_2_f): Likewise.
39402         (RUN_TEST_LOOP_fff_f): Likewise.
39403         (RUN_TEST_LOOP_c_f): Likewise.
39404         (RUN_TEST_LOOP_f_f1): Likewise.
39405         (RUN_TEST_LOOP_fF_f1): Likewise.
39406         (RUN_TEST_LOOP_fI_f1): Likewise.
39407         (RUN_TEST_LOOP_ffI_f1): Likewise.
39408         (RUN_TEST_LOOP_c_c): Likewise.
39409         (RUN_TEST_LOOP_cc_c): Likewise.
39410         (RUN_TEST_LOOP_f_i): Likewise.
39411         (RUN_TEST_LOOP_f_i_tg): Likewise.
39412         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39413         (RUN_TEST_LOOP_f_b): Likewise.
39414         (RUN_TEST_LOOP_f_b_tg): Likewise.
39415         (RUN_TEST_LOOP_f_l): Likewise.
39416         (RUN_TEST_LOOP_f_L): Likewise.
39417         (RUN_TEST_LOOP_fFF_11): Likewise.
39418         * math/gen-libm-test.pl (parse_args): Output four copies of
39419         expected results for each test.
39421         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39422         (__ASSUME_UTIMES): Remove.
39423         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39424         (__ASSUME_UTIMES): Likewise.
39426         * math/gen-auto-libm-tests.c: Update comment on output format.
39427         (output_for_one_input_case): Generate before-rounding and
39428         after-rounding information as conditions on output flags not
39429         floating-point format.
39430         * math/auto-libm-test-out: Regenerated.
39431         * math/gen-libm-test.pl (cond_value): New function.
39432         (or_cond_value): Use cond_value.
39433         (generate_testfile): Handle conditional exceptions.
39435 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39437         * math/libm-test.inc (max_valid_error): New variable.
39438         (init_max_error): Take new argument specifying whether function
39439         results are exactly determined.  Set max_valid_error and bound
39440         other variables for errors based on this argument.
39441         (set_max_error): Do not record results above max_valid_error.
39442         (check_float_internal): Only accept errors of up to 0.5ulps if
39443         also at most max_valid_error.
39444         (START): Take new argument EXACT and pass it to init_max_error.
39445         (acos_test): Update call to START.
39446         (acos_test_tonearest): Likewise.
39447         (acos_test_towardzero): Likewise.
39448         (acos_test_downward): Likewise.
39449         (acos_test_upward): Likewise.
39450         (acosh_test): Likewise.
39451         (asin_test): Likewise.
39452         (asin_test_tonearest): Likewise.
39453         (asin_test_towardzero): Likewise.
39454         (asin_test_downward): Likewise.
39455         (asin_test_upward): Likewise.
39456         (asinh_test): Likewise.
39457         (atan_test): Likewise.
39458         (atanh_test): Likewise.
39459         (atan2_test): Likewise.
39460         (cabs_test): Likewise.
39461         (cacos_test): Likewise.
39462         (cacosh_test): Likewise.
39463         (carg_test): Likewise.
39464         (casin_test): Likewise.
39465         (casinh_test): Likewise.
39466         (catan_test): Likewise.
39467         (catanh_test): Likewise.
39468         (cbrt_test): Likewise.
39469         (ccos_test): Likewise.
39470         (ccosh_test): Likewise.
39471         (ceil_test): Likewise.
39472         (cexp_test): Likewise.
39473         (cimag_test): Likewise.
39474         (clog_test): Likewise.
39475         (clog10_test): Likewise.
39476         (conj_test): Likewise.
39477         (copysign_test): Likewise.
39478         (cos_test): Likewise.
39479         (cos_test_tonearest): Likewise.
39480         (cos_test_towardzero): Likewise.
39481         (cos_test_downward): Likewise.
39482         (cos_test_upward): Likewise.
39483         (cosh_test): Likewise.
39484         (cosh_test_tonearest): Likewise.
39485         (cosh_test_towardzero): Likewise.
39486         (cosh_test_downward): Likewise.
39487         (cosh_test_upward): Likewise.
39488         (cpow_test): Likewise.
39489         (cproj_test): Likewise.
39490         (creal_test): Likewise.
39491         (csin_test): Likewise.
39492         (csinh_test): Likewise.
39493         (csqrt_test): Likewise.
39494         (ctan_test): Likewise.
39495         (ctan_test_tonearest): Likewise.
39496         (ctan_test_towardzero): Likewise.
39497         (ctan_test_downward): Likewise.
39498         (ctan_test_upward): Likewise.
39499         (ctanh_test): Likewise.
39500         (ctanh_test_tonearest): Likewise.
39501         (ctanh_test_towardzero): Likewise.
39502         (ctanh_test_downward): Likewise.
39503         (ctanh_test_upward): Likewise.
39504         (erf_test): Likewise.
39505         (erfc_test): Likewise.
39506         (exp_test): Likewise.
39507         (exp_test_tonearest): Likewise.
39508         (exp_test_towardzero): Likewise.
39509         (exp_test_downward): Likewise.
39510         (exp_test_upward): Likewise.
39511         (exp10_test): Likewise.
39512         (exp10_test_tonearest): Likewise.
39513         (exp10_test_towardzero): Likewise.
39514         (exp10_test_downward): Likewise.
39515         (exp10_test_upward): Likewise.
39516         (pow10_test): Likewise.
39517         (exp2_test): Likewise.
39518         (expm1_test): Likewise.
39519         (expm1_test_tonearest): Likewise.
39520         (expm1_test_towardzero): Likewise.
39521         (expm1_test_downward): Likewise.
39522         (expm1_test_upward): Likewise.
39523         (fabs_test): Likewise.
39524         (fdim_test): Likewise.
39525         (floor_test): Likewise.
39526         (fma_test): Likewise.
39527         (fma_test_towardzero): Likewise.
39528         (fma_test_downward): Likewise.
39529         (fma_test_upward): Likewise.
39530         (fmax_test): Likewise.
39531         (fmin_test): Likewise.
39532         (fmod_test): Likewise.
39533         (fpclassify_test): Likewise.
39534         (frexp_test): Likewise.
39535         (hypot_test): Likewise.
39536         (ilogb_test): Likewise.
39537         (isfinite_test): Likewise.
39538         (finite_test): Likewise.
39539         (isgreater_test): Likewise.
39540         (isgreaterequal_test): Likewise.
39541         (isinf_test): Likewise.
39542         (isless_test): Likewise.
39543         (islessequal_test): Likewise.
39544         (islessgreater_test): Likewise.
39545         (isnan_test): Likewise.
39546         (isnormal_test): Likewise.
39547         (issignaling_test): Likewise.
39548         (isunordered_test): Likewise.
39549         (j0_test): Likewise.
39550         (j1_test): Likewise.
39551         (jn_test): Likewise.
39552         (ldexp_test): Likewise.
39553         (lgamma_test): Likewise.
39554         (gamma_test): Likewise.
39555         (lrint_test): Likewise.
39556         (lrint_test_tonearest): Likewise.
39557         (lrint_test_towardzero): Likewise.
39558         (lrint_test_downward): Likewise.
39559         (lrint_test_upward): Likewise.
39560         (llrint_test): Likewise.
39561         (llrint_test_tonearest): Likewise.
39562         (llrint_test_towardzero): Likewise.
39563         (llrint_test_downward): Likewise.
39564         (llrint_test_upward): Likewise.
39565         (log_test): Likewise.
39566         (log10_test): Likewise.
39567         (log1p_test): Likewise.
39568         (log2_test): Likewise.
39569         (logb_test): Likewise.
39570         (logb_test_downward): Likewise.
39571         (lround_test): Likewise.
39572         (llround_test): Likewise.
39573         (modf_test): Likewise.
39574         (nearbyint_test): Likewise.
39575         (nextafter_test): Likewise.
39576         (nexttoward_test): Likewise.
39577         (pow_test): Likewise.
39578         (pow_test_tonearest): Likewise.
39579         (pow_test_towardzero): Likewise.
39580         (pow_test_downward): Likewise.
39581         (pow_test_upward): Likewise.
39582         (remainder_test): Likewise.
39583         (drem_test): Likewise.
39584         (remainder_test_tonearest): Likewise.
39585         (drem_test_tonearest): Likewise.
39586         (remainder_test_towardzero): Likewise.
39587         (drem_test_towardzero): Likewise.
39588         (remainder_test_downward): Likewise.
39589         (drem_test_downward): Likewise.
39590         (remainder_test_upward): Likewise.
39591         (drem_test_upward): Likewise.
39592         (remquo_test): Likewise.
39593         (rint_test): Likewise.
39594         (rint_test_tonearest): Likewise.
39595         (rint_test_towardzero): Likewise.
39596         (rint_test_downward): Likewise.
39597         (rint_test_upward): Likewise.
39598         (round_test): Likewise.
39599         (scalb_test): Likewise.
39600         (scalbn_test): Likewise.
39601         (scalbln_test): Likewise.
39602         (signbit_test): Likewise.
39603         (sin_test): Likewise.
39604         (sin_test_tonearest): Likewise.
39605         (sin_test_towardzero): Likewise.
39606         (sin_test_downward): Likewise.
39607         (sin_test_upward): Likewise.
39608         (sincos_test): Likewise.
39609         (sinh_test): Likewise.
39610         (sinh_test_tonearest): Likewise.
39611         (sinh_test_towardzero): Likewise.
39612         (sinh_test_downward): Likewise.
39613         (sinh_test_upward): Likewise.
39614         (sqrt_test): Likewise.
39615         (sqrt_test_tonearest): Likewise.
39616         (sqrt_test_towardzero): Likewise.
39617         (sqrt_test_downward): Likewise.
39618         (sqrt_test_upward): Likewise.
39619         (tan_test): Likewise.
39620         (tan_test_tonearest): Likewise.
39621         (tan_test_towardzero): Likewise.
39622         (tan_test_downward): Likewise.
39623         (tan_test_upward): Likewise.
39624         (tanh_test): Likewise.
39625         (tgamma_test): Likewise.
39626         (trunc_test): Likewise.
39627         (y0_test): Likewise.
39628         (y1_test): Likewise.
39629         (yn_test): Likewise.
39630         (significand_test): Likewise.
39632         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39633         individual tests in comment.
39634         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39635         (prev_max_error): New variable.
39636         (prev_real_max_error): Likewise.
39637         (prev_imag_max_error): Likewise.
39638         (compare_ulp_data): Don't refer to test names in comment.
39639         (find_test_ulps): Remove function.
39640         (find_function_ulps): Likewise.
39641         (find_complex_function_ulps): Likewise.
39642         (init_max_error): Take function name as argument.  Look up ulps
39643         for that function.
39644         (print_ulps): Remove function.
39645         (print_max_error): Use prev_max_error instead of calling
39646         find_function_ulps.
39647         (print_complex_max_error): Use prev_real_max_error and
39648         prev_imag_max_error instead of calling find_complex_function_ulps.
39649         (check_float_internal): Take max_ulp parameter instead of calling
39650         find_test_ulps.  Don't call print_ulps.
39651         (check_float): Update call to check_float_internal.
39652         (check_complex): Update calls to check_float_internal.
39653         (START): Pass argument to init_max_error.
39654         * math/gen-libm-test.pl (%results): Don't include "kind"
39655         information.
39656         (parse_ulps): Don't handle ulps of individual tests.
39657         (print_ulps_file): Likewise.
39658         (output_ulps): Likewise.
39659         * math/README.libm-test: Update.
39660         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39661         individual tests.
39662         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39663         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39664         * sysdeps/arm/libm-test-ulps: Likewise.
39665         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39666         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39667         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39668         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39669         * sysdeps/microblaze/libm-test-ulps: Likewise.
39670         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39671         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39672         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39673         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39674         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39675         * sysdeps/sh/libm-test-ulps: Likewise.
39676         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39677         * sysdeps/tile/libm-test-ulps: Likewise.
39678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39680 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39682         * math/libm-test.inc (print_complex_max_error): Check separately
39683         whether real and imaginary errors are within allowed range and
39684         pass 0 to print_complex_function_ulps instead of value within
39685         allowed range.
39687 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39689         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39690         formatting.
39691         (get_handles_fopen): Likewise.
39692         (do_write_test): Likewise.
39694         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39696         * libio/fileops.c (do_ftell): Use cached offset when
39697         available.
39698         * libio/iofwide.c (do_ftell_wide): Likewise.
39699         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39700         _IO_file_attach.
39701         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39703         [BZ #16532]
39704         * libio/libioP.h (get_file_offset): New function.
39705         * libio/fileops.c (get_file_offset): Likewise.
39706         (do_ftell): Likewise.
39707         (_IO_new_file_seekoff): Split out ftell logic.
39708         * libio/wfileops.c (do_ftell_wide): Likewise.
39709         (_IO_wfile_seekoff): Split out ftell logic.
39710         * libio/tst-ftell-active-handler.c: New test case.
39711         * libio/Makefile (tests): Add it.
39713 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39715         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39716         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39718 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39720         [BZ #16639]
39721         * nscd/connections.c (nscd_init): Call do_exit.
39722         (start_threads): Call do_exit and notify_parent.
39723         (begin_drop_privileges): Call do_exit.
39724         (finish_drop_privileges): Likewise.
39725         * nscd/selinux.c (preserve_capabilities): Likewise.
39726         (install_real_capabilities): Likewise.
39727         (nscd_selinux_enabled): Likewise.
39728         (avc_create_thread): Likewise.
39729         (avc_alloc_lock): Likewise.
39730         (nscd_avc_init): Likewise.
39731         * nscd/nscd.c (parent_fd): New static variable.
39732         (main): Create a pipe between parent and child processes.
39733         Skip closing parent_fd.
39734         (monitor_child): New function.
39735         (do_exit): Likewise.
39736         (notify_parent): Likewise.
39737         * nscd/nscd.h (notify_parent): Likewise.
39738         (do_exit): Likewise.
39740 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39742         * malloc/malloc.c (__libc_calloc): Revert last change.
39744 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39748 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39750         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39752         implementation.
39753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39754         (__libc_ifunc_impl_list): Likewise.
39755         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39756         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39757         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39758         * string/strrchr.c: Define STRRCHR.
39760 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39762         * benchtest/bench-strtok.c (simple_strtok): Delete.
39763         (strtok_string): Use as benchmark.
39764         * string/strtok (STRTOK): New macro.
39766 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39768         * manual/threads.texi: Add header and standard comments to all
39769         functions.
39771         * elf/dl-lookup.c (check_match): New function.
39772         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39773         (do_lookup_x): Remove nested function check_match. Use non-nested
39774         function check_match.
39776 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39778         * csu/Makefile (generated, before-compile): Use += rather than =.
39779         * catgets/Makefile (generated, generated-dirs): Likewise.
39780         * debug/Makefile (generated): Likewise.
39781         * dlfcn/Makefile (generated): Likewise.
39782         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39783         * iconvdata/Makefile (before-compile, generated): Likewise.
39784         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39785         * libio/Makefile (generated): Likewise.
39786         * malloc/Makefile (generated): Likewise.
39787         * manual/Makefile (generated, generated-dirs): Likewise.
39788         * misc/Makefile (generated): Likewise.
39789         * posix/Makefile (generated): Likewise.
39790         * resolv/Makefile (generated): Likewise.
39791         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39792         * timezone/Makefile (generated, generated-dirs): Likewise.
39794         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39796 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39798         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39799         power8 implementation.
39800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39801         file: POWER8 llround ifunc implementation.
39802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39803         (__lllround): Add POWER8 implementation.
39804         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39805         POWER8 llround implementation.
39807         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39808         power8 implementation.
39809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39810         file: POWER8 llrint ifunc implementation.
39811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39812         Add POWER8 implementation.
39813         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39814         POWER8 llrint implementation.
39816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39817         power8 implementation.
39818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39819         file: POWER8 finite ifunc implementation.
39820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39821         Add POWER8 implementation.
39822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39823         Likewise.
39824         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39825         POWER8 finite implementation.
39826         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39829         power8 implementation.
39830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39831         file: POWER8 isinf ifunc implementation.
39832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39833         POWER8 implementation.
39834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39835         Likewise.
39836         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39837         isinf implementation.
39838         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39840         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39841         (INIT_ARCH): Add hwcap2 initialization.
39842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39843         power8 implementation.
39844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39845         file: POWER8 isnan ifunc implementation.
39846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39847         POWER8 implementation.
39848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39849         Likewise.
39850         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39851         isnan implementation.
39852         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39854 2014-02-27  Joey Ye  <joey.ye@arm.com>
39856         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39857         (_FP_NANFRAC_Q): Set to zero.
39859 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39861         [BZ #16623]
39862         * math/auto-libm-test-in: New test inputs.
39863         * math/auto-libm-test-out: Regenerate.
39864         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39865         and DA.
39866         (__cos): Likewise.
39867         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39869 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39871         * scripts/evaluate-test.sh: Take new argument indicating whether
39872         failure is expected.
39873         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39874         indicating whether failure is expected.
39875         * conform/Makefile (test-xfail-run-conformtest): New variable.
39876         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39877         level.
39878         * posix/Makefile (test-xfail-annexc): New variable.
39879         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39881 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39883         * argp/Makefile: Include Makeconfig immediately after defining
39884         subdir.
39885         * assert/Makefile: Likewise.
39886         * benchtests/Makefile: Likewise.
39887         * catgets/Makefile: Likewise.
39888         * conform/Makefile: Likewise.
39889         * crypt/Makefile: Likewise.
39890         * csu/Makefile: Likewise.
39891         (all): Remove target.
39892         * ctype/Makefile: Include Makeconfig immediately after defining
39893         subdir.
39894         * debug/Makefile: Likewise.
39895         * dirent/Makefile: Likewise.
39896         * dlfcn/Makefile: Likewise.
39897         * gmon/Makefile: Likewise.
39898         * gnulib/Makefile: Likewise.
39899         * grp/Makefile: Likewise.
39900         * gshadow/Makefile: Likewise.
39901         * hesiod/Makefile: Likewise.
39902         * hurd/Makefile: Likewise.
39903         (all): Remove target.
39904         * iconvdata/Makefile: Include Makeconfig immediately after
39905         defining subdir.
39906         * inet/Makefile: Likewise.
39907         * intl/Makefile: Likewise.
39908         * io/Makefile: Likewise.
39909         * libio/Makefile: Likewise.
39910         (all): Remove target.
39911         * locale/Makefile: Include Makeconfig immediately after defining
39912         subdir.
39913         * login/Makefile: Likewise.
39914         * mach/Makefile: Likewise.
39915         (all): Remove target.
39916         * malloc/Makefile: Include Makeconfig immediately after defining
39917         subdir.
39918         (all): Remove target.
39919         * manual/Makefile: Include Makeconfig immediately after defining
39920         subdir.
39921         * math/Makefile: Likewise.
39922         * misc/Makefile: Likewise.
39923         * nis/Makefile: Likewise.
39924         * nss/Makefile: Likewise.
39925         * po/Makefile: Likewise.
39926         (all): Remove target.
39927         * posix/Makefile: Include Makeconfig immediately after defining
39928         subdir.
39929         * pwd/Makefile: Likewise.
39930         * resolv/Makefile: Likewise.
39931         * resource/Makefile: Likewise.
39932         * rt/Makefile: Likewise.
39933         * setjmp/Makefile: Likewise.
39934         * shadow/Makefile: Likewise.
39935         * signal/Makefile: Likewise.
39936         * socket/Makefile: Likewise.
39937         * soft-fp/Makefile: Likewise.
39938         * stdio-common/Makefile: Likewise.
39939         * stdlib/Makefile: Likewise.
39940         * streams/Makefile: Likewise.
39941         * string/Makefile: Likewise.
39942         * sunrpc/Makefile: Likewise.
39943         (all): Remove target.
39944         * sysvipc/Makefile: Include Makeconfig immediately after defining
39945         subdir.
39946         * termios/Makefile: Likewise.
39947         * time/Makefile: Likewise.
39948         * timezone/Makefile: Likewise.
39949         (all): Remove target.
39950         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39951         subdir.
39952         * wctype/Makefile: Likewise.
39954 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39956         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39957         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39958         (libc_feholdexcept_setround_mips): Ditto.
39959         (libc_feholdsetround): New.
39960         (libc_feholdsetroundf): New.
39961         (libc_feholdsetroundl): New.
39962         (libc_feupdateenv_test_mips): New.
39963         (libc_feupdateenv_test): New.
39964         (libc_feupdateenv_testf): New.
39965         (libc_feupdateenv_testl): New.
39966         (libc_feresetround): New.
39967         (libc_feresetroundf): New.
39968         (libc_feresetroundl): New.
39969         (libc_fetestexcept_mips): New.
39970         (libc_fetestexcept): New.
39971         (libc_fetestexceptf): New.
39972         (libc_fetestexceptl): New.
39973         (HAVE_RM_CTX): New.
39974         (libc_feholdexcept_setround_mips_ctx): New.
39975         (libc_feholdexcept_setround_ctx): New.
39976         (libc_feholdexcept_setroundf_ctx): New.
39977         (libc_feholdexcept_setroundl_ctx): New.
39978         (libc_fesetenv_mips_ctx): New.
39979         (libc_fesetenv_ctx): New.
39980         (libc_fesetenv_ctxf): New.
39981         (libc_fesetenv_ctxl): New.
39982         (libc_feupdateenv_mips_ctx): New.
39983         (libc_feupdateenv_ctx): New.
39984         (libc_feupdateenvf_ctx): New.
39985         (libc_feupdateenvl_ctx): New.
39986         (libc_feholdsetround_mips_ctx): New.
39987         (libc_feholdsetround_ctx): New.
39988         (libc_feholdsetroundf_ctx): New.
39989         (libc_feholdsetroundl_ctx): New.
39990         (libc_feresetround_mips_ctx): New.
39991         (libc_feresetround_ctx): New.
39992         (libc_feresetroundf_ctx): New.
39993         (libc_feresetroundl_ctx): New.
39995 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39997         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39999         * manual/ipc.texi: New file.
40000         * manual/Makefile (chapters): Add ipc.
40001         * manual/job.texi: Add "Inter-Process Communication" to next.
40002         * manual/process.texi: Add "Inter-Process Communication" to prev.
40004 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40008 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40010         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40012         * manual/arith.texi: Fix spaces after sentences.
40013         * manual/charset.texi: Likewise.
40014         * manual/errno.texi: Likewise.
40015         * manual/install.texi: Likewise.
40016         * manual/llio.texi: Likewise.
40017         * manual/locale.texi: Likewise.
40018         * manual/maint.texi: Likewise.
40019         * manual/math.texi: Likewise.
40020         * manual/memory.texi: Likewise.
40021         * manual/message.texi: Likewise.
40022         * manual/probes.texi: Likewise.
40023         * manual/resource.texi: Likewise.
40024         * manual/signal.texi: Likewise.
40025         * manual/socket.texi: Likewise.
40026         * manual/stdio.texi: Likewise.
40027         * manual/string.texi: Likewise.
40028         * manual/time.texi: Likewise.
40029         * manual/users.texi: Likewise.
40031 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40033         [BZ #16632]
40034         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40035         _DEFAULT_SOURCE is defined.
40037 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40038             Carlos O'Donell  <carlos@redhat.com>
40040         [BZ #16613]
40041         * elf/dl-tls.c (_dl_count_modids): New function.
40042         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40043         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40044         audit library and increment generation counter.
40045         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40046         * elf/tst-audit9.c: New file.
40047         * elf/tst-auditmod9a.c: New file.
40048         * elf/tst-auditmod9b.c: New file.
40049         * elf/Makefile: Add rules to build and run tst-audit9.
40051 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40053         [BZ #15347]
40054         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40056 2014-02-25  Will Newton  <will.newton@linaro.org>
40058         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40059         (__longjmp): Restore sp and lr before restoring callee
40060         saved registers.  Add longjmp and longjmp_target
40061         SystemTap probe point.
40062         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40063         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40064         Define to zero to match jmpbuf layout.
40065         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40066         (__sigsetjmp): Save sp and lr before saving callee
40067         saved registers.  Add setjmp SystemTap probe point.
40069 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40071         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40073 2014-02-24  Andreas Schwab  <schwab@suse.de>
40075         [BZ #15804]
40076         * elf/pldd.c (wait_for_ptrace_stop): New function.
40077         (main): Call it after attaching.
40079 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40081         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40082         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40083         Versions files is now verboten.
40084         * hurd/Versions (libc: GLIBC_2.0):
40085         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40086         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40087         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40088         * mach/Versions: Likewise.
40090         * csu/Versions: Remove unused %include.
40091         * resolv/Versions: Likewise.
40093 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40095         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40096         ($(objpfx)check-local-headers.out): Likewise.
40097         ($(objpfx)begin-end-check.out): Likewise.
40098         * Makerules (check-abi-%.out): Likewise.
40099         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40100         ($(objpfx)test2.cat): Likewise.
40101         ($(objpfx)de/libc.cat): Likewise.
40102         ($(objpfx)test-gencat.out): Likewise.
40103         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40104         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40105         ($(objpfx)noload-mem): Likewise.
40106         ($(objpfx)tst-pathopt.out): Likewise.
40107         ($(objpfx)tst-rtld-load-self.out): Likewise.
40108         ($(objpfx)tst-array1-cmp.out): Likewise.
40109         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40110         ($(objpfx)tst-array2-cmp.out): Likewise.
40111         ($(objpfx)tst-array3-cmp.out): Likewise.
40112         ($(objpfx)tst-array4-cmp.out): Likewise.
40113         ($(objpfx)tst-array5-cmp.out): Likewise.
40114         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40115         ($(objpfx)check-textrel.out): Likewise.
40116         ($(objpfx)check-execstack.out): Likewise.
40117         ($(objpfx)check-localplt.out): Likewise.
40118         ($(objpfx)order2-cmp.out): Likewise.
40119         ($(objpfx)tst-leaks1-mem): Likewise.
40120         ($(objpfx)tst-leaks1-static-mem): Likewise.
40121         ($(objpfx)tst-initorder-cmp.out): Likewise.
40122         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40123         ($(objpfx)tst-unused-dep.out): Likewise.
40124         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40125         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40126         * iconv/Makefile (test-iconvconfig): Likewise.
40127         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40128         ($(objpfx)iconv-test.out): Likewise.
40129         ($(objpfx)tst-tables.out): Likewise.
40130         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40131         ($(objpfx)tst-gettext.out): Likewise.
40132         ($(objpfx)tst-translit.out): Likewise.
40133         ($(objpfx)tst-gettext2.out): Likewise.
40134         ($(objpfx)tst-gettext4.out): Likewise.
40135         ($(objpfx)tst-gettext6.out): Likewise.
40136         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40137         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40138         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40139         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40140         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40141         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40142         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40143         ($(objpfx)wordexp-tst.out): Likewise.
40144         ($(objpfx)annexc.out): Likewise.
40145         ($(objpfx)tst-fnmatch-mem): Likewise.
40146         ($(objpfx)bug-regex2-mem): Likewise.
40147         ($(objpfx)bug-regex14-mem): Likewise.
40148         ($(objpfx)bug-regex21-mem): Likewise.
40149         ($(objpfx)bug-regex31-mem): Likewise.
40150         ($(objpfx)tst-vfork3-mem): Likewise.
40151         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40152         ($(objpfx)tst-pcre-mem): Likewise.
40153         ($(objpfx)tst-boost-mem): Likewise.
40154         ($(objpfx)tst-getconf.out): Likewise.
40155         ($(objpfx)bug-ga2-mem): Likewise.
40156         ($(objpfx)bug-glob2-mem): Likewise.
40157         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40158         ($(objpfx)mtrace-tst-leaks2): Likewise.
40159         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40160         ($(objpfx)tst-printf.out): Likewise.
40161         ($(objpfx)tst-setvbuf1.out): Likewise.
40162         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40163         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40164         ($(objpfx)tst-fmtmsg.out): Likewise.
40165         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40166         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40168         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40169         * bits/sigaction.h [__USE_MISC]: Likewise.
40170         * bits/waitstatus.h: Update #endif comments.
40171         * ctype/ctype.h: Likewise.
40172         * dirent/dirent.h: Likewise.
40173         [__USE_MISC]: Remove redundant conditionals.
40174         * grp/grp.h: Update #endif comments.
40175         [__USE_GNU]: Remove redundant conditionals.
40176         [__USE_MISC]: Likewise.
40177         * inet/netinet/in.h [__USE_GNU]: Likewise.
40178         * io/sys/stat.h [__USE_MISC]: Likewise.
40179         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40180         * libio/bits/stdio.h: Update #endif comments.
40181         [__USE_MISC]: Remove redundant conditionals.
40182         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40183         * libio/stdio.h: Update #endif comments.
40184         [__USE_MISC]: Remove redundant conditionals.
40185         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40186         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40187         * math/math.h: Update #else and #endif comments.
40188         [__USE_MISC]: Remove redundant conditionals.
40189         * misc/sys/uio.h: Update #endif comments.
40190         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40191         * posix/glob.h [__USE_MISC]: Likewise.
40192         * posix/sys/types.h: Update #endif comments.
40193         [__USE_MISC]: Remove redundant conditionals.
40194         * posix/sys/wait.h: Update #endif comments.
40195         [__USE_MISC]: Remove redundant conditionals.
40196         * posix/unistd.h: Update #endif comments.
40197         [__USE_MISC]: Remove redundant conditionals.
40198         * pwd/pwd.h [__USE_GNU]: Likewise.
40199         [__USE_MISC]: Likewise.
40200         * resolv/netdb.h [__USE_GNU]: Likewise.
40201         * signal/signal.h: Update #endif comments.
40202         [__USE_MISC]: Remove redundant conditionals.
40203         * stdlib/stdlib.h: Update #else and #endif comments.
40204         [__USE_MISC]: Remove redundant conditionals.
40205         [__USE_GNU]: Likewise.
40206         * string/bits/string2.h [__USE_MISC]: Likewise.
40207         * string/string.h: Update #endif comments.
40208         [__USE_MISC]: Remove redundant conditionals.
40209         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40210         Likewise.
40211         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40212         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40213         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40214         Likewise.
40215         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40216         Likewise.
40217         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40218         comments.
40219         [__USE_MISC]: Remove redundant conditionals.
40220         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40221         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40222         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40223         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40224         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40225         Likewise.
40226         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40227         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40228         Likewise.
40229         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40230         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40231         Likewise.
40232         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40233         Likewise.
40234         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40235         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40236         Likewise.
40237         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40238         Likewise.
40239         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40240         * sysdeps/x86/bits/string.h: Update #endif comments.
40241         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40242         conditionals.
40243         * time/sys/time.h: Update #endif comments.
40244         * time/time.h: Likewise.
40245         [__USE_MISC]: Remove redundant conditionals.
40247 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40249         [BZ #16600]
40250         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40252 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40254         * Versions.def (librt): Add GLIBC_2.17.
40256 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40258         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40259         synonym for _SYS_AUXV_H to allow direct inclusion.
40260         * sysdeps/sparc/bits/hwcap.h: Likewise.
40261         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40262         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40263         * sysdeps/sparc/sysdep.h: Likewise.
40265 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40267         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40269 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40271         * benchtests/bench-strrchr.c: Print length instead of position.
40273 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40275         [BZ #16611]
40276         * sysdeps/unix/sysv/linux/kernel-features.h
40277         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40278         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40279         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40280         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40281         Likewise.
40282         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40283         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40284         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40285         (__ASSUME_SENDMMSG): Define instead of using previous
40286         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40287         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40288         (__ASSUME_SENDMMSG_SYSCALL): Define.
40289         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40290         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40291         Likewise.
40292         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40293         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40294         Likewise.
40295         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40296         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40297         Likewise.
40298         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40299         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40300         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40301         [__ASSUME_SENDMMSG]: Change conditionals to
40302         [__ASSUME_SENDMMSG_SOCKETCALL].
40303         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40304         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40305         Define.
40306         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40307         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40308         Likewise.
40309         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40310         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40311         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40312         [!__ASSUME_SENDMMSG]: Change conditional to
40313         [!__ASSUME_SENDMMSG_SOCKETCALL].
40314         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40315         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40316         Define.
40318         [BZ #16610]
40319         * sysdeps/unix/sysv/linux/kernel-features.h
40320         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40321         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40322         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40323         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40324         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40325         [__i386__ || __sparc__]
40326         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40327         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40328         (__ASSUME_RECVMMSG): Define instead of using previous
40329         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40330         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40331         (__ASSUME_RECVMMSG_SYSCALL): Define.
40332         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40333         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40334         Likewise.
40335         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40336         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40337         Likewise.
40338         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40339         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40340         Likewise.
40341         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40342         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40343         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40344         [__ASSUME_RECVMMSG]: Change condition to
40345         [__ASSUME_RECVMMSG_SOCKETCALL].
40346         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40347         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40348         Define.
40349         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40350         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40351         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40352         Likewise.
40353         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40354         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40355         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40356         [!__ASSUME_RECVMMSG]: Change condition to
40357         [!__ASSUME_RECVMMSG_SOCKETCALL].
40358         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40359         (__ASSUME_RECVMMSG_SYSCALL): Define.
40361         [BZ #16609]
40362         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40363         __powerpc__ || __s390__ || __sh__ || __sparc__]
40364         (__ASSUME_SOCKETCALL): Define.
40365         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40366         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40367         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40368         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40369         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40370         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40371         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40372         (__ASSUME_ACCEPT4): Define instead of using previous
40373         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40374         __powerpc__ || __sparc__ || __s390__)] condition.
40375         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40376         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40377         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40378         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40379         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40380         [!__ASSUME_ACCEPT4]: Change condition to
40381         [!__ASSUME_ACCEPT4_SOCKETCALL].
40382         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40383         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40384         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40385         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40386         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40387         __ASSUME_ACCEPT4_SYSCALL.
40388         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40389         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40390         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40391         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40392         __ASSUME_ACCEPT4_SYSCALL.
40393         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40394         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40395         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40396         [__ASSUME_ACCEPT4]: Change condition to
40397         [__ASSUME_ACCEPT4_SOCKETCALL].
40398         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40399         (__ASSUME_SOCKETCALL): Define.
40400         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40401         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40402         (__ASSUME_SOCKETCALL): Define.
40403         (__ASSUME_ACCEPT4): Remove.
40404         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40405         Define.
40406         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40407         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40408         Likewise.
40409         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40410         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40412         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40413         macro.
40414         (HWCAP_ARM_LPAE): Likewise.
40415         (HWCAP_ARM_EVTSTRM): Likewise.
40416         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40417         Add vpfd32, lpae and evtstrm.
40418         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40419         Increase to 22.
40421 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40423         * math/auto-libm-test-in: Add tests of clog10.
40424         * math/auto-libm-test-out: Regenerated.
40425         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40426         * sysdeps/i386/fpu/libm-test-ulps: Update.
40427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40429 2014-02-18  Andreas Schwab  <schwab@suse.de>
40431         [BZ #16574]
40432         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40433         Store non-zero if the second buffer was newly allocated.
40434         (send_dg): Likewise.
40435         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40436         to send_vc and send_dg.
40437         (res_nsend): Pass NULL for ansp2_malloced.
40438         * resolv/res_query.c (__libc_res_nquery): Add parameter
40439         answerp2_malloced and pass it down to __libc_res_nsend.
40440         (res_nquery): Pass additional NULL to __libc_res_nquery.
40441         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40442         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40443         second answer buffer if answerp2_malloced was set.
40444         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40445         (__libc_res_nquerydomain): Add parameter
40446         answerp2_malloced and pass it down to __libc_res_nquery.
40447         (res_nquerydomain): Pass additional NULL to
40448         __libc_res_nquerydomain.
40449         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40450         additional NULL to __libc_res_nsend and __libc_res_nquery.
40451         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40452         additional NULL to __libc_res_nsearch.
40453         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40454         parameter of __libc_res_nsearch to check for separately allocated
40455         second buffer.
40456         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40457         __libc_res_nquery.
40458         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40459         additional NULL to __libc_res_nquery.
40460         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40461         __libc_res_nsearch.
40462         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40463         * include/resolv.h: Update prototypes of __libc_res_nquery,
40464         __libc_res_nsearch, __libc_res_nsend.
40466 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40468         * math/auto-libm-test-in: Add tests of fma.
40469         * math/auto-libm-test-out: Regenerated.
40470         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40471         (fma_towardzero_test_data): Likewise.
40472         (fma_downward_test_data): Likewise.
40473         (fma_upward_test_data): Likewise.
40474         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40475         mpc_mode.
40476         (rounding_modes): Add values for new field.
40477         (func_calc_method): Add value mpfr_fff_f.
40478         (func_calc_desc): Add mpfr_fff_f union field.
40479         (test_function): Add field exact_args.
40480         (FUNC): Add macro argument EXACT_ARGS.
40481         (FUNC_mpfr_f_f): Update call to FUNC.
40482         (FUNC_mpfr_f_f): Likewise.
40483         (FUNC_mpfr_ff_f): Likewise.
40484         (FUNC_mpfr_if_f): Likewise.
40485         (FUNC_mpc_c_f): Likewise.
40486         (FUNC_mpc_c_c): Likewise.
40487         (test_functions): Add fma.  Update calls to FUNC.
40488         (handle_input_arg): Add argument exact_args.
40489         (add_test): Update call to handle_input_arg.
40490         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40491         (output_for_one_input_case): Update call to calc_generic_results.
40492         Recalculate exact zero results in each rounding mode.
40494         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40495         non-negative before setting low bit.
40496         * math/auto-libm-test-in: Mark one asin test possibly having
40497         spurious underflow.
40498         * math/auto-libm-test-out: Regenerated.
40499         * sysdeps/i386/fpu/libm-test-ulps: Update.
40500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40502 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40504         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40505         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40506         ports/sysdeps/unix/sysv/linux/microblaze.
40507         * README: Add missing listing for microblaze*-*-linux-gnu.
40509 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40511         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40512         duplicate code
40514 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40516         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40517         * sysdeps/unix/sysv/linux/ia64: Move directory from
40518         ports/sysdeps/unix/sysv/linux/ia64.
40519         * README: Update listing for ia64-*-linux-gnu.
40521 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40522             Joseph Myers  <joseph@codesourcery.com>
40524         * Makeconfig (test-name): New variable.
40525         (evaluate-test): Likewise.
40526         * Makerules (do-test-clean): Remove .test-result files.
40527         (common-mostlyclean): Likewise.
40528         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40529         * scripts/evaluate-test.sh: New file.
40531 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40533         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40534         separate $(objpfx)tst-fopenloc-cmp.out and
40535         $(objpfx)tst-fopenloc-mem.out targets.
40536         (tests): Update dependencies.
40537         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40538         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40539         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40540         (tst-rxspencer-no-utf8-ARGS): New variable.
40541         (tst-rxspencer-no-utf8-ENV): Likewise.
40542         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40543         instead of $(objpfx)tst-rxspencer-mem.
40544         ($(objpfx)tst-rxspencer-mem): Change target to
40545         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40546         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40547         * posix/tst-rxspencer-no-utf8.c: New file.
40549         * elf/Makefile ($(objpfx)order.out): Remove rule.
40550         [$(run-built-tests) = yes] (tests): Depend on
40551         $(objpfx)order-cmp.out.
40552         ($(objpfx)order-cmp.out): New rule.
40553         [$(run-built-tests) = yes] (tests): Depend on
40554         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40555         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40556         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40557         $(objpfx)tst-array5-static-cmp.out.
40558         ($(objpfx)tst-array1.out): Remove rule.
40559         ($(objpfx)tst-array1-cmp.out): New rule.
40560         ($(objpfx)tst-array1-static.out): Remove rule.
40561         ($(objpfx)tst-array1-static-cmp.out): New rule.
40562         ($(objpfx)tst-array2.out): Remove rule.
40563         ($(objpfx)tst-array2-cmp.out): New rule.
40564         ($(objpfx)tst-array3.out): Remove rule.
40565         ($(objpfx)tst-array3-cmp.out): New rule.
40566         ($(objpfx)tst-array4.out): Remove rule.
40567         ($(objpfx)tst-array4-cmp.out): New rule.
40568         ($(objpfx)tst-array5.out): Remove rule.
40569         ($(objpfx)tst-array5-cmp.out): New rule.
40570         ($(objpfx)tst-array5-static.out): Remove rule.
40571         ($(objpfx)tst-array5-static-cmp.out): New rule.
40572         [$(run-built-tests) = yes] (tests): Depend on
40573         $(objpfx)order2-cmp.out.
40574         ($(objpfx)order2.out): Remove rule.
40575         ($(objpfx)order2-cmp.out): New rule.
40576         ($(objpfx)tst-initorder.out): Remove rule.
40577         [$(run-built-tests) = yes] (tests): Depend on
40578         $(objpfx)tst-initorder-cmp.out.
40579         ($(objpfx)tst-initorder-cmp.out): New rule.
40580         ($(objpfx)tst-initorder2.out): Remove rule.
40581         [$(run-built-tests) = yes] (tests): Depend on
40582         $(objpfx)tst-initorder2-cmp.out.
40583         ($(objpfx)tst-initorder2-cmp.out): New rule.
40584         [$(run-built-tests) = yes] (tests): Depend on
40585         $(objpfx)tst-unused-dep-cmp.out.
40586         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40587         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40588         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40589         on $(objpfx)tst-setvbuf1-cmp.out.
40590         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40591         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40592         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40593         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40594         ($(objpfx)tst-svc.out): Remove rule.
40595         ($(objpfx)tst-svc-cmp.out): New rule.
40597 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40599         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40600         * ctype/ctype.h [__USE_MISC]: Likewise.
40601         * dirent/dirent.h [__USE_MISC]: Likewise.
40602         * grp/grp.h [__USE_MISC]: Likewise.
40603         * io/fcntl.h [__USE_MISC]: Likewise.
40604         * io/sys/stat.h [__USE_MISC]: Likewise.
40605         * libio/stdio.h [__USE_MISC]: Likewise.
40606         * posix/unistd.h [__USE_MISC]: Likewise.
40607         * pwd/pwd.h [__USE_MISC]: Likewise.
40608         * stdlib.h [__USE_MISC]: Likewise.
40609         * string/bits/string2.h [__USE_MISC]: Likewise.
40610         * string/string.h [__USE_MISC]: Likewise.
40611         * time/time.h [__USE_MISC]: Likewise.
40613 2014-02-13  Andreas Schwab  <schwab@suse.de>
40615         [BZ #16574]
40616         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40617         second answer buffer if it was separately allocated.
40619 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40621         * sysdeps/mips/math-tests.h: Include <features.h>.
40622         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40623         (ROUNDING_TESTS_long_double): Do not define.
40624         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40625         (EXCEPTION_TESTS_long_double): Likewise.
40626         * sysdeps/mips/mips64/libm-test-ulps: Update.
40628         * include/features.h (__USE_BSD): Remove macro definitions.
40629         (__USE_SVID): Likewise.
40630         (_BSD_SOURCE): Likewise.
40631         (_SVID_SOURCE): Likewise.
40632         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40633         from definition of _DEFAULT_SOURCE.
40634         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40635         [_DEFAULT_SOURCE].
40636         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40637         * bits/mman.h [__USE_BSD]: Likewise.
40638         * bits/termios.h [__USE_BSD]: Likewise.
40639         * bits/waitstatus.h [__USE_BSD]: Likewise.
40640         * ctype/ctype.h [__USE_SVID]: Likewise.
40641         * dirent/dirent.h [__USE_BSD]: Likewise.
40642         * grp/grp.h [__USE_SVID]: Likewise.
40643         [__USE_BSD]: Likewise.
40644         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40645         * io/fcntl.h [__USE_BSD]: Likewise.
40646         * io/ftw.h [__USE_BSD]: Likewise.
40647         * io/sys/stat.h [__USE_BSD]: Likewise.
40648         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40649         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40650         * libio/stdio.h [__USE_SVID]: Likewise.
40651         [__USE_BSD]: Likewise.
40652         * math/math.h [__USE_SVID]: Likewise.
40653         [__USE_BSD]: Likewise.
40654         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40655         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40656         * misc/search.h [__USE_SVID]: Likewise.
40657         * misc/sys/mman.h [__USE_BSD]: Likewise.
40658         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40659         * misc/sys/uio.h [__USE_BSD]: Likewise.
40660         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40661         * posix/glob.h [__USE_BSD]: Likewise.
40662         * posix/regex.h [__USE_BSD]: Likewise.
40663         * posix/sys/types.h [__USE_BSD]: Likewise.
40664         [__USE_SVID]: Likewise.
40665         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40666         * posix/sys/wait.h [__USE_BSD]: Likewise.
40667         [__USE_SVID]: Likewise.
40668         * posix/unistd.h [__USE_BSD]: Likewise.
40669         [__USE_SVID]: Likewise.
40670         * pwd/pwd.h [__USE_SVID]: Likewise.
40671         * resolv/netdb.h [__USE_BSD]: Likewise.
40672         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40673         * signal/signal.h [__USE_BSD]: Likewise.
40674         [__USE_SVID]: Likewise.
40675         * socket/sys/socket.h [__USE_BSD]: Likewise.
40676         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40677         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40678         [__USE_SVID]: Likewise.
40679         * string/bits/string2.h [__USE_BSD]: Likewise.
40680         [__USE_SVID]: Likewise.
40681         * string/bits/string3.h [__USE_BSD]: Likewise.
40682         * string/endian.h [__USE_BSD]: Likewise.
40683         * string/string.h [__USE_SVID]: Likewise.
40684         [__USE_BSD]: Likewise.
40685         * string/strings.h [__USE_BSD]: Likewise.
40686         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40687         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40688         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40689         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40690         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40691         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40692         Likewise.
40693         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40694         Likewise.
40695         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40696         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40697         Likewise.
40698         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40699         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40700         Likewise.
40701         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40702         Likewise.
40703         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40704         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40705         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40706         Likewise.
40707         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40708         Likewise.
40709         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40710         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40711         * termios/termios.h [__USE_BSD]: Likewise.
40712         * time/sys/time.h [__USE_BSD]: Likewise.
40713         * time/time.h [__USE_BSD]: Likewise.
40714         [__USE_SVID]: Likewise.
40716         * Makefile (subdir_targets): Remove subdir_lint.out.
40718         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40719         (do-tst-printf): Likewise.
40720         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40721         $(objpfx)tst-printf.out.
40723         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40725         * Makerules (check-abi-%): Change target to
40726         $(objpfx)check-abi-%.out.
40727         (check-abi target): Update dependencies.
40728         (check-abi-pattern variable): Redirect output of diff to $@.
40729         (check-abi variable): Likewise.
40730         * elf/Makefile (check-abi): Update dependencies.
40732         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40733         unused.
40734         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40735         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40736         subnormal range.
40737         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40738         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40739         value has largest subnormal exponent.
40740         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40741         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40742         * sysdeps/aarch64/soft-fp/sfp-machine.h
40743         (_FP_TININESS_AFTER_ROUNDING): New macro.
40744         * sysdeps/alpha/soft-fp/sfp-machine.h
40745         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40746         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40747         Likewise.
40748         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40749         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40750         * sysdeps/mips/soft-fp/sfp-machine.h
40751         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40752         * sysdeps/powerpc/soft-fp/sfp-machine.h
40753         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40754         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40755         Likewise.
40756         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40757         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40758         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40759         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40760         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40761         Likewise.
40763 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40765         [BZ #16545]
40766         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40767         model 1.
40769 2014-02-12  Richard Henderson  <rth@redhat.com>
40771         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40772         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40773         * sysdeps/unix/sysv/linux/alpha: Move directory from
40774         ports/sysdeps/unix/sysv/linux/alpha.
40775         * README: Update listing for alpha-*-linux-gnu.
40777 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40779         * include/features.h: Update comment documenting feature test
40780         macros.
40781         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40782         _DEFAULT_SOURCE.
40783         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40784         (_SVID_SOURCE): Likewise.
40785         (_DEFAULT_SOURCE): Update description of default features.
40786         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40787         with _GNU_SOURCE.
40788         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40789         (S_ISVTX): Likewise.
40790         * manual/math.texi (Mathematical Constants): Likewise.
40791         * manual/signal.texi (Interrupted Primitives): Likewise.
40792         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40793         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40794         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40795         Don't refer to _SVID_SOURCE in warning text.
40797         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40799         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40800         already defined.
40801         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40802         * sysdeps/mips/dl-lookup.c: Remove.
40803         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40805 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40807         [BZ #16447]
40808         * math/auto-libm-test-in: Add testcase for expl.
40809         * math/auto-libm-test-out: Regenerate.
40810         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40811         calculation of unsafe.
40812         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40814 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40816         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40817         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40818         ports/sysdeps/unix/sysv/linux/aarch64.
40819         * README: Update listing for aarch64*-*-linux-gnu.
40821 2014-02-11  Will Newton  <will.newton@linaro.org>
40823         * manual/probes.texi (Mathematical Function Probes): Use
40824         "triggered" instead of "hit".
40826         * manual/probes.texi (Internal Probes): Add documentation
40827         of setjmp, longjmp and longjmp_target probes.
40829         * include/stap-probe.h: Add comment about probe argument
40830         format.
40832         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40833         definition.  (tr_where, tr_freehook, tr_mallochook,
40834         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40836 2014-02-11  David S. Miller  <davem@davemloft.net>
40838         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40839         processing int_tests.
40841 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40843         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40844         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40845         * sysdeps/unix/sysv/linux/mips: Move directory from
40846         ports/sysdeps/unix/sysv/linux/mips.
40847         * README: Update listing for mips-*-linux-gnu and
40848         mips64-*-linux-gnu.
40850 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40852         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40853         * sysdeps/unix/sysv/linux/m68k: Move directory from
40854         ports/sysdeps/unix/sysv/linux/m68k.
40855         * README: Update listing for m68k-*-linux-gnu.
40857 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40859         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40860         * sysdeps/unix/sysv/linux/generic: Move directory from
40861         ports/sysdeps/unix/sysv/linux/generic.
40862         * sysdeps/unix/sysv/linux/tile: Move directory from
40863         ports/sysdeps/unix/sysv/linux/tile.
40864         * README: Update listing for tile*-*-linux-gnu.
40866 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40868         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40869         __builtin_expect.
40870         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40871         * catgets/open_catalog.c (__open_catalog): Likewise.
40872         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40873         * debug/confstr_chk.c: Likewise.
40874         * debug/fread_chk.c (__fread_chk): Likewise.
40875         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40876         * debug/getgroups_chk.c: Likewise.
40877         * debug/mbsnrtowcs_chk.c: Likewise.
40878         * debug/mbsrtowcs_chk.c: Likewise.
40879         * debug/mbstowcs_chk.c: Likewise.
40880         * debug/memcpy_chk.c: Likewise.
40881         * debug/memmove_chk.c: Likewise.
40882         * debug/mempcpy_chk.c: Likewise.
40883         * debug/memset_chk.c: Likewise.
40884         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40885         * debug/strcat_chk.c (__strcat_chk): Likewise.
40886         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40887         * debug/strncat_chk.c (__strncat_chk): Likewise.
40888         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40889         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40890         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40891         * debug/wcpncpy_chk.c: Likewise.
40892         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40893         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40894         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40895         * debug/wcsncpy_chk.c: Likewise.
40896         * debug/wcsnrtombs_chk.c: Likewise.
40897         * debug/wcsrtombs_chk.c: Likewise.
40898         * debug/wcstombs_chk.c: Likewise.
40899         * debug/wmemcpy_chk.c: Likewise.
40900         * debug/wmemmove_chk.c: Likewise.
40901         * debug/wmempcpy_chk.c: Likewise.
40902         * debug/wmemset_chk.c: Likewise.
40903         * dirent/scandirat.c (SCANDIRAT): Likewise.
40904         * dlfcn/dladdr1.c (dladdr1): Likewise.
40905         * dlfcn/dladdr.c (dladdr): Likewise.
40906         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40907         * dlfcn/dlerror.c (__dlerror): Likewise.
40908         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40909         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40910         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40911         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40912         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40913         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40914         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40915         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40916         Likewise.
40917         * elf/dl-conflict.c: Likewise.
40918         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40919         * elf/dl-dst.h: Likewise.
40920         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40921         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40922         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40923         * elf/dl-init.c (call_init, _dl_init): Likewise.
40924         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40925         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40926         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40927         Likewise.
40928         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40929         Likewise.
40930         * elf/dl-minimal.c (__libc_memalign): Likewise.
40931         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40932         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40933         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40934         * elf/dl-sym.c (do_sym): Likewise.
40935         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40936         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40937         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40938         * elf/dl-writev.h (_dl_writev): Likewise.
40939         * elf/ldconfig.c (search_dir): Likewise.
40940         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40941         (dl_main): Likewise.
40942         * elf/setup-vdso.h (setup_vdso): Likewise.
40943         * grp/compat-initgroups.c (compat_call): Likewise.
40944         * grp/fgetgrent.c (fgetgrent): Likewise.
40945         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40946         * grp/putgrent.c (putgrent): Likewise.
40947         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40948         Likewise.
40949         * hurd/hurdinit.c: Likewise.
40950         * iconvdata/8bit-gap.c (struct): Likewise.
40951         * iconvdata/ansi_x3.110.c : Likewise.
40952         * iconvdata/big5.c : Likewise.
40953         * iconvdata/big5hkscs.c : Likewise.
40954         * iconvdata/cp1255.c: Likewise.
40955         * iconvdata/cp1258.c : Likewise.
40956         * iconvdata/cp932.c : Likewise.
40957         * iconvdata/euc-cn.c: Likewise.
40958         * iconvdata/euc-jisx0213.c : Likewise.
40959         * iconvdata/euc-jp.c: Likewise.
40960         * iconvdata/euc-jp-ms.c : Likewise.
40961         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40962         * iconvdata/gb18030.c : Likewise.
40963         * iconvdata/gbbig5.c (const): Likewise.
40964         * iconvdata/gbgbk.c: Likewise.
40965         * iconvdata/gbk.c : Likewise.
40966         * iconvdata/ibm1364.c : Likewise.
40967         * iconvdata/ibm930.c : Likewise.
40968         * iconvdata/ibm932.c: Likewise.
40969         * iconvdata/ibm933.c : Likewise.
40970         * iconvdata/ibm935.c : Likewise.
40971         * iconvdata/ibm937.c : Likewise.
40972         * iconvdata/ibm939.c : Likewise.
40973         * iconvdata/ibm943.c: Likewise.
40974         * iconvdata/iso_11548-1.c: Likewise.
40975         * iconvdata/iso-2022-cn.c : Likewise.
40976         * iconvdata/iso-2022-cn-ext.c : Likewise.
40977         * iconvdata/iso-2022-jp-3.c: Likewise.
40978         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40979         * iconvdata/iso-2022-kr.c : Likewise.
40980         * iconvdata/iso646.c (gconv_end): Likewise.
40981         * iconvdata/iso_6937-2.c : Likewise.
40982         * iconvdata/iso_6937.c : Likewise.
40983         * iconvdata/iso8859-1.c: Likewise.
40984         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40985         * iconvdata/shift_jisx0213.c : Likewise.
40986         * iconvdata/sjis.c : Likewise.
40987         * iconvdata/t.61.c : Likewise.
40988         * iconvdata/tcvn5712-1.c : Likewise.
40989         * iconvdata/tscii.c: Likewise.
40990         * iconvdata/uhc.c : Likewise.
40991         * iconvdata/unicode.c (gconv_end): Likewise.
40992         * iconvdata/utf-16.c (gconv_end): Likewise.
40993         * iconvdata/utf-32.c (gconv_end): Likewise.
40994         * iconvdata/utf-7.c (base64): Likewise.
40995         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40996         * iconv/gconv_close.c (__gconv_close): Likewise.
40997         * iconv/gconv_open.c (__gconv_open): Likewise.
40998         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40999         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41000         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41001         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41002         (ucs4le_internal_loop_single): Likewise.
41003         * iconv/iconv.c (iconv): Likewise.
41004         * iconv/iconv_close.c: Likewise.
41005         * iconv/loop.c (SINGLE): Likewise.
41006         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41007         * include/atomic.h: Likewise.
41008         * inet/inet6_option.c (option_alloc): Likewise.
41009         * intl/bindtextdom.c (set_binding_values): Likewise.
41010         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41011         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41012         * intl/localealias.c (read_alias_file): Likewise.
41013         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41014         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41015         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41016         * libio/fmemopen.c (fmemopen): Likewise.
41017         * libio/iofgets.c (_IO_fgets): Likewise.
41018         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41019         * libio/iofgetws.c (fgetws): Likewise.
41020         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41021         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41022         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41023         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41024         * locale/findlocale.c (_nl_find_locale): Likewise.
41025         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41026         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41027         Likewise.
41028         * locale/setlocale.c (setlocale): Likewise.
41029         * login/programs/pt_chown.c (main): Likewise.
41030         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41031         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41032         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41033         (mmap, mmap64, mremap, munmap): Likewise.
41034         * math/e_exp2l.c: Likewise.
41035         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41036         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41037         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41038         * math/s_catan.c (__catan): Likewise.
41039         * math/s_catanf.c (__catanf): Likewise.
41040         * math/s_catanh.c (__catanh): Likewise.
41041         * math/s_catanhf.c (__catanhf): Likewise.
41042         * math/s_catanhl.c (__catanhl): Likewise.
41043         * math/s_catanl.c (__catanl): Likewise.
41044         * math/s_ccosh.c (__ccosh): Likewise.
41045         * math/s_ccoshf.c (__ccoshf): Likewise.
41046         * math/s_ccoshl.c (__ccoshl): Likewise.
41047         * math/s_cexp.c (__cexp): Likewise.
41048         * math/s_cexpf.c (__cexpf): Likewise.
41049         * math/s_cexpl.c (__cexpl): Likewise.
41050         * math/s_clog10.c (__clog10): Likewise.
41051         * math/s_clog10f.c (__clog10f): Likewise.
41052         * math/s_clog10l.c (__clog10l): Likewise.
41053         * math/s_clog.c (__clog): Likewise.
41054         * math/s_clogf.c (__clogf): Likewise.
41055         * math/s_clogl.c (__clogl): Likewise.
41056         * math/s_csin.c (__csin): Likewise.
41057         * math/s_csinf.c (__csinf): Likewise.
41058         * math/s_csinh.c (__csinh): Likewise.
41059         * math/s_csinhf.c (__csinhf): Likewise.
41060         * math/s_csinhl.c (__csinhl): Likewise.
41061         * math/s_csinl.c (__csinl): Likewise.
41062         * math/s_csqrt.c (__csqrt): Likewise.
41063         * math/s_csqrtf.c (__csqrtf): Likewise.
41064         * math/s_csqrtl.c (__csqrtl): Likewise.
41065         * math/s_ctan.c (__ctan): Likewise.
41066         * math/s_ctanf.c (__ctanf): Likewise.
41067         * math/s_ctanh.c (__ctanh): Likewise.
41068         * math/s_ctanhf.c (__ctanhf): Likewise.
41069         * math/s_ctanhl.c (__ctanhl): Likewise.
41070         * math/s_ctanl.c (__ctanl): Likewise.
41071         * math/w_pow.c: Likewise.
41072         * math/w_powf.c: Likewise.
41073         * math/w_powl.c: Likewise.
41074         * math/w_scalb.c (sysv_scalb): Likewise.
41075         * math/w_scalbf.c (sysv_scalbf): Likewise.
41076         * math/w_scalbl.c (sysv_scalbl): Likewise.
41077         * misc/error.c (error_tail): Likewise.
41078         * misc/pselect.c (__pselect): Likewise.
41079         * nis/nis_callback.c (__nis_create_callback): Likewise.
41080         * nis/nis_call.c (__nisfind_server): Likewise.
41081         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41082         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41083         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41084         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41085         * nis/nis_lookup.c (nis_lookup): Likewise.
41086         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41087         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41088         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41089         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41090         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41091         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41092         * nis/nss_compat/compat-initgroups.c (add_group)
41093         (internal_getgrent_r): Likewise.
41094         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41095         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41096         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41097         (internal_getspnam_r): Likewise.
41098         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41099         (_nss_nis_getaliasbyname_r): Likewise.
41100         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41101         (_nss_nis_getntohost_r): Likewise.
41102         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41103         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41104         (_nss_nis_getgrgid_r): Likewise.
41105         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41106         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41107         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41108         (_nss_nis_gethostbyname4_r): Likewise.
41109         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41110         (initgroups_netid): Likewise.
41111         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41112         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41113         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41114         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41115         (_nss_nis_getprotobynumber_r): Likewise.
41116         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41117         (_nss_nis_getsecretkey): Likewise.
41118         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41119         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41120         (_nss_nis_getpwuid_r): Likewise.
41121         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41122         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41123         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41124         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41125         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41126         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41127         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41128         Likewise.
41129         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41130         (_nss_nisplus_getntohost_r): Likewise.
41131         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41132         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41133         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41134         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41135         Likewise.
41136         * nis/nss_nisplus/nisplus-initgroups.c
41137         (_nss_nisplus_initgroups_dyn): Likewise.
41138         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41139         (_nss_nisplus_getnetbyaddr_r): Likewise.
41140         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41141         (_nss_nisplus_getprotobynumber_r): Likewise.
41142         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41143         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41144         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41145         Likewise.
41146         * nis/nss_nisplus/nisplus-service.c
41147         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41148         (_nss_nisplus_getservbyport_r): Likewise.
41149         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41150         (_nss_nisplus_getspnam_r): Likewise.
41151         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41152         Likewise.
41153         * nscd/aicache.c (addhstaiX): Likewise.
41154         * nscd/cache.c (cache_search, prune_cache): Likewise.
41155         * nscd/connections.c (register_traced_file, send_ro_fd)
41156         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41157         (main_loop_epoll): Likewise.
41158         * nscd/grpcache.c (addgrbyX): Likewise.
41159         * nscd/hstcache.c (addhstbyX): Likewise.
41160         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41161         * nscd/mem.c (gc, mempool_alloc): Likewise.
41162         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41163         (addinnetgrX): Likewise.
41164         * nscd/nscd-client.h (__nscd_acquire_maplock)
41165         (__nscd_drop_map_ref): Likewise.
41166         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41167         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41168         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41169         Likewise.
41170         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41171         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41172         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41173         (__nscd_get_map_ref): Likewise.
41174         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41175         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41176         Likewise.
41177         * nscd/pwdcache.c (addpwbyX): Likewise.
41178         * nscd/selinux.c (preserve_capabilities): Likewise.
41179         * nscd/servicescache.c (addservbyX): Likewise.
41180         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41181         * posix/fnmatch.c (fnmatch): Likewise.
41182         * posix/getopt.c (_getopt_internal_r): Likewise.
41183         * posix/glob.c (glob, glob_in_dir): Likewise.
41184         * posix/wordexp.c (exec_comm_child): Likewise.
41185         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41186         (getanswer_r, gaih_getanswer_slice): Likewise.
41187         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41188         * resolv/res_init.c: Likewise.
41189         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41190         * resolv/res_query.c (__libc_res_nquery): Likewise.
41191         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41192         Likewise.
41193         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41194         * stdio-common/perror.c (perror): Likewise.
41195         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41196         * stdio-common/tmpnam.c (tmpnam): Likewise.
41197         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41198         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41199         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41200         Likewise.
41201         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41202         * stdlib/putenv.c (putenv): Likewise.
41203         * stdlib/setenv.c (__add_to_environ): Likewise.
41204         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41205         * stdlib/strtol_l.c (INTERNAL): Likewise.
41206         * string/memmem.c (memmem): Likewise.
41207         * string/strerror.c (strerror): Likewise.
41208         * string/strnlen.c (__strnlen): Likewise.
41209         * string/test-memmem.c (simple_memmem): Likewise.
41210         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41211         * sunrpc/pm_getport.c (__get_socket): Likewise.
41212         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41213         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41214         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41215         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41216         Likewise.
41217         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41218         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41219         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41220         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41221         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41222         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41223         Likewise.
41224         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41225         Likewise.
41226         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41227         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41228         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41229         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41230         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41231         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41232         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41233         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41234         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41235         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41236         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41237         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41238         Likewise.
41239         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41240         Likewise.
41241         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41242         Likewise.
41243         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41244         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41245         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41246         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41247         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41248         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41249         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41250         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41251         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41252         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41253         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41254         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41255         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41256         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41257         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41258         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41259         Likewise.
41260         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41261         Likewise.
41262         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41263         Likewise.
41264         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41265         Likewise.
41266         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41267         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41268         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41269         Likewise.
41270         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41271         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41272         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41273         * sysdeps/posix/sleep.c: Likewise.
41274         * sysdeps/posix/tempname.c: Likewise.
41275         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41276         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41277         Likewise.
41278         * sysdeps/powerpc/powerpc32/dl-machine.h
41279         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41280         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41281         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41282         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41283         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41284         Likewise.
41285         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41286         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41287         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41288         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41289         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41290         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41291         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41292         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41293         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41294         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41295         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41296         (elf_machine_lazy_rel): Likewise.
41297         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41298         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41299         (elf_machine_lazy_rel): Likewise.
41300         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41301         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41302         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41303         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41304         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41305         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41306         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41307         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41308         Likewise.
41309         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41310         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41311         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41312         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41313         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41314         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41315         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41316         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41317         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41318         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41319         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41320         Likewise.
41321         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41322         (__posix_fallocate64_l64): Likewise.
41323         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41324         (posix_fallocate): Likewise.
41325         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41326         Likewise.
41327         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41328         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41329         (getifaddrs_internal): Likewise.
41330         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41331         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41332         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41333         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41334         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41335         (__posix_fallocate64_l64): Likewise.
41336         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41337         Likewise.
41338         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41339         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41340         (__get_clockfreq): Likewise.
41341         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41342         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41343         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41344         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41345         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41346         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41347         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41348         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41349         Likewise.
41350         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41351         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41352         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41353         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41354         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41355         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41356         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41357         Likewise.
41358         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41359         (posix_fallocate): Likewise.
41360         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41361         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41362         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41363         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41364         (elf_machine_rela, elf_machine_rela_relative)
41365         (elf_machine_lazy_rel): Likewise.
41366         * time/asctime.c (asctime_internal): Likewise.
41367         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41368         * time/tzset.c (__tzset_parse_tz): Likewise.
41369         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41370         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41371         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41372         * wcsmbs/wcsmbsload.h: Likewise.
41374         [BZ #15894]
41375         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41377         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41378         (arena_get2): Remove THREAD_STATS conditionals.
41379         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41380         (__malloc_stats, int): Likewise.
41382 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41384         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41385         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41387         * manual/setjmp.texi: Fix typos/grammar errors.
41389         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41390         Only return early when n is <= 0.  Delete unused return statement.
41392         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41393         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41394         * debug/tst-longjmp_chk3.c: New file.
41396         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41397         (test_main): Replace code with set_fortify_handler call.
41398         * debug/test-strcpy_chk.c: Likewise.
41399         * debug/tst-chk1.c: Likewise.
41400         * debug/tst-longjmp_chk.c: Likewise.
41401         * test-skeleton.c: Include fcntl.h & paths.h
41402         (set_fortify_handler): Define.
41404         * debug/tst-longjmp_chk.c: Add header comment and include
41405         ../test-skeleton.c.
41406         (do_test): Mark static.
41407         (TEST_FUNCTION): Define.
41409         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41410         (IP_PMTUDISC_INTERFACE): Likewise.
41411         (IP_MULTICAST_IF): Likewise.
41412         (IP_MULTICAST_TTL): Likewise.
41413         (IP_MULTICAST_LOOP): Likewise.
41414         (IP_ADD_MEMBERSHIP): Likewise.
41415         (IP_DROP_MEMBERSHIP): Likewise.
41416         (IP_UNBLOCK_SOURCE): Likewise.
41417         (IP_BLOCK_SOURCE): Likewise.
41418         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41419         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41420         (IP_MSFILTER): Likewise.
41421         (MCAST_JOIN_GROUP): Likewise.
41422         (MCAST_BLOCK_SOURCE): Likewise.
41423         (MCAST_UNBLOCK_SOURCE): Likewise.
41424         (MCAST_LEAVE_GROUP): Likewise.
41425         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41426         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41427         (MCAST_MSFILTER): Likewise.
41428         (IP_MULTICAST_ALL): Likewise.
41429         (IP_UNICAST_IF): Likewise.
41431         * timezone/Makefile: Delete $(have-ksh) check.
41432         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41433         * timezone/tzselect.ksh: Add +x mode bits.
41435         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41436         (ANON_INODE_FS_MAGIC): Likewise.
41437         (BDEVFS_MAGIC): Likewise.
41438         (BINFMTFS_MAGIC): Likewise.
41439         (BTRFS_TEST_MAGIC): Likewise.
41440         (CRAMFS_MAGIC_WEND): Likewise.
41441         (DEBUGFS_MAGIC): Likewise.
41442         (ECRYPTFS_SUPER_MAGIC): Likewise.
41443         (EXT3_SUPER_MAGIC): Likewise.
41444         (EXT4_SUPER_MAGIC): Likewise.
41445         (FUTEXFS_SUPER_MAGIC): Likewise.
41446         (HOSTFS_SUPER_MAGIC): Likewise.
41447         (HUGETLBFS_MAGIC): Likewise.
41448         (MINIX3_SUPER_MAGIC): Likewise.
41449         (MTD_INODE_FS_MAGIC): Likewise.
41450         (NILFS_SUPER_MAGIC): Likewise.
41451         (OPENPROM_SUPER_MAGIC): Likewise.
41452         (PIPEFS_MAGIC): Likewise.
41453         (PSTOREFS_MAGIC): Likewise.
41454         (QNX6_SUPER_MAGIC): Likewise.
41455         (RAMFS_MAGIC): Likewise.
41456         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41457         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41458         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41459         (SECURITYFS_MAGIC): Likewise.
41460         (SELINUX_MAGIC): Likewise.
41461         (SMACK_MAGIC): Likewise.
41462         (SOCKFS_MAGIC): Likewise.
41463         (SQUASHFS_MAGIC): Likewise.
41464         (STACK_END_MAGIC): Likewise.
41465         (TMPFS_MAGIC): Likewise.
41466         (USBDEVICE_SUPER_MAGIC): Likewise.
41467         (V9FS_MAGIC): Likewise.
41468         (XENFS_SUPER_MAGIC): Likewise.
41469         (CRAMFS_MAGIC): Fix typo in comment.
41470         (EXT2_SUPER_MAGIC): Update comment.
41471         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41473 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41475         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41476         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41477         * sysdeps/unix/sysv/linux/arm: Move directory from
41478         ports/sysdeps/unix/sysv/linux/arm.
41479         * README: Update listing for arm-*-linux-gnueabi.
41481         * README: Remove mention of am33.
41483 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41485         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41486         than the comma operator, to avoid "rhs of comma has no effect"
41487         compiler warnings.
41488         (__sigfillset, __sigandset, __sigorset): Likewise.
41489         * include/signal.h (__sigemptyset): Likewise.
41490         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41492 2014-02-07  Allan McRae  <allan@archlinux.org>
41494         * version.h (RELEASE): Set to "development".
41495         (VERSION): Set to "2.19.90"
41496         * NEWS: Add 2.20 section.
41498 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41500         [BZ #16529]
41501         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41503 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41505         * manual/contrib.texi: Update entry for Carlos O'Donell,
41506         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41508 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41510         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41512         * sysdeps/unix/sysv/linux/kernel-features.h
41513         [__LINUX_KERNEL_VERSION >= 0x020621]
41514         (__ASSUME_PROC_PID_TASK_COMM): Define.
41516 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41518         [BZ #16398]
41519         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41520         conversion when destination buffer does not have enough space.
41521         * libio/tst-ftell-partial-wide.c: New test case.
41522         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41524         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41525         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41526         Leonard and Allan McRae.
41528 2014-02-04  David S. Miller  <davem@davemloft.net>
41530         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41531         32-bit.
41533 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41536         New file
41537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41538         New file
41539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41540         New file.
41541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41542         New file.
41543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41544         New file.
41545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41546         New file.
41547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41548         New file.
41549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41550         New file.
41551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41552         New file.
41553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41554         New file.
41555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41556         New file.
41557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41558         New file.
41559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41560         New file.
41562 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41564         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41565         * shlib-versions: Likewise.
41567 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41568             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41570         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41571         (abilist-pattern): New variable, set to %-le.abilist.
41573         * Makerules (abilist-pattern): New variable.
41574         (vpath): Use $(abilist-pattern) in place of %.abilist.
41575         (check-abi-% pattern rule): Likewise.
41576         (check-abi, update-abi): Likewise.
41578 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41582 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41584         * manual/startup.texi: Add next, previous, and top entries for
41585         the `Program Arguments' and `Environment Variables' nodes.
41587 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41589         * manual/macros.texi: Add comments before MTASC-safety macros.
41591         * manual/users.texi: Document MTASC-safety properties.
41593         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41594         (pthread_getspecific, pthread_setspecific): Format with
41595         @deftypefun, and add @safety note.
41596         * manual/signal.texi: Move comments that analyze the above
41597         functions to their home place.
41599 2014-02-03  Allan McRae  <allan@archlinux.org>
41601         * po/sl.po: Update Slovenian translation from translation project.
41603 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41605         * manual/time.texi (timegm): Add missing blank after @c.
41606         Reported by Joseph Myers <joseph@codesourcery.com>.
41608 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41610         * manual/check-safety.sh: New.
41611         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41613         * manual/terminal.texi: Document MTASC-safety properties.
41615         * manual/filesys.texi: Document MTASC-safety properties.
41617         * manual/errno.texi: Document MTASC-safety properties.
41619         * manual/intro.texi: Document safety identifiers and
41620         conditionals.
41622         * manual/string.texi (wcstok): Fix prototype.
41623         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41625         * manual/time.texi: Document MTASC-safety properties.
41627         * manual/string.texi: Document MTASC-safety properties.
41629         * manual/threads.texi: Document MTASC-safety properties.
41631         * manual/stdio.texi: Document MTASC-safety properties.
41633         * manual/syslog.texi: Document MTASC-safety properties.
41635         * manual/sysinfo.texi: Document MTASC-safety properties.
41637         * manual/startup.texi: Document MTASC-safety properties.
41639         * manual/socket.texi: Document MTASC-safety properties.
41641         * manual/signal.texi: Document MTASC-safety properties.
41643 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41645         * manual/setjmp.texi: Document MTASC-safety properties.
41647         * manual/search.texi: Document MTASC-safety properties.
41649         * manual/resource.texi: Document MTASC-safety properties.
41651         * manual/process.texi: Document MTASC-safety properties.
41653         * manual/platform.texi: Document MTASC-safety properties.
41655         * manual/pipe.texi: Document MTASC-safety properties.
41657         * manual/pattern.texi: Document MTASC-safety properties.
41659         * manual/message.texi: Document MTASC-safety properties.
41661         [BZ #12751]
41662         * manual/memory.texi: Document MTASC-safety properties.
41664         * manual/math.texi: Document MTASC-safety properties.
41666         * manual/locale.texi: Document MTASC-safety properties.
41668         * manual/llio.texi: Document MTASC-safety properties.
41670         * manual/libdl.texi: New.
41672         * manual/lang.texi: Document MTASC-safety properties.
41674         * manual/job.texi: Document MTASC-safety properties.
41676         * manual/getopt.texi: Document MTASC-safety properties.
41678         * manual/ctype.texi: Document MTASC-safety properties.
41680 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41682         [BZ #16046]
41683         * csu/libc-tls.c (static_map): Remove variable.
41684         (__libc_setup_tls): Use main executable's link map for TLS data.
41685         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41686         casing for LM_ID_BASE and GL(dl_nns).
41687         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41688         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41689         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41690         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41691         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41692         member.
41693         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41694         l_phnum members.
41696 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41698         * manual/debug.texi: Document MTASC-safety properties.
41700 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41702         [BZ #16510]
41703         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41704         of __x86_64__ when disabling x87 inline functions.
41706 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41708         * manual/charset.texi: Document MTASC-safety properties.
41710         * manual/crypt.texi: Document MTASC-safety properties.
41712         * manual/conf.texi: Document MTASC-safety properties.
41714         * manual/arith.texi: Document MTASC-safety properties.
41716         * manual/argp.texi: Document MTASC-safety properties.
41718         * manual/macros.texi: Introduce macros to document multi
41719         thread, asynchronous signal and asynchronous cancellation
41720         safety properties.
41721         * manual/intro.texi: Introduce the properties themselves.
41723 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41725         * sysdeps/sh/sh4/Makefile: New file.
41727 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41729         * math/gen-libm-test.pl ($srcdir): New variable.
41730         ($auto_input): Use it.
41732 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41734         [BZ #16506]
41735         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41736         access beyond array bounds when parsing netgroups file.
41738         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41739         the old buffer before realloc.
41741 2014-01-27  Allan McRae  <allan@archlinux.org>
41743         * po/fr.po: Update French translation from translation project.
41745 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41747         * sysdeps/sh/libm-test-ulps: Regenerate.
41749 2014-01-24  David S. Miller  <davem@davemloft.net>
41751         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41753 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41755         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41756         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41758 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41760         [BZ #16474]
41761         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41762         string pointers after reallocation.
41764 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41766         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41767         __SH4A__ instead of __SH_FPU_ANY__.
41769 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41771         * sysdeps/sh/fpu_control.h: New file.
41772         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41773         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41774         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41775         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41776         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41777         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41778         * sysdeps/sh/sys/ucontext.h: Remove.
41779         * sysdeps/sh/sys: Remove directory.
41781 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41783         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41784         s390/sys/ucontext.h.
41785         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41786         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41788 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41790         [BZ #15605]
41791         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41793 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41795         [BZ#16431]
41796         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41797         Adjust the vDSO correctly for internal calls.
41798         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41800 2014-01-20  Allan McRae  <allan@archlinux.org>
41802         * po/ca.po: Update Catalan translation from translation project.
41804 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41806         * sysdeps/s390/sotruss-lib.c: New file.
41808 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41810         [BZ#16430]
41811         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41812         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41813         local calls issues by not having a PLT stub required for IFUNC calls.
41814         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41816 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41818         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41819         * math/test-fpucw-static.c: Likewise.
41821 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41823         [BZ #16453]
41824         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41826 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41828         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41829         implementation for powerpc.
41831 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41833         [BZ #14782]
41834         * sysdeps/posix/system.c (__libc_system): Do not enable
41835         asynchronous cancellation.
41837 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41839         [BZ #16427]
41840         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41841         handling only for numbers special also in the IEEE case.
41843 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41845         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41847 2014-01-11  Allan McRae  <allan@archlinux.org>
41849         * po/bg.po: Update Bulgarian translation from translation project.
41851         * po/de.po: Update German translation from translation project.
41853 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41855         * sysdeps/generic/gcc-compat.h: New file.
41857 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41859         * benchtests/asin-inputs: Correct slow inputs.
41860         * benchtests/acos-inputs: Likewise.
41862 2014-01-10  Allan McRae  <allan@archlinux.org>
41864         * po:sv.po: Update Swedish translation from translation project.
41866         * po/vi.po: Update Vietnamese translation from translation project.
41868         * po/eo.po: Update Esperanto translation from translation project.
41870         * po/cs.po: Update Czech translation from translation project.
41872         * po/nl.po: Update Dutch translation from translation project.
41874         * po/pl.po: Update Polish translation from translation project.
41876         * po/ru.po: Update Russian translation from translation project.
41878         * po/uk.po: Update Ukrainian translation from translation project.
41880 2014-01-08  Brooks Moses  <bmoses@google.com>
41882         * elf/dl-load.c: Fix comment typo.
41884 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41886         * po/header.pot: Rename to...
41887         * po/pot.header: ... this.
41888         * po/Makefile: Use pot.header.
41890 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41891             Maxim Kuvyrkov  <maxim@kugelworks.com>
41893         [BZ #16394]
41894         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41895         SRC and DEST against LEN.
41897 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41899         [BZ #16414]
41900         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41901         implementation.
41902         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41904 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41908 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41910         [BZ #16408]
41911         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41912         for large positive arguments.
41914 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41916         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41918         * math/auto-libm-test-in: Mark various tests with
41919         xfail-rounding:ldbl-128ibm.
41920         * math/auto-libm-test-out: Regenerated.
41922         [BZ #16407]
41923         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41924         Increase overflow threshold.
41926 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41928         [BZ #14286]
41929         * stdio-common/vfprintf.c: Check for integer overflow.
41931 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41933         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41934         the first argument and return value of __tls_get_addr_internal.
41936 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41938         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41939         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41941 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41943         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41944         * sysdeps/s390/rtld-global-offsets.sym: New file.
41945         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41946         GLIBC_2.19 symbol.
41947         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41948         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41949         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41950         ... this.
41951         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41952         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41953         ... this.
41954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41955         Regenerate.
41956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41957         Regenerate.
41958         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41959         halfs of GPRs for high_gprs contexts.
41960         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41961         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41962         field.
41963         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41964         uc_flags field.
41965         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41966         64 bit versions:
41967         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41968         for high GPRs (uc_high_gprs) and for future extensions
41969         (__reserved).
41970         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41971         for future extensions (__reserved).
41972         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41973         64 bit versions:
41974         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41975         SC_HIGHGPRS offset definition.
41976         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41977         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41979         * Versions.def: Add GLIBC_2.19 for libpthread.
41980         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41981         siglongjmp for libpthread with GLIBC_2.19 symver.
41982         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41983         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41984         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41985         * sysdeps/s390/__longjmp.c: New file.
41986         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41987         * sysdeps/s390/longjmp.c: New file.
41988         * sysdeps/s390/setjmp.S: New file.
41989         * sysdeps/s390/sigjmp.S: New file.
41990         * sysdeps/s390/v1-longjmp.c: New file.
41991         * sysdeps/s390/v1-setjmp.h: New file.
41992         * sysdeps/s390/v1-sigjmp.c: New file.
41993         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41994         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41995         GLIBC_2.19 version.
41996         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41997         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41998         versioned symbols for ____longjmp_chk.
41999         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42000         Likewise.
42001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42002         Regenerate.
42003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42004         Regenerate.
42005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42006         Regenerate.
42007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42008         Regenerate.
42009         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42010         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42011         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42012         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42013         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42014         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42015         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42016         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42017         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42018         * sysdeps/s390/rtld-__longjmp.c: New file.
42019         * sysdeps/s390/rtld-setjmp.S: New file.
42021 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42023         [BZ #16400]
42024         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42025         Return -__logl (x) for small positive arguments without evaluating
42026         a polynomial.
42028 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42030         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42031         Rename to ...
42032         (__ptrace_peeksiginfo_args): ... this.
42033         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42034         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42035         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42037 2014-01-06  Allan McRae  <allan@archlinux.org>
42039         * inet/netinet/in.h: Fix typo in comment.
42041 2014-01-05  Andreas Jaeger  <aj@suse.de>
42043         * sysdeps/i386/fpu/libm-test-ulps: Update.
42045 2014-01-05  Allan McRae  <allan@archlinux.org>
42047         * po/libc.pot: Regenerated.
42049         * malloc/memusagestat.c: Fix gettext call formatting.
42051 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42053         * nscd/nscd.c: Improve usage() output.
42055 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42057         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42058         * sysdeps/unix/sysv/linux/configure: Regenerated.
42059         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42060         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42062 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42064         [BZ #16390]
42065         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42066         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42068 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42070         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42071         extra tokens at end of #undef directive.
42072         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42073         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42074         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42076 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42078         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42080         * math/auto-libm-test-in: Mark various tests with
42081         xfail-rounding:ldbl-128ibm.
42082         * math/auto-libm-test-out: Regenerated.
42084 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42086         [BZ #16386]
42087         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42088         numbers with subnormal high part when calculating exponent.
42090         [BZ #16385]
42091         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42092         fabs.
42094         [BZ #16384]
42095         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42096         M_LN2l.
42097         (__ieee754_acoshl): Use __log1pl not __log1p.
42099 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42101         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42102         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42103         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42104         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42105         (reused_arena, arena_get2): Convert to GNU style.
42106         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42107         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42108         (memalign_check, __malloc_set_state): Likewise.
42109         * malloc/mallocbug.c (main): Likewise.
42110         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42111         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42112         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42113         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42114         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42115         (__posix_memalign, malloc_info): Likewise.
42116         * malloc/malloc.h: Likewise.
42117         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42118         (mallochook, memalignhook, reallochook, mabort): Likewise.
42119         * malloc/mcheck.h: Likewise.
42120         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42121         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42122         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42123         * malloc/morecore.c (__default_morecore): Likewise.
42124         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42125         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42126         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42127         (print_and_abort): Likewise.
42128         * malloc/obstack.h: Likewise.
42129         * malloc/set-freeres.c (__libc_freeres): Likewise.
42130         * malloc/tst-mallocstate.c (main): Likewise.
42131         * malloc/tst-mtrace.c (main): Likewise.
42132         * malloc/tst-realloc.c (do_test): Likewise.
42134 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42136         [BZ #16366]
42137         * nscd/netgroupcache.c (do_notfound): New function.
42138         (addgetnetgrentX): Use it.
42140         [BZ # 16365]
42141         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42142         NSS_STATUS_NOTFOUND.
42144 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42146         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42149 2014-01-01  Allan McRae  <allan@archlinux.org>
42151         * scripts/update-copyrights: Update configure input file suffix.
42153         * NEWS: Update copyright year.
42154         * catgets/gencat.c: Likewise.
42155         * csu/version.c: Likewise.
42156         * debug/catchsegv.sh: Likewise.
42157         * debug/pcprofiledump.c: Likewise.
42158         * debug/xtrace.sh: Likewise.
42159         * elf/ldconfig.c: Likewise.
42160         * elf/ldd.bash.in: Likewise.
42161         * elf/pldd.c: Likewise.
42162         * elf/sotruss.ksh: Likewise.
42163         * elf/sprof.c: Likewise.
42164         * iconv/iconv_prog.c: Likewise.
42165         * iconv/iconvconfig.c: Likewise.
42166         * locale/programs/locale.c: Likewise.
42167         * locale/programs/localedef.c: Likewise.
42168         * login/programs/pt_chown.c: Likewise.
42169         * malloc/memusage.sh: Likewise.
42170         * malloc/memusagestat.c: Likewise.
42171         * malloc/mtrace.pl: Likewise.
42172         * manual/libc.texinfo: Likewise.
42173         * nscd/nscd.c: Likewise.
42174         * nss/getent.c: Likewise.
42175         * nss/makedb.c: Likewise.
42176         * posix/getconf.c: Likewise.
42177         * scripts/test-installation.pl: Likewise.
42179         * All files with FSF copyright notices: Update copyright dates
42180         using scripts/update-copyrights.
42181         * intl/plural.c: Regenerated.
42182         * locale/programs/charmap-kw.h: Likewise.
42183         * locale/programs/locfile-kw.h: Likewise.
42185 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42187         * sysdeps/unix/sysv/linux/configure: Regenerated.
42188         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42189         the linux/fanotify.h header.
42190         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42191         HAVE_LINUX_FANOTIFY_H is defined.
42193 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42195         * benchtests/cos-inputs: New inputs.
42196         * benchtests/sin-inputs: Likewise.
42198         * benchtests/atan-inputs: New inputs. Fix name of multiple
42199         precision fallback inputs.
42201         * benchtests/atanh-inputs: New inputs.
42202         * benchtests/tanh-inputs: Likewise.
42204         * benchtests/acosh-inputs: New inputs.
42205         * benchtests/asinh-inputs: Likewise.
42207         * benchtests/cosh-inputs: New inputs.
42208         * benchtests/sinh-inputs: Likewise.
42210         * benchtests/acos-inputs: Add more inputs.
42211         * benchtests/asin-inputs: Likewise.
42213 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42215         [BZ #16375]
42216         * manual/arith.texi: Fix spelling.
42217         * manual/charset.texi: Likewise.
42218         * manual/errno.texi: Likewise.
42219         * manual/filesys.texi: Likewise.
42220         * manual/lang.texi: Likewise.
42221         * manual/llio.texi: Likewise.
42222         * manual/locale.texi: Likewise.
42223         * manual/message.texi: Likewise.
42224         * manual/resource.texi: Likewise.
42225         * manual/search.texi: Likewise.
42226         * manual/setjmp.texi: Likewise.
42227         * manual/stdio.texi: Likewise.
42228         * manual/string.texi: Likewise.
42229         * manual/sysinfo.texi: Likewise.
42230         * manual/time.texi: Likewise.
42232 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42234         * po/sl.po: New file.
42236 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42238         * .gitignore: Add core/.gdbinit/.gdb_history.
42240 2013-12-27  Allan McRae  <allan@archlinux.org>
42242         [BZ #16369]
42243         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42244         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42246 2013-12-24  Brooks Moses  <bmoses@google.com>
42248         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42249         all compilers that claim C++98 compliance, not just GCC.
42250         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42251         Likewise.
42253 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42255         * NEWS: Restore accidentally deleted bug-fix entries.
42257 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42258             Ondřej Bílka  <neleai@seznam.cz>
42260         [BZ #15073]
42261         * malloc/malloc.c (_int_free): Perform sanity check only if we
42262         have_lock.
42264 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42266         [BZ #12986]
42267         * manual/stdio.texi (String Input Conversions): Clarify that character
42268         classes are not supported.
42270 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42274 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42276         [BZ #16337]
42277         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42278         Calculate results for small negative arguments directly rather
42279         than using reflection formula with special underflow handling.
42281         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42282         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42283         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42284         (fchflags): Likewise.
42285         (revoke): Likewise.
42286         (setlogin): Likewise.
42287         (sigaltstack): Likewise.
42288         (wait4): Likewise.
42289         (sigblock): Remove.
42290         (sigsetmask): Likewise.
42291         (wait3): Likewise.
42292         (waitpid): Likewise.
42293         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42294         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42295         file.
42296         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42297         * sysdeps/unix/bsd/Makefile: ... here.
42298         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42299         * sysdeps/unix/bsd/Versions: ... here.
42300         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42301         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42302         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42303         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42304         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42305         * sysdeps/unix/bsd/sigblock.c: ... here.
42306         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42307         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42308         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42309         * sysdeps/unix/bsd/sigvec.c: ... here.
42310         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42311         * sysdeps/unix/bsd/tcdrain.c: ... here.
42312         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42313         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42314         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42315         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42316         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42317         * sysdeps/unix/bsd/wait.c: ... here.
42318         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42319         * sysdeps/unix/bsd/wait3.c: ... here.
42320         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42321         * sysdeps/unix/bsd/waitpid.c: ... here.
42323 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42325         [BZ #16356]
42326         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42327         round-to-nearest for [!USE_AS_EXPM1L].
42328         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42329         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42330         more tests of exp and exp10.  Expect some exp10 tests to miss
42331         exceptions or fail in directed rounding modes.
42332         * math/auto-libm-test-out: Regenerated.
42333         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42334         (exp10_test_tonearest): New function.
42335         (exp10_towardzero_test_data): New array.
42336         (exp10_test_towardzero): New function.
42337         (exp10_downward_test_data): New array.
42338         (exp10_test_downward): New function.
42339         (exp10_upward_test_data): New array.
42340         (exp10_test_upward): New function.
42341         (main): Call the new functions.
42342         * sysdeps/i386/fpu/libm-test-ulps: Update.
42343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42345 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42347         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42348         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42349         * math/auto-libm-test-out: Regenerated.
42350         * math/libm-test.inc (acosh_test_data): Add more tests.
42351         (atanh_test_data): Likewise.
42352         (ceil_test_data): Likewise.
42353         (copysign_test_data): Likewise.
42354         * sysdeps/i386/fpu/libm-test-ulps: Update.
42355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42357         * timezone/checktab.awk: Update from tzcode 2013i.
42358         * timezone/private.h: Likewise.
42359         * timezone/scheck.c: Likewise.
42360         * timezone/tzfile.h: Likewise.
42361         * timezone/tzselect.ksh: Likewise.
42362         * timezone/zdump.c: Likewise.
42363         * timezone/zic.c: Likewise.
42365         * math/auto-libm-test-in: Add tests of cpow.
42366         * math/auto-libm-test-out: Regenerated.
42367         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42368         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42369         mpc_cc_c.
42370         (func_calc_desc): Add mpc_cc_c union field.
42371         (test_functions): Add cpow.
42372         (special_fill_2pi): New function.
42373         (special_real_inputs): Add 2pi.
42374         (calc_generic_results): Handle mpc_cc_c.
42375         * sysdeps/i386/fpu/libm-test-ulps: Update.
42376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42378         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42379         csqrt, ctan and ctanh.
42380         * math/auto-libm-test-out: Regenerated.
42381         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42382         (TEST_COND_x86): Likewise.
42383         (ccos_test_data): Use AUTO_TESTS_c_c.
42384         (ccosh_test_data): Likewise.
42385         (cexp_test_data): Likewise.
42386         (clog_test_data): Likewise.
42387         (csqrt_test_data): Likewise.
42388         (ctan_test_data): Likewise.
42389         (ctan_tonearest_test_data): Likewise.
42390         (ctan_towardzero_test_data): Likewise.
42391         (ctan_downward_test_data): Likewise.
42392         (ctan_upward_test_data): Likewise.
42393         (ctanh_test_data): Likewise.
42394         (ctanh_tonearest_test_data): Likewise.
42395         (ctanh_towardzero_test_data): Likewise.
42396         (ctanh_downward_test_data): Likewise.
42397         (ctanh_upward_test_data): Likewise.
42398         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42399         mpc_c_c.
42400         (func_calc_desc): Add mpc_c_c union field.
42401         (FUNC_mpc_c_c): New macro.
42402         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42403         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42404         ctanh.
42405         (special_fill_min_subnorm_p120): New function.
42406         (special_real_inputs): Add min_subnorm_p120.
42407         (calc_generic_results): Handle mpc_c_c.
42408         * sysdeps/i386/fpu/libm-test-ulps: Update.
42409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42411 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42413         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42414         (do_sin_slow): New functions.
42415         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42416         (cslow2, csloww1, csloww2): Use the new functions.
42418         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42419         Use M to change sign of result instead of X.  Assume X is
42420         positive.
42421         (csloww1): Likewise.
42422         (__sin): Adjust.
42423         (__cos): Adjust.
42425         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42426         arguments A and DA.
42427         (__sin): Adjust.
42428         (__cos): Likewise.
42430         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42431         (__cos): Likewise.
42432         (sloww1): Don't adjust sign of DX.
42433         (csloww1): Likewise.
42434         (sloww2): Use X directly and don't adjust sign of DX.
42435         (csloww2): Likewise.
42437 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42439         * math/auto-libm-test-in: Add tests of cabs and carg.
42440         * math/auto-libm-test-out: Regenerated.
42441         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42442         (carg_test_data): Likewise.
42443         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42444         mpc_c_f.
42445         (func_calc_desc): Add mpc_c_f union field.
42446         (test_functions): Add cabs and carg.
42447         (calc_generic_results): Handle mpc_c_f.
42449         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42450         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42451         as a macro and a compat symbol.
42452         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42453         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42454         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42455         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42456         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42457         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42458         not use .hidden.
42459         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42460         Likewise.
42461         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42462         Likewise.
42463         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42464         Likewise.
42465         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42466         Likewise.
42467         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42468         Likewise.
42469         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42470         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42471         from GLIBC_2.3.2.
42473 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42477 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42479         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42480         trailing whitespace removed.
42481         * scripts/config.guess: Update to version 2013-11-29.
42482         * scripts/config.sub: Update to version 2013-10-01.
42484         * math/auto-libm-test-in: Add tests of sincos.
42485         * math/auto-libm-test-out: Regenerated.
42486         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42487         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42488         mpfr_f_11.
42489         (func_calc_desc): Add mpfr_f_11 union field.
42490         (test_functions): Add sincos.
42491         (calc_generic_results): Handle mpfr_f_11.
42492         * sysdeps/i386/fpu/libm-test-ulps: Update.
42493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42495 2013-12-19  Andreas Schwab  <schwab@suse.de>
42497         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42498         CALL_MCOUNT.
42499         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42500         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42501         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42503 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42505         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42506         * sysdeps/i386/fpu/libm-test-ulps: Update.
42507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42509         [BZ #16293]
42510         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42511         round-to-nearest mode when using frndint.
42512         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42513         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42514         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42515         Likewise.
42516         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42517         sinh test to fail.
42518         * math/auto-libm-test-out: Regenerated.
42519         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42520         (TEST_COND_x86): Likewise.
42521         (expm1_tonearest_test_data): New array.
42522         (expm1_test_tonearest): New function.
42523         (expm1_towardzero_test_data): New array.
42524         (expm1_test_towardzero): New function.
42525         (expm1_downward_test_data): New array.
42526         (expm1_test_downward): New function.
42527         (expm1_upward_test_data): New array.
42528         (expm1_test_upward): New function.
42529         (main): Run the new test functions.
42530         * sysdeps/i386/fpu/libm-test-ulps: Update.
42531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42533         * include/features.h: Update comment documenting feature test
42534         macros.  Mention _DEFAULT_SOURCE in comment.
42535         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42536         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42537         _BSD_SOURCE and _SVID_SOURCE.
42538         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42539         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42540         !_SVID_SOURCE]: Likewise.
42541         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42542         (__USE_POSIX_IMPLICITLY): Define.
42543         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42544         (_POSIX_SOURCE): Undefine and redefine.
42545         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42546         (_POSIX_C_SOURCE): Likewise.
42547         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42548         (Feature Test Macros): Update documentation of default features.
42550 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42552         * benchtests/Makefile: Add bench-strtok.
42553         * benchtests/bench-strtok.c: New file: strtok benchtest.
42555 2013-12-19  Allan McRae  <allan@archlinux.org>
42557         * manual/install.texi: Suppress menu for plain text output.
42558         * INSTALL: Regenerated.
42560 2013-12-18  Brooks Moses  <bmoses@google.com>
42562         [BZ #15846]
42563         * misc/getauxval.c: Include errno.h.
42564         (__getauxval): Set errno to ENOENT if the requested type is not
42565         found.
42566         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42567         don't declare with __attribute_const__.
42568         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42569         * manual/startup.texi: Document that getauxval sets errno.
42571 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42573         * math/auto-libm-test-in: Add tests of jn and yn.
42574         * math/auto-libm-test-out: Regenerated.
42575         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42576         (yn_test_data): Likewise.
42577         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42578         mpfr_if_f.
42579         (func_calc_desc): Add mpfr_if_f union field.
42580         (FUNC_mpfr_if_f): New macro.
42581         (test_functions): Add jn and yn.
42582         (calc_generic_results): Assert type of second input for
42583         mpfr_ff_f.  Handle mpfr_if_f.
42584         (output_for_one_input_case): Disable all checking for arguments
42585         fitting floating-point types in case of an integer argument.
42586         * sysdeps/i386/fpu/libm-test-ulps: Update.
42587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42590         Don't expect fegetround reference in libm.so.
42592 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42594         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42595         $(config-cflags-nofma).
42597 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42599         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42600         * math/auto-libm-test-out: Regenerated.
42602         [BZ #16338]
42603         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42604         to determine exponent and adjust argument to have exponent of -1.
42605         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42606         log2.
42607         * math/auto-libm-test-out: Regenerated.
42608         * sysdeps/i386/fpu/libm-test-ulps: Update.
42609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42611 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42613         * manual/probes.texi: Remove cases when per-thread arenas are
42614         disabled.
42616 2013-12-18  Andreas Schwab  <schwab@suse.de>
42618         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42619         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42620         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42621         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42622         * sysdeps/i386/i686/multiarch/Makefile: Update.
42623         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42625 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42627         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42628         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42630 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42632         [BZ #15968]
42633         Support TZ transition times < 00:00:00.
42634         This is needed for version-3 tz-format files; it supports time
42635         stamps past 2037 for America/Godthab (the only entry in the tz
42636         database for which this change is relevant).
42637         * manual/time.texi (TZ Variable): Document transition times
42638         from -167:59:59 through -00:00:01.
42639         * time/tzset.c (tz_rule): Time of day is now signed.
42640         (__tzset_parse_tz): Parse negative time of day.
42642         Document TZ transition times >= 25:00:00.
42643         * manual/time.texi (TZ Variable): Document transition times from
42644         25:00:00 through 167:59:59.  These are already supported, and this
42645         support will help with version-3 tz-format files.
42647         * manual/time.texi (TZ Variable): Modernize North America example
42648         to reflect current (i.e., 2007-and-later) daylight saving rules.
42650         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42652 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42654         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42655         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42656         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42657         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42658         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42659         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42660         * sysdeps/unix/bsd/clock.c: Likewise.
42661         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42662         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42663         * sysdeps/unix/bsd/init-posix.c: Likewise.
42664         * sysdeps/unix/bsd/poll.c: Likewise.
42665         * sysdeps/unix/bsd/ptsname.c: Likewise.
42666         * sysdeps/unix/bsd/seekdir.c: Likewise.
42667         * sysdeps/unix/bsd/setegid.c: Likewise.
42668         * sysdeps/unix/bsd/seteuid.c: Likewise.
42669         * sysdeps/unix/bsd/setgid.c: Likewise.
42670         * sysdeps/unix/bsd/setrgid.c: Likewise.
42671         * sysdeps/unix/bsd/setruid.c: Likewise.
42672         * sysdeps/unix/bsd/setsid.c: Likewise.
42673         * sysdeps/unix/bsd/setuid.c: Likewise.
42674         * sysdeps/unix/bsd/sigaction.c: Likewise.
42675         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42676         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42677         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42678         * sysdeps/unix/bsd/telldir.c: Likewise.
42679         * sysdeps/unix/bsd/times.c: Likewise.
42680         * sysdeps/unix/bsd/usleep.c: Likewise.
42682         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42683         ($(objpfx)libbsd-compat.a): Remove rule.
42685         * include/features.h (__FAVOR_BSD): Do not define.
42686         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42687         features conflicting with POSIX.
42688         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42689         (_BSD_SOURCE): Remove description of not being a subset of other
42690         feature test macros.
42691         * manual/job.texi (getpgrp): Do not document BSD version.
42692         (getpgid): Do not document by reference to BSD getpgrp.
42693         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42694         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42695         * signal/signal.h [__FAVOR_BSD]: Likewise.
42696         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42697         instead of making contents conditional on [__FAVOR_BSD].
42698         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42700 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42704 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42706         [BZ #16314]
42707         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42708         values below 2**-450, not 2**-500.
42709         * math/auto-libm-test-in: Don't allow spurious underflow from
42710         hypot.
42711         * math/auto-libm-test-out: Regenerated.
42713         [BZ #16316]
42714         [BZ #16330]
42715         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42716         values of ha and hb and sort them after adjusting subnormal
42717         arguments.
42718         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42719         Likewise.
42720         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42721         values of ea and eb and sort them after adjusting subnormal
42722         arguments.
42723         * math/auto-libm-test-in: Do not expect some hypot tests of
42724         subnormals to fail.  Add more hypot tests.
42725         * math/auto-libm-test-out: Regenerated.
42727 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42729         [BZ #13304]
42730         * sysdeps/sh/s_fma.c: New file.
42731         * sysdeps/sh/s_fmaf.c: New file.
42732         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42733         version.
42734         * sysdeps/sh/Implies: Add sh/soft-fp.
42736 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42738         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42739         level of indirection to members `objname', `errstring', `malloced'.
42740         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42741         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42742         it as the __longjmp argument (just pass 1 instead).
42743         (_dl_catch_error): Initialize C with argument pointers and address of
42744         volatile local ERRCODE rather than copying values out of C at return.
42746 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42748         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42749         * math/auto-libm-test-out: Regenerated.
42750         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42751         (hypot_test_data): Likewise.
42752         (pow_test_data): Likewise.
42753         (pow_tonearest_test_data): Likewise.
42754         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42755         mpfr_ff_f.
42756         (func_calc_desc): Add mpfr_ff_f union field.
42757         (FUNC_mpfr_ff_f): New macro.
42758         (test_functions): Add atan2, hypot and pow.
42759         (special_fill_min): New function.
42760         (special_fill_minus_min): Likewise.
42761         (special_fill_min_subnorm): Likewise.
42762         (special_fill_minus_min_subnorm): Likewise.
42763         (special_real_inputs): Add min, -min, min_subnorm and
42764         -min_subnorm.
42765         (calc_generic_results): Handle mpfr_ff_f.
42766         * sysdeps/i386/fpu/libm-test-ulps: Update.
42767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42769 2013-12-16  Will Newton  <will.newton@linaro.org>
42771         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42772         (Aligned Memory Blocks): Add documentation for aligned_alloc
42773         and suggest it as an alternative to posix_memalign.
42774         (Hooks for Malloc): Document __memalign_hook is also called
42775         for aligned_alloc.  (Summary of Malloc): Add summary for
42776         aligned alloc.  Document __memalign_hook is also called
42777         for aligned_alloc.
42779 2013-12-16  Will Newton  <will.newton@linaro.org>
42781         * manual/memory.texi (Malloc Examples): Clarify default
42782         alignment documentation.  Suggest posix_memalign rather
42783         than memalign or valloc.
42784         (Aligned Memory Blocks): Remove suggestion to use memalign
42785         or valloc.  Remove obsolete comment about BSD.
42786         Document memalign errno values and mark the function obsolete.
42787         Document posix_memalign returned error codes.  Mark valloc
42788         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42789         called for posix_memalign and valloc.
42790         (Summary of Malloc): Add posix_memalign to function summary.
42791         __memalign_hook is also called for posix_memalign and valloc.
42793 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42795         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42796         TAYLOR_SIN.
42797         (__sin): Adjust.
42798         (__cos): Likewise.
42799         (sloww): Use mynumber union.  Expand ternary operator into
42800         if-else statements.
42801         (cslow): use mynumber union.
42803 2013-12-16  Allan McRae  <allan@archlinux.org>
42805         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42806         * configure: Regenerated.
42808         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42810         [BZ #14120]
42811         * configure.ac: Added --enable-maintainer-mode. Check for
42812         autoconf when enabled.
42813         * configure: Regenerated.
42815         * nscd/nscd.service: New file.
42816         * nscd/nscd.tmpfiles: New file.
42818 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42820         [BZ #12100]
42821         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42822         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42823         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42824         (strstr): Add __strstr_sse2_unaligned ifunc.
42825         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42826         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42827         (strcasestr): Remove __strcasestr_sse42 ifunc.
42828         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42829         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42832 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42834         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42835         * sysdeps/sh/bits/fenv.h: ... here.
42836         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42838 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42840         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42843         hypotf multiarch implementations.
42844         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42845         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42846         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42847         multiarch hypot for PPC64.
42848         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42849         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42850         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42851         multiarch hypotf for PPC64.
42853         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42854         modff multiarch implementations.
42855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42858         multiarch modf for PPC64.
42859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42862         multiarch modff for PPC64.
42864         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42865         and logl multiarch implementations.
42866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42869         multiarch logb for PPC64.
42870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42873         multiarch logb for PPC64.
42874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42877         multiarch logb for PPC64.
42879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42880         isinff multiarch implementation.
42881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42882         file.
42883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42885         multiarch isinf for PPC64.
42886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42887         file.
42888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42889         multiarch isinff for PPC64.
42891         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42892         finitef multiarch implementation.
42893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42894         file.
42895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42897         multiarch finite for PPC64.
42898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42899         file.
42900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42901         multiarch finitef for PPC64.
42903         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42904         lrint multiarch implementation.
42905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42906         file.
42907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42909         multiarch llrint for PPC64.
42910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42911         multiarch lrint for PPC64.
42913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42914         copysignf multiarch implementation.
42915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42916         file.
42917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42918         file.
42919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42920         multiarch copysign for PPC64.
42921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42922         multiarch copysignf for PPC64.
42924         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42925         multiarch implementation.
42926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42927         file.
42928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42929         file.
42930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42931         file.
42932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42933         file.
42934         multiarch llround for PPC64.
42935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42936         multiarch trunc for PPC64.
42937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42938         multiarch truncf for PPC64.
42940         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42941         multiarch implementation.
42942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42943         file.
42944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42945         file.
42946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42947         file.
42948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42949         file.
42950         multiarch llround for PPC64.
42951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42952         multiarch round for PPC64.
42953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42954         multiarch roundf for PPC64.
42956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42957         multiarch implementation.
42958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42959         file.
42960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42961         file.
42962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42963         file.
42964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42965         file.
42966         multiarch llround for PPC64.
42967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42968         multiarch floor for PPC64.
42969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42970         multiarch floorf for PPC64.
42972         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42973         multiarch implementation.
42974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42975         file.
42976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42977         file.
42978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42979         file.
42980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42981         file.
42982         multiarch llround for PPC64.
42983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42984         multiarch ceil for PPC64.
42985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42986         multiarch ceilf for PPC64.
42988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42989         multiarch implementation.
42990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42991         file.
42992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42993         file.
42994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42995         file.
42996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42997         multiarch llround for PPC64.
42998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42999         multiarch lround for PPC64.
43001         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43002         multiarch implementation.
43003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43006         file.
43007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43010         multiarch isnan for PPC64.
43011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43012         multiarch isnanf for PPC64.
43014         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43015         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43016         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43017         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43018         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43021         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43022         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43023         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43024         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43027         multiarch implementations.
43028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43029         (__libc_ifunc_impl_list): Likewise.
43030         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43031         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43032         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43033         multiarch stpcpy for PPC64.
43035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43036         multiarch implementations.
43037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43038         (__libc_ifunc_impl_list): Likewise.
43039         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43040         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43041         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43042         multiarch strcpy for PPC64.
43044         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43045         redefine function name.
43046         (_wordcopy_fwd_dest_aligned): Likewise.
43047         (_wordcopy_bwd_aligned): Likewise.
43048         (_wordcopy_bwd_dest_aligned): Likewise.
43049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43050         multiarch implementations.
43051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43052         (__libc_ifunc_impl_list): Likewise.
43053         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43054         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43055         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43056         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43057         multiarch wcscpy for PPC64.
43059         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43060         multiarch implementations.
43061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43062         (__libc_ifunc_impl_list): Likewise.
43063         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43064         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43065         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43066         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43067         multiarch wcscpy for PPC64.
43069         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43070         multiarch implementations.
43071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43072         (__libc_ifunc_impl_list): Likewise.
43073         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43074         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43075         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43076         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43077         multiarch wcsrchr for PPC64.
43079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43080         multiarch implementations.
43081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43082         (__libc_ifunc_impl_list): Likewise.
43083         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43084         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43085         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43086         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43087         multiarch wcschr for PPC64.
43089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43090         multiarch implementations.
43091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43092         (__libc_ifunc_impl_list): Likewise.
43093         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43094         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43095         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43096         multiarch strchrnul for PPC64.
43098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43099         implementations.
43100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43101         (__libc_ifunc_impl_list): Likewise.
43102         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43103         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43104         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43105         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43106         strchr for PPC64.
43108         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43109         implementations.
43110         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43111         (__libc_ifunc_impl_list): Likewise.
43112         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43113         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43114         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43115         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43116         strncmp for PPC64.
43118         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43119         multiarch implementations.
43120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43121         (__libc_ifunc_impl_list): Likewise.
43122         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43123         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43124         strncasecmp for PPC64.
43125         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43126         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43127         multiarch strncasecmp_l for PPC64.
43129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43130         multiarch implementations.
43131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43132         (__libc_ifunc_impl_list): Likewise.
43133         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43134         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43135         multiarch strcasecmp for PPC64.
43136         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43137         file.
43138         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43139         multiarch strcasecmp_l for PPC64.
43141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43142         implementations.
43143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43144         (__libc_ifunc_impl_list): Likewise.
43145         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43146         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43147         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43148         strnlen for PPC64.
43150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43151         implementations.
43152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43153         (__libc_ifunc_impl_list): Likewise.
43154         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43155         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43156         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43157         strlen for PPC64.
43159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43160         implementations.
43161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43162         (__libc_ifunc_impl_list): Likewise.
43163         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43164         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43165         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43166         rawmemrchr for PPC64.
43168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43169         implementation.
43170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43171         (__libc_ifunc_impl_list): Likewise.
43172         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43173         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43174         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43175         memrchr for PPC64.
43177         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43178         implementation.
43179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43180         (__libc_ifunc_impl_list): Likewise.
43181         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43182         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43183         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43184         memchr for PPC64.
43186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43187         implementation.
43188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43189         (__libc_ifunc_impl_list): Likewise.
43190         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43191         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43192         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43193         mempcpy for PPC64.
43195         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43196         avoid cretion of __bzero symbol.
43197         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43198         Likewise.
43199         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43200         Likewise.
43201         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43202         Likewise.
43203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43204         multiarch implementations.
43205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43206         (__libc_ifunc_impl_list): Likewise.
43207         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43208         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43209         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43210         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43211         bzero for PPC32.
43212         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43213         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43214         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43215         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43216         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43217         memset for PPC64.
43218         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43220         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43221         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43222         implementations.
43223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43224         (__libc_ifunc_impl_list): Likewise.
43225         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43226         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43227         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43228         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43229         memcmp for PPC64.
43231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43232         multiarch for POWER/PPC64.
43233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43234         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43235         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43236         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43237         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43238         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43239         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43240         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43241         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43242         memcpy for PPC64.
43244         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43245         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43246         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43247         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43248         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43249         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43250         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43251         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43252         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43253         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43254         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43255         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43256         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43257         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43258         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43267 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43269         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43271 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43273         * benchtests/Makefile (bench): Add exp2 and log2.
43274         (LDLIBS-bench-exp2): Add -lm.
43275         (LDLIBS-bench-log2): Likewise.
43276         * benchtests/exp2-inputs: New inputs file.
43277         * benchtests/log2-inputs: New inputs file.
43278         * benchtests/log-inputs: Add new inputs.
43279         * benchtests/tan-inputs: Likewise.
43281 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43283         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43284         definition...
43285         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43286         (csloww2): ... from here.
43288         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43289         instead of structures.
43290         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43291         (POLYNOMIAL): Likewise.
43292         (TAYLOR_SLOW): Likewise.
43293         (__sin): Likewise.
43294         (__cos): Likewise.
43295         (slow1): Likewise.
43296         (slow2): Likewise.
43297         (sloww): Likewise.
43298         (sloww1); Likewise.
43299         (sloww2): Likewise.
43300         (bsloww1): Likewise.
43301         (bsloww2): Likewise.
43302         (cslow2): Likewise.
43303         (csloww): Likewise.
43304         (csloww1): Likewise.
43305         (csloww2): Likewise.
43307 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43309         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43310         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43311         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43312         * malloc/hooks.c (realloc_check): Likewise.
43314         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43315         * malloc/arena.c: Remove PER_THREAD conditional.
43316         [!PER_THREAD]: Remove code.
43317         (ptmalloc_unlock_all2): Likewise.
43318         (ptmalloc_init): Likewise.
43319         (_int_new_arena): Likewise.
43320         (arena_get2): Likewise.
43321         * malloc/hooks.c (__malloc_get_state): Likewise.
43322         (__malloc_set_state): Likewise.
43323         * malloc/malloc.c: Likewise.
43324         (struct malloc_state): Likewise.
43325         (struct malloc_par): Likewise.
43326         (__libc_realloc): Likewise.
43327         (__libc_mallopt): Likewise.
43329 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43331         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43333 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43335         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43336         macro to a function.  Check for zero perturb_byte.
43337         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43339         * malloc/malloc.c: (force_reg): Remove.
43340         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43341         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43342         force_reg by atomic_forced_read.
43343         * malloc/arena.c (ptmalloc_init): Likewise.
43344         * malloc/hooks.c (top_check): Likewise.
43346 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43350 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43352         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43354 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43356         * math/auto-libm-test-in: Add tests of lgamma.
43357         * math/auto-libm-test-out: Regenerated.
43358         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43359         (M_LOG_2_SQRT_PIl): Likewise.
43360         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43361         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43362         mpfr_f_f1.
43363         (func_calc_desc): Add mpfr_f_f1 union field.
43364         (ARGS1): New macro.
43365         (ARGS2): Likewise.
43366         (ARGS3): Likewise.
43367         (ARGS4): Likewise.
43368         (RET1): Likewise.
43369         (RET2): Likewise.
43370         (CALC): Likewise.
43371         (FUNC): Likewise.
43372         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43373         (test_functions): Add lgamma.
43374         (calc_generic_results): Handle mpfr_f_f1.
43375         * sysdeps/i386/fpu/libm-test-ulps: Update.
43376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43378 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43380         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43381         __mpn_add_n for PowerPC64/POWER7.
43382         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43383         __mpn_sub_n for PowerPC64/POWER7.
43385         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43386         __mpn_addmul_1 for PowerPC64.
43387         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43388         __mpn_submul_1 for PowerPC64.
43389         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43390         for PowerPC64.
43391         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43392         for PowerPC64.
43394 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43396         [BZ #15089]
43397         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43399 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43401         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43403         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43404         add multiarch folders.
43405         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43406         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43407         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43408         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43409         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43410         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43411         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43412         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43413         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43414         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43415         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43424         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43426         New file.
43427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43428         New file.
43429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43430         multiarch __ieee754_hypot for PowerPC32.
43431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43432         New file.
43433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43434         New file.
43435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43436         multiarch __ieee754_hypotf for PowerPC32.
43438         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43439         long_double_symbol only if __logbl is defined.
43440         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43441         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43442         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43443         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43444         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43445         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43446         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43447         path for implementation.
43448         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43449         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43451         logb, and logbl multiarch implementations for PowerPC32.
43452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43453         file.
43454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43455         file.
43456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43457         multiarch logb for PowerPC32.
43458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43459         file.
43460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43461         file.
43462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43463         multiarch logbf for PowerPC32.
43464         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43466         file.
43467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43468         multiarch logbl implementation for PowerPC32.
43470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43471         and modff multiarch implementations.
43472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43473         New file.
43474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43475         New file.
43476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43477         multiarch modf for PowerPC32.
43478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43479         New file.
43480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43481         New file.
43482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43483         multiarch modff for PowerPC32.
43485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43486         and lrintf multiarch implementations.
43487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43488         New file.
43489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43490         New file.
43491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43492         multiarch lrint for PowerPC32.
43493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43494         file: multiarch lrintf for PowerPC32.
43496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43497         and lroundf multiarch implementations.
43498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43499         New file.
43500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43501         New file.
43502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43503         New file.
43504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43505         multiarch lround for PowerPC32.
43506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43507         file: multiarch lroundf for PowerPC32.
43509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43510         copysign and copysignf multiarch implementations.
43511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43512         New file.
43513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43514         New file.
43515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43516         file: multiarch copysign for PowerPC32.
43517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43518         file: multiarch copysignf for PowerPC32.
43520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43521         and truncf multiarch implementations.
43522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43523         New file.
43524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43525         file.
43526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43527         multiarch trunc for PowerPC32.
43528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43529         New file.
43530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43531         New file.
43532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43533         multiarch truncf for PowerPC32.
43535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43536         and roundf multiarch implementations.
43537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43538         New file.
43539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43540         file.
43541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43542         multiarch round for PowerPC32.
43543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43544         New file.
43545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43546         New file.
43547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43548         multiarch roundf for PowerPC32.
43550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43551         and floorf multiarch implementations.
43552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43553         New file.
43554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43555         file.
43556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43557         multiarch floor for PowerPC32.
43558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43559         New file.
43560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43561         New file.
43562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43563         multiarch floorf for PowerPC32.
43565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43566         and ceilf multiarch implementations.
43567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43568         New file.
43569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43570         file.
43571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43572         multiarch ceil for PowerPC32.
43573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43574         New file.
43575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43576         file.
43577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43578         multiarch ceilf for PowerPC32.
43580         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43581         is defined.
43582         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43583         FINITEF is defined.
43584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43585         and finitef multiarch implementations.
43586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43587         New file.
43588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43589         file.
43590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43591         multiarch finite for PowerPC32.
43592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43593         New file.
43594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43595         file: multiarch finitef for PowerPC32.
43597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43598         and isinff multiarch implementations.
43599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43600         file.
43601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43602         file.
43603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43604         multiarch isinf for PowerPC32.
43605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43606         New file.
43607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43608         multiarch isinff for PowerPC32.
43610         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43611         alias when __isnan is defined.
43612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43613         and isnanf multiarch implementations.
43614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43615         file.
43616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43617         file.
43618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43619         file.
43620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43621         file.
43622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43623         multiarch isnan for PowerPC32.
43624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43625         New file.
43626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43627         New file.
43628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43629         multiarch isnanf for PowerPC32.
43631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43632         and sqrtf multiarch implementations.
43633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43634         file.
43635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43636         file.
43637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43638         multiarch sqrt for PowerPC32.
43639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43640         file.
43641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43642         file.
43643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43644         multiarch sqrtf for PowerPC32.
43646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43647         and llroundf multiarch implementations.
43648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43649         New file.
43650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43651         New file.
43652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43653         New file.
43654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43655         file: multiarch llround for PowerPC32.
43656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43657         file: multiarch llroundf for PowerPC32.
43659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43660         multiarch PowerPC32 fpu implementations.
43661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43662         New file.
43663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43664         New file.
43665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43666         multiarch llrint for PowerPC32.
43667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43668         New file.
43669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43670         New file.
43671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43672         file.
43674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43676         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43677         file.
43678         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43679         file.
43680         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43681         file.
43682         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43683         multiarch wordcopy for PPC32.
43684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43685         wordcopy objects.
43686         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43687         (__libc_ifunc_impl_list): Likewise.
43688         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43689         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43690         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43691         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43692         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43693         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43695         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43696         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43697         file.
43698         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43699         file.
43700         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43701         file.
43702         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43703         multiarch wcscpy for PPC32.
43704         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43705         multiarch objects.
43706         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43707         (__libc_ifunc_impl_list): Likewise.
43708         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43709         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43710         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43711         sysdeps/powerpc/power6/wcscpy.c.
43713         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43715         file.
43716         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43717         file.
43718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43719         file.
43720         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43721         multiarch wcsrchr for PPC32.
43722         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43723         multiarch objects.
43724         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43725         (__libc_ifunc_impl_list): Likewise.
43726         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43727         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43728         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43729         sysdeps/powerpc/power6/wcsrchr.c.
43731         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43732         file.
43733         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43734         file.
43735         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43736         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43737         multiarch wcschr for PPc32.
43738         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43739         multiarch objects.
43740         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43741         (__libc_ifunc_impl_list): Likewise.
43742         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43743         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43744         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43745         sysdeps/powerpc/power6/wcschr.c.
43747         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43748         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43749         file.
43750         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43751         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43752         file: multiarch strchr for PPC32.
43753         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43754         multiarch objects.
43755         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43756         (__libc_ifunc_impl_list): Likewise.
43758         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43759         name.
43760         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43761         file.
43762         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43763         file.
43764         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43765         multiarch strchrnul for PPC32.
43766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43767         multiarch objects.
43768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43769         (__libc_ifunc_impl_list): Likewise.
43771         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43772         file.
43773         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43774         multiarch strncasecmp for PPC32.
43775         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43776         file.
43777         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43778         multiarch strncasecmp_l for PPC32.
43779         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43780         strncasecmp multiarch objects.
43781         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43782         (__libc_ifunc_impl_list): Likewise.
43784         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43785         file.
43786         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43787         multiarch strncasecmp for PPC32.
43788         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43789         New file.
43790         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43791         multiarch strcasecmp_l for PPC32.
43792         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43793         multiarch objects.
43794         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43795         (__libc_ifunc_impl_list): Likewise.
43797         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43798         file.
43799         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43800         file.
43801         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43802         multiarch strncmp for PPC32.
43803         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43804         multiarch objects.
43805         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43806         (__libc_ifunc_impl_list): Likewise.
43808         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43809         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43810         file.
43811         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43812         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43813         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43814         multiarch objects.
43815         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43816         (__libc_ifunc_impl_list): Likewise.
43818         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43819         file.
43820         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43821         file.
43822         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43823         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43824         multiarch objects.
43825         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43826         (__libc_ifunc_impl_list): Likewise.
43828         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43829         file.
43830         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43831         file.
43832         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43833         multiarch rawmemchr for PPC32.
43834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43835         multiarch objects.
43836         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43837         (__libc_ifunc_impl_list): Likewise.
43839         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43840         file.
43841         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43842         file.
43843         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43844         file: memrchr multiarch for PPC32.
43845         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43846         multiarch objects.
43847         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43848         (__libc_ifunc_impl_list): Likewise.
43850         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43851         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43852         file.
43853         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43854         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43855         multiarch memchr for PPC32.
43856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43857         multiarch objects.
43858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43859         (__libc_ifunc_impl_list): Likewise.
43861         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43862         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43863         file.
43864         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43865         file.
43866         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43867         file: multiarch mempcpy for PPC32.
43868         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43869         multiarch objects.
43870         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43871         (__libc_ifunc_impl_list): Likewise.
43873         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43874         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43875         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43876         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43877         multiarch bzero for PPC32.
43878         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43879         file.
43880         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43881         file.
43882         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43883         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43884         file: multiarch memset for PPC32.
43885         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43887         memset multiarch objects.
43888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43889         (__libc_ifunc_impl_list): Likewise.
43891         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43892         file.
43893         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43894         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43895         memcmp for PPC32.
43896         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43897         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43898         multiarch objects.
43899         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43900         (__libc_ifunc_impl_list): Likewise.
43902         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43903         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43904         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43905         file.
43906         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43907         file.
43908         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43909         file.
43910         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43911         multiarch memcpy for PPC32.
43912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43913         multiarch objects.
43914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43915         (__libc_ifunc_impl_list): Likewise.
43917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43918         support multiarch for POWER/PPC32.
43919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43920         Likewise.
43921         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43923         Implies file to make multiarch folder appers before the fpu and
43924         default folder for power4 configuration.
43926 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43928         * scripts/bench.pl: Append volatile keyword to type.
43930 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43932         * sysdeps/sh/sotruss-lib.c: New file.
43933         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43935 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43939 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43941         [BZ #6810]
43942         * math/w_tgamma.c: Include <errno.h>.
43943         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43944         * math/w_tgammaf.c: Include <errno.h>.
43945         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43946         * math/w_tgammal.c: Include <errno.h>.
43947         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43948         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43949         underflow.  Add more tgamma tests.
43950         * math/auto-libm-test-out: Regenerated.
43951         * sysdeps/i386/fpu/libm-test-ulps: Update.
43952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43954         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43955         sin, sinh, tan, tanh, tgamma, y0 and y1.
43956         * math/auto-libm-test-out: Regenerated.
43957         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43958         (TEST_COND_x86): Likewise.
43959         (M_E2l): Remove macro.
43960         (M_E3l): Likewise.
43961         (M_2_SQRT_PIl): Likewise.
43962         (M_SQRT_PIl): Likewise.
43963         (M_1_DIV_El): Likewise.
43964         (log_test_data): Use AUTO_TESTS_f_f.
43965         (log10_test_data): Likewise.
43966         (log1p_test_data): Likewise.
43967         (log2_test_data): Likewise.
43968         (sin_test_data): Likewise.
43969         (sin_tonearest_test_data): Likewise.
43970         (sin_towardzero_test_data): Likewise.
43971         (sin_downward_test_data): Likewise.
43972         (sin_upward_test_data): Likewise.
43973         (sinh_test_data): Likewise.
43974         (sinh_tonearest_test_data): Likewise.
43975         (sinh_towardzero_test_data): Likewise.
43976         (sinh_downward_test_data): Likewise.
43977         (sinh_upward_test_data): Likewise.
43978         (tan_test_data): Likewise.
43979         (tan_tonearest_test_data): Likewise.
43980         (tan_towardzero_test_data): Likewise.
43981         (tan_downward_test_data): Likewise.
43982         (tan_upward_test_data): Likewise.
43983         (tanh_test_data): Likewise.
43984         (tgamma_test_data): Likewise.
43985         (y0_test_data): Likewise.
43986         (y1_test_data): Likewise.
43987         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43988         (special_real_inputs): Add pi/4.
43989         * sysdeps/i386/fpu/libm-test-ulps: Update.
43990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43992 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43994         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43995         "longjmp_target" static probes.
43996         (__longjmp): Rename to __longjmp_symbol.
43997         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43998         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43999         on which longjmp to generate.
44000         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44001         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44002         probe.
44003         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44004         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44005         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44006         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44007         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44008         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44010         __longjmp_symbol based on which __longjmp to generate.
44011         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44012         probe.
44013         (setjmp): Rename to setjmp_symbol.
44014         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44015         (_setjmp): Rename to _setjmp_symbol.
44016         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44017         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44018         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44019         which setjmp to generate.
44020         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44021         "longjmp_target" static probes.
44023 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44025         * benchtests/README: Add note about output arguments.
44026         * benchtests/bench-sincos.c: Remove file.
44027         * benchtests/sincos-inputs: New file.
44028         * scripts/bench.pl: Identify output arguments and define
44029         static variables for them.
44031         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44033         [BZ #15941]
44034         * Makefile (INSTALL): Add install-plain.texi as the primary
44035         dependency.
44036         * manual/install-plain.texi: New file.
44037         * manual/install.texi: Include node directive only for
44038         non-plaintext output.
44040 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44042         * stdlib/longlong.h: Update from GCC.
44044         [BZ #6807]
44045         [BZ #15901]
44046         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44047         * math/w_j0f.c (y0f): Likewise.
44048         * math/w_j0l.c (__y0l): Likewise.
44049         * math/w_j1.c (y1): Likewise.
44050         * math/w_j1f.c (y1f): Likewise.
44051         * math/w_j1l.c (__y1l): Likewise.
44052         * math/w_jn.c (yn): Likewise.
44053         * math/w_jnf.c (ynf): Likewise.
44054         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44055         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44056         value for Bessel function domain errors outside _SVID_ mode.
44057         Adjust sign of return value for yn (negative integer, 0).
44058         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44059         by zero in return for negative x and set sign appropriately for
44060         negative n.
44061         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44062         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44063         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44064         expectations in error cases.
44065         (y1_test_data): Likewise.
44066         (yn_test_data): Likewise.
44067         * sysdeps/i386/fpu/libm-test-ulps: Update.
44068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44070 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44072         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44073         "64" to "64-v1".  Add "64-v2".
44074         (abi-64-options): Rename to ...
44075         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44076         (abi-64-condition): Rename to ...
44077         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44078         (abi-64-ld-soname): Rename to ...
44079         (abi-64-v1-ld-soname): ... this.
44080         (abi-64-v2-options): Define.
44081         (abi-64-v2-condition): Likewise.
44082         (abi-64-v2-ld-soname): Likewise.
44083         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44084         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44089 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44090             Alan Modra  <amodra@gmail.com>
44092         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44093         New versions for use with the ELFv2 ABI.
44094         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44095         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44096         declaration.
44097         (struct La_ppc64v2_retval): Likewise.
44098         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44099         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44100         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44101         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44102         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44103         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44104         Do not save or restore CR.
44105         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44106         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44107         return values for ELFv2 ABI.  Fix location of FPR return registers.
44108         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44109         updated values for _CALL_ELF == 2.
44110         (La_regs, La_retval, int_retval): Likewise.
44112 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44114         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44115         (FRAME_MIN_SIZE_PARM): Likewise.
44116         (FRAME_BACKCHAIN): Likewise.
44117         (FRAME_CR_SAVE): Likewise.
44118         (FRAME_LR_SAVE): Likewise.
44119         (FRAME_TOC_SAVE): Likewise.
44120         (FRAME_PARM_SAVE): Likewise.
44121         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44122         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44123         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44124         (call_mcount_parm_offset): New macro.
44125         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44126         (PROF): Use symbolic stack frame offsets.
44127         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44128         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44129         Redefine in terms of FRAME_MIN_SIZE.
44130         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44131         (_dl_profile_resolve): Likewise.  Update comment.
44132         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44133         symbols stack frame offsets.
44134         (__sigsetjmp): Likewise.
44135         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44136         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44137         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44138         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44141         (FRAME_BACKCHAIN): Remove.
44142         (FRAME_CR_SAVE): Likewise.
44143         (FRAME_LR_SAVE): Likewise.
44144         (FRAME_COMPILER_DW): Likewise.
44145         (FRAME_LINKER_DW): Likewise.
44146         (FRAME_TOC_SAVE): Likewise.
44147         (FRAME_PARM_SAVE): Likewise.
44148         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44149         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44150         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44152         (CHECK_SP): Use symbolic stack frame offsets.
44153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44154         zone" instead of caller's parameter save area for temp storage.
44155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44156         Likewise.  Also, use symbolic stack frame offsets.
44157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44158         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44159         our own stack frame instead of the caller's.
44160         (__socket): Use symbolic stack frame offsets.
44162 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44163             Alan Modra  <amodra@gmail.com>
44165         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44166         Define.
44167         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44168         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44169         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44170         New function.
44171         (elf_machine_fixup_plt): Call it.
44172         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44173         reloc arguments.
44174         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44175         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44176         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44177         r2 before calling target.
44179 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44180             Alan Modra  <amodra@gmail.com>
44182         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44183         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44184         versions of macros to support ELFv2 ABI.
44185         (LOCALENTRY): New macro.
44186         (ENTRY, EALIGN): Use it.
44187         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44188         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44189         fall through into ENTRY entry point.
44190         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44191         Only define if _CALL_ELF != 2.
44193         (elf_machine_matches_host): Verify ABI version matches.
44194         (RTLD_START): Use LOCALENTRY.
44195         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44196         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44197         (PLT_ENTRY_WORDS): New macro.
44198         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44199         (elf_machine_runtime_setup): Support ELFv2 ABI.
44200         (elf_machine_fixup_plt): Likewise.
44201         (elf_machine_plt_conflict): Likewise.
44202         (resolve_ifunc): Likewise.
44203         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44204         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44205         Likewise.
44206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44207         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44209         (makecontext): Support ELFv2 ABI.
44210         * elf/elf.h (EF_PPC64_ABI): Define.
44212 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44214         * sysdeps/powerpc/powerpc64/sysdep.h
44215         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44216         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44217         (ENTRY) [ASSEMBLER]: ... but instead here ...
44218         (EALIGN) [ASSEMBLER]: ... and here.
44219         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44220         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44221         (ENTRY_2) [!ASSEMBLER]: Use it.
44222         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44223         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44224         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44225         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44226         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44228         Use PPC64_LOAD_FUNCPTR.
44230         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44232 2013-12-04  Alan Modra  <amodra@gmail.com>
44234         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44235         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44236         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44237         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44239         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44240         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44241         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44242         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44243         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44244         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44246 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44249         (__makecontext): Fix incorrect CFI when backtracing out of
44250         context created via makecontext.
44251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44252         (__setcontext): Fix incorrect CFI during switch to new context.
44253         (__novec_setcontext): Likewise.
44255 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44257         [BZ #4772]
44258         * time/strptime_l.c (__strptime_internal): Allow modifiers
44259         in strptime.
44260         * time/tst-strptime.c (day_tests): Add testcase.
44262 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44264         * scripts/bench.pl: Skip over blank lines.
44266 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44268         [BZ #926]
44269         * manual/time.texi (Calendar Time): Clarify what timezone functions
44270         use.
44272 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44276 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44278         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44279         implementation.
44280         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44281         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44282         * debug/memset_chk.c (__memset_chk): Likewise.
44283         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44284         * debug/strncpy_chk.c: Likewise.
44286 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44288         [BZ #15268]
44289         [BZ #15425]
44290         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44291         (__ieee754_exp): For possibly underflowing results, check size of
44292         result and force underflow exception if required.
44293         * math/auto-libm-test-in: Add more tests of exp.
44294         * math/auto-libm-test-out: Regenerated.
44295         * sysdeps/i386/fpu/libm-test-ulps: Update.
44296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44298         [BZ #16283]
44299         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44300         * math/w_exp2f.c (__exp2f): Likewise.
44301         * math/w_exp2l.c (__exp2l): Likewise.
44302         * math/auto-libm-test-in: Do not allow missing errno on exp2
44303         underflow.
44304         * math/auto-libm-test-out: Regenerated.
44306 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44308         [BZ #16274]
44309         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44310         handle filename validation.
44311         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44312         (do_open): Delete.
44314 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44316         [BZ #6786]
44317         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44318         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44319         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44320         <float.h>.
44321         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44322         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44323         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44324         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44325         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44326         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44327         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44328         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44329         Add more erfc tests.
44330         * math/auto-libm-test-out: Regenerated.
44331         * sysdeps/i386/fpu/libm-test-ulps: Update.
44332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44334         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44335         exp2, expm1, j0 and j1.
44336         * math/auto-libm-test-out: Regenerated.
44337         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44338         (erfc_test_data): Likewise.
44339         (exp_test_data): Likewise.
44340         (exp_tonearest_test_data): Likewise.
44341         (exp_towardzero_test_data): Likewise.
44342         (exp_downward_test_data): Likewise.
44343         (exp_upward_test_data): Likewise.
44344         (exp10_test_data): Likewise.
44345         (exp2_test_data): Likewise.
44346         (expm1_test_data): Likewise.
44347         (j0_test_data): Likewise.
44348         (j1_test_data): Likewise.
44349         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44350         (input_flag_type): Add flag_xfail_rounding.
44351         (input_flags): Add xfail-rounding.
44352         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44353         (output_for_one_input_case): Handle flag_xfail_rounding.
44354         * sysdeps/i386/fpu/libm-test-ulps: Update.
44355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44357 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44359         [BZ #16289]
44360         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44361         division by 0.
44363 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44365         [BZ #16195]
44366         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44367         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44368         (STAP_PROBE0): New macro.
44369         (STAP_PROBE1): Likewise.
44370         (STAP_PROBE2): Likewise.
44371         (STAP_PROBE3): Likewise.
44372         (STAP_PROBE4): Likewise.
44374 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44376         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44378 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44380         * benchtests/Makefile (bench): Add sqrt.
44381         (LDLIBS-bench-sqrt): New.
44382         * benchtests/sqrt-input: New.
44384 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44386         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44387         (GAIH_EAI): Likewise.
44388         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44389         (gaih_inet): Likewise.
44390         (getaddrinfo): Don't use GAIH_EAI.
44392         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44393         (struct gaih): Remove definition.
44395 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44397         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44398         Use HERRNOP directly.
44400 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44404 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44406         * math/gen-auto-libm-tests.c (test_functions): Add more
44407         single-argument functions.
44408         (special_fill_pi_2): New function.
44409         (special_fill_minus_pi_2): Likewise.
44410         (special_fill_pi_6): Likewise.
44411         (special_fill_minus_pi_6): Likewise.
44412         (special_fill_pi_3): Likewise.
44413         (special_fill_2pi_3): Likewise.
44414         (special_fill_e): Likewise.
44415         (special_fill_1_e): Likewise.
44416         (special_fill_e_minus_1): Likewise.
44417         (special_real_inputs): Add more special inputs.
44418         (output_for_one_input_case): Do not require ERANGE on underflow to
44419         zero if round-to-nearest result does not underflow to zero, unless
44420         exact results required.
44421         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44422         atan, atanh, cbrt, cos and cosh.
44423         * math/auto-libm-test-out: Regenerated.
44424         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44425         (acos_tonearest_test_data): Likewise.
44426         (acos_towardzero_test_data): Likewise.
44427         (acos_downward_test_data): Likewise.
44428         (acos_upward_test_data): Likewise.
44429         (acosh_test_data): Likewise.
44430         (asin_test_data): Likewise.
44431         (asin_tonearest_test_data): Likewise.
44432         (asin_towardzero_test_data): Likewise.
44433         (asin_upward_test_data): Likewise.
44434         (asinh_test_data): Likewise.
44435         (atan_test_data): Likewise.
44436         (atanh_test_data): Likewise.
44437         (cbrt_test_data): Likewise.
44438         (cos_test_data): Likewise.
44439         (cos_tonearest_test_data): Likewise.
44440         (cos_towardzero_test_data): Likewise.
44441         (cos_downward_test_data): Likewise.
44442         (cos_upward_test_data): Likewise.
44443         (cosh_test_data): Likewise.
44444         (cosh_tonearest_test_data): Likewise.
44445         (cosh_towardzero_test_data): Likewise.
44446         (cosh_downward_test_data): Likewise.
44447         (cosh_upward_test_data): Likewise.
44448         * sysdeps/i386/fpu/libm-test-ulps: Update.
44449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44451 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44453         [BZ #6787]
44454         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44455         * math/w_exp10f.c (__exp10f): Likewise.
44456         * math/w_exp10l.c (__exp10l): Likewise.
44457         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44458         errno settings in existing tests.
44460         [BZ #14032]
44461         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44462         precision control set to double precision.
44463         * sysdeps/i386/fpu/w_sqrt.c: New file.
44464         * math/auto-libm-test-in: Add more tests.
44465         * math/auto-libm-test-out: Update.
44467         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44468         (sqrt_test_tonearest): New function.
44469         (sqrt_towardzero_test_data): New variable.
44470         (sqrt_test_towardzero): New function.
44471         (sqrt_downward_test_data): New variable.
44472         (sqrt_test_downward): New function.
44473         (sqrt_upward_test_data): New variable.
44474         (sqrt_test_upward): New function.
44475         (main): Call the new functions.
44477         * math/gen-auto-libm-tests.c: New file.
44478         * math/auto-libm-test-in: Likewise.
44479         * math/auto-libm-test-out: New generated file.
44480         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44481         variables.
44482         (%beautify): Add generated representations of zero.
44483         (top level): Set $auto_input and call parse_auto_input.
44484         (beautify): Remove trailing "f" from hex float constants.
44485         (parse_args): Handle XFAIL_TEST.
44486         (convert_condition): New function.
44487         (or_value): Likewise.
44488         (or_cond_value): Likewise.
44489         (generate_testfile): Handle AUTO_TESTS_* lines.
44490         (parse_auto_input): New function.
44491         * math/libm-test.inc (XFAIL_TEST): New macro.
44492         (ERRNO_UNCHANGED): Update value.
44493         (ERRNO_EDOM): Likewise.
44494         (ERRNO_ERANGE): Likewise.
44495         (IGNORE_RESULT): Likewise.
44496         (TEST_COND_flt_32): New macro.
44497         (TEST_COND_dbl_64): Likewise.
44498         (TEST_COND_ldbl_96_intel): Likewise.
44499         (TEST_COND_ldbl_96_m68k): Likewise.
44500         (TEST_COND_ldbl_128): Likewise.
44501         (TEST_COND_ldbl_128ibm): Likewise.
44502         (TEST_COND_long32): Likewise.
44503         (TEST_COND_long64): Likewise.
44504         (TEST_COND_before_rounding): Likewise.
44505         (TEST_COND_after_rounding): Likewise.
44506         (enable_test): Handle XFAIL_TEST flag.
44507         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44508         with finite results.
44509         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44510         auto-libm-test-out.
44512 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44513             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44515         [BZ #16214]
44516         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44517         __tls_get_addr_internal instead of __tls_get_offset in order to
44518         avoid GOT pointer dependency.  Make rtld export
44519         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44520         __tls_get_addr since we are a __tls_get_offset platform.
44521         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44522         GOT pointer being set up before.
44523         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44525 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44527         * manual/math.texi (Errors in Math Functions): Document accuracy
44528         goals.
44530         [BZ #15004]
44531         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44532         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44533         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44534         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44535         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44536         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44537         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44538         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44539         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44540         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44541         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44542         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44543         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44544         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44545         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44546         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44548         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44549         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44550         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44551         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44552         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44553         Likewise.
44554         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44555         Likewise.
44556         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44557         Likewise.
44558         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44559         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44560         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44561         atomic-feupdateenv and flt-rounds.
44562         * sysdeps/powerpc/nofpu/Versions (libc): Add
44563         __atomic_feholdexcept, __atomic_feclearexcept,
44564         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44565         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44566         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44567         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44568         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44569         here.
44570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44571         Update.
44573         * manual/arith.texi (FP Exceptions): Document that exceptions may
44574         not be raised when matherr is used.
44575         (Math Error Reporting): Document overflow in directed rounding
44576         modes.  Document that errno may not be set when finite values are
44577         returned on overflow.  Document intent to set errno on underflow
44578         only for underflow to zero.
44580         [BZ #16271]
44581         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44582         round-to-nearest then adjust result for other rounding modes.
44583         * include/fenv.h (fegetround): Use libm_hidden_proto.
44584         * math/fegetround.c (fegetround): Use libm_hidden_def.
44585         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44586         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44587         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44588         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44589         Likewise.
44590         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44591         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44592         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44593         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44595 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44597         [BZ #16077]
44598         * nss/Versions (libnss_files): Add
44599         _nss_files_gethostbyname3_r.
44600         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44601         New function.
44602         (HOST_DB_LOOKUP): Remove macro.
44603         (_nss_files_gethostbyname_r): Implement function without the
44604         HOST_DB_LOOKUP macro.
44605         (_nss_files_gethostbyname2_r): Likewise.
44607 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44609         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44611 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44613         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44614         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44615         warning.
44617 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44619         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44620         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44621         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44622         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44623         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44624         __fe_nomask_env_priv and attribute_hidden.
44625         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44626         (libc_feupdateenv_test_ppc): Likewise.
44627         (libc_feresetround_ppc): Likewise.
44628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44629         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44630         compat_symbol macro.
44631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44632         (__fe_nomask_env): Likewise.
44633         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44635 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44637         * string/Makefile: Remove ifunc tests.
44638         * string/test-string.h: Define TEST_IFUNC.
44639         * string/test-bcopy-ifunc.c: Remove.
44640         * string/test-bzero-ifunc.c: Likewise.
44641         * string/test-memccpy-ifunc.c: Likewise.
44642         * string/test-memchr-ifunc.c: Likewise.
44643         * string/test-memcmp-ifunc.c: Likewise.
44644         * string/test-memcpy-ifunc.c: Likewise.
44645         * string/test-memmem-ifunc.c: Likewise.
44646         * string/test-memmove-ifunc.c: Likewise.
44647         * string/test-mempcpy-ifunc.c: Likewise.
44648         * string/test-memrchr-ifunc.c: Likewise.
44649         * string/test-memset-ifunc.c: Likewise.
44650         * string/test-rawmemchr-ifunc.c: Likewise.
44651         * string/test-stpcpy-ifunc.c: Likewise.
44652         * string/test-stpncpy-ifunc.c: Likewise.
44653         * string/test-strcasecmp-ifunc.c: Likewise.
44654         * string/test-strcasestr-ifunc.c: Likewise.
44655         * string/test-strcat-ifunc.c: Likewise.
44656         * string/test-strchr-ifunc.c: Likewise.
44657         * string/test-strchrnul-ifunc.c: Likewise.
44658         * string/test-strcmp-ifunc.c: Likewise.
44659         * string/test-strcpy-ifunc.c: Likewise.
44660         * string/test-strcspn-ifunc.c: Likewise.
44661         * string/test-strlen-ifunc.c: Likewise.
44662         * string/test-strncasecmp-ifunc.c: Likewise.
44663         * string/test-strncat-ifunc.c: Likewise.
44664         * string/test-strncmp-ifunc.c: Likewise.
44665         * string/test-strncpy-ifunc.c: Likewise.
44666         * string/test-strnlen-ifunc.c: Likewise.
44667         * string/test-strpbrk-ifunc.c: Likewise.
44668         * string/test-strrchr-ifunc.c: Likewise.
44669         * string/test-strspn-ifunc.c: Likewise.
44670         * string/test-strstr-ifunc.c: Likewise.
44672 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44674         * benchtests/Makefile: Remove ifunc tests.
44675         * benchtests/bench-string.h: Define TEST_IFUNC.
44676         * benchtests/bench-bcopy-ifunc.c: Remove.
44677         * benchtests/bench-bzero-ifunc.c: Likewise.
44678         * benchtests/bench-memccpy-ifunc.c: Likewise.
44679         * benchtests/bench-memchr-ifunc.c: Likewise.
44680         * benchtests/bench-memcmp-ifunc.c: Likewise.
44681         * benchtests/bench-memcpy-ifunc.c: Likewise.
44682         * benchtests/bench-memmem-ifunc.c: Likewise.
44683         * benchtests/bench-memmove-ifunc.c: Likewise.
44684         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44685         * benchtests/bench-memrchr-ifunc.c: Likewise.
44686         * benchtests/bench-memset-ifunc.c: Likewise.
44687         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44688         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44689         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44690         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44691         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44692         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44693         * benchtests/bench-strcat-ifunc.c: Likewise.
44694         * benchtests/bench-strchr-ifunc.c: Likewise.
44695         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44696         * benchtests/bench-strcmp-ifunc.c: Likewise.
44697         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44698         * benchtests/bench-strcpy-ifunc.c: Likewise.
44699         * benchtests/bench-strcspn-ifunc.c: Likewise.
44700         * benchtests/bench-strlen-ifunc.c: Likewise.
44701         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44702         * benchtests/bench-strncat-ifunc.c: Likewise.
44703         * benchtests/bench-strncmp-ifunc.c: Likewise.
44704         * benchtests/bench-strncpy-ifunc.c: Likewise.
44705         * benchtests/bench-strnlen-ifunc.c: Likewise.
44706         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44707         * benchtests/bench-strrchr-ifunc.c: Likewise.
44708         * benchtests/bench-strsep-ifunc.c: Likewise.
44709         * benchtests/bench-strspn-ifunc.c: Likewise.
44710         * benchtests/bench-strstr-ifunc.c: Likewise.
44712 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44714         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44716 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44718         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44719         * rt/aio.h: Likewise.
44720         * sysdeps/gnu/bits/utmp.h: Likewise.
44721         * sysdeps/gnu/bits/utmpx.h: Likewise.
44722         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44723         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44724         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44725         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44726         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44727         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44728         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44729         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44730         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44731         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44732         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44733         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44734         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44736         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44737         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44738         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44739         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44740         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44741         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44742         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44743         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44744         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44745         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44746         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44747         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44748         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44749         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44750         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44751         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44752         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44753         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44754         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44755         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44756         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44757         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44758         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44759         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44760         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44761         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44762         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44763         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44765 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44767         [BZ #16245]
44768         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44769         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44771 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44773         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44774         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44775         Likewise.
44777 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44779         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44780         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44781         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44782         (__fesetround): Remove define.
44783         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44784         rounding and exceptions handling.
44785         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44786         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44787         (__fe_nomask_env): Likewise.
44788         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44789         __fegetround instead of fegetround.
44790         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44791         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44793 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44795         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44796         it's there.
44798         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44800 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44802         [BZ #11157]
44803         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44804         (encrypt_r): Likewise.
44805         * malloc/obstack.h (obstack_free): Likewise.
44806         * posix/unistd.h (encrypt): Likewise.
44808 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44810         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44811         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44812         DL_CALL_DT_FINI() that call the functions directly.
44813         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44814         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44815         * elf/dl-fini.c: Likewise.
44817 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44819         * malloc/hooks.c (memalign_check): Add alignment rounding.
44820         * malloc/malloc.c (_mid_memalign): New function.
44821         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44822         Implement by calling _mid_memalign.
44823         * manual/probes.texi (Memory Allocation Probes): Remove
44824         memory_valloc_retry and memory_pvalloc_retry.
44826 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44828         * locale/programs/locarchive.c (open_archive): Add const
44829         qualifier to ARCHIVEFNAME and copy default fname to
44830         DEFAULT_FNAME.
44832         [BZ #15601]
44833         * libio/tst-widetext.input: Rename Oriya to Odia.
44834         * locale/iso-639.def: Likewise.
44836         * manual/probes.texi (Mathematical Function Probes): Add
44837         documentation for sin, cos, asin and acos probes.
44838         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44839         (__sin32): Add slowasin probe.
44840         (__cos32): Add slowacos probe.
44841         (__mpsin): Add slowsin probe.
44842         (__mpcos): Add slowcos probe.
44844 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44846         [BZ #15483]
44847         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44848         thread-local __sim_exceptions_thread and global
44849         __sim_exceptions_global.
44850         (__sim_disabled_exceptions): Change to thread-local
44851         __sim_disabled_exceptions_thread and global
44852         __sim_disabled_exceptions_global.
44853         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44854         and global __sim_round_mode_global.
44855         (__simulate_exceptions): Use thread-local floating-point state and
44856         set global state from it as needed.
44857         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44858         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44859         __sim_round_mode_thread.
44860         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44861         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44862         and global __sim_exceptions_global.
44863         (__sim_disabled_exceptions): Change to thread-local
44864         __sim_disabled_exceptions_thread and global
44865         __sim_disabled_exceptions_global.
44866         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44867         and global __sim_round_mode_global.
44868         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44869         (SIM_SET_GLOBAL): Likewise.
44870         * sysdeps/powerpc/soft-fp/sfp-machine.h
44871         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44872         __sim_round_mode_thread.
44873         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44874         __sim_disabled_exceptions_thread.
44875         (__sim_exceptions): Change to __sim_exceptions_thread.
44876         (__sim_disabled_exceptions): Change to
44877         __sim_disabled_exceptions_thread.
44878         (__sim_round_mode): Change to __sim_round_mode_thread.
44879         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44880         thread-local floating-point state and set global state from it as
44881         needed.
44882         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44883         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44884         (__sim_disabled_exceptions): Remove extern declaration.
44885         (feenableexcept): Use thread-local floating-point state and set
44886         global state from it as needed.
44887         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44888         extern declaration.
44889         (__sim_disabled_exceptions): Likewise.
44890         (__sim_round_mode): Likewise.
44891         (__fegetenv): Use thread-local floating-point state.
44892         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44893         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44894         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44895         floating-point state and set global state from it as needed.
44896         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44897         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44898         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44899         Likewise.
44900         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44901         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44902         Likewise.
44903         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44904         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44905         Use __sim_round_mode_thread.
44906         * math/test-fenv-tls.c: New file.
44907         * math/Makefile (tests): Add test-fenv-tls.
44908         ($(objpfx)test-fenv-tls): Depend on
44909         $(common-objpfx)nptl/libpthread.so.
44911 2013-11-19  Andreas Schwab  <schwab@suse.de>
44913         * locale/programs/locale.c (show_info): Decode wordarray elements.
44914         * locale/categories.def (LC_MONETARY): Add element for
44915         _NL_MONETARY_CRNCYSTR.
44916         * locale/C-monetary.c (conversion_rate): New variable.
44917         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44918         element.
44920 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44922         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44923         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44925 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44927         * elf/Makefile (tst-auxv): New test.
44928         * elf/tst-auxv.c: New
44929         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44931 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44933         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44934         (hidden_proto): Caller changed.
44935         (hidden_tls_proto): New macro.
44936         (libc_hidden_tls_proto): Likewise.
44937         (rtld_hidden_tls_proto): Likewise.
44938         (libm_hidden_tls_proto): Likewise.
44939         (libresolv_hidden_tls_proto): Likewise.
44940         (librt_hidden_tls_proto): Likewise.
44941         (libdl_hidden_tls_proto): Likewise.
44942         (libnss_files_hidden_tls_proto): Likewise.
44943         (libnsl_hidden_tls_proto): Likewise.
44944         (libnss_nisplus_hidden_tls_proto): Likewise.
44945         (libutil_hidden_tls_proto): Likewise.
44947 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44949         [BZ #10253]
44950         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44951         (decompose_rpath): Defer expansion to fillin_rpath.
44952         (_dl_init_paths): Pass linkmap to fillin_rpath.
44954 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44956         * benchtests/Makefile: Add strsep.
44957         * benchtests/bench-strsep.c: New file: strsep benchtest.
44958         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44960 2013-11-18  Andreas Schwab  <schwab@suse.de>
44962         * locale/programs/locale.c (show_info) [case byte]: Check for
44963         '\377' instead of '\177'.
44964         * locale/C-monetary.c (not_available): Always use "\377".
44965         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44966         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44967         detect unavailable sign_posn locale elements.
44968         * locale/localeconv.c (__localeconv): For grouping and
44969         mon_grouping handle "\177" and "\377" like no grouping.
44970         (INT_ELEM): New macro.  Use it to set all numeric members.
44971         * locale/programs/ld-monetary.c (monetary_read)
44972         <tok_mon_grouping>: Normalize single -1 to the empty string.
44973         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44974         Likewise.
44976 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44978         [BZ #16055]
44979         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44980         when we match (nil).
44981         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44983 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44985         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44986         (NO_TEST_INLINE): Update value.
44987         (ERRNO_UNCHANGED): Likewise.
44988         (ERRNO_EDOM): Likewise.
44989         (ERRNO_ERANGE): Likewise.
44990         (IGNORE_RESULT): Likewise.
44991         (check_float_internal): Check signs of NaN results if
44992         TEST_NAN_SIGN used.
44993         (check_complex): Pass TEST_NAN_SIGN flag through to second
44994         check_float_internal call.
44995         (copysign_test_data): Add tests with quiet NaNs as second
44996         argument.  Use TEST_NAN_SIGN.
44997         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44998         TEST_NAN_SIGN.
44999         (signbit_test_data): Add tests of quiet NaN argument.
45000         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45002         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45003         $ignore_result.
45004         (parse_args): Handle function results specified as IGNORE.
45005         * math/libm-test.inc (IGNORE_RESULT): New macro.
45006         (check_float_internal): Do not check numerical result if flag
45007         IGNORE_RESULT set.
45008         (check_complex): Pass through IGNORE_RESULT to second
45009         check_float_internal call.
45010         (check_int): Do not check numerical result if flag IGNORE_RESULT
45011         set.
45012         (check_long): Likewise.
45013         (check_bool): Likewise.
45014         (check_longlong): Likewise.
45015         (lrint_test_data): Add tests of infinite and NaN arguments.
45016         (lrint_tonearest_test_data): Likewise.
45017         (lrint_towardzero_test_data): Likewise.
45018         (lrint_downward_test_data): Likewise.
45019         (lrint_upward_test_data): Likewise.
45020         (llrint_test_data): Likewise.
45021         (llrint_tonearest_test_data): Likewise.
45022         (llrint_towardzero_test_data): Likewise.
45023         (llrint_downward_test_data): Likewise.
45024         (llrint_upward_test_data): Likewise.
45025         (lround_test_data): Likewise.
45026         (llround_test_data): Likewise.
45028         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45029         (ERRNO_UNCHANGED): Update value.
45030         (ERRNO_EDOM): Likewise.
45031         (ERRNO_ERANGE): Likewise.
45032         (NO_TEST_INLINE_FLOAT): New macro.
45033         (NO_TEST_INLINE_DOUBLE): Likewise.
45034         (enable_test): New function.
45035         (RUN_TEST_f_f): Check enable_test before running test.
45036         (RUN_TEST_2_f): Likewise.
45037         (RUN_TEST_fff_f): Likewise.
45038         (RUN_TEST_c_f): Likewise.
45039         (RUN_TEST_f_f1): Likewise.
45040         (RUN_TEST_fF_f1): Likewise.
45041         (RUN_TEST_fI_f1): Likewise.
45042         (RUN_TEST_ffI_f1): Likewise.
45043         (RUN_TEST_c_c): Likewise.
45044         (RUN_TEST_cc_c): Likewise.
45045         (RUN_TEST_f_i): Likewise.
45046         (RUN_TEST_f_i_tg): Likewise.
45047         (RUN_TEST_ff_i_tg): Likewise.
45048         (RUN_TEST_f_b): Likewise.
45049         (RUN_TEST_f_b_tg): Likewise.
45050         (RUN_TEST_f_l): Likewise.
45051         (RUN_TEST_f_L): Likewise.
45052         (RUN_TEST_fFF_11): Likewise.
45053         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45054         conditionals.
45055         (cosh_test_data): Likewise.
45056         (exp_test_data): Likewise.
45057         (expm1_test_data): Likewise.
45058         (hypot_test_data): Likewise.
45059         (pow_test_data): Likewise.
45060         (sinh_test_data): Likewise.
45061         (tanh_test_data): Likewise.
45062         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45063         flags argument.
45065         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45066         tests with quiet NaN input and output.
45067         (acosh_test_data): Likewise.
45068         (asin_test_data): Likewise.
45069         (asinh_test_data): Likewise.
45070         (atan_test_data): Likewise.
45071         (atanh_test_data): Likewise.
45072         (atan2_test_data): Likewise.
45073         (cbrt_test_data): Likewise.
45074         (cos_test_data): Likewise.
45075         (cosh_test_data): Likewise.
45076         (erf_test_data): Likewise.
45077         (erfc_test_data): Likewise.
45078         (exp_test_data): Likewise.
45079         (exp10_test_data): Likewise.
45080         (exp2_test_data): Likewise.
45081         (expm1_test_data): Likewise.
45082         (hypot_test_data): Likewise.
45083         (j0_test_data): Likewise.
45084         (j1_test_data): Likewise.
45085         (jn_test_data): Likewise.
45086         (lgamma_test_data): Likewise.
45087         (log_test_data): Likewise.
45088         (log10_test_data): Likewise.
45089         (log1p_test_data): Likewise.
45090         (log2_test_data): Likewise.
45091         (pow_test_data): Likewise.
45092         (scalb_test_data): Likewise.
45093         (sin_test_data): Likewise.
45094         (sincos_test_data): Likewise.
45095         (sinh_test_data): Likewise.
45096         (tan_test_data): Likewise.
45097         (tanh_test_data): Likewise.
45098         (tgamma_test_data): Likewise.
45099         (y0_test_data): Likewise.
45100         (y1_test_data): Likewise.
45101         (yn_test_data): Likewise.
45103         [BZ #16167]
45104         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45105         argument being NaN and avoid computations with second argument in
45106         that case.
45107         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45108         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45109         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45111 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45113         * locale/iso-639.def: Add Chitwani Tharu (the).
45115 2013-11-14  Andreas Schwab  <schwab@suse.de>
45117         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45118         word instead of empty string.
45120 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45123         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45125         (__fe_nomask_env): Likewise.
45127 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45129         * benchtests/bench-timing.h: Include time.h.
45131 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45133         [BZ #15997]
45134         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45135         to 3.4.0 for x32.
45136         * sysdeps/unix/sysv/linux/configure: Regenerated.
45138 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45140         [BZ #16151]
45141         * stdlib/strtod_l.c (round_and_return): Do not consider
45142         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45143         exponent one less than half the least subnormal exponent.
45144         * stdlib/test-strtod-round-data: Add more tests.
45145         * stdlib/tst-strtod-round.c (tests): Regenerated.
45147 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45149         [BZ #14143]
45150         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45151         (__fe_mask_env): Likewise.
45152         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45153         libm_hidden_proto and add function prototype.
45154         (__fe_mask_env): Add function prototype.
45155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45156         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45158         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45160         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45162 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45164         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45165         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45167 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45169         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45170         of htab_find_slot().
45172 2013-11-11  David S. Miller  <davem@davemloft.net>
45174         [BZ #16150]
45175         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45176         symbol in the non-vis3 case in static builds.
45177         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45178         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45179         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45180         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45182 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45184         [BZ #387]
45185         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45186         it is empty.
45188 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45190         * benchtests/Makefile: Add bench-strtod.
45191         * benchtests/bench-strtod.c: New file: strtod benchtest
45193 2013-11-11  Andreas Schwab  <schwab@suse.de>
45195         [BZ #16153]
45196         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45197         terminating NUL in key length.
45199 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45201         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45202         Add artificial ODP entry for vDSO symbol for PPC64.
45203         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45204         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45206 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45208         [BZ #15374]
45209         * nss/getent.c (services_keys): Recognize services starting with digit.
45211 2013-11-06  David S. Miller  <davem@davemloft.net>
45213         [BZ #15985]
45214         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45215         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45217 2013-11-06  Will Newton  <will.newton@linaro.org>
45219         * manual/memory.texi (Malloc Examples): Remove register
45220         keyword from examples.
45222 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45224         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45226 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45228         [BZ #6981]
45229         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45230         depending on [__GCC_IEC_559 > 0].
45231         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45232         depending on [__GCC_IEC_559_COMPLEX > 0].
45234 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45236         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45237         to iso-639.def.
45239 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45241         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45243 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45245         [BZ #16112]
45246         * malloc/malloc (malloc_info): Do not handle first bin as
45247         special case.
45249 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45251         * locale/iso-639.def: Add Central Nahuatl (nhn).
45253 2013-11-01  Bruno Haible  <bruno@clisp.org>
45255         [BZ #7003]
45256         * manual/math.texi (BSD Random): Specify range upper bound as
45257         in POSIX.
45259 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45261         * locale/iso-639.def: Add Meadow Mari (mhr).
45263 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45265         [BZ #14752], [BZ #15763]
45266         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45267         Validate name.
45268         * rt/tst_shm.c: Add test for escaping directory.
45270 2013-10-31  Andreas Schwab  <schwab@suse.de>
45272         [BZ #15917]
45273         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45274         followed by 'x' as part of digit sequence.
45275         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45277 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45279         [BZ #16037]
45280         * configure.ac: allow GNU Make 4.0 and greater.
45281         * configure: Regenerated.
45283 2013-10-30  Will Newton  <will.newton@linaro.org>
45285         [BZ #16038]
45286         * malloc/hooks.c (memalign_check): Limit alignment to the
45287         maximum representable power of two.
45288         * malloc/malloc.c (__libc_memalign): Likewise.
45289         * malloc/tst-memalign.c (do_test): Add test for very
45290         large alignment values.
45291         * malloc/tst-posix_memalign.c (do_test): Likewise.
45293 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45295         [BZ #11087]
45296         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45297         (munmap_chunk): Likewise.
45298         (mremap_chunk): Likewise.
45300 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45302         [BZ #15799]
45303         * stdlib/div.c (div): Remove obsolete code.
45304         * stdlib/ldiv.c (ldiv): Likewise.
45305         * stdlib/lldiv.c (lldiv): Likewise.
45307 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45309         [BZ #16071]
45310         * nss/nss_files/files-XXX.c (get_contents_ret): New
45311         enumerator.
45312         (get_contents): New function.
45313         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45315 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45317         * configure.in: Moved to ...
45318         * configure.ac: ... here. Change reference to configure.in
45319         to configure.ac.
45320         * sysdeps/arm/preconfigure.ac: ... here.
45321         configure.in to configure.ac.
45322         * sysdeps/gnu/configure.in: Moved to ...
45323         * sysdeps/gnu/configure.ac: ... here.
45324         * sysdeps/i386/configure.in: Moved to ...
45325         * sysdeps/i386/configure.ac: ... here.
45326         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45327         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45328         * sysdeps/mach/configure.in: Moved to ...
45329         * sysdeps/mach/configure.ac: ... here.
45330         * sysdeps/mach/hurd/configure.in: Moved to ...
45331         * sysdeps/mach/hurd/configure.ac: ... here.
45332         * sysdeps/powerpc/configure.in: Moved to ...
45333         * sysdeps/powerpc/configure.ac: ... here.
45334         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45335         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45336         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45337         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45338         * sysdeps/s390/s390-32/configure.in: Moved to ...
45339         * sysdeps/s390/s390-32/configure.ac: ... here.
45340         * sysdeps/s390/s390-64/configure.in: Moved to ...
45341         * sysdeps/s390/s390-64/configure.ac: ... here.
45342         * sysdeps/sh/configure.in: Moved to ...
45343         * sysdeps/sh/configure.ac: ... here.
45344         * sysdeps/sparc/configure.in: Moved to ...
45345         * sysdeps/sparc/configure.ac: ... here.
45346         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45347         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45348         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45349         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45350         * sysdeps/x86_64/configure.in: Moved to ...
45351         * sysdeps/x86_64/configure.ac: ... here.
45352         * sysdeps/x86_64/preconfigure.in: Moved to ...
45353         * sysdeps/x86_64/preconfigure.ac: ... here.
45354         * aclocal.m4: Change reference to configure.in to configure.ac.
45355         * config.h.in: Likewise.
45356         * manual/install.texi: Likewise.
45357         * manual/maint.texi: Likewise.
45358         * Makefile: Likewise.
45359         * malloc/Makefile: Likewise.
45360         * nscd/Makefile: Likewise.
45361         * Makeconfig: Change reference to configure.in and
45362         preconfigure.in to configure.ac and preconfigure.ac
45363         respectively.
45364         * INSTALL: Regenerated.
45365         * configure: Likewise.
45366         * sysdeps/gnu/configure: Likewise.
45367         * sysdeps/i386/configure: Likewise.
45368         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45369         * sysdeps/mach/configure: Likewise.
45370         * sysdeps/mach/hurd/configure: Likewise.
45371         * sysdeps/powerpc/configure: Likewise.
45372         * sysdeps/powerpc/powerpc32/configure: Likewise.
45373         * sysdeps/powerpc/powerpc64/configure: Likewise.
45374         * sysdeps/s390/s390-32/configure: Likewise.
45375         * sysdeps/s390/s390-64/configure: Likewise.
45376         * sysdeps/sh/configure: Likewise.
45377         * sysdeps/sparc/configure: Likewise.
45378         * sysdeps/unix/sysv/linux/configure: Likewise.
45379         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45380         * sysdeps/x86_64/configure: Likewise.
45381         * sysdeps/x86_64/preconfigure: Likewise.
45383 2013-10-29  Andreas Schwab  <schwab@suse.de>
45385         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45387 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45389         * benchtests/pow-inputs: Add new inputs.
45391         * benchtests/exp-inputs: Add new inputs.
45393         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45394         conditional check for return value.
45395         (__cos32): Likewise.
45397 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45399         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45400         to provide a boost for large inputs with word alignment.
45401         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45402         implementation based on optimized PPC64 strcpy.
45403         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45404         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45405         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45406         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45408 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45410         [BZ #2801]
45411         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45413 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45415         [BZ #14876]
45416         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45417         * time/tst-strptime.c (day_tests): Add testcase.
45419 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45421         [BZ #14029]
45422         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45424 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45426         [BZ #16074]
45427         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45428         MAP_FAILED on error.
45430 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45432         [BZ #16072]
45433         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45434         heap for large requests.
45436 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45438         [BZ #9954]
45439         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45440         result if the result has no associated interface.
45441         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45442         interface for all 127.X.Y.Z addresses.
45444 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45446         * locale/iso-639.def: Add Ligurian (lij)
45448 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45450         [BZ #15825]
45451         * sunrpc/rpc_main.c: Document rpcgen -5.
45453 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45455         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45457 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45459         [BZ #10278]
45460         * posix/glob.c: Match only directories when trailing slash is present.
45461         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45462         (main): Add testcase.
45464 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45466         [BZ #15670]
45467         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45469 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45471         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45472         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45473         AUTH_DES and cindex for FIPS 140-2.
45474         (DES Encryption): Add cindex FIPS 46-3.
45476         * locale/locarchive.h (struct locarhandle): Add fname.
45477         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45478         if an optional argument was specified to --list-archive,
45479         otherwise NULL.
45480         * locale/programs/locarchive.c (show_archive_content): Take new
45481         argument fname and pass it via ah.fname to open_archive.
45482         * locale/programs/localedef.h: Update decl.
45483         (open_archive): If AH->fname is non-null, open that file
45484         rather than the default file name, and don't ignore ENOENT.
45485         (create_archive): Set AH.fname to NULL.
45486         (delete_locales_from_archive): Likewise.
45487         (add_locales_to_archive): Likewise.
45488         * locale/programs/locfile.c (write_all_categories): Likewise.
45490 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45491             Aldy Hernandez  <aldyh@redhat.com>
45493         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45494         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45495         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45496         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45497         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45498         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45499         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45500         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45501         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45502         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45503         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45504         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45505         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45506         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45507         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45508         Likewise.
45509         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45510         Likewise.
45511         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45512         Likewise.
45513         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45514         Likewise.
45515         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45516         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45517         Likewise.
45518         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45519         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45520         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45521         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45522         Likewise.
45523         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45524         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45525         * sysdeps/powerpc/preconfigure: Likewise.
45526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45527         Likewise.
45528         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45529         Replace contents of file by #include of <fenv_libc.h>.
45530         * sysdeps/powerpc/soft-fp/sfp-machine.h
45531         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45532         and <sys/prctl.h>.
45533         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45534         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45535         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45536         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45537         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45538         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45539         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45540         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45541         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45542         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45543         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45544         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45546         Allow copysignl PLT reference to be missing.
45548 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45549             Joseph Myers  <joseph@codesourcery.com
45551         [BZ #15948]
45552         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45553         single character.
45554         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45556 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45558         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45559         * elf/tst-tls1.c: Likewise.
45560         * elf/tst-tls10.h: Likewise.
45561         * elf/tst-tls14.c: Likewise.
45562         * elf/tst-tls2.c: Likewise.
45563         * elf/tst-tls3.c: Likewise.
45564         * elf/tst-tls4.c: Likewise.
45565         * elf/tst-tls5.c: Likewise.
45566         * elf/tst-tls6.c: Likewise.
45567         * elf/tst-tls7.c: Likewise.
45568         * elf/tst-tls8.c: Likewise.
45569         * elf/tst-tls9.c: Likewise.
45570         * elf/tst-tlsmod1.c: Likewise.
45571         * elf/tst-tlsmod13.c: Likewise.
45572         * elf/tst-tlsmod13a.c: Likewise.
45573         * elf/tst-tlsmod14a.c: Likewise.
45574         * elf/tst-tlsmod16a.c: Likewise.
45575         * elf/tst-tlsmod16b.c: Likewise.
45576         * elf/tst-tlsmod2.c: Likewise.
45577         * elf/tst-tlsmod3.c: Likewise.
45578         * elf/tst-tlsmod4.c: Likewise.
45579         * elf/tst-tlsmod5.c: Likewise.
45580         * elf/tst-tlsmod6.c: Likewise.
45582 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45584         [BZ #12486]
45585         * malloc/malloc.c: remove checks for statistics.
45587 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45589         [BZ #15277]
45590         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45591         * inet/tst-network.c: Add testcase.
45593 2013-10-17  Andreas Schwab  <schwab@suse.de>
45595         [BZ #15218]
45596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45597         to determine canonical name.
45599 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45601         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45602         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45603         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45604         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45605         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45606         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45607         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45608         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45609         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45610         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45611         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45612         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45613         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45614         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45615         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45616         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45617         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45618         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45619         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45620         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45621         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45622         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45623         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45624         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45625         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45626         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45627         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45628         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45629         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45630         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45631         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45632         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45633         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45634         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45635         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45636         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45637         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45638         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45639         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45640         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45641         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45642         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45643         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45644         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45645         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45646         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45647         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45648         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45649         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45650         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45651         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45652         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45653         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45654         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45655         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45656         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45657         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45658         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45660 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45662         [BZ #16041]
45663         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45664         make result into a quiet NaN.
45666 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45668         * soft-fp/adddf3.c: Fix horizontal whitespace.
45669         * soft-fp/addsf3.c: Likewise.
45670         * soft-fp/addtf3.c: Likewise.
45671         * soft-fp/divdf3.c: Likewise.
45672         * soft-fp/divsf3.c: Likewise.
45673         * soft-fp/divtf3.c: Likewise.
45674         * soft-fp/double.h: Likewise.
45675         * soft-fp/eqdf2.c: Likewise.
45676         * soft-fp/eqsf2.c: Likewise.
45677         * soft-fp/eqtf2.c: Likewise.
45678         * soft-fp/extenddftf2.c: Likewise.
45679         * soft-fp/extended.h: Likewise.
45680         * soft-fp/extendsfdf2.c: Likewise.
45681         * soft-fp/extendsftf2.c: Likewise.
45682         * soft-fp/extendxftf2.c: Likewise.
45683         * soft-fp/fixdfdi.c: Likewise.
45684         * soft-fp/fixdfsi.c: Likewise.
45685         * soft-fp/fixdfti.c: Likewise.
45686         * soft-fp/fixsfdi.c: Likewise.
45687         * soft-fp/fixsfsi.c: Likewise.
45688         * soft-fp/fixsfti.c: Likewise.
45689         * soft-fp/fixtfdi.c: Likewise.
45690         * soft-fp/fixtfsi.c: Likewise.
45691         * soft-fp/fixtfti.c: Likewise.
45692         * soft-fp/fixunsdfdi.c: Likewise.
45693         * soft-fp/fixunsdfsi.c: Likewise.
45694         * soft-fp/fixunsdfti.c: Likewise.
45695         * soft-fp/fixunssfdi.c: Likewise.
45696         * soft-fp/fixunssfsi.c: Likewise.
45697         * soft-fp/fixunssfti.c: Likewise.
45698         * soft-fp/fixunstfdi.c: Likewise.
45699         * soft-fp/fixunstfsi.c: Likewise.
45700         * soft-fp/fixunstfti.c: Likewise.
45701         * soft-fp/floatdidf.c: Likewise.
45702         * soft-fp/floatdisf.c: Likewise.
45703         * soft-fp/floatditf.c: Likewise.
45704         * soft-fp/floatsidf.c: Likewise.
45705         * soft-fp/floatsisf.c: Likewise.
45706         * soft-fp/floatsitf.c: Likewise.
45707         * soft-fp/floattidf.c: Likewise.
45708         * soft-fp/floattisf.c: Likewise.
45709         * soft-fp/floattitf.c: Likewise.
45710         * soft-fp/floatundidf.c: Likewise.
45711         * soft-fp/floatundisf.c: Likewise.
45712         * soft-fp/floatunditf.c: Likewise.
45713         * soft-fp/floatunsidf.c: Likewise.
45714         * soft-fp/floatunsisf.c: Likewise.
45715         * soft-fp/floatunsitf.c: Likewise.
45716         * soft-fp/floatuntidf.c: Likewise.
45717         * soft-fp/floatuntisf.c: Likewise.
45718         * soft-fp/floatuntitf.c: Likewise.
45719         * soft-fp/fmadf4.c: Likewise.
45720         * soft-fp/fmasf4.c: Likewise.
45721         * soft-fp/fmatf4.c: Likewise.
45722         * soft-fp/gedf2.c: Likewise.
45723         * soft-fp/gesf2.c: Likewise.
45724         * soft-fp/getf2.c: Likewise.
45725         * soft-fp/ledf2.c: Likewise.
45726         * soft-fp/lesf2.c: Likewise.
45727         * soft-fp/letf2.c: Likewise.
45728         * soft-fp/muldf3.c: Likewise.
45729         * soft-fp/mulsf3.c: Likewise.
45730         * soft-fp/multf3.c: Likewise.
45731         * soft-fp/negdf2.c: Likewise.
45732         * soft-fp/negsf2.c: Likewise.
45733         * soft-fp/negtf2.c: Likewise.
45734         * soft-fp/op-1.h: Likewise.
45735         * soft-fp/op-2.h: Likewise.
45736         * soft-fp/op-4.h: Likewise.
45737         * soft-fp/op-8.h: Likewise.
45738         * soft-fp/op-common.h: Likewise.
45739         * soft-fp/quad.h: Likewise.
45740         * soft-fp/single.h: Likewise.
45741         * soft-fp/soft-fp.h: Likewise.
45742         * soft-fp/sqrtdf2.c: Likewise.
45743         * soft-fp/sqrtsf2.c: Likewise.
45744         * soft-fp/sqrttf2.c: Likewise.
45745         * soft-fp/subdf3.c: Likewise.
45746         * soft-fp/subsf3.c: Likewise.
45747         * soft-fp/subtf3.c: Likewise.
45748         * soft-fp/truncdfsf2.c: Likewise.
45749         * soft-fp/trunctfdf2.c: Likewise.
45750         * soft-fp/trunctfsf2.c: Likewise.
45751         * soft-fp/trunctfxf2.c: Likewise.
45752         * soft-fp/unorddf2.c: Likewise.
45753         * soft-fp/unordsf2.c: Likewise.
45754         * soft-fp/unordtf2.c: Likewise.
45756 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45758         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45759         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45761 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45763         * elf/dl-libc.c: Clear initfini list after freeing.
45765 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45767         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45768         * soft-fp/addsf3.c: Likewise.
45769         * soft-fp/addtf3.c: Likewise.
45770         * soft-fp/divdf3.c: Likewise.
45771         * soft-fp/divsf3.c: Likewise.
45772         * soft-fp/divtf3.c: Likewise.
45773         * soft-fp/double.h: Likewise.
45774         * soft-fp/eqdf2.c: Likewise.
45775         * soft-fp/eqsf2.c: Likewise.
45776         * soft-fp/eqtf2.c: Likewise.
45777         * soft-fp/extenddftf2.c: Likewise.
45778         * soft-fp/extended.h: Likewise.
45779         * soft-fp/extendsfdf2.c: Likewise.
45780         * soft-fp/extendsftf2.c: Likewise.
45781         * soft-fp/extendxftf2.c: Likewise.
45782         * soft-fp/fixdfdi.c: Likewise.
45783         * soft-fp/fixdfsi.c: Likewise.
45784         * soft-fp/fixdfti.c: Likewise.
45785         * soft-fp/fixsfdi.c: Likewise.
45786         * soft-fp/fixsfsi.c: Likewise.
45787         * soft-fp/fixsfti.c: Likewise.
45788         * soft-fp/fixtfdi.c: Likewise.
45789         * soft-fp/fixtfsi.c: Likewise.
45790         * soft-fp/fixtfti.c: Likewise.
45791         * soft-fp/fixunsdfdi.c: Likewise.
45792         * soft-fp/fixunsdfsi.c: Likewise.
45793         * soft-fp/fixunsdfti.c: Likewise.
45794         * soft-fp/fixunssfdi.c: Likewise.
45795         * soft-fp/fixunssfsi.c: Likewise.
45796         * soft-fp/fixunssfti.c: Likewise.
45797         * soft-fp/fixunstfdi.c: Likewise.
45798         * soft-fp/fixunstfsi.c: Likewise.
45799         * soft-fp/fixunstfti.c: Likewise.
45800         * soft-fp/floatdidf.c: Likewise.
45801         * soft-fp/floatdisf.c: Likewise.
45802         * soft-fp/floatditf.c: Likewise.
45803         * soft-fp/floatsidf.c: Likewise.
45804         * soft-fp/floatsisf.c: Likewise.
45805         * soft-fp/floatsitf.c: Likewise.
45806         * soft-fp/floattidf.c: Likewise.
45807         * soft-fp/floattisf.c: Likewise.
45808         * soft-fp/floattitf.c: Likewise.
45809         * soft-fp/floatundidf.c: Likewise.
45810         * soft-fp/floatundisf.c: Likewise.
45811         * soft-fp/floatunsidf.c: Likewise.
45812         * soft-fp/floatunsisf.c: Likewise.
45813         * soft-fp/floatuntidf.c: Likewise.
45814         * soft-fp/floatuntisf.c: Likewise.
45815         * soft-fp/floatuntitf.c: Likewise.
45816         * soft-fp/fmadf4.c: Likewise.
45817         * soft-fp/fmasf4.c: Likewise.
45818         * soft-fp/fmatf4.c: Likewise.
45819         * soft-fp/gedf2.c: Likewise.
45820         * soft-fp/gesf2.c: Likewise.
45821         * soft-fp/getf2.c: Likewise.
45822         * soft-fp/ledf2.c: Likewise.
45823         * soft-fp/lesf2.c: Likewise.
45824         * soft-fp/letf2.c: Likewise.
45825         * soft-fp/muldf3.c: Likewise.
45826         * soft-fp/mulsf3.c: Likewise.
45827         * soft-fp/multf3.c: Likewise.
45828         * soft-fp/negdf2.c: Likewise.
45829         * soft-fp/negsf2.c: Likewise.
45830         * soft-fp/negtf2.c: Likewise.
45831         * soft-fp/op-1.h: Likewise.
45832         * soft-fp/op-2.h: Likewise.
45833         * soft-fp/op-4.h: Likewise.
45834         * soft-fp/op-8.h: Likewise.
45835         * soft-fp/op-common.h: Likewise.
45836         * soft-fp/quad.h: Likewise.
45837         * soft-fp/single.h: Likewise.
45838         * soft-fp/soft-fp.h: Likewise.
45839         * soft-fp/sqrtdf2.c: Likewise.
45840         * soft-fp/sqrtsf2.c: Likewise.
45841         * soft-fp/sqrttf2.c: Likewise.
45842         * soft-fp/subdf3.c: Likewise.
45843         * soft-fp/subsf3.c: Likewise.
45844         * soft-fp/subtf3.c: Likewise.
45845         * soft-fp/truncdfsf2.c: Likewise.
45846         * soft-fp/trunctfdf2.c: Likewise.
45847         * soft-fp/trunctfsf2.c: Likewise.
45848         * soft-fp/trunctfxf2.c: Likewise.
45849         * soft-fp/unorddf2.c: Likewise.
45850         * soft-fp/unordsf2.c: Likewise.
45851         * soft-fp/unordtf2.c: Likewise.
45853 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45855         [BZ #15672]
45856         * misc/error.c (error_tail): Fix possible buffer overflow.
45858 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45860         [BZ #13028]
45861         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45862         address.
45864 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45866         [BZ #832]
45867         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45868         testing pipefail option.
45870 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45872         * soft-fp/double.h: Indent preprocessor directives inside #if.
45873         * soft-fp/extended.h: Likewise.
45874         * soft-fp/op-2.h: Likewise.
45875         * soft-fp/op-4.h: Likewise.
45876         * soft-fp/op-common.h: Likewise.
45877         * soft-fp/quad.h: Likewise.
45878         * soft-fp/single.h: Likewise.
45879         * soft-fp/soft-fp.h: Likewise.
45881 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45883         * iconv/iconv_prog.c: Fix typos.
45884         * stdio-common/psiginfo-data.h: Likewise.
45886 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45888         [BZ #15764]
45889         * locale/setlocale.c: Fix typo.
45891 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45893         [BZ #16036]
45894         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45895         signaling NaN arguments.
45896         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45897         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45899         [BZ #14910]
45900         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45901         unordered operands.
45902         * soft-fp/gesf2.c (__gesf2): Likewise.
45903         * soft-fp/getf2.c (__getf2): Likewise.
45904         * soft-fp/ledf2.c (__ledf2): Likewise.
45905         * soft-fp/lesf2.c (__lesf2): Likewise.
45906         * soft-fp/letf2.c (__letf2): Likewise.
45908         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45909         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45910         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45911         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45912         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45913         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45914         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45915         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45916         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45917         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45918         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45919         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45920         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45921         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45922         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45923         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45924         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45925         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45926         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45927         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45928         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45929         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45930         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45931         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45932         * soft-fp/floattidf.c (__floattidf): Likewise.
45933         * soft-fp/floattisf.c (__floattisf): Likewise.
45934         * soft-fp/floattitf.c (__floattitf): Likewise.
45935         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45936         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45937         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45938         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45939         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45940         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45941         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45942         * soft-fp/gesf2.c (__gesf2): Likewise.
45943         * soft-fp/getf2.c (__getf2): Likewise.
45944         * soft-fp/ledf2.c (__ledf2): Likewise.
45945         * soft-fp/lesf2.c (__lesf2): Likewise.
45946         * soft-fp/letf2.c (__letf2): Likewise.
45948         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45949         Undefine and redefine.
45950         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45951         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45952         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45953         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45954         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45955         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45956         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45957         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45958         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45959         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45960         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45961         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45962         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45963         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45964         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45966         [BZ #16032]
45967         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45968         without decrementing exponent if mantissa >= that for the
45969         denominator, not >.
45970         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45971         denominator, not >.  Decrement exponent in < case instead of
45972         incrementing in >= case.
45973         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45974         without decrementing exponent if mantissa >= that for the
45975         denominator, not >.
45977         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45978         computing saturated result for unsigned overflow.
45980 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45981             Jeff Law  <law@redhat.com>
45983         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45984         (atan2Mp): Add systemtap probe marker.
45985         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45986         (__ieee754_log): Add systemtap probe marker.
45987         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45988         (atanMp): Add systemtap probe marker.
45989         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45990         (tanMp): Add systemtap probe marker.
45991         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45992         (__slowexp): Add systemtap probe marker.
45993         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45994         (__slowpow): Add systemtap probe marker.
45995         * manual/probes.texi: Document probes.
45997 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45999         [BZ #15362]
46000         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46001         written.
46002         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46003         written.
46004         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46005         written to buffer but not flushed.
46006         * libio/iofwrite_u.c:  Likewise.
46007         * libio/iopadn.c:  Return bytes returned even if EOF was
46008         encountered.
46009         * libio/iowpadn.c:  Likewise.
46010         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46011         if _IO_padn does not write the whole buffer.
46012         [!COMPILE_WPRINTF] (PAD): Likewise.
46014 2013-10-10  David S. Miller  <davem@davemloft.net>
46016         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46017         directory block.
46019 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46021         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46022         instead of FSF address.
46023         * soft-fp/fixdfti.c: Likewise.
46024         * soft-fp/fixsfti.c: Likewise.
46025         * soft-fp/fixtfti.c: Likewise.
46026         * soft-fp/fixunsdfti.c: Likewise.
46027         * soft-fp/fixunssfti.c: Likewise.
46028         * soft-fp/fixunstfti.c: Likewise.
46029         * soft-fp/floattidf.c: Likewise.
46030         * soft-fp/floattisf.c: Likewise.
46031         * soft-fp/floattitf.c: Likewise.
46032         * soft-fp/floatuntidf.c: Likewise.
46033         * soft-fp/floatuntisf.c: Likewise.
46034         * soft-fp/floatuntitf.c: Likewise.
46035         * soft-fp/trunctfxf2.c: Likewise.
46037         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46038         * soft-fp/fixdfti.c: Likewise.
46039         * soft-fp/fixsfti.c: Likewise.
46040         * soft-fp/fixtfti.c: Likewise.
46041         * soft-fp/fixunsdfti.c: Likewise.
46042         * soft-fp/fixunssfti.c: Likewise.
46043         * soft-fp/fixunstfti.c: Likewise.
46044         * soft-fp/floattidf.c: Likewise.
46045         * soft-fp/floattisf.c: Likewise.
46046         * soft-fp/floattitf.c: Likewise.
46047         * soft-fp/floatuntidf.c: Likewise.
46048         * soft-fp/floatuntisf.c: Likewise.
46049         * soft-fp/floatuntitf.c: Likewise.
46050         * soft-fp/trunctfxf2.c: Likewise.
46052 2013-10-10  David S. Miller  <davem@davemloft.net>
46054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46056 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46058         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46059         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46060         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46061         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46062         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46063         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46064         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46066         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46067         for NaNs before doing comparisons on argument.
46068         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46069         Likewise.
46071 2013-10-10  Will Newton  <will.newton@linaro.org>
46073         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46074         passed to _int_memalign does not overflow.
46076 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46078         * scripts/bench.pl: Add include-sources directive.
46079         * benchtests/README: Update documentation.
46081 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46083         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46084         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46085         instead of FP_INIT_ROUNDMODE.
46086         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46087         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46089         [BZ #16034]
46090         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46091         copy class of input value.
46092         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46093         not handle exceptions.
46094         * soft-fp/negsf2.c (__negsf2): Likewise.
46095         * soft-fp/negtf2.c (__negtf2): Likewise.
46096         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46098 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46100         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46101         semicolon.  From Linux kernel.
46103 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46105         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46107 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46109         [BZ #156]
46110         * manual/socket.texi: Added statement about buffer
46111         for gethostbyname2_r.
46113 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46115         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46116         Use .p2align directive instead, throughout.
46117         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46118         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46119         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46120         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46121         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46122         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46123         * sysdeps/x86_64/strchr.S: Likewise.
46124         * sysdeps/x86_64/strrchr.S: Likewise.
46126 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46128         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46130         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46132         * sysdeps/generic/math_private.h (__mpsin1): Remove
46133         declaration.
46134         (__mpcos1): Likewise.
46135         (__mpsin): New argument __range_reduce.
46136         (__mpcos): Likewise.
46137         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46138         (slow): Use __mpsin and __mpcos.
46139         (slow1): Likewise.
46140         (slow2): Likewise.
46141         (sloww): Likewise.
46142         (sloww1): Likewise.
46143         (sloww2): Likewise.
46144         (bsloww): Likewise.
46145         (bsloww1): Likewise.
46146         (bsloww2): Likewise.
46147         (cslow2): Likewise.
46148         (csloww): Likewise.
46149         (csloww1): Likewise.
46150         (csloww2): Likewise.
46151         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46152         range_reduce.  Merge in __mpsin1.
46153         (__mpcos): Likewise.
46154         (__mpsin1): Remove.
46155         (__mpcos1): Likewise.
46157 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46159         * locale/loadlocale.c (_nl_intern_locale_data): Use
46160         LOCFILE_ALIGNED_P.
46161         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46162         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46163         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46164         obstack data is appropriately aligned.
46165         (obstack_int32_grow_fast): Likewise.
46166         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46167         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46168         (add_locale_uint32_array): Likewise.
46170 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46172         * benchtests/Makefile: Remove ARGLIST and RET variables.
46173         ($(objpfx)bench-%.c): Pass only function name to the script.
46174         * benchtests/README: Update documentation.
46175         * benchtests/acos-inputs: Add new directives.
46176         * benchtests/acosh-inputs: Likewise.
46177         * benchtests/asin-inputs: Likewise.
46178         * benchtests/asinh-inputs: Likewise.
46179         * benchtests/atan-inputs: Likewise.
46180         * benchtests/atanh-inputs: Likewise.
46181         * benchtests/cos-inputs: Likewise.
46182         * benchtests/cosh-inputs: Likewise.
46183         * benchtests/exp-inputs: Likewise.
46184         * benchtests/log-inputs: Likewise.
46185         * benchtests/pow-inputs: Likewise.
46186         * benchtests/rint-inputs: Likewise.
46187         * benchtests/sin-inputs: Likewise.
46188         * benchtests/sinh-inputs: Likewise.
46189         * benchtests/tan-inputs: Likewise.
46190         * benchtests/tanh-inputs: Likewise.
46191         * scripts/bench.pl: Add support for new directives.
46193 2013-10-07  Alan Modra  <amodra@gmail.com>
46195         * README: Fix careless merge.
46197 2013-10-05  Alan Modra  <amodra@gmail.com>
46199         * NEWS: Mention powerpc64le support and bugs fixed.
46200         * README: Both big-endian and little-endian powerpc64 supported.
46202 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46204         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46205         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46206         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46207         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46209 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46211         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46212         match prototype.
46214 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46216         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46217         Move -mhard-float appending from
46218         ports/sysdeps/powerpc/powerpc32/Makefile.
46219         [$(with-fp) = yes] (ASFLAGS): Likewise.
46220         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46221         * sysdeps/powerpc/nofpu: Move directory from
46222         ports/sysdeps/powerpc/nofpu.
46223         * sysdeps/powerpc/soft-fp: Move directory from
46224         ports/sysdeps/powerpc/soft-fp.
46225         * sysdeps/powerpc/powerpc32/405: Move directory from
46226         ports/sysdeps/powerpc/powerpc32/405.
46227         * sysdeps/powerpc/powerpc32/440: Move directory from
46228         ports/sysdeps/powerpc/powerpc32/440.
46229         * sysdeps/powerpc/powerpc32/464: Move directory from
46230         ports/sysdeps/powerpc/powerpc32/464.
46231         * sysdeps/powerpc/powerpc32/476: Move directory from
46232         ports/sysdeps/powerpc/powerpc32/476.
46233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46234         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46236         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46238         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46240         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46242         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46243         * README: Update for powerpc-*-linux-gnu software floating point
46244         support in libc.
46246         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46247         case to powerpc/powerpc32*.
46248         * sysdeps/unix/sysv/linux/configure: Regenerated.
46250         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46251         (_FPU_MASK_OM): Define as 0x04.
46252         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46253         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46254         0x00c10080.
46255         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46256         0x0000003c.
46257         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46260         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46261         getcontext_e500.
46262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46263         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46264         setcontext_e500.
46265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46266         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46267         and setcontext_e500.
46269 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46271         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46273 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46275         * manual/threads.texi (Default Thread Attributes): Fix typo.
46277 2013-10-04  Will Newton  <will.newton@linaro.org>
46279         * malloc/Makefile: Add tst-memalign.
46280         * malloc/tst-memalign.c: New file.
46282         * malloc/tst-posix_memalign.c: Add comments.
46283         (do_test): Add comments and call free on all potentially
46284         allocated pointers. Add space after cast.
46286         * malloc/tst-pvalloc.c: Add comments.
46287         (do_test): Add comments and call free on all potentially
46288         allocated pointers. Remove duplicate check for NULL pointer.
46289         Add space after cast.
46291         * malloc/tst-valloc.c: Add comments.
46292         (do_test): Add comments and call free on all potentially
46293         allocated pointers. Remove duplicate check for NULL pointer.
46294         Add space after cast.
46296 2013-10-04  Alan Modra  <amodra@gmail.com>
46298         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46299         Use stdint types in rather than __attribute__((mode())).
46300         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46302 2013-10-04  Alan Modra  <amodra@gmail.com>
46304         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46305         Correct handling of unaligned relocs for little-endian.
46306         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46308 2013-10-04  Alan Modra  <amodra@gmail.com>
46310         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46311         * configure: Regenerate.
46312         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46313         * shlib-versions: Likewise.
46315 2013-10-04  Alan Modra  <amodra@gmail.com>
46317         * string/tester.c (test_memrchr): Increment reported test cycle.
46319 2013-10-04  Alan Modra  <amodra@gmail.com>
46321         * string/test-memcpy.c (do_one_test): When reporting errors, print
46322         string address and don't overrun end of string.
46324 2013-10-04  Alan Modra  <amodra@gmail.com>
46326         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46327         insrdi.  Make better use of reg selection to speed exit slightly.
46328         Schedule entry path a little better.  Remove useless "are we done"
46329         checks on entry to main loop.  Handle wrapping around zero address.
46330         Correct main loop count.  Handle single left-over word from main
46331         loop inline rather than by using loop_small.  Remove extra word
46332         case in loop_small caused by wrong loop count.  Add little-endian
46333         support.
46334         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46335         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46336         cache hint.
46337         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46338         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46339         support.  Avoid rlwimi.
46340         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46342 2013-10-04  Alan Modra  <amodra@gmail.com>
46344         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46345         insrdi.  Formatting.
46346         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46347         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46348         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46349         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46350         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46351         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46353 2013-10-04  Alan Modra  <amodra@gmail.com>
46355         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46356         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46357         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46358         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46359         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46360         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46361         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46362         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46363         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46364         use of regs.  Use power7 mtocrf.  Tidy function tails.
46366 2013-10-04  Alan Modra  <amodra@gmail.com>
46368         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46369         Formatting.  Consistently use rXXX register defines or rN defines.
46370         Use early exit labels that avoid restoring unused non-volatile regs.
46371         Make cr field use more consistent with rWORDn compares.  Rename
46372         regs used as shift registers for unaligned loop, using rN defines
46373         for short lifetime/multiple use regs.
46374         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46375         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46376         addi 1,1,64 to pop stack frame.  Simplify return value code.
46377         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46379 2013-10-04  Alan Modra  <amodra@gmail.com>
46381         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46382         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46383         rather than rlwimi.
46384         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46385         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46386         little-endian support.  Correct typos.
46387         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46388         rather than rlwimi.
46389         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46390         in loop and entry code to keep "and." results.
46391         (strchr): Add little-endian support.  Comment.  Move cntlzd
46392         earlier in tail.
46393         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46395 2013-10-04  Alan Modra  <amodra@gmail.com>
46397         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46398         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46399         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46400         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46402 2013-10-04  Alan Modra  <amodra@gmail.com>
46404         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46405         (rTMP): Define as r11.
46406         (strcmp): Add little-endian support.  Optimise tail.
46407         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46408         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46409         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46410         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46411         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46412         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46413         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46415 2013-10-04  Alan Modra  <amodra@gmail.com>
46417         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46418         little-endian support.  Remove unnecessary "are we done" tests.
46419         Handle "s" wrapping around zero and extremely large "size".
46420         Correct main loop count.  Handle single left-over word from main
46421         loop inline rather than by using small_loop.  Correct comments.
46422         Delete "zero" tail, use "end_max" instead.
46423         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46425 2013-10-04  Alan Modra  <amodra@gmail.com>
46427         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46428         support.  Don't branch over align.
46429         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46430         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46431         support.  Rearrange tmp reg use to suit.  Comment.
46432         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46434 2013-10-04  Alan Modra  <amodra@gmail.com>
46436         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46438 2013-10-04  Alan Modra  <amodra@gmail.com>
46440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46441         conditional form of branch and link when obtaining pc.
46442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46444 2013-10-04  Alan Modra  <amodra@gmail.com>
46446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46447         HIWORD/LOWORD.
46448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46451 2013-10-04  Alan Modra  <amodra@gmail.com>
46453         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46454         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46455         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46456         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46457         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46458         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46459         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46460         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46461         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46462         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46464 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46465             Alistair Popple <alistair@ozlabs.au.ibm.com>
46466             Alan Modra <amodra@gmail.com>
46468         [BZ #15723]
46469         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46470         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46471         _dl_hwcap access for little-endian.
46472         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46473         destroy vmx regs when saving unaligned.
46474         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46475         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46476         destroy vmx regs when saving unaligned.
46478 2013-10-04  Alan Modra  <amodra@gmail.com>
46480         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46481         Don't use a union to pack hi/low value.
46483 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46485         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46486         for little-endian.
46487         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46488         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46489         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46490         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46491         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46493 2013-10-04  Alan Modra  <amodra@gmail.com>
46495         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46496         constants to usual value for .cst8 section, and remove redundant
46497         high address load.
46498         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46499         constant for 0x1p52.  Load little-endian words of double from
46500         correct stack offsets.
46502 2013-10-04  Alan Modra  <amodra@gmail.com>
46504         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46505         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46506         words of double from correct stack offsets.
46507         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46508         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46509         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46510         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46511         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46512         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46513         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46514         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46515         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46516         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46517         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46518         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46519         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46520         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46521         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46522         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46523         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46525 2013-10-04  Alan Modra  <amodra@gmail.com>
46527         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46528         64-bit int/double union.
46529         (_FPU_SETCW): Likewise.
46530         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46531         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46533 2013-10-04  Alan Modra  <amodra@gmail.com>
46535         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46536         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46538 2013-10-04  Alan Modra  <amodra@gmail.com>
46540         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46541         use vector int constants.
46542         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46544 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46546         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46547         array with long long.
46548         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46549         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46550         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46551         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46552         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46553         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46554         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46555         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46556         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46557         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46558         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46559         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46560         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46562 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46564         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46565         (__signbit): Likewise.  Correct for little-endian.
46566         (__signbitl): Call __signbit.
46567         (lrint): Correct for little-endian.
46568         (lrintf): Call lrint.
46570 2013-10-04  Alan Modra  <amodra@gmail.com>
46572         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46573         union 32-bit int array member with 64-bit int array.
46574         (t515, tm256): Double rather than long double.
46575         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46577 2013-10-04  Alan Modra  <amodra@gmail.com>
46579         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46580         Delete.
46581         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46582         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46583         version of math_ldbl.h.
46585 2013-10-04  Alan Modra  <amodra@gmail.com>
46587         [BZ #15734], [BZ #15735]
46588         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46589         all uses of ieee875 long double macros and unions.  Simplify test
46590         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46591         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46592         normalize after ldbl_extract_mantissa, and don't add hidden bit
46593         already handled.  Don't treat low word of ieee854 mantissa like
46594         low word of IBM long double and mask off bit when testing for
46595         zero.
46596         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46597         all uses of ieee875 long double macros and unions.  Simplify tests
46598         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46599         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46600         two1022, instead use their values.  Recognise that tests for large
46601         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46602         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46603         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46604         test for 0.0L and nan.  Correct negation.
46605         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46606         ieee875 long double macros and unions.  Correct output for large
46607         magnitude x.  Correct absolute value calculation.
46608         (__erfcl): Likewise.
46609         * math/libm-test.inc: Add tests for errors discovered in IBM long
46610         double versions of fmodl, remainderl, erfl and erfcl.
46612 2013-10-04  Alan Modra  <amodra@gmail.com>
46614         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46615         all uses of ieee854 long double macros and unions.  Simplify tests
46616         for long doubles that are fully specified by the high double.
46617         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46618         Likewise.
46619         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46620         Remove dead code too.
46621         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46622         (__ieee754_ynl): Likewise.
46623         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46624         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46625         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46626         Remove dead code too.
46627         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46628         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46629         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46630         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46631         Simplify.
46632         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46633         Simplify.
46634         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46635         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46636         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46637         Comment on variable precision.
46638         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46639         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46640         Likewise.
46641         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46642         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46643         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46644         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46645         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46647 2013-10-04  Alan Modra  <amodra@gmail.com>
46649         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46650         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46651         all uses of ieee854 long double macros and unions.
46652         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46653         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46654         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46655         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46656         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46657         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46658         Likewise.
46659         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46660         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46661         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46662         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46663         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46664         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46665         Simplify sign and nan test too.
46666         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46667         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46668         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46669         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46670         Likewise.
46671         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46672         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46673         Likewise.
46674         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46675         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46676         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46677         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46678         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46679         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46681 2013-10-04  Alan Modra  <amodra@gmail.com>
46683         * stdio-common/printf_size.c (__printf_size): Don't use
46684         union ieee854_long_double in fpnum union.
46685         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46686         signbit macro to retrieve sign from long double.
46687         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46688         retrieve sign from long double.
46689         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46690         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46691         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46692         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46693         * math/test-misc.c (main): Don't use union ieee854_long_double.
46695 2013-10-04  Alan Modra  <amodra@gmail.com>
46697         [BZ #15680]
46698         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46699         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46700         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46701         calculation.  Remove unnecessary test for denormal exponent.
46702         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46703         Correct handling of denormals.  Avoid undefined shift behaviour.
46704         Correct normalisation of low mantissa when low double is denormal.
46705         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46706         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46707         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46708         Correct normalisation of low mantissa.  Test for overflow of high
46709         mantissa and normalise.
46710         (ldbl_nearbyint): Use more readable constant for two52.
46711         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46712         (__mpn_construct_long_double): Fix test for overflow of high
46713         mantissa and correct normalisation.  Avoid undefined shift.
46715 2013-10-04  Alan Modra  <amodra@gmail.com>
46717         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46718         (union ibm_extended_long_double): Define as an array of ieee754_double.
46719         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46720         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46721         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46722         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46723         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46724         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46725         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46726         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46727         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46728         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46729         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46731 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46733         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46734         page size instead of calling getpagesize.
46736         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46737         (LOCFILE_ALIGN_MASK): Likewise.
46738         (LOCFILE_ALIGN_UP): Likewise.
46739         (LOCFILE_ALIGNED_P): Likewise.
46740         * locale/programs/ld-collate.c (collate_output): Use the new
46741         macros instead of __alignof__ (int32_t).
46742         * locale/weight.h (findidx): Likewise.
46744 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46746         [BZ #431]
46747         * manual/string.texi: Fix strncat and wcsncat.
46749 2013-10-03  Brooks Moses  <bmoses@google.com>
46751         [BZ #15915]
46752         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46753         * Makerules: ...here, and adjust associated comments.
46755 2013-10-02  Will Newton  <will.newton@linaro.org>
46757         * malloc/Makefile: Add tst-pvalloc.
46758         * malloc/tst-pvalloc.c: New file.
46760 2013-10-02  Will Newton  <will.newton@linaro.org>
46762         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46763         improve test coverage.
46765 2013-10-02  Will Newton  <will.newton@linaro.org>
46767         * malloc/Makefile: Add tst-posix_memalign.
46768         * malloc/tst-posix_memalign.c: New file.
46770 2013-10-01  Eric Blake  <eblake@redhat.com>
46772         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46773         Use __THROWNL rather than __THROW on static functions.
46775 2013-09-30  Petr Machata  <pmachata@redhat.com>
46777         * elf/elf.h (R_AARCH64_ABS16): New macro.
46778         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46779         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46780         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46781         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46782         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46783         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46784         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46785         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46786         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46787         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46788         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46789         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46790         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46791         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46792         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46793         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46794         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46795         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46796         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46797         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46798         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46799         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46800         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46801         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46802         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46803         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46804         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46805         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46806         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46807         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46808         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46809         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46810         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46811         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46812         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46813         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46814         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46815         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46816         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46817         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46818         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46819         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46820         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46821         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46822         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46823         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46824         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46825         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46826         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46827         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46828         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46829         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46830         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46831         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46832         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46833         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46834         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46835         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46836         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46837         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46838         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46839         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46840         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46841         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46842         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46843         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46844         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46845         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46846         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46847         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46848         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46849         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46850         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46851         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46852         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46853         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46854         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46855         (R_AARCH64_TLSDESC_LDR): Likewise.
46856         (R_AARCH64_TLSDESC_ADD): Likewise.
46857         (R_AARCH64_TLSDESC_CALL): Likewise.
46859 2013-09-30  Andreas Schwab  <schwab@suse.de>
46861         [BZ #15048]
46862         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46863         the nss database lookup.
46864         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46865         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46867 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46869         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46871 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46873         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46874         ${Bash-specific parameter/pattern/string} parameter expansion.
46875         * sysdeps/unix/make-syscalls.sh: Likewise.
46877 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46879         * sysdeps/sh/stackguard-macros.h: New file.
46881 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46883         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46884         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46885         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46886         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46887         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46888         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46890 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46892         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46893         Fix thread ID register.
46895 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46897         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46898         [POSIX || UNIX98]: Require rather than permitting all symbols from
46899         <time.h>.
46900         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46901         element of struct sched_param.
46902         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46903         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46904         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46905         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46906         constant.
46908 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46910         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46911         argument calculation.
46913 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46915         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46916         Expect macro.
46917         [POSIX] (pthread_attr_t): Do not require type.
46918         [POSIX] (pthread_cond_t): Likewise.
46919         [POSIX] (pthread_condattr_t): Likewise.
46920         [POSIX] (pthread_key_t): Likewise.
46921         [POSIX] (pthread_mutex_t): Likewise.
46922         [POSIX] (pthread_mutexattr_t): Likewise.
46923         [POSIX] (pthread_once_t): Likewise.
46924         [POSIX] (pthread_t): Likewise.
46925         [POSIX-based standards] (pthread_atfork): Expect function.
46927 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46928             Richard Sandiford  <richard@codesourcery.com>
46930         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46931         (swap_endianness_p): New extern variable.
46932         (set_big_endian): New inline function.
46933         (maybe_swap_uint32): Likewise.
46934         (maybe_swap_uint32_array): Likewise.
46935         (maybe_swap_uint32_obstack): Likewise.
46936         * locale/programs/locfile.c: Include <stdbool.h>.
46937         (swap_endianness_p): New variable.
46938         (add_locale_uint32): Call maybe_swap_uint32.
46939         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46940         (write_locale_data): Call maybe_swap_uint32_array.
46941         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46942         maybe_swap_uint32.
46943         (obstack_int32_grow_fast): Likewise.
46944         (output_weightwc): Call maybe_swap_uint32_obstack.
46945         (collate_output): Likewise.
46946         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46947         (OPT_LITTLE_ENDIAN): Likewise.
46948         (options): Add --little-endian and --big-endian options.
46949         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46950         * locale/programs/locarchive.c: Include "locfile.h".
46951         (GET): New macro.
46952         (SET): Likewise.
46953         (INC): Likewise.
46954         (create_archive): Use the new macros to access fields of
46955         structures directly mapped from or written to locale archives.
46956         (oldlocrecentcmp): Likewise.
46957         (enlarge_archive): Likewise.
46958         (insert_name): Likewise.
46959         (add_alias): Likewise.
46960         (add_locale): Likewise.
46961         (delete_locales_from_archive): Likewise.
46962         (show_archive_content): Likewise.
46963         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46964         locale data.
46966 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46968         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46969         http://www.gnu.org/doc/freemanuals.texi.
46970         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46972 2013-09-24  Will Newton  <will.newton@linaro.org>
46974         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46975         macro.
46977 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46979         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46980         unsigned char.
46982 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46984         * manual/threads.texi (POSIX Threads): Fix a typo.
46986 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46988         [BZ #14547]
46989         * string/tst-strcoll-overflow.c: New test case.
46990         * string/Makefile (xtests): Add tst-strcoll-overflow.
46991         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46992         cache if string sizes may cause integer overflow.
46994         [BZ #14547]
46995         * string/strcoll_l.c (coll_seq): New members rule, idx,
46996         save_idx and back_us.
46997         (get_next_seq_nocache): New function.
46998         (do_compare_nocache): New function.
46999         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47000         when malloc fails.
47002 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47004         [BZ #15754]
47005         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47006         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47007         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47009         [BZ #15754]
47010         * elf/Makefile (tests): Add tst-ptrguard1.
47011         (tests-static): Add tst-ptrguard1-static.
47012         (tst-ptrguard1-ARGS): Define.
47013         (tst-ptrguard1-static-ARGS): Define.
47014         * elf/tst-ptrguard1.c: New file.
47015         * elf/tst-ptrguard1-static.c: New file.
47016         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47017         * sysdeps/i386/stackguard-macros.h: Likewise.
47018         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47019         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47020         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47021         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47022         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47023         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47025 2013-09-23  Hector Marco  <hecmargi@upv.es>
47026             Ismael Ripoll  <iripoll@disca.upv.es>
47027             Carlos O'Donell  <carlos@redhat.com>
47029         [BZ #15754]
47030         * sysdeps/generic/stackguard-macros.h: Define
47031         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47032         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47033         Define __pointer_chk_guard_local.
47034         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47035         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47037 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47039         [BZ #15859]
47040         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47042 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47044         * include/string.h (__ffs): Declare as hidden.
47045         * string/ffs.c (__ffs): Define as hidden.
47046         * sysdeps/i386/ffs.c (__ffs): Likewise.
47047         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47048         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47049         * sysdeps/s390/ffs.c (__ffs): Likewise.
47050         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47052 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47054         * NEWS: Mention malloc probes.
47056         * malloc/arena.c (new_heap): New memory_heap_new probe.
47057         (grow_heap): New memory_heap_more probe.
47058         (shrink_heap): New memory_heap_less probe.
47059         (heap_trim): New memory_heap_free probe.
47060         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47061         (systrim): New memory_sbrk_less probe.
47062         * manual/probes.texi: Document them.
47064         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47065         * manual/probes.texi: Document it.
47067         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47068         (__libc_realloc): Add memory_realloc_retry probe.
47069         (__libc_memalign): Add memory_memalign_retry probe.
47070         (__libc_valloc): Add memory_valloc_retry probe.
47071         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47072         (__libc_calloc): Add memory_calloc_retry probe.
47073         * manual/probes.texi: Document them.
47075         * malloc/arena.c (get_free_list): Add probe
47076         memory_arena_reuse_free_list.
47077         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47078         and memory_arena_reuse.
47079         (arena_get2) [!PER_THREAD]: Likewise.
47080         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47081         memory_arena_reuse_realloc.
47082         * manual/probes.texi: Document them.
47084         * malloc/malloc.c (__libc_free): Add
47085         memory_mallopt_free_dyn_thresholds probe.
47086         (__libc_mallopt): Add multiple memory_mallopt probes.
47087         * manual/probes.texi: Document them.
47089         * malloc/malloc.c: Include stap-probe.h.
47090         (__libc_mallopt): Add memory_mallopt probe.
47091         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47092         * manual/probes.texi: New.
47093         * manual/Makefile (chapters): Add probes.
47094         * manual/threads.texi: Set next node.
47096 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47098         [BZ #15963, #13985]
47099         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47100         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47101         Add `Chinese' to `nan' entry name.
47103 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47105         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47106         (POLYNOMIAL): Likewise.
47107         (TAYLOR_SINCOS): Likewise.
47108         (TAYLOR_SLOW): Likewise.
47109         (__sin): Use TAYLOR_SINCOS.
47110         (__cos): Likewise.
47111         (slow): Use TAYLOR_SLOW.
47112         (sloww): Likewise.
47113         (bsloww): Likewise.
47114         (csloww): Likewise.
47116 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47118         * stdlib/strtod_l.c: Fix buffer overrun.
47120 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47122         * benchtests/Makefile (bench): Add sincos.
47123         * benchtests/bench-sincos.c: New file.
47125         * math/libm-test.inc (cos_test_data): New test inputs.
47126         (sin_test_data): Likewise.
47128         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47129         macro.
47130         (__sin): Use it.
47131         (__cos): Likewise.
47132         (slow1): Likewise.
47133         (slow2): Likewise.
47134         (sloww1): Likewise.
47135         (sloww2): Likewise.
47136         (bsloww1): Likewise.
47137         (bsloww2): Likewise.
47138         (cslow2): Likewise.
47139         (csloww1): Likewise.
47140         (csloww2): Likewise.
47142         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47143         function.
47144         (__sin): Use it.
47145         (__cos): Likewise.
47147         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47148         gotos.
47149         (__cos): Likewise.
47151 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47153         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47154         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47155         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47156         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47157         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47158         * elf/cache.c (print_entry): Handle the new cache flags.
47160 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47161             Aldy Hernandez  <aldyh@redhat.com>
47163         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47164         Change condition to [_SOFT_FLOAT].
47165         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47166         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47167         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47168         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47169         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47170         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47171         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47172         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47173         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47174         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47175         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47176         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47177         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47178         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47179         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47180         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47181         declaration.
47183 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47185         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47186         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47187         (__longjmp): Use LOAD_GP to load saved GPRs.
47188         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47189         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47190         (__sigsetjmp): Use SAVE_GP to save GPRs.
47192         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47193         Do not append -msoft-float.
47194         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47196 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47198         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47200 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47202         [BZ #15966]
47203         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47204         (_FPU_GETCW): Use initial "__" on variable and field names but not
47205         on macro parameter name.
47206         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47207         parentheses around reference to macro parameter.
47209 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47211         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47212         prototype.
47213         (ctype_startup): Use uint32_t in cast and sizeof for
47214         ctype->charnames.
47216 2013-09-11  Jia Liu  <proljc@gmail.com>
47218         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47219         __daddr_t_defined.
47220         [__FreeBSD__]: Likewise.
47222 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47224         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47225         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47226         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47227         (strchr): Remove __strchr_sse42 ifunc selection.
47228         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47229         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47231 2013-09-11  Will Newton  <will.newton@linaro.org>
47233         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47234         parameter to RES. Remove hardcoded 1000 value.
47235         * benchtests/bench-skeleton.c (main): Pass RES parameter
47236         to TIMING_INIT and multiply result by 1000.
47238 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47242 2013-09-11  Andreas Schwab  <schwab@suse.de>
47244         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47245         if not defined.
47246         (O_TMPFILE) [__USE_GNU]: Define.
47247         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47248         Define.
47250 2013-09-11  Will Newton  <will.newton@linaro.org>
47252         [BZ #15857]
47253         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47254         does not overflow.
47256 2013-09-11  Will Newton  <will.newton@linaro.org>
47258         [BZ #15856]
47259         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47260         does not overflow.
47262 2013-09-11  Will Newton  <will.newton@linaro.org>
47264         [BZ #15855]
47265         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47266         does not overflow.
47268 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47270         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47271         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47272         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47273         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47274         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47276 2013-09-10  Allan McRae  <allan@archlinux.org>
47278         [BZ #15748]
47279         * manual/arith.texi (Parsing of Floats): Clarify
47280         cross-reference.
47282         [BZ #15849]
47283         * manual/install.texi (Running make install): Mention
47284         --enable-pt-chown.
47285         * INSTALL: Regenerated.
47287 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47289         * csu/init-first.c (_init): Remove the !SHARED condition around
47290         FPU control word initialization.
47291         * elf/dl-support.c (_dl_fpu_control): New variable.
47292         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47293         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47294         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47295         * math/test-fpucw-static.c: New file.
47296         * math/test-fpucw-ieee.c: New file.
47297         * math/test-fpucw-ieee-static.c: New file.
47298         * math/Makefile (tests): Add `test-fpucw-ieee' and
47299         `$(tests-static)'.
47300         (tests-static): New variable.
47301         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47302         dependency to...
47303         [($(build-shared),yes)]
47304         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47305         ... this.
47306         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47307         New dependency.
47309 2013-09-09  Allan McRae  <allan@archlinux.org>
47311         [BZ #15939]
47312         * manual/string.texi (Collation Functions): Fix typo in
47313         strcoll example.
47314         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47316         [BZ #15893]
47317         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47319         [BZ #15892]
47320         * libio/memstream.c (open_memstream): Fix memory leak.
47321         * libio/wmemstream.c (open_wmemstream): Likewise.
47323         [BZ #15895]
47324         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47326 2013-09-09  Will Newton  <will.newton@linaro.org>
47328         * malloc/Makefile: Add tst-realloc to tests.
47329         * malloc/tst-realloc.c: New file.
47331 2013-09-09  Allan McRae  <allan@archlinux.org>
47333         [BZ #15844]
47334         * COPYING: Update from GNU website to fix FSF address.
47335         * COPYING.LIB: Likewise.
47337 2013-09-06  David S. Miller  <davem@davemloft.net>
47339         * po/zh_TW.po: Update Chinese (traditional) translation from
47340         translation project.
47342 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47343             Joseph Myers  <joseph@codesourcery.com>
47345         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47346         "localeinfo.h".
47347         (obstack_chunk_alloc): New macro.
47348         (obstack_chunk_free): Likewise.
47349         (record_offset): New function.
47350         (init_locale_data): Likewise.
47351         (align_locale_data): Likewise.
47352         (add_locale_empty): Likewise.
47353         (add_locale_raw_data): Likewise.
47354         (add_locale_raw_obstack): Likewise.
47355         (add_locale_string): Likewise.
47356         (add_locale_wstring): Likewise.
47357         (add_locale_uint32): Likewise.
47358         (add_locale_uint32_array): Likewise.
47359         (add_locale_char): Likewise.
47360         (start_locale_structure): Likewise.
47361         (end_locale_structure): Likewise.
47362         (start_locale_prelude): Likewise.
47363         (end_locale_prelude): Likewise.
47364         (write_locale_data): Take locale_file structure rather than an
47365         iovec.
47366         * locale/programs/locfile.h: Include "obstack.h".
47367         (struct locale_file): Change to store locale file contents instead
47368         of header.
47369         (init_locale_data): New prototype.
47370         (align_locale_data): Likewise.
47371         (add_locale_empty): Likewise.
47372         (add_locale_raw_data): Likewise.
47373         (add_locale_raw_obstack): Likewise.
47374         (add_locale_string): Likewise.
47375         (add_locale_wstring): Likewise.
47376         (add_locale_uint32): Likewise.
47377         (add_locale_uint32_array): Likewise.
47378         (add_locale_char): Likewise.
47379         (start_locale_structure): Likewise.
47380         (end_locale_structure): Likewise.
47381         (start_locale_prelude): Likewise.
47382         (end_locale_prelude): Likewise.
47383         (write_locale_data): Update prototype.
47384         * locale/programs/3level.h (struct TABLE): Remove result field.
47385         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47386         Use new locale_file interface.
47387         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47388         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47389         * locale/programs/ld-address.c (address_output): Use new
47390         locale_file interface.
47391         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47392         NO_ADD_LOCALE.
47393         (collate_finish): Don't call collseq_table_finalize.
47394         (collate_output): Use new locale_file interface.
47395         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47396         in file.
47397         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47398         (TABLE): Move defines earlier in file.
47399         (ELEMENT): Likewise.
47400         (DEFAULT): Likewise.
47401         (wctrans_table_add): Move macro and inline function earlier in
47402         file.
47403         (struct wctype_table): Move type earlier in file.
47404         (add_locale_wctype_table): New static prototype.
47405         (struct locale_ctype_t): Use logical types instead of struct iovec
47406         pointers for members.
47407         (ctype_output): Use new locale_file interface.
47408         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47409         new locale_file interface.
47410         (allocate_arrays): Update for use of new locale_file interface.
47411         * locale/programs/ld-identification.c (identification_output): Use
47412         new locale_file interface.
47413         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47414         * locale/programs/ld-messages.c (messages_output): Likewise.
47415         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47416         * locale/programs/ld-name.c (name_output): Likewise.
47417         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47418         * locale/programs/ld-paper.c (paper_output): Likewise.
47419         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47420         * locale/programs/ld-time.c (time_output): Likewise.
47422 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47424         * benchtests/Makefile: Add memrchr benchmark.
47425         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47426         benchmark as memrchr.
47427         * benchtests/bench-memrchr-ifunc.c: New file.
47428         * benchtests/bench-memrchr.c: New file.
47430 2013-09-06   Will Newton  <will.newton@linaro.org>
47432         * benchtests/Makefile (string-bench): Add memcpy.
47434 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47435             Cong Wang  <amwang@redhat.com>
47437         [BZ #15850]
47438         * sysdeps/unix/sysv/linux/bits/in.h
47439         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47440         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47441         before __USE_KERNEL_IPV6_DEFS uses.
47442         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47443         IPPROTO_BEETPH.
47444         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47445         sockaddr_in6, or ipv6_mreq.
47447 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47449         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47450         memory access for final bytes in some large inputs.
47451         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47453 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47455         * string/test-memrchr.c: New file.
47456         * string/test-memrchr-ifunc.c: New file.
47457         * string/Makefile: Add new memrchr testcase.
47459 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47461         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47462         fanotify_init returns EPERM.
47464 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47466         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47467         errors.
47468         (top level): Treat second token from macro or constant entries for
47469         allowed headers as allowed.
47470         * include/complex.h: Condition internal declarations on
47471         [!_ISOMAC].
47472         * include/fenv.h: Condition include of <stdbool.h> and internal
47473         declarations on [!_ISOMAC].
47475 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47477         [BZ #15923]
47478         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47480 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47482         * configure.in (--enable-versioning): Remove configure option.
47483         (libc_cv_asm_symver_directive): Remove configure test.
47484         (libc_cv_ld_version_script_option): Likewise.
47485         (VERSIONING): Remove variable and AC_SUBST.
47486         (DO_VERSIONING): Remove AC_DEFINE.
47487         * configure: Regenerated.
47488         * config.h.in (DO_VERSIONING): Remove macro.
47489         * Makerules [$(versioning) = yes]: Change conditionals to
47490         [$(build-shared) = yes].
47491         * config.make.in (versioning): Remove variable.
47492         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47493         [$(build-shared) = yes].
47494         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47495         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47496         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47497         [$(build-shared) = yes].
47498         * extra-lib.mk [$(versioning) = yes]: Likewise.
47499         * hurd/Makefile [$(versioning) = yes]: Likewise.
47500         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47501         [SHARED].
47502         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47503         [SHARED].
47504         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47505         [SHARED && !NO_HIDDEN].
47506         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47507         [SHARED].
47508         [SHARED && DO_VERSIONING]: Likewise..
47509         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47510         [$(build-shared) = yes].
47511         * manual/install.texi (--disable-versioning): Remove
47512         documentation.
47513         * INSTALL: Regenerated.
47514         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47515         to [SHARED].
47516         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47517         [$(build-shared) = yes].
47518         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47519         * sysdeps/i386/i686/multiarch/strstr-c.c
47520         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47521         [SHARED && !NO_HIDDEN].
47522         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47523         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47524         * sysdeps/powerpc/powerpc32/dl-machine.c
47525         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47526         * sysdeps/powerpc/powerpc32/sysdep.h
47527         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47528         to [SHARED && PIC && !NO_HIDDEN].
47529         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47530         conditional to [SHARED].
47532 2013-09-04   Will Newton  <will.newton@linaro.org>
47534         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47535         * benchtests/bench-string.h: Include bench-timing.h instead
47536         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47537         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47538         call to HP_TIMING_DIFF_INIT.
47539         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47540         instead of hp-timing.h macros.
47541         * benchtests/bench-memchr.c: Likewise.
47542         * benchtests/bench-memcmp.c: Likewise.
47543         * benchtests/bench-memcpy.c: Likewise.
47544         * benchtests/bench-memmem.c: Likewise.
47545         * benchtests/bench-memmove.c: Likewise.
47546         * benchtests/bench-memset.c: Likewise.
47547         * benchtests/bench-rawmemchr.c: Likewise.
47548         * benchtests/bench-strcasecmp.c: Likewise.
47549         * benchtests/bench-strcasestr.c: Likewise.
47550         * benchtests/bench-strcat.c: Likewise.
47551         * benchtests/bench-strchr.c: Likewise.
47552         * benchtests/bench-strcmp.c: Likewise.
47553         * benchtests/bench-strcpy.c: Likewise.
47554         * benchtests/bench-strcpy_chk.c: Likewise.
47555         * benchtests/bench-strlen.c: Likewise.
47556         * benchtests/bench-strncasecmp.c: Likewise.
47557         * benchtests/bench-strncat.c: Likewise.
47558         * benchtests/bench-strncmp.c: Likewise.
47559         * benchtests/bench-strncpy.c: Likewise.
47560         * benchtests/bench-strnlen.c: Likewise.
47561         * benchtests/bench-strpbrk.c: Likewise.
47562         * benchtests/bench-strrchr.c: Likewise.
47563         * benchtests/bench-strspn.c: Likewise.
47564         * benchtests/bench-strstr.c: Likewise.
47566 2013-09-04  Will Newton  <will.newton@linaro.org>
47568         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47570 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47572         [BZ #15427]
47573         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47574         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47575         * math/libm-test.inc (lgamma_test_data): Add more tests.
47576         * sysdeps/i386/fpu/libm-test-ulps: Update.
47577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47579 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47581         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47582         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47583         Add ifunc.
47584         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47585         Add strcmp-sse2-unaligned
47586         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47588 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47590         * Versions.def (libc): Add GLIBC_2.19.
47592 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47594         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47595         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47597 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47599         [BZ #14155]
47600         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47601         intermediate calculations in recurrence.
47602         (__ieee754_ynf): Likewise.
47603         * math/libm-test.inc (jn_test_data): Do not allow spurious
47604         underflow exception.  Add more tests.
47605         (yn_test_data): Add more tests.
47606         * sysdeps/i386/fpu/libm-test-ulps: Update.
47607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47609 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47611         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47613 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47615         * csu/init-first.c: Fix then/than typos.
47616         * locale/programs/ld-collate.c: Likewise.
47617         * locale/programs/linereader.h: Likewise.
47618         * manual/charset.texi: Likewise.
47619         * manual/filesys.texi: Likewise.
47620         * manual/stdio.texi: Likewise.
47621         * manual/string.texi: Likewise.
47622         * stdlib/fmtmsg.c: Likewise.
47623         * sysdeps/i386/stpncpy.S: Likewise.
47624         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47625         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47626         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47627         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47629 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47631         * elf/dl-open.c: Fix typos.
47632         * iconvdata/gbbig5.c: Likewise.
47633         * iconvdata/iso-2022-jp.c: Likewise.
47634         * iconv/gconv_int.h: Likewise.
47635         * iconv/loop.c: Likewise.
47636         * nis/rpcsvc/nis.h: Likewise.
47637         * resolv/ns_name.c: Likewise.
47638         * stdio-common/vfscanf.c: Likewise.
47639         * streams/stropts.h: Likewise.
47640         * sunrpc/rpc_thread.c: Likewise.
47641         * sysdeps/i386/strpbrk.S: Likewise.
47642         * sysdeps/ieee754/k_standard.c: Likewise.
47643         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47644         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47645         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47646         * sysdeps/mach/hurd/profil.c: Likewise.
47647         * sysdeps/s390/dl-procinfo.h: Likewise.
47648         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47649         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47650         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47651         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47652         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47654 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47656         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47657         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47659 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47661         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47662         aix specific files.
47663         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47664         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47665         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47666         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47667         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47668         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47669         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47670         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47672 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47673             Roland McGrath  <roland@hack.frob.com>
47675         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47676         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47678 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47680         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47681         __executable_start symbol instead of _start.
47683 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47685         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47686         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47687         Move macros to...
47688         * sysdeps/gnu/ldsodefs.h: ... this new file.
47690         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47691         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47692         instead of ELFOSABI_LINUX.
47694         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47695         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47696         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47697         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47698         Likewise.
47699         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47700         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47701         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47702         Likewise.
47703         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47704         (ibm_extended_long_double): Add ieee_nan member.
47705         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47706         (do_test): New function.
47708         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47709         TEST_TRUNC.
47710         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47711         functions, renamed from truncdfsf_test, trunctfsf_test,
47712         trunctfdf_test.
47713         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47714         functions.
47715         (do_test): Run all these.
47717 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47719         * argp/argp-help.c: Fix typos.
47720         * argp/argp-parse.c: Likewise.
47721         * debug/backtracesyms.c: Likewise.
47722         * elf/elf.h: Likewise.
47723         * malloc/malloc.c: Likewise.
47724         * nis/nis_print.c: Likewise.
47725         * resolv/res_comp.c: Likewise.
47726         * stdlib/stdlib.h: Likewise.
47727         * sunrpc/clnt_tcp.c: Likewise.
47728         * sunrpc/clnt_udp.c: Likewise.
47729         * sunrpc/clnt_unix.c: Likewise.
47730         * sysdeps/unix/bsd/ptsname.c: Likewise.
47731         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47732         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47734         Likewise.
47735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47736         Likewise.
47737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47738         Likewise.
47739         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47741 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47743         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47744         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47746 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47748         [BZ #15897]
47749         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47750         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47751         ($(objpfx)bug-dl-leaf): New rule.
47752         ($(objpfx)bug-dl-leaf.so): Likewise.
47753         ($(objpfx)bug-dl-leaf.out): Likewise.
47754         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47755         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47756         * dlfcn/bug-dl-leaf.c: New test.
47757         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47758         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47759         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47760         (dlclose): Likewise.
47761         (dlmopen): Likewise.
47763 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47765         * include/netdb.h [!_ISOMAC]:
47766         Don't include <tls.h>.
47767         (h_errno, __libc_h_errno): Move declaration and macros out of
47768         [_LIBC_REENTRANT].
47770         * include/resolv.h [_RESOLV_H_]:
47771         Don't include <tls.h>.
47772         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47773         * resolv/res_libc.c: Don't include <tls.h>.
47774         (_res): Use __attribute__ ((nocommon)) in place of
47775         __attribute__ ((section (".bss"))).
47777         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47778         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47780         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47782         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47783         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47785         * resolv/res_mkquery.c: Include <sys/time.h>.
47787         * inet/ifreq.c: Moved to ...
47788         * sysdeps/unix/ifreq.c: ... here.
47789         * inet/ifreq.c: New file, true stub version.
47791         * socket/sa_len.c: New file.
47792         * socket/Makefile (aux): Add it.
47793         * sysdeps/unix/sysv/linux/Makefile
47794         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47795         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47796         and #include <socket/sa_len.c>.
47797         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47798         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47800         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47801         * bits/socket.h: ... here.
47803         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47804         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47805         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47807 2013-08-27  Andreas Schwab  <schwab@suse.de>
47809         [BZ #15736]
47810         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47811         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47812         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47813         * string/test-strcasecmp.c (test_main): Run tests in several
47814         locales.
47815         * string/test-strncasecmp.c (test_main): Likewise.
47817         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47818         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47819         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47820         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47821         (__strncasecmp_ssse3) [PIC]: Likewise.
47823 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47825         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47827         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47828         instead of explicitly declaring xdecrypt.
47829         * nis/nss_nis/nis-publickey.c: Likewise.
47831 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47833         [BZ #15890]
47834         * nscd/aicache.c: Include res_hconf.h.
47835         (addhstaiX): Initialize res_hconf.
47837 2013-08-26  Andreas Schwab  <schwab@suse.de>
47839         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47840         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47842 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47844         * nscd/aicache.c (addhstaiX): Fix indentation.
47846 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47848         * configure.ac: Quote $build_pt_chown test.
47849         * configure: Regenerated.
47851 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47853         [BZ #15532]
47854         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47855         * math/s_cexpf.c (__cexpf): Likewise.
47856         * math/s_cexpl.c (__cexpl): Likewise.
47857         * math/libm-test.inc (cexp_test_data): Correct expected return
47858         value for NaN + i0.  Add another test.
47860 2013-08-22  David S. Miller  <davem@davemloft.net>
47862         * po/ca.po: Update Catalan translation from translation project.
47863         * po/uk.po: Add Ukrainian translations from translation project.
47865 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47867         [BZ #15797]
47868         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47869         is infinite, not alongside NaN test.
47870         * math/s_fdimf.c (__fdimf): Likewise.
47871         * math/s_fdiml.c (__fdiml): Likewise.
47872         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47873         errno is unchanged.
47875 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47877         * argp/argp-help.c: Fix typos.
47878         * crypt/speeds.c: Likewise.
47879         * csu/check_fds.c: Likewise.
47880         * elf/dl-load.c: Likewise.
47881         * elf/dl-open.c: Likewise.
47882         * elf/reldep3.c: Likewise.
47883         * elf/reldep.c: Likewise.
47884         * elf/sprof.c: Likewise.
47885         * iconv/iconv_charmap.c: Likewise.
47886         * iconv/skeleton.c: Likewise.
47887         * iconv/strtab.c: Likewise.
47888         * io/lockf64.c: Likewise.
47889         * libio/libioP.h: Likewise.
47890         * resolv/gai_notify.c: Likewise.
47891         * resolv/ns_name.c: Likewise.
47892         * resolv/ns_samedomain.c: Likewise.
47893         * resolv/res_send.c: Likewise.
47894         * stdlib/random.c: Likewise.
47895         * sunrpc/rpc/xdr.h: Likewise.
47896         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47897         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47898         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47899         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47900         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47901         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47902         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47903         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47904         * sysdeps/mach/hurd/check_fds.c: Likewise.
47905         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47906         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47907         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47908         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47909         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47910         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47911         * sysdeps/pthread/aio_notify.c: Likewise.
47912         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47913         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47914         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47915         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47916         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47918 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47920         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47921         version if bit_Slow_SSE4_2 is set.
47922         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47923         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47925 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47927         [BZ #15867]
47928         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47929         trampoline stack frame information.
47930         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47931         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47932         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47933         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47934         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47935         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47936         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47937         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47938         sa_flags value.
47939         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47940         interrupting a syscall and set with option SA_SIGINFO.
47942 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47944         [BZ #15531]
47945         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47946         argument is infinite.
47947         * math/s_cprojf.c (__cprojf): Likewise.
47948         * math/s_cprojl.c (__cprojl): Likewise.
47949         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47950         * math/libm-test.inc (cproj_test_data): Add more tests.
47952         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47954         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47955         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47956         size.  Use __ffs to determine corresponding shift.
47958 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47959             Roland McGrath  <roland@hack.frob.com>
47961         * Makefile (INSTALL): Remove trailing blank lines from output of
47962         makeinfo.
47964 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47966         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47967         Align 32 bit compat elf_greg to 8 bytes.
47969 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47971         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47973 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47975         * string/strcoll_l.c (coll_seq): New structure.
47976         (get_next_seq_cached): New function.
47977         (get_next_seq): New function.
47978         (do_compare): New function.
47979         (STRCOLL): Use GNU style definition.  Simplify implementation
47980         by using get_next_seq, get_next_seq_cached and do_compare.
47982 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47984         [BZ #14699]
47985         CVE-2013-4237
47986         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47987         member.
47988         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47989         member.
47990         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47991         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47992         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47993         conditional.
47994         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47995         GETDENTS_64BIT_ALIGNED.
47996         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47997         * manual/filesys.texi (Reading/Closing Directory): Document
47998         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47999         strongly.
48000         * manual/conf.texi (Limits for Files): Add portability note to
48001         NAME_MAX, PATH_MAX.
48002         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48004 2013-08-13  Andreas Schwab  <schwab@suse.de>
48006         [BZ #15749]
48007         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48008         of fabs.
48009         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48010         LDBL_MAX_EXP >= 16384]: Add tests for it.
48012 2013-08-12  David S. Miller  <davem@davemloft.net>
48014         * version.h (RELEASE): Set to "development".
48015         (VERSION): Set to "2.18.90".
48016         * NEWS: Add 2.19 section.
48018 2013-08-03  David S. Miller  <davem@davemloft.net>
48020         * po/ko.po: Update Korean translation from translation project.
48022 2013-08-01  David S. Miller  <davem@davemloft.net>
48024         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48025         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48026         Bilka.
48028 2013-07-30  David S. Miller  <davem@davemloft.net>
48030         * po/fr.po: Update French translation from translation project.
48032 2013-07-28  David S. Miller  <davem@davemloft.net>
48034         * po/cs.po: Update Czech translation from translation project.
48036         * po/sv.po: Update Swedish translation from translation project.
48038 2013-07-27  David S. Miller  <davem@davemloft.net>
48040         * po/eo.po: Update Esperanto translation from translation project.
48042         * po/vi.po: Update Vietnamese translation from translation project.
48044         * po/de.po: Update German translation from translation project.
48046 2013-07-26  David S. Miller  <davem@davemloft.net>
48048         * po/bg.po: Update Bulgarian translation from translation project.
48050         * po/nl.po: Update Dutch translation from translation project.
48051         * po/pl.po: Update Polish translation from translation project.
48052         * po/ru.po: Update Russian translation from translation project.
48054 2013-07-24  David S. Miller  <davem@davemloft.net>
48056         * po/libc.pot: Update.
48058 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48060         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48061         variable page size.
48062         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48063         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48064         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48066 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48068         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48070 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48071             Andreas Schwab  <schwab@suse.de>
48072             Roland McGrath  <roland@hack.frob.com>
48073             Joseph Myers  <joseph@codesourcery.com>
48074             Carlos O'Donell  <carlos@redhat.com>
48076         [BZ #15755]
48077         * config.h.in: Define HAVE_PT_CHOWN.
48078         * config.make.in (build-pt-chown): New variable.
48079         * configure.in (--enable-pt_chown): New configure option.
48080         * configure: Regenerate.
48081         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48082         build-pt-chown is enabled.
48083         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48084         pt_chown to fix pty ownership.
48085         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48086         CLOSE_ALL_FDS.
48087         * manual/install.texi (Configuring and compiling): Mention
48088         --enable-pt_chown. Add @findex for grantpt.
48089         * INSTALL: Regenerate.
48091 2013-07-20  David S. Miller  <davem@davemloft.net>
48093         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48094         difference between 32-bit and 64-bit.
48096 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48098         [BZ #15711]
48099         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48100         Avoid system header dependency with -ffreestanding.
48101         ($(objpfx)bits/syscall%d): Likewise.
48103 2013-07-13  David S. Miller  <davem@davemloft.net>
48105         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48106         underflows from atanl/atan2l due to bug 15319.
48107         (casinh_test_data): Likewise.
48109 2013-07-07  David S. Miller  <davem@davemloft.net>
48111         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48113 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48115         * sysdeps/i386/fpu/libm-test-ulps: Update.
48116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48118 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48120         * configure.in (--enable-lock-elision): Fix message text.
48121         * INSTALL: Regenerate.
48122         * configure: Regenerate.
48124 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48128 2013-07-03  Andreas Jaeger  <aj@suse.de>
48130         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48131         define.
48132         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48133         (ptrace_peeksiginfo_args): Add.
48134         (__ptrace_peeksiginfo_flags): Add.
48135         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48136         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48137         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48139 2013-07-03  Allan McRae  <allan@archlinux.org>
48141         * sysdeps/i386/fpu/libm-test-ulps: Update.
48143 2013-07-02  David S. Miller  <davem@davemloft.net>
48145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48147 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48149         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48151 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48153         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48156 2013-07-02  Andi Kleen <ak@linux.intel.com>
48158         * config.h.in (ENABLE_LOCK_ELISION): Add.
48159         * configure.in (--enable-lock-elision): Add option.
48160         * manual/install.texi: Document --enable lock elision.
48161         * configure: Regenerate
48162         * INSTALL: Regenerate.
48164 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48166         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48167         SSE4.2 strcasecmp for libc.a.
48168         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48170 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48172         [BZ #13304]
48173         * soft-fp/op-common.h (_FP_FMA): New macro.
48174         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48175         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48176         (_FP_MUL_MEAT_1_imm): ... here.
48177         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48178         (_FP_MUL_MEAT_1_wide): ... here.
48179         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48180         (_FP_MUL_MEAT_1_hard): ... here.
48181         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48182         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48183         (_FP_MUL_MEAT_2_wide): ... here.
48184         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48185         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48186         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48187         (_FP_MUL_MEAT_2_gmp): ... here.
48188         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48189         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48190         (_FP_MUL_MEAT_4_wide): ... here.
48191         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48192         (_FP_MUL_MEAT_4_gmp): ... here.
48193         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48194         (_FP_WFRACBITS_DW_S): Likewise.
48195         (_FP_WFRACXBITS_DW_S): Likewise.
48196         (_FP_HIGHBIT_DW_S): Likewise.
48197         (FP_FMA_S): Likewise.
48198         (_FP_FRAC_HIGH_DW_S): Likewise.
48199         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48200         (_FP_WFRACBITS_DW_D): Likewise.
48201         (_FP_WFRACXBITS_DW_D): Likewise.
48202         (_FP_HIGHBIT_DW_D): Likewise.
48203         (FP_FMA_D): Likewise.
48204         (_FP_FRAC_HIGH_DW_D): Likewise.
48205         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48206         (_FP_WFRACBITS_DW_E): Likewise.
48207         (_FP_WFRACXBITS_DW_E): Likewise.
48208         (_FP_HIGHBIT_DW_E): Likewise.
48209         (FP_FMA_E): Likewise.
48210         (_FP_FRAC_HIGH_DW_E): Likewise.
48211         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48212         (_FP_WFRACBITS_DW_Q): Likewise.
48213         (_FP_WFRACXBITS_DW_Q): Likewise.
48214         (_FP_HIGHBIT_DW_Q): Likewise.
48215         (FP_FMA_Q): Likewise.
48216         (_FP_FRAC_HIGH_DW_Q): Likewise.
48217         * soft-fp/fmasf4.c: New file.
48218         * soft-fp/fmadf4.c: Likewise.
48219         * soft-fp/fmatf4.c: Likewise.
48221 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48223         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48224         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48225         Silvermont.
48226         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48227         macro.
48228         (index_Slow_SSE4_2): Likewise.
48229         (index_Prefer_PMINUB_for_stringop): Likewise.
48230         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48231         bit_Slow_SSE4_2 is set.
48232         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48233         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48235 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48237         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48238         rtld_global._dl_hwcap2.
48239         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48240         POWER8.
48241         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48242         POWER8 feature descriptions defined in _dl_hwcap2.
48243         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48244         string handling for POWER8 feature bits.
48245         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48246         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48247         _dl_powerpc_cap_flags.
48248         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48249         * sysdeps/powerpc/rtld-global-offsets.sym
48250         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48251         _dl_hwcap2 in the rtld_global_ro structure.
48253 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48255         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48256         hardware capabilities in support of AT_HWCAP2.
48257         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48258         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48259         GLRO(dl_hwcap2).
48260         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48261         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48262         explicitly the unknown a_type display mechanism is used.
48263         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48264         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48265         struct member.
48266         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48267         to macro prototype for AT_HWCAP2 support.
48268         * sysdeps/i386/dl-procinfo.h: Likewise.
48269         * sysdeps/s390/dl-procinfo.h: Likewise.
48270         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48271         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48272         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48273         return -1 for unknown a_type display fallback.
48274         * sysdeps/sparc/dl-procinfo.h: Likewise.
48275         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48276         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48278 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48280         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48281         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48283 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48285         [BZ #12492]
48286         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48287         mprotect making __stack_prot writable.
48289 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48290             Joseph Myers  <joseph@codesourcery.com>
48292         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48293         as being properly aligned.
48295 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48297         * dlfcn/modstatic5.c: New file.
48298         * dlfcn/tststatic5.c: New file.
48299         * dlfcn/Makefile (tests): Add tststatic5.
48300         (tests-static): Likewise.
48301         (modules-names): Add modstatic5.
48302         (tststatic5-ENV): New variable.
48303         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48305         [BZ #15022]
48306         * elf/dl-support.c (_dl_main_map): New variable.
48307         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48308         (_dl_nns, _dl_load_adds): Set to 1.
48309         (_dl_initial_searchlist): Refer to _dl_main_map.
48310         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48311         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48312         call to _dl_get_origin.
48313         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48314         around call_map.
48315         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48316         * dlfcn/modstatic3.c: New file.
48317         * dlfcn/tststatic3.c: New file.
48318         * dlfcn/tststatic4.c: New file.
48319         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48320         (tests-static): Likewise.
48321         (modules-names): Add modstatic3.
48322         (tststatic3-ENV, tststatic4-ENV): New variables.
48323         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48324         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48326 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48328         * configure.in (CC): Require GCC version 4.4 or later.
48329         * configure: Regenerated.
48330         * manual/install.texi (Tools for Compilation): Update GCC version
48331         requirement.
48332         * INSTALL: Regenerated.
48334 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48336         [BZ #15674]
48337         * string/test-memcmp.c (check2): New.
48338         (main): Call check2.
48340         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48342 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48344         [BZ #15022]
48345         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48346         over to...
48347         (dl_open_worker) [!SHARED]: ... here.
48349 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48351         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48353 2013-06-25  Richard Henderson  <rth@redhat.com>
48355         * locale/programs/locarchive.c: Include <libc-internal.h>
48357 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48359         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48360         trailing whitespace removed.
48362 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48364         [BZ #10283]
48365         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48366         * locale/programs/locarchive.c: Include libc-mmap.h.
48367         (prepare_address_space): Take two new outputs (the mmap base and len).
48368         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48369         values.
48370         (create_archive): Declare new mmap base and len values for
48371         prepare_address_space, and store the result in ah.
48372         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48373         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48374         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48375         Declare new mmap base and len values for
48376         prepare_address_space, and store the result in new_ah.
48377         (open_archive): Declare new mmap base and len values for
48378         prepare_address_space, and store the result in ah.
48379         (close_archive): If ah->mmap_base is not NULL, use that and
48380         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48381         * sysdeps/generic/libc-mmap.h: New file.
48383 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48385         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48386         (ALIGN_UP): Likewise.
48387         (PTR_ALIGN_DOWN): Likewise.
48388         (PTR_ALIGN_UP): Likewise.
48390 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48392         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48393         entry mapped to PPC_PLATFORM_POWER8.
48394         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48395         POWER8.
48396         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48397         (_dl_string_platform): Add case for exporting platform position for
48398         POWER8.
48399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48400         search path to sysdeps/powerpc/powerpc32/power8 directory.
48401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48402         search path to sysdeps/powerpc/powerpc64/power8 directory.
48403         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48404         power7 directories.
48405         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48406         power7 directories.
48408 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48410         * INSTALL: Regenerate.
48412         * nscd/connections.c (nscd_init): Fix comment.
48414 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48416         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48418         [BZ #15667]
48419         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48420         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48422 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48424         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48425         DL_DST_REQ_STATIC.
48426         (DL_DST_REQ_STATIC): Remove macro.
48428 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48430         [BZ #7006]
48431         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48432         with a shift of 0 bits.
48434 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48436         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48437         $(tststatic-ENV).
48439 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48441         [BZ #15655]
48442         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48444 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48446         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48447         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48448         accepts -fno-tree-loop-distribute-patterns.
48449         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48450         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48451         recursive call.
48452         * string/memset.c (memset): Likewise.
48453         * string/test-memmove.c (simple_memmove): Disable loop transformation
48454         to library calls.
48455         * string/test-memset.c (simple_memset): Likewise.
48456         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48457         * benchtests/bench-memset.c (simple_memset): Likewise.
48458         * configure: Regenerated.
48460 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48462         * math/test-misc.c (main): Ignore fesetround failure when failures
48463         of subsequent rounding tests would be ignored.
48465         [BZ #15654]
48466         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48467         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48468         * math/fegetenv.c (__fegetenv): Return 0.
48469         * math/fegetexcept.c (fegetexcept): Return 0.
48470         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48471         FE_TONEAREST.
48472         * math/feholdexcpt.c (feholdexcept): Return 0.
48473         * math/fesetenv.c (__fesetenv): Return 0.
48474         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48475         argument FE_TONEAREST.
48476         * math/feupdateenv.c (__feupdateenv): Return 0.
48477         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48479 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48481         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48482         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48483         ($(objpfx)rtld-%.os rules): Use them.
48485 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48487         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48488         fields.
48490 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48492         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48493         length of target pattern, then descending length of dependency pattern.
48494         * configure.in (AWK): Require gawk 3.1.2 or newer.
48495         * manual/install.texi (Tools for Compilation): Say that we do.
48496         * configure: Regenerated.
48498         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48499         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48500         * scripts/sysd-rules.awk: ... this new script.
48501         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48502         than a glob-style pattern.
48504 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48506         * math/test-misc.c (main): Do not treat incorrectly rounded
48507         conversions as failure unless ROUNDING_TESTS passes.
48509 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48511         [BZ #15631]
48512         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48513         restore exception state around main square root computation, then
48514         check for inexactness explicitly.
48516         * math/libm-test.inc (fma_test_data): Add another test.
48518 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48520         * manual/threads.texi (Non-POSIX Extensions): New document
48521         node.  Document pthread_getattr_default_np and
48522         pthread_setattr_default_np.
48524         * Versions.def (libpthread): Add GLIBC_2.18.
48525         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48527         Likewise.
48528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48529         Likewise.
48530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48531         Likewise.
48532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48533         Likewise.
48534         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48535         Likewise.
48536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48537         Likewise.
48538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48539         Likewise.
48540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48541         Likewise.
48542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48543         Likewise.
48545 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48548         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48550 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48551             H.J. Lu  <hjl.tools@gmail.com>
48553         [BZ #15627]
48554         * sysdeps/x86_64/rtld-memset.c: Remove file.
48555         * sysdeps/x86_64/rtld-memset.S: New file.
48557 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48559         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48560         (test_in_one_mode): Take arguments for whether the rounding mode
48561         is supported for each floating-point type.
48562         (do_test): Pass new arguments to test_in_one_mode using
48563         ROUNDING_TESTS.
48565 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48567         * posix/tst-waitid.c (do_test): Distinguish different instances of
48568         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48569         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48570         before entering the kernel for waitpid.
48572 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48574         * NEWS: Fix note on clock function precision.  Text by Roland
48575         McGrath.
48577 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48579         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48580         it into place only when and if the sanity check passes.
48582 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48584         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48585         output for whether conversion result is exact.  Take argument
48586         indicating whether type is IBM long double.
48587         (round_for_all): Change need_exact field to ibm_ld.
48588         * stdlib/tst-strtod-round.c (struct exactness): New type.
48589         (struct test): Change bool ld_ok field to struct exactness exact.
48590         (TEST): Update all definitions for change to field.
48591         (tests): Regenerate array contents.
48592         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48593         field value.  Check for IBM long double here.
48594         (do_test): Update calls to test_in_one_mode.
48596 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48598         [BZ #12515]
48599         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48600         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48602 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48604         [BZ #15605]
48605         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48606         generated by the compiler on loop optimizations.
48607         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48608         general definitions.
48610 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48612         * math/bug-nextafter.c: Include <math-tests.h>.
48613         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48614         the relevant type.
48615         * math/bug-nexttoward.c: Include <math-tests.h>.
48616         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48617         the relevant type.
48618         * math/test-misc.c: Include <math-tests.h>.
48619         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48620         the relevant type.
48622 2013-06-12  Andreas Jaeger  <aj@suse.de>
48624         * po/ia.po: Update Interlingua translation from translation
48625         project.
48627 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48629         * include/fenv.h: Include stdbool.h.
48630         (struct rm_ctx): New structure.
48631         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48632         Define macro.
48633         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48634         (SET_RESTORE_ROUNDF): Likewise.
48635         (SET_RESTORE_ROUNDL): Likewise.
48636         (SET_RESTORE_ROUND_NOEX): Likewise.
48637         (SET_RESTORE_ROUND_NOEXF): Likewise.
48638         (SET_RESTORE_ROUND_NOEXL): Likewise.
48639         (SET_RESTORE_ROUND_53BIT): Likewise.
48640         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48641         (libc_feresetround_noexf_ctx): Likewise.
48642         (libc_feresetround_noexl_ctx): Likewise.
48643         (libc_feholdsetround_53bit_ctx): Likewise.
48644         (libc_feresetround_53bit_ctx): Likewise.
48645         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48646         (libc_feholdexcept_setround_sse_ctx): New function.
48647         (libc_fesetenv_sse_ctx): Likewise.
48648         (libc_feupdateenv_sse_ctx): Likewise.
48649         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48650         (libc_feholdexcept_setround_387_ctx): Likewise.
48651         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48652         (libc_feholdsetround_387_prec_ctx): Likewise.
48653         (libc_feholdsetround_387_ctx): Likewise.
48654         (libc_feholdsetround_387_53bit_ctx): Likewise.
48655         (libc_feholdsetround_sse_ctx): Likewise.
48656         (libc_feresetround_sse_ctx): Likewise.
48657         (libc_feresetround_387_ctx): Likewise.
48658         (libc_feupdateenv_387_ctx): Likewise.
48659         (libc_feholdexcept_setroundf_ctx): Define macro.
48660         (libc_fesetenvf_ctx): Likewise.
48661         (libc_feupdateenvf_ctx): Likewise.
48662         (libc_feholdsetroundf_ctx): Likewise.
48663         (libc_feresetroundf_ctx): Likewise.
48664         (libc_feholdexcept_setround_ctx): Likewise.
48665         (libc_fesetenv_ctx): Likewise.
48666         (libc_feupdateenv_ctx): Likewise.
48667         (libc_feholdsetround_ctx): Likewise.
48668         (libc_feresetround_ctx): Likewise.
48669         (libc_feholdexcept_setroundl_ctx): Likewise.
48670         (libc_feupdateenvl_ctx): Likewise.
48671         (libc_feholdsetroundl_ctx): Likewise.
48672         (libc_feresetroundl_ctx): Likewise.
48673         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48674         (libc_feresetround_53bit_ctx): Likewise.
48676 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48678         * locale/iso-639.def: Convert to UTF-8.
48680 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48682         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48683         (EXCEPTION_TESTS_double): Likewise.
48684         (EXCEPTION_TESTS_long_double): Likewise.
48685         (EXCEPTION_TESTS): Likewise.
48686         * math/libm-test.inc (test_exceptions): Only test exceptions if
48687         EXCEPTION_TESTS (FLOAT).
48689 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48691         * benchtests/Makefile (string-bench): Add strcpy_chk and
48692         stpcpy_chk.
48693         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48694         * benchtests/bench-stpcpy_chk.c: New file.
48695         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48696         * benchtests/bench-strcpy_chk.c: New file.
48697         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48698         code.
48699         (do_test): Likewise.
48701 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48703         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48704         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48705         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48706         with tabs where appropriate.
48707         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48708         dl-procinfo.h.
48709         [PPC_PLATFORM_PPC440]: Likewise.
48710         [PPC_PLATFORM_PPC464]: Likewise.
48711         [PPC_PLATFORM_PPC476]: Likewise.
48712         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48713         ppc464, and ppc476 platform strings merging from ports/
48714         dl-procinfo.h.
48716 2013-06-11  Andreas Schwab  <schwab@suse.de>
48718         [BZ #14991]
48719         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48720         (from_ucs4_idx): Regenerate.
48721         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48722         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48723         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48724         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48725         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48726         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48727         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48728         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48729         from FROM_LOOP and TO_LOOP specific macros.
48730         (BODY): Handle combining characters.
48731         * iconvdata/BIG5HKSCS.irreversible: Update.
48732         * iconvdata/BIG5HKSCS.precomposed: New file.
48733         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48734         characters.
48735         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48737 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48739         * include/sys/time.h: Fix indentation and add copyright header.
48741         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48742         (do_test): Likewise.
48743         * string/test-memchr.c (do_one_test): Likewise.
48744         (do_test): Likewise.
48745         * string/test-memcmp.c (do_one_test): Likewise.
48746         (do_test): Likewise.
48747         * string/test-memcpy.c (do_one_test): Likewise.
48748         (do_test): Likewise.
48749         * string/test-memmem.c (do_one_test): Likewise.
48750         (do_test): Likewise.
48751         (do_random_tests): Likewise.
48752         * string/test-memmove.c (do_one_test): Likewise.
48753         (do_test): Likewise.
48754         * string/test-memset.c (do_one_test): Likewise.
48755         (do_test): Likewise.
48756         * string/test-rawmemchr.c (do_one_test): Likewise.
48757         (do_test): Likewise.
48758         * string/test-strcasecmp.c (do_one_test): Likewise.
48759         (do_test): Likewise.
48760         * string/test-strcasestr.c (do_one_test): Likewise.
48761         (do_test): Likewise.
48762         * string/test-strcat.c (do_one_test): Likewise.
48763         (do_test): Likewise.
48764         * string/test-strchr.c (do_one_test): Likewise.
48765         (do_test): Likewise.
48766         * string/test-strcmp.c (do_one_test): Likewise.
48767         (do_test): Likewise.
48768         * string/test-strcpy.c (do_one_test): Likewise.
48769         (do_test): Likewise.
48770         * string/test-string.h: Likewise.
48771         (test_init): Likewise.
48772         * string/test-strlen.c (do_one_test): Likewise.
48773         (do_test): Likewise.
48774         * string/test-strncasecmp.c (do_one_test): Likewise.
48775         (do_test): Likewise.
48776         * string/test-strncat.c (do_one_test): Likewise.
48777         (do_test): Likewise.
48778         * string/test-strncmp.c (do_one_test): Likewise.
48779         (do_test_limit): Likewise.
48780         (do_test): Likewise.
48781         * string/test-strncpy.c (do_one_test): Likewise.
48782         (do_test): Likewise.
48783         * string/test-strnlen.c (do_one_test): Likewise.
48784         (do_test): Likewise.
48785         * string/test-strpbrk.c (do_one_test): Likewise.
48786         (do_test): Likewise.
48787         * string/test-strrchr.c (do_one_test): Likewise.
48788         (do_test): Likewise.
48789         * string/test-strspn.c (do_one_test): Likewise.
48790         (do_test): Likewise.
48791         * string/test-strstr.c (do_one_test): Likewise.
48792         (do_test): Likewise.
48794         * benchtests/Makefile (string-bench): Add string benchmarks.
48795         * benchtests/bench-bcopy-ifunc.c: New file.
48796         * benchtests/bench-bcopy.c: New file.
48797         * benchtests/bench-bzero-ifunc.c: New file.
48798         * benchtests/bench-bzero.c: New file.
48799         * benchtests/bench-memccpy-ifunc.c: New file.
48800         * benchtests/bench-memccpy.c: New file.
48801         * benchtests/bench-memchr-ifunc.c: New file.
48802         * benchtests/bench-memchr.c: New file.
48803         * benchtests/bench-memcmp-ifunc.c: New file.
48804         * benchtests/bench-memcmp.c: New file.
48805         * benchtests/bench-memmem-ifunc.c: New file.
48806         * benchtests/bench-memmem.c: New file.
48807         * benchtests/bench-memmove-ifunc.c: New file.
48808         * benchtests/bench-memmove.c: New file.
48809         * benchtests/bench-mempcpy-ifunc.c: New file.
48810         * benchtests/bench-mempcpy.c: New file.
48811         * benchtests/bench-memset-ifunc.c: New file.
48812         * benchtests/bench-memset.c: New file.
48813         * benchtests/bench-rawmemchr-ifunc.c: New file.
48814         * benchtests/bench-rawmemchr.c: New file.
48815         * benchtests/bench-stpcpy-ifunc.c: New file.
48816         * benchtests/bench-stpcpy.c: New file.
48817         * benchtests/bench-stpncpy-ifunc.c: New file.
48818         * benchtests/bench-stpncpy.c: New file.
48819         * benchtests/bench-strcasecmp-ifunc.c: New file.
48820         * benchtests/bench-strcasecmp.c: New file.
48821         * benchtests/bench-strcasestr-ifunc.c: New file.
48822         * benchtests/bench-strcasestr.c: New file.
48823         * benchtests/bench-strcat-ifunc.c: New file.
48824         * benchtests/bench-strcat.c: New file.
48825         * benchtests/bench-strchr-ifunc.c: New file.
48826         * benchtests/bench-strchr.c: New file.
48827         * benchtests/bench-strchrnul-ifunc.c: New file.
48828         * benchtests/bench-strchrnul.c: New file.
48829         * benchtests/bench-strcmp-ifunc.c: New file.
48830         * benchtests/bench-strcmp.c: New file.
48831         * benchtests/bench-strcpy-ifunc.c: New file.
48832         * benchtests/bench-strcpy.c: New file.
48833         * benchtests/bench-strcspn-ifunc.c: New file.
48834         * benchtests/bench-strcspn.c: New file.
48835         * benchtests/bench-strlen-ifunc.c: New file.
48836         * benchtests/bench-strlen.c: New file.
48837         * benchtests/bench-strncasecmp-ifunc.c: New file.
48838         * benchtests/bench-strncasecmp.c: New file.
48839         * benchtests/bench-strncat-ifunc.c: New file.
48840         * benchtests/bench-strncat.c: New file.
48841         * benchtests/bench-strncmp-ifunc.c: New file.
48842         * benchtests/bench-strncmp.c: New file.
48843         * benchtests/bench-strncpy-ifunc.c: New file.
48844         * benchtests/bench-strncpy.c: New file.
48845         * benchtests/bench-strnlen-ifunc.c: New file.
48846         * benchtests/bench-strnlen.c: New file.
48847         * benchtests/bench-strpbrk-ifunc.c: New file.
48848         * benchtests/bench-strpbrk.c: New file.
48849         * benchtests/bench-strrchr-ifunc.c: New file.
48850         * benchtests/bench-strrchr.c: New file.
48851         * benchtests/bench-strspn-ifunc.c: New file.
48852         * benchtests/bench-strspn.c: New file.
48853         * benchtests/bench-strstr-ifunc.c: New file.
48854         * benchtests/bench-strstr.c: New file.
48856         * benchtests/Makefile: Disable parallel execution of targets.
48857         (string-bench): Add memcpy.
48858         (benchset): New variable to store a list of benchmark sets.
48859         (bench-func): Renamed from bench.
48860         (bench-set): New target.
48861         (bench): Depend on bench-func and bench-set.
48862         * benchtests/README: Add section on benchmark sets.
48863         * benchtests/bench-memcpy-ifunc.c: New file.
48864         * benchtests/bench-memcpy.c: New file.
48865         * benchtests/bench-string.h: New file.
48867 2013-06-11  Andreas Schwab  <schwab@suse.de>
48869         [BZ #15577]
48870         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48871         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48872         values in the triple.
48873         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48874         terminator in the group key.
48876 2013-06-11  Andreas Jaeger  <aj@suse.de>
48878         * po/zh_TW.po: Update Chinese (traditional) translation from
48879         translation project.
48881 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48883         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48884         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48885         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48886         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48887         (clock_getcpuclockid): Likewise.
48888         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48889         Add weak_alias and libc_hidden_def.
48890         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48891         * rt/clock_gettime.c (clock_gettime): Rename to
48892         __clock_gettime.  Add weak_alias and libc_hidden_def.
48893         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48894         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48895         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48896         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48897         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48898         Likewise.
48899         * rt/clock_settime.c (clock_settime): Rename to
48900         __clock_settime.  Add weak_alias and libc_hidden_def.
48901         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48903 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48905         * mach/err_boot.sub: Remove trailing whitespace.
48906         * mach/err_ipc.sub: Likewise.
48907         * mach/err_mach.sub: Likewise.
48909         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48910         (ROUNDING_TESTS_double): Likewise.
48911         (ROUNDING_TESTS_long_double): Likewise.
48912         (ROUNDING_TESTS): Likewise.
48913         * math/libm-test.inc: Include <math-tests.h>.
48914         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48915         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48916         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48917         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48919 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48921         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48922         of assigning.
48924 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48926         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48927         otherwise empty TRANS lines.
48928         * sysdeps/gnu/errlist.c: Regenerated.
48930         * catgets/gencat.c (error_print): Use (void) in function
48931         definition.
48932         * crypt/crypt_util.c (__init_des): Likewise.
48933         * crypt/speeds.c (Stop): Likewise.
48934         (main): Likewise.
48935         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48936         * inet/ruserpass.c (token): Likewise.
48937         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48938         * intl/localealias.c (extend_alias_table): Likewise.
48939         * intl/plural-exp.c (init_germanic_plural): Likewise.
48940         * libio/fcloseall.c (__fcloseall): Likewise.
48941         * libio/genops.c (_IO_flush_all): Likewise.
48942         (_IO_flush_all_linebuffered): Likewise.
48943         (_IO_cleanup): Likewise.
48944         (_IO_iter_begin): Likewise.
48945         (_IO_iter_end): Likewise.
48946         (_IO_list_lock): Likewise.
48947         (_IO_list_unlock): Likewise.
48948         (_IO_list_resetlock): Likewise.
48949         * libio/getchar.c (getchar): Likewise.
48950         * libio/getchar_u.c (getchar_unlocked): Likewise.
48951         * libio/getwchar.c (getwchar): Likewise.
48952         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48953         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48954         * login/getpt.c (__getpt): Likewise.
48955         * login/tst-utmp.c (main): Likewise.
48956         * malloc/hooks.c (__malloc_check_init): Likewise.
48957         * malloc/malloc.c (__malloc_stats): Likewise.
48958         * malloc/mtrace.c (tr_break): Likewise.
48959         (mtrace): Likewise.
48960         (muntrace): Likewise.
48961         * misc/fstab.c (endfsent): Likewise.
48962         * misc/getclktck.c (__getclktck): Likewise.
48963         * misc/getdtsz.c (__getdtablesize): Likewise.
48964         * misc/gethostid.c (gethostid): Likewise.
48965         * misc/getpagesize.c (__getpagesize): Likewise.
48966         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48967         (__get_nprocs): Likewise.
48968         (__get_phys_pages): Likewise.
48969         (__get_avphys_pages): Likewise.
48970         * misc/getttyent.c (getttyent): Likewise.
48971         (setttyent): Likewise.
48972         (endttyent): Likewise.
48973         * misc/getusershell.c (getusershell): Likewise.
48974         (endusershell): Likewise.
48975         (setusershell): Likewise.
48976         (initshells): Likewise.
48977         * misc/hsearch.c (__hdestroy): Likewise.
48978         * misc/sync.c (sync): Likewise.
48979         * misc/syslog.c (closelog_internal): Likewise.
48980         (closelog): Likewise.
48981         * misc/ttyslot.c (ttyslot): Likewise.
48982         * misc/vhangup.c (vhangup): Likewise.
48983         * posix/fork.c (__fork): Likewise.
48984         * posix/getegid.c (__getegid): Likewise.
48985         * posix/geteuid.c (__geteuid): Likewise.
48986         * posix/getgid.c (__getgid): Likewise.
48987         * posix/getpid.c (__getpid): Likewise.
48988         * posix/getppid.c (__getppid): Likewise.
48989         * posix/getuid.c (__getuid): Likewise.
48990         * posix/pause.c (pause): Likewise.
48991         * posix/setpgrp.c (setpgrp): Likewise.
48992         * posix/setsid.c (__setsid): Likewise.
48993         * posix/test-vfork.c (noop): Likewise.
48994         * resolv/gethnamaddr.c (_endhtent): Likewise.
48995         (_gethtent): Likewise.
48996         (ht_endhostent): Likewise.
48997         (gethostent): Likewise.
48998         (dns_service): Likewise.
48999         * stdlib/drand48.c (drand48): Likewise.
49000         * stdlib/lrand48.c (lrand48): Likewise.
49001         * stdlib/mrand48.c (mrand48): Likewise.
49002         * stdlib/rand.c (rand): Likewise.
49003         * stdlib/random.c (__random): Likewise.
49004         * stdlib/setenv.c (clearenv): Likewise.
49005         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49006         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49007         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49008         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49009         (__get_nprocs): Likewise.
49010         (__get_phys_pages): Likewise.
49011         (__get_avphys_pages): Likewise.
49012         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49013         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49014         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49015         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49016         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49017         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49018         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49019         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49020         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49021         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49022         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49023         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49024         * sysdeps/posix/clock.c (clock): Likewise.
49025         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49026         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49027         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49028         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49029         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49030         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49031         (__get_nprocs_conf): Likewise.
49032         (__get_phys_pages): Likewise.
49033         (__get_avphys_pages): Likewise.
49034         * time/clock.c (clock): Likewise.
49035         * time/tzset.c (__tzname_max): Likewise.
49037 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49039         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49040         (__bswap_32): Do not use "register".
49041         * crypt/crypt.c (_ufc_doit_r): Likewise.
49042         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49043         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49044         * gmon/gmon.c (__monstartup): Likewise.
49045         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49046         * hurd/hurdmalloc.c (more_memory): Likewise.
49047         (malloc): Likewise.
49048         (free): Likewise.
49049         (realloc): Likewise.
49050         (malloc_fork_prepare): Likewise.
49051         (malloc_fork_parent): Likewise.
49052         (malloc_fork_child): Likewise.
49053         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49054         (_svcauth_des): Likewise.
49055         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49056         * inet/inet_net.c (inet_network): Likewise.
49057         * inet/inet_netof.c (inet_netof): Likewise.
49058         * inet/rcmd.c (__validuser2_sa): Likewise.
49059         * io/fts.c (fts_open): Likewise.
49060         (fts_load): Likewise.
49061         (fts_close): Likewise.
49062         (fts_read): Likewise.
49063         (fts_children): Likewise.
49064         (fts_build): Likewise.
49065         (fts_stat): Likewise.
49066         (fts_sort): Likewise.
49067         (fts_alloc): Likewise.
49068         (fts_lfree): Likewise.
49069         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49070         (_IO_file_xsgetn): Likewise.
49071         (_IO_file_xsgetn_mmap): Likewise.
49072         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49073         (_IO_cookie_write): Likewise.
49074         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49075         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49076         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49077         * malloc/obstack.c (_obstack_begin): Likewise.
49078         (_obstack_begin_1): Likewise.
49079         (_obstack_newchunk): Likewise.
49080         (_obstack_allocated_p): Likewise.
49081         (obstack_free): Likewise.
49082         (_obstack_memory_used): Likewise.
49083         * misc/getttyent.c (getttynam): Likewise.
49084         (getttyent): Likewise.
49085         (skip): Likewise.
49086         (value): Likewise.
49087         * misc/getusershell.c (initshells): Likewise.
49088         * misc/syslog.c (__vsyslog_chk): Likewise.
49089         * misc/ttyslot.c (ttyslot): Likewise.
49090         * nis/nis_hash.c (__nis_hash): Likewise.
49091         * posix/fnmatch_loop.c (FCT): Likewise.
49092         * posix/getconf.c (print_all): Likewise.
49093         (main): Likewise.
49094         * posix/getopt.c (exchange): Likewise.
49095         * posix/glob.c (globfree): Likewise.
49096         (prefix_array): Likewise.
49097         (__glob_pattern_type): Likewise.
49098         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49099         (NS_GET32): Likewise.
49100         (NS_PUT16): Likewise.
49101         (NS_PUT32): Likewise.
49102         * resolv/gethnamaddr.c (getanswer): Likewise.
49103         (gethostbyname2): Likewise.
49104         (gethostbyaddr): Likewise.
49105         (_gethtent): Likewise.
49106         (_gethtbyname2): Likewise.
49107         (_gethtbyaddr): Likewise.
49108         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49109         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49110         * resolv/res_init.c (__res_vinit): Likewise.
49111         (net_mask): Likewise.
49112         * resolv/res_mkquery.c (outchar): Likewise.
49113         (PRINT): Likewise.
49114         * stdio-common/printf_fp.c (outchar): Likewise.
49115         (PRINT): Likewise.
49116         * stdio-common/printf_fphex.c (outchar): Likewise.
49117         (PRINT): Likewise.
49118         * stdio-common/printf_size.c (outchar): Likewise.
49119         (PRINT): Likewise.
49120         * stdio-common/test_rdwr.c (main): Likewise.
49121         * stdio-common/tfformat.c (matches): Likewise.
49122         * stdio-common/vfprintf.c (outchar): Likewise.
49123         (printf_unknown): Likewise.
49124         (buffered_vfprintf): Likewise.
49125         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49126         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49127         (ReadFile): Likewise.
49128         * stdlib/qsort.c (SWAP): Likewise.
49129         (_quicksort): Likewise.
49130         * stdlib/setenv.c (__add_to_environ): Likewise.
49131         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49132         * stdlib/strtol_l.c (__strtol_l): Likewise.
49133         * stdlib/tst-strtod.c (main): Likewise.
49134         * stdlib/tst-strtol.c (main): Likewise.
49135         * stdlib/tst-strtoll.c (main): Likewise.
49136         * string/bits/string2.h (__strcmp_cc): Likewise.
49137         (__strcmp_cg): Likewise.
49138         (__strcspn_c1): Likewise.
49139         (__strcspn_c2): Likewise.
49140         (__strcspn_c3): Likewise.
49141         (__strspn_c1): Likewise.
49142         (__strspn_c2): Likewise.
49143         (__strspn_c3): Likewise.
49144         (__strsep_1c): Likewise.
49145         (__strsep_2c): Likewise.
49146         (__strsep_3c): Likewise.
49147         * string/memccpy.c (__memccpy): Likewise.
49148         * string/stpcpy.c (__stpcpy): Likewise.
49149         * string/strcmp.c (strcmp): Likewise.
49150         * string/strrchr.c (strrchr): Likewise.
49151         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49152         Likewise.
49153         * sysdeps/mach/hurd/getcwd.c
49154         (_hurd_canonicalize_directory_name_internal): Likewise.
49155         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49156         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49157         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49158         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49159         Likewise, in both definitions.
49160         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49161         definitions.
49162         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49163         64] (__bswap_64): Likewise.
49164         * time/test_time.c (main): Likewise.
49165         * time/tzfile.c (__tzfile_read): Likewise.
49166         (__tzfile_compute): Likewise.
49167         * time/tzset.c (__tzset_parse_tz): Likewise.
49168         (tzset_internal): Likewise.
49169         (compute_change): Likewise.
49170         * wcsmbs/wcscat.c (__wcscat): Likewise.
49171         * wcsmbs/wcschr.c (wcschr): Likewise.
49172         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49173         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49174         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49175         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49176         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49177         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49178         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49179         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49180         * wcsmbs/wmemset.c (wmemset): Likewise.
49182 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49184         * scripts/config.guess: Update to version 2013-05-16.
49185         * scripts/config.sub: Update to version 2013-04-24.
49186         * scripts/install-sh: Update to version 2011-11-20.07.
49187         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49188         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49190 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49192         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49193         * elf/sln.c: Likewise.
49194         * hurd/hurd/ioctl.h: Likewise.
49195         * hurd/hurdmalloc.c: Likewise.
49196         * hurd/xattr.c: Likewise.
49197         * include/shlib-compat.h: Likewise.
49198         * inet/ruserpass.c: Likewise.
49199         * libio/iofgets_u.c: Likewise.
49200         * libio/iofgetws_u.c: Likewise.
49201         * locale/programs/ld-identification.c: Likewise.
49202         * locale/programs/ld-time.c: Likewise.
49203         * mach/msg-destroy.c: Likewise.
49204         * nss/nss_files/files-netgrp.c: Likewise.
49205         * resolv/res_data.c: Likewise.
49206         * soft-fp/op-1.h: Likewise.
49207         * soft-fp/op-2.h: Likewise.
49208         * soft-fp/op-4.h: Likewise.
49209         * soft-fp/op-common.h: Likewise.
49210         * stdio-common/printf_fphex.c: Likewise.
49211         * stdlib/strtod_l.c: Likewise.
49212         * sunrpc/rpc/clnt.h: Likewise.
49213         * sysdeps/generic/framestate.c: Likewise.
49214         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49215         * sysdeps/i386/bsd-setjmp.S: Likewise.
49216         * sysdeps/i386/__longjmp.S: Likewise.
49217         * sysdeps/i386/setjmp.S: Likewise.
49218         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49219         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49220         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49221         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49222         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49223         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49224         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49225         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49226         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49227         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49228         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49229         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49230         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49231         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49232         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49233         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49234         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49235         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49236         * sysdeps/ieee754/support.c: Likewise.
49237         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49238         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49239         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49240         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49241         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49242         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49243         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49244         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49245         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49246         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49247         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49248         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49249         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49250         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49251         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49252         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49253         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49256 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49258         * posix/transbug.c: Remove executable mode.
49260 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49262         * crypt/speeds.c: Remove trailing whitespace.
49263         * dlfcn/default.c: Likewise.
49264         * elf/ifuncdep2.c: Likewise.
49265         * elf/ifuncmain1.c: Likewise.
49266         * elf/ifuncmain1vis.c: Likewise.
49267         * elf/testobj.h: Likewise.
49268         * elf/tst-stackguard1.c: Likewise.
49269         * gmon/sys/gmon.h: Likewise.
49270         * hurd/hurdmsg.c: Likewise.
49271         * hurd/new-fd.c: Likewise.
49272         * hurd/ports-get.c: Likewise.
49273         * iconvdata/ibm1008_420.c: Likewise.
49274         * inet/tst-getni1.c: Likewise.
49275         * inet/tst-getni2.c: Likewise.
49276         * libio/ioungetc.c: Likewise.
49277         * libio/wfiledoalloc.c: Likewise.
49278         * manual/libm-err-tab.pl: Likewise.
49279         * math/w_dremf.c: Likewise.
49280         * misc/ftruncate.c: Likewise.
49281         * posix/bug-glob2.c: Likewise.
49282         * posix/tst-pcre.c: Likewise.
49283         * posix/wait4.c: Likewise.
49284         * resolv/README: Likewise.
49285         * resolv/res_debug.h: Likewise.
49286         * resolv/tst-inet_ntop.c: Likewise.
49287         * setjmp/bug269-setjmp.c: Likewise.
49288         * soft-fp/extended.h: Likewise.
49289         * soft-fp/op-1.h: Likewise.
49290         * soft-fp/op-2.h: Likewise.
49291         * soft-fp/op-4.h: Likewise.
49292         * soft-fp/op-8.h: Likewise.
49293         * soft-fp/testit.c: Likewise.
49294         * stdio-common/bug16.c: Likewise.
49295         * stdlib/random.c: Likewise.
49296         * sunrpc/rpcsvc/rquota.x: Likewise.
49297         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49298         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49299         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49300         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49301         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49302         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49303         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49304         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49305         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49306         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49307         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49308         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49309         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49310         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49311         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49312         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49313         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49314         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49315         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49316         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49317         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49318         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49319         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49320         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49321         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49322         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49323         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49324         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49325         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49326         * sysdeps/ieee754/s_lib_version.c: Likewise.
49327         * sysdeps/mach/hurd/check_fds.c: Likewise.
49328         * sysdeps/mach/hurd/getsockname.c: Likewise.
49329         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49330         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49331         * sysdeps/powerpc/bits/link.h: Likewise.
49332         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49333         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49334         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49335         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49336         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49337         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49338         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49339         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49340         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49341         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49342         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49343         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49344         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49345         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49346         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49347         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49348         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49349         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49350         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49351         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49352         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49353         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49354         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49355         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49356         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49357         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49358         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49359         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49360         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49361         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49362         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49363         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49364         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49365         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49366         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49367         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49368         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49369         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49370         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49371         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49372         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49373         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49374         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49375         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49376         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49377         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49378         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49379         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49380         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49381         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49382         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49383         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49384         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49385         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49386         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49387         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49388         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49389         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49390         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49391         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49392         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49393         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49394         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49395         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49396         * sysdeps/powerpc/sysdep.h: Likewise.
49397         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49398         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49399         * sysdeps/sh/dl-trampoline.S: Likewise.
49400         * sysdeps/sh/memset.S: Likewise.
49401         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49402         * sysdeps/sh/strlen.S: Likewise.
49403         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49404         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49405         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49406         * sysdeps/sparc/sparc32/rem.S: Likewise.
49407         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49408         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49409         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49410         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49411         * sysdeps/sparc/sparc32/urem.S: Likewise.
49412         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49413         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49414         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49415         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49416         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49417         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49418         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49419         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49420         * sysdeps/unix/bsd/times.c: Likewise.
49421         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49422         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49426         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49427         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49428         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49429         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49430         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49431         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49432         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49433         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49434         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49435         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49436         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49437         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49438         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49439         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49440         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49441         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49442         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49443         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49444         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49445         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49446         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49447         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49448         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49449         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49450         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49451         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49452         * sysdeps/x86_64/strcspn.S: Likewise.
49454 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49456         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49457         generated file.  Regenerate properly from gen-translit.pl.
49458         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49459         locale/C-translit.h.
49461 2013-06-05  Andreas Schwab  <schwab@suse.de>
49463         [BZ #15100]
49464         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49465         week as 6 instead of -1.
49466         * time/tst-strptime.c (day_tests): Add test case.
49468 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49470         * sysdeps/generic/math_private.h
49471         (libc_feholdexcept_setround_53bit): Replace with
49472         libc_feholdsetround_53bit.
49473         (libc_feupdateenv_53bit): Replace with
49474         libc_feresetround_53bit.
49475         (SET_RESTORE_ROUND_53BIT): Adjust.
49477 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49479         * string/test-strchrnul.c: Add copyright header.
49481         * posix/tst-getaddrinfo4.c: Increase test timeout.
49483 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49485         [BZ #15536]
49486         * math/libm-test.inc (MAX_EXP): Remove
49487         (MIN_EXP): Define.
49488         (ulp): Use MIN_EXP - MANT_DIG.
49489         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49491 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49493         * po/be.po: Revert last change.
49494         * po/zh_CN.po: Likewise.
49495         * po/header.pot: Likewise.
49497 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49499         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49500         link-libc-deps to empty as target-specific variable.
49501         * Makerules (link-libc-args): New variable.
49502         (libc-for-link): Likewise.
49503         (link-libc-deps): Likewise.
49504         (lib%.so): Depend on $(link-libc-deps).  Link with
49505         $(link-libc-args).
49506         (build-module): Link with $(link-libc-args).
49507         (build-module-asneeded): Likewise.
49508         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49509         list of objects.
49510         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49511         target-specific variable.
49512         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49513         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49514         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49515         libc.
49516         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49517         libc and ld.so.
49518         ($(objpfx)libpcprofile.so): Likewise.
49519         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49520         libc_nonshared.a.
49521         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49522         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49523         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49524         $(link-libc-deps).
49525         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49526         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49527         * login/Makefile ($(objpfx)libutil.so): Likewise.
49528         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49529         * math/Makefile ($(objpfx)libm.so): Likewise.
49530         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49531         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49532         variable instead of depending directly on libc.
49533         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49534         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49535         $(link-libc-deps).
49536         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49537         libc.
49538         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49539         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49540         ($(objpfx)libanl.so): Likewise.
49541         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49542         ld.so.
49543         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49544         $(link-libc-deps).
49545         * sysdeps/i386/fpu/Makefile: Remove file.
49546         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49547         ($(objpfx)libm.so): Remove dependency on ld.so.
49549 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49551         [BZ # 15553]
49552         * nis/yp_xdr.c (XDRMAXNAME): Define.
49553         (XDRMAXRECORD): Define.
49554         (xdr_domainname): Use XDRMAXNAME.
49555         (xdr_mapname): Likewise.
49556         (xdr_peername): Likewise.
49557         (xdr_keydat): Use XDRMAXRECORD.
49558         (xdr_valdat): Likewise.
49560 2013-05-30  Jeff Law  <law@redhat.com>
49562         [BZ #14256]
49563         * manual/errno.texi (ESTALE): Update to account for more than
49564         just NFS file systems.
49565         * sysdeps/gnu/errlist.c: Regenerated.
49567 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49569         [BZ #15465]
49570         * elf/Makefile (tests): Add tst-null-argv.
49571         (modules-names):  Add tst-null-argv-lib.
49572         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49573         (tst-null-argv-ENV): Set environment for tst-null-argv.
49574         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49575         (RTLD_PROGNAME): New macro.
49576         * elf/tst-null-argv.c: New test case.
49577         * elf/tst-null-argv-lib.c: Library for test case.
49578         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49579         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49580         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49581         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49582         * elf/dl-init.c (call_init): Likewise.
49583         (_dl_init): Likewise.
49584         * elf/dl-load.c (print_search_path): Likewise.
49585         (_dl_map_object): Likewise.
49586         * elf/dl-lookup.c (do_lookup_x): Likewise.
49587         (add_dependency): Likewise.
49588         (_dl_lookup_symbol_x): Likewise.
49589         (_dl_debug_bindings): Likewise.
49590         * elf/dl-open.c (_dl_show_scope): Likewise.
49591         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49592         * elf/dl-version.c (match_symbol): Likewise.
49593         (_dl_check_map_versions): Likewise.
49594         * elf/rtld.c (dl_main): Likewise.
49595         (print_unresolved): Use RTLD_PROGNAME.
49596         (print_missing_version): Likewise.
49597         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49598         (elf_machine_rela): Likewise.
49599         * sysdeps/powerpc/powerpc32/dl-machine.c
49600         (__process_machine_rela): Likewise.
49601         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49602         Likewise.
49603         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49604         Likewise.
49605         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49606         Likewise.
49607         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49608         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49609         Likewise.
49610         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49611         Likewise.
49612         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49614 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49616         * po/be.po: Add descriptive title.
49617         * po/zh_CN.po: Likewise.
49618         * po/header.pot: Likewise.
49620 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49622         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49623         error message.
49624         (enlarge_archive): Likewise.
49626 2013-05-28  Ben North  <ben@redfrontdoor.org>
49628         * manual/arith.texi (frexp): It is the magnitude of the return
49629         value which lies in [0.5, 1), not the return value itself.
49631 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49635 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49637         * stdio-common/bug26.c (main): Correct fscanf template.
49639         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49640         declare _dl_skip_args.
49642         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49643         Don't declare.
49645         * manual/platform.texi: Add missing @end deftypefun.
49647 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49649         [BZ #15529]
49650         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49651         bit of mantissa of 2^16382.
49652         * math/libm-test.inc (hypot_test_data): Add more tests.
49654         * math/libm-test.inc: Add drem and pow10 to list of tested
49655         functions.
49656         (pow10_test): New function.
49657         (drem_test): Likewise.
49658         (drem_test_tonearest): Likewise.
49659         (drem_test_towardzero): Likewise.
49660         (drem_test_downward): Likewise.
49661         (drem_test_upward): Likewise.
49662         (main): Call the new functions.
49664         * math/libm-test.inc (finite_test_data): Remove.
49665         (finite_test): Run tests from isfinite_test_data.
49666         (gamma_test_data): Remove.
49667         (gamma_test): Run tests from lgamma_test_data.
49668         * sysdeps/i386/fpu/libm-test-ulps: Update.
49669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49671 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49673         * manual/platform.texi: Add PowerPC PPR function set documentation.
49674         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49675         implementation.
49677 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49679         * math/libm-test.inc (MAX_EXP): Define.
49680         (ULPDIFF): Define.
49681         (ulp): New function.
49682         (check_float_internal): Use ULPDIFF.
49683         (cpow_test): Disable failing test.
49684         (check_ulp): Test ulp() implemetnation.
49685         (main): Call check_ulp before starting tests.
49687 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49689         * math/gen-libm-test.pl (generate_testfile): Do not handle
49690         START_DATA and END_DATA.
49691         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49692         END_DATA.
49693         (acos_tonearest_test_data): Likewise.
49694         (acos_towardzero_test_data): Likewise.
49695         (acos_downward_test_data): Likewise.
49696         (acos_upward_test_data): Likewise.
49697         (acosh_test_data): Likewise.
49698         (asin_test_data): Likewise.
49699         (asin_tonearest_test_data): Likewise.
49700         (asin_towardzero_test_data): Likewise.
49701         (asin_downward_test_data): Likewise.
49702         (asin_upward_test_data): Likewise.
49703         (asinh_test_data): Likewise.
49704         (atan_test_data): Likewise.
49705         (atanh_test_data): Likewise.
49706         (atan2_test_data): Likewise.
49707         (cabs_test_data): Likewise.
49708         (cacos_test_data): Likewise.
49709         (cacosh_test_data): Likewise.
49710         (carg_test_data): Likewise.
49711         (casin_test_data): Likewise.
49712         (casinh_test_data): Likewise.
49713         (catan_test_data): Likewise.
49714         (catanh_test_data): Likewise.
49715         (cbrt_test_data): Likewise.
49716         (ccos_test_data): Likewise.
49717         (ccosh_test_data): Likewise.
49718         (ceil_test_data): Likewise.
49719         (cexp_test_data): Likewise.
49720         (cimag_test_data): Likewise.
49721         (clog_test_data): Likewise.
49722         (clog10_test_data): Likewise.
49723         (conj_test_data): Likewise.
49724         (copysign_test_data): Likewise.
49725         (cos_test_data): Likewise.
49726         (cos_tonearest_test_data): Likewise.
49727         (cos_towardzero_test_data): Likewise.
49728         (cos_downward_test_data): Likewise.
49729         (cos_upward_test_data): Likewise.
49730         (cosh_test_data): Likewise.
49731         (cosh_tonearest_test_data): Likewise.
49732         (cosh_towardzero_test_data): Likewise.
49733         (cosh_downward_test_data): Likewise.
49734         (cosh_upward_test_data): Likewise.
49735         (cpow_test_data): Likewise.
49736         (cproj_test_data): Likewise.
49737         (creal_test_data): Likewise.
49738         (csin_test_data): Likewise.
49739         (csinh_test_data): Likewise.
49740         (csqrt_test_data): Likewise.
49741         (ctan_test_data): Likewise.
49742         (ctan_tonearest_test_data): Likewise.
49743         (ctan_towardzero_test_data): Likewise.
49744         (ctan_downward_test_data): Likewise.
49745         (ctan_upward_test_data): Likewise.
49746         (ctanh_test_data): Likewise.
49747         (ctanh_tonearest_test_data): Likewise.
49748         (ctanh_towardzero_test_data): Likewise.
49749         (ctanh_downward_test_data): Likewise.
49750         (ctanh_upward_test_data): Likewise.
49751         (erf_test_data): Likewise.
49752         (erfc_test_data): Likewise.
49753         (exp_test_data): Likewise.
49754         (exp_tonearest_test_data): Likewise.
49755         (exp_towardzero_test_data): Likewise.
49756         (exp_downward_test_data): Likewise.
49757         (exp_upward_test_data): Likewise.
49758         (exp10_test_data): Likewise.
49759         (exp2_test_data): Likewise.
49760         (expm1_test_data): Likewise.
49761         (fabs_test_data): Likewise.
49762         (fdim_test_data): Likewise.
49763         (finite_test_data): Likewise.
49764         (floor_test_data): Likewise.
49765         (fma_test_data): Likewise.
49766         (fma_towardzero_test_data): Likewise.
49767         (fma_downward_test_data): Likewise.
49768         (fma_upward_test_data): Likewise.
49769         (fmax_test_data): Likewise.
49770         (fmin_test_data): Likewise.
49771         (fmod_test_data): Likewise.
49772         (fpclassify_test_data): Likewise.
49773         (frexp_test_data): Likewise.
49774         (gamma_test_data): Likewise.
49775         (hypot_test_data): Likewise.
49776         (ilogb_test_data): Likewise.
49777         (isfinite_test_data): Likewise.
49778         (isgreater_test_data): Likewise.
49779         (isgreaterequal_test_data): Likewise.
49780         (isinf_test_data): Likewise.
49781         (isless_test_data): Likewise.
49782         (islessequal_test_data): Likewise.
49783         (islessgreater_test_data): Likewise.
49784         (isnan_test_data): Likewise.
49785         (isnormal_test_data): Likewise.
49786         (issignaling_test_data): Likewise.
49787         (isunordered_test_data): Likewise.
49788         (j0_test_data): Likewise.
49789         (j1_test_data): Likewise.
49790         (jn_test_data): Likewise.
49791         (ldexp_test_data): Likewise.
49792         (lgamma_test_data): Likewise.
49793         (lrint_test_data): Likewise.
49794         (lrint_tonearest_test_data): Likewise.
49795         (lrint_towardzero_test_data): Likewise.
49796         (lrint_downward_test_data): Likewise.
49797         (lrint_upward_test_data): Likewise.
49798         (llrint_test_data): Likewise.
49799         (llrint_tonearest_test_data): Likewise.
49800         (llrint_towardzero_test_data): Likewise.
49801         (llrint_downward_test_data): Likewise.
49802         (llrint_upward_test_data): Likewise.
49803         (log_test_data): Likewise.
49804         (log10_test_data): Likewise.
49805         (log1p_test_data): Likewise.
49806         (log2_test_data): Likewise.
49807         (logb_test_data): Likewise.
49808         (logb_downward_test_data): Likewise.
49809         (lround_test_data): Likewise.
49810         (llround_test_data): Likewise.
49811         (modf_test_data): Likewise.
49812         (nearbyint_test_data): Likewise.
49813         (nextafter_test_data): Likewise.
49814         (nexttoward_test_data): Likewise.
49815         (pow_test_data): Likewise.
49816         (pow_tonearest_test_data): Likewise.
49817         (pow_towardzero_test_data): Likewise.
49818         (pow_downward_test_data): Likewise.
49819         (pow_upward_test_data): Likewise.
49820         (remainder_test_data): Likewise.
49821         (remainder_tonearest_test_data): Likewise.
49822         (remainder_towardzero_test_data): Likewise.
49823         (remainder_downward_test_data): Likewise.
49824         (remainder_upward_test_data): Likewise.
49825         (remquo_test_data): Likewise.
49826         (rint_test_data): Likewise.
49827         (rint_tonearest_test_data): Likewise.
49828         (rint_towardzero_test_data): Likewise.
49829         (rint_downward_test_data): Likewise.
49830         (rint_upward_test_data): Likewise.
49831         (round_test_data): Likewise.
49832         (scalb_test_data): Likewise.
49833         (scalbn_test_data): Likewise.
49834         (scalbln_test_data): Likewise.
49835         (signbit_test_data): Likewise.
49836         (sin_test_data): Likewise.
49837         (sin_tonearest_test_data): Likewise.
49838         (sin_towardzero_test_data): Likewise.
49839         (sin_downward_test_data): Likewise.
49840         (sin_upward_test_data): Likewise.
49841         (sincos_test_data): Likewise.
49842         (sinh_test_data): Likewise.
49843         (sinh_tonearest_test_data): Likewise.
49844         (sinh_towardzero_test_data): Likewise.
49845         (sinh_downward_test_data): Likewise.
49846         (sinh_upward_test_data): Likewise.
49847         (sqrt_test_data): Likewise.
49848         (tan_test_data): Likewise.
49849         (tan_tonearest_test_data): Likewise.
49850         (tan_towardzero_test_data): Likewise.
49851         (tan_downward_test_data): Likewise.
49852         (tan_upward_test_data): Likewise.
49853         (tanh_test_data): Likewise.
49854         (tgamma_test_data): Likewise.
49855         (trunc_test_data): Likewise.
49856         (y0_test_data): Likewise.
49857         (y1_test_data): Likewise.
49858         (yn_test_data): Likewise.
49859         (significand_test_data): Likewise.
49861         * math/gen-libm-test.pl (@functions): Remove variable.
49862         (generate_testfile): Don't handle START and END lines.
49863         * math/libm-test.inc (START): New macro.
49864         (END): Likewise.
49865         (END_COMPLEX): Likewise.
49866         (acos_test): Use END macro without arguments.
49867         (acos_test_tonearest): Likewise.
49868         (acos_test_towardzero): Likewise.
49869         (acos_test_downward): Likewise.
49870         (acos_test_upward): Likewise.
49871         (acosh_test): Likewise.
49872         (asin_test): Likewise.
49873         (asin_test_tonearest): Likewise.
49874         (asin_test_towardzero): Likewise.
49875         (asin_test_downward): Likewise.
49876         (asin_test_upward): Likewise.
49877         (asinh_test): Likewise.
49878         (atan_test): Likewise.
49879         (atanh_test): Likewise.
49880         (atan2_test): Likewise.
49881         (cabs_test): Likewise.
49882         (cacos_test): Use END_COMPLEX macro without arguments.
49883         (cacosh_test): Likewise.
49884         (carg_test): Use END macro without arguments.
49885         (casin_test): Use END_COMPLEX macro without arguments.
49886         (casinh_test): Likewise.
49887         (catan_test): Likewise.
49888         (catanh_test): Likewise.
49889         (cbrt_test): Use END macro without arguments.
49890         (ccos_test): Use END_COMPLEX macro without arguments.
49891         (ccosh_test): Likewise.
49892         (ceil_test): Use END macro without arguments.
49893         (cexp_test): Use END_COMPLEX macro without arguments.
49894         (cimag_test): Use END macro without arguments.
49895         (clog_test): Use END_COMPLEX macro without arguments.
49896         (clog10_test): Likewise.
49897         (conj_test): Likewise.
49898         (copysign_test): Use END macro without arguments.
49899         (cos_test): Likewise.
49900         (cos_test_tonearest): Likewise.
49901         (cos_test_towardzero): Likewise.
49902         (cos_test_downward): Likewise.
49903         (cos_test_upward): Likewise.
49904         (cosh_test): Likewise.
49905         (cosh_test_tonearest): Likewise.
49906         (cosh_test_towardzero): Likewise.
49907         (cosh_test_downward): Likewise.
49908         (cosh_test_upward): Likewise.
49909         (cpow_test): Use END_COMPLEX macro without arguments.
49910         (cproj_test): Likewise.
49911         (creal_test): Use END macro without arguments.
49912         (csin_test): Use END_COMPLEX macro without arguments.
49913         (csinh_test): Likewise.
49914         (csqrt_test): Likewise.
49915         (ctan_test): Likewise.
49916         (ctan_test_tonearest): Likewise.
49917         (ctan_test_towardzero): Likewise.
49918         (ctan_test_downward): Likewise.
49919         (ctan_test_upward): Likewise.
49920         (ctanh_test): Likewise.
49921         (ctanh_test_tonearest): Likewise.
49922         (ctanh_test_towardzero): Likewise.
49923         (ctanh_test_downward): Likewise.
49924         (ctanh_test_upward): Likewise.
49925         (erf_test): Use END macro without arguments.
49926         (erfc_test): Likewise.
49927         (exp_test): Likewise.
49928         (exp_test_tonearest): Likewise.
49929         (exp_test_towardzero): Likewise.
49930         (exp_test_downward): Likewise.
49931         (exp_test_upward): Likewise.
49932         (exp10_test): Likewise.
49933         (exp2_test): Likewise.
49934         (expm1_test): Likewise.
49935         (fabs_test): Likewise.
49936         (fdim_test): Likewise.
49937         (finite_test): Likewise.
49938         (floor_test): Likewise.
49939         (fma_test): Likewise.
49940         (fma_test_towardzero): Likewise.
49941         (fma_test_downward): Likewise.
49942         (fma_test_upward): Likewise.
49943         (fmax_test): Likewise.
49944         (fmin_test): Likewise.
49945         (fmod_test): Likewise.
49946         (fpclassify_test): Likewise.
49947         (frexp_test): Likewise.
49948         (gamma_test): Likewise.
49949         (hypot_test): Likewise.
49950         (ilogb_test): Likewise.
49951         (isfinite_test): Likewise.
49952         (isgreater_test): Likewise.
49953         (isgreaterequal_test): Likewise.
49954         (isinf_test): Likewise.
49955         (isless_test): Likewise.
49956         (islessequal_test): Likewise.
49957         (islessgreater_test): Likewise.
49958         (isnan_test): Likewise.
49959         (isnormal_test): Likewise.
49960         (issignaling_test): Likewise.
49961         (isunordered_test): Likewise.
49962         (j0_test): Likewise.
49963         (j1_test): Likewise.
49964         (jn_test): Likewise.
49965         (ldexp_test): Likewise.
49966         (lgamma_test): Likewise.
49967         (lrint_test): Likewise.
49968         (lrint_test_tonearest): Likewise.
49969         (lrint_test_towardzero): Likewise.
49970         (lrint_test_downward): Likewise.
49971         (lrint_test_upward): Likewise.
49972         (llrint_test): Likewise.
49973         (llrint_test_tonearest): Likewise.
49974         (llrint_test_towardzero): Likewise.
49975         (llrint_test_downward): Likewise.
49976         (llrint_test_upward): Likewise.
49977         (log_test): Likewise.
49978         (log10_test): Likewise.
49979         (log1p_test): Likewise.
49980         (log2_test): Likewise.
49981         (logb_test): Likewise.
49982         (logb_test_downward): Likewise.
49983         (lround_test): Likewise.
49984         (llround_test): Likewise.
49985         (modf_test): Likewise.
49986         (nearbyint_test): Likewise.
49987         (nextafter_test): Likewise.
49988         (nexttoward_test): Likewise.
49989         (pow_test): Likewise.
49990         (pow_test_tonearest): Likewise.
49991         (pow_test_towardzero): Likewise.
49992         (pow_test_downward): Likewise.
49993         (pow_test_upward): Likewise.
49994         (remainder_test): Likewise.
49995         (remainder_test_tonearest): Likewise.
49996         (remainder_test_towardzero): Likewise.
49997         (remainder_test_downward): Likewise.
49998         (remainder_test_upward): Likewise.
49999         (remquo_test): Likewise.
50000         (rint_test): Likewise.
50001         (rint_test_tonearest): Likewise.
50002         (rint_test_towardzero): Likewise.
50003         (rint_test_downward): Likewise.
50004         (rint_test_upward): Likewise.
50005         (round_test): Likewise.
50006         (scalb_test): Likewise.
50007         (scalbn_test): Likewise.
50008         (scalbln_test): Likewise.
50009         (signbit_test): Likewise.
50010         (sin_test): Likewise.
50011         (sin_test_tonearest): Likewise.
50012         (sin_test_towardzero): Likewise.
50013         (sin_test_downward): Likewise.
50014         (sin_test_upward): Likewise.
50015         (sincos_test): Likewise.
50016         (sinh_test): Likewise.
50017         (sinh_test_tonearest): Likewise.
50018         (sinh_test_towardzero): Likewise.
50019         (sinh_test_downward): Likewise.
50020         (sinh_test_upward): Likewise.
50021         (sqrt_test): Likewise.
50022         (tan_test): Likewise.
50023         (tan_test_tonearest): Likewise.
50024         (tan_test_towardzero): Likewise.
50025         (tan_test_downward): Likewise.
50026         (tan_test_upward): Likewise.
50027         (tanh_test): Likewise.
50028         (tgamma_test): Likewise.
50029         (trunc_test): Likewise.
50030         (y0_test): Likewise.
50031         (y1_test): Likewise.
50032         (yn_test): Likewise.
50033         (significand_test): Likewise.
50035 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50037         [BZ #15381]
50038         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50040 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50042         [BZ #14894]
50043         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50044         __ppc_mdoio and __ppc_mdoom.
50045         * manual/platform.texi: Document new functions __ppc_yield,
50046         __ppc_mdoio and __ppc_mdoom.
50048 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50050         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50051         (main): Mention "tls" pseudo-hwcap is legacy.
50052         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50054 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50056         * math/gen-libm-test.pl (parse_args): Output only string of
50057         arguments as text for test name, not full call or descriptions of
50058         tests for extra outputs.
50059         (generate_testfile): Do not pass function name to parse_args.
50060         Generate this_func variable from START.
50061         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50062         field to arg_str.
50063         (struct test_ff_f_data): Likewise.
50064         (test_ff_f_data_nexttoward): Likewise.
50065         (struct test_fi_f_data): Likewise.
50066         (struct test_fl_f_data): Likewise.
50067         (struct test_if_f_data): Likewise.
50068         (struct test_fff_f_data): Likewise.
50069         (struct test_c_f_data): Likewise.
50070         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50071         (struct test_fF_f1_data): Likewise.
50072         (struct test_ffI_f1_data): Likewise.
50073         (struct test_c_c_data): Rename test_name field to arg_str.
50074         (struct test_cc_c_data): Likewise.
50075         (struct test_f_i_data): Likewise.
50076         (struct test_ff_i_data): Likewise.
50077         (struct test_f_l_data): Likewise.
50078         (struct test_f_L_data): Likewise.
50079         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50080         and extra2_name.
50081         (COMMON_TEST_SETUP): New macro.
50082         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50083         (COMMON_TEST_CLEANUP): Likewise.
50084         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50085         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50086         macros.
50087         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50088         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50089         macros.
50090         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50091         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50092         cleanup macros.
50093         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50094         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50095         macros.
50096         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50097         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50098         macros.
50099         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50100         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50101         cleanup macros.
50102         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50103         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50104         cleanup macros.
50105         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50106         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50107         cleanup macros.
50108         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50109         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50110         macros.
50111         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50112         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50113         macros.
50114         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50115         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50116         macros.
50117         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50118         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50119         cleanup macros.
50120         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50121         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50122         cleanup macros.
50123         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50124         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50125         macros.
50126         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50127         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50128         cleanup macros.
50129         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50130         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50131         macros.
50132         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50133         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50134         macros.
50135         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50136         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50137         cleanup macros.
50138         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50140 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50142         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50143         to _sifields.sigfault.
50144         (si_addr_lsb): Define new macro.
50145         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50146         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50147         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50149 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50151         [BZ #15441]
50152         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50153         returns -1.
50154         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50155         null return -1.
50156         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50157         loading the domain.
50159 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50161         * math/gen-libm-test.pl (parse_args): Do not include expected
50162         result in test name.
50163         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50164         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50165         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50166         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50167         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50170 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50172         * benchtests/Makefile: Sort function entries.
50174         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50175         tanh, asinh, acosh, atanh.
50176         * benchtests/acos-inputs: New file.
50177         * benchtests/acosh-inputs: New file.
50178         * benchtests/asin-inputs: New file.
50179         * benchtests/asinh-inputs: New file.
50180         * benchtests/atanh-inputs: New file.
50181         * benchtests/cosh-inputs: New file.
50182         * benchtests/log-inputs: New file.
50183         * benchtests/sinh-inputs: New file.
50184         * benchtests/tanh-inputs: New file.
50186 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50188         [BZ #15339]
50189         * posix/tst-getaddrinfo4.c: New test.
50190         * posix/Makefile (tests): Add it.
50192 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50194         [BZ #15339]
50195         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50196         when no services were used.
50197         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50198         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50200 2013-05-21  Andreas Schwab  <schwab@suse.de>
50202         [BZ #15014]
50203         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50204         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50205         successful.
50206         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50207         redundant variable declarations and reallocation of buffer when
50208         parsing as IPv6 address.  Always set NSS status when called from
50209         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50210         buffer too small.  Correct computation of needed size.
50211         * nss/Makefile (tests): Add test-digits-dots.
50212         * nss/test-digits-dots.c: New test.
50214 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50216         * benchtests/Makefile: Remove instructions for adding
50217         benchmark tests.
50218         * benchtests/README: New file to explain how to execute and
50219         enhance the benchmark tests.
50221 2013-05-21  Andreas Schwab  <schwab@suse.de>
50223         [BZ #15493]
50224         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50225         * setjmp/tst-sigsetjmp.c: New test.
50227 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50229         * sysdeps/x86_64/memset.S (memset): New implementation.
50230         (__bzero): Likewise.
50231         (__memset_tail): New function.
50233 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50235         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50236         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50237         __memcpy_sse2_unaligned ifunc selection.
50238         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50239         Add memcpy-sse2-unaligned.S.
50240         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50241         Add: __memcpy_sse2_unaligned.
50243 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50245         [BZ #15490]
50246         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50247         math_force_eval before restoring floating-point envrionment.
50248         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50249         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50250         Likewise.
50251         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50252         <math_private.h>.
50253         (__nearbyintl): Use math_force_eval before restoring
50254         floating-point environment.
50255         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50257         * math/gen-libm-test.pl (special_functions): Remove.
50258         (parse_args): Don't handle TEST_extra.  Handle functions with no
50259         return value.
50260         * math/libm-test.inc (struct test_sincos_data): Replace with
50261         struct test_fFF_11_data.
50262         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50263         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50264         (sincos_test_data): Change element type to struct
50265         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50266         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50267         RUN_TEST_LOOP_sincos.
50268         * math/README.libm-test: Don't mention special handling of
50269         individual functions.
50270         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50271         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50272         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50273         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50274         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50277         * math/gen-libm-test.pl (get_variable): Remove function.
50278         (parse_args): Don't show pointer parameters to call in test
50279         names.  Use "extra output N" in test names for extra outputs
50280         rather than naming variables.
50282 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50284         [BZ #15488]
50285         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50286         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50287         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50288         double tests.
50289         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50290         disable.
50291         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50292         check_long_double.
50294         * math/gen-libm-test.pl (@tests): Remove variable.
50295         ($count): Likewise.
50296         (new_test): Remove function.
50297         (show_exceptions): New function.
50298         (special_functions): Use show_exceptions instead of new_test.
50299         (parse_args): Likewise.
50300         (generate_testfile): Pass only function name in generated call to
50301         print_max_error or print_complex_max_error.
50302         (get_ulps): Do not handle complex tests specially.
50303         (output_test): Rename to ...
50304         (get_all_ulps_for_test): ... this.  Return a string rather than
50305         printing to a file.  Require ulps to be present.
50306         (output_ulps): Generate arrays rather than #defines.
50307         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50308         (struct ulp_data): New type.
50309         (BUILD_COMPLEX_ULP): Remove macro.
50310         (compare_ulp_data): New function.
50311         (find_ulps): Likewise.
50312         (find_test_ulps): Likewise.
50313         (find_function_ulps): Likewise.
50314         (find_complex_function_ulps): Likewise.
50315         (print_max_error): Determine allowed ulps using
50316         find_function_ulps.
50317         (print_complex_max_error): Determine allowed ulps using
50318         find_complex_function_ulps.
50319         (check_float_internal): Determine max ulps using find_test_ulps.
50320         (check_float): Do not take max_ulp parameter.  Update call to
50321         check_float_internal.
50322         (check_complex): Likewise.
50323         (check_int): Do not take max_ulp parameter.
50324         (check_long): Likewise.
50325         (check_bool): Likewise.
50326         (check_longlong): Likewise.
50327         (struct test_f_f_data): Remove max_ulp field.
50328         (struct test_ff_f_data): Likewise.
50329         (struct test_ff_f_data_nexttoward): Likewise.
50330         (struct test_fi_f_data): Likewise.
50331         (struct test_fl_f_data): Likewise.
50332         (struct test_if_f_data): Likewise.
50333         (struct test_fff_f_data): Likewise.
50334         (struct test_c_f_data): Likewise.
50335         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50336         (struct test_fF_f1_data): Likewise.
50337         (struct test_ffI_f1_data): Likewise.
50338         (struct test_c_c_data): Remove max_ulp field.
50339         (struct test_cc_c_data): Likewise.
50340         (struct test_f_i_data): Likewise.
50341         (struct test_ff_i_data): Likewise.
50342         (struct test_f_l_data): Likewise.
50343         (struct test_f_L_data): Likewise.
50344         (struct test_sincos_data): Likewise.
50345         (RUN_TEST_f_f): Do not handle ulps.
50346         (RUN_TEST_LOOP_f_f): Likewise.
50347         (RUN_TEST_2_f): Likewise.
50348         (RUN_TEST_LOOP_2_f): Likewise.
50349         (RUN_TEST_fff_f): Likewise.
50350         (RUN_TEST_LOOP_fff_f): Likewise.
50351         (RUN_TEST_c_f): Likewise.
50352         (RUN_TEST_LOOP_c_f): Likewise.
50353         (RUN_TEST_f_f1): Likewise.
50354         (RUN_TEST_LOOP_f_f1): Likewise.
50355         (RUN_TEST_fF_f1): Likewise.
50356         (RUN_TEST_LOOP_fF_f1): Likewise.
50357         (RUN_TEST_fI_f1): Likewise.
50358         (RUN_TEST_LOOP_fI_f1): Likewise.
50359         (RUN_TEST_ffI_f1): Likewise.
50360         (RUN_TEST_LOOP_ffI_f1): Likewise.
50361         (RUN_TEST_c_c): Likewise.
50362         (RUN_TEST_LOOP_c_c): Likewise.
50363         (RUN_TEST_cc_c): Likewise.
50364         (RUN_TEST_LOOP_cc_c): Likewise.
50365         (RUN_TEST_f_i): Likewise.
50366         (RUN_TEST_LOOP_f_i): Likewise.
50367         (RUN_TEST_f_i_tg): Likewise.
50368         (RUN_TEST_LOOP_f_i_tg): Likewise.
50369         (RUN_TEST_ff_i_tg): Likewise.
50370         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50371         (RUN_TEST_f_b): Likewise.
50372         (RUN_TEST_LOOP_f_b): Likewise.
50373         (RUN_TEST_f_b_tg): Likewise.
50374         (RUN_TEST_LOOP_f_b_tg): Likewise.
50375         (RUN_TEST_f_l): Likewise.
50376         (RUN_TEST_LOOP_f_l): Likewise.
50377         (RUN_TEST_f_L): Likewise.
50378         (RUN_TEST_LOOP_f_L): Likewise.
50379         (RUN_TEST_sincos): Likewise.
50380         (RUN_TEST_LOOP_sincos): Likewise.
50382 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50384         [BZ #15480]
50385         [BZ #15485]
50386         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50387         main case of finite arguments, set rounding mode to FE_TONEAREST
50388         and discard exceptions.
50389         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50390         exceptions.
50391         (remainder_tonearest_test_data): New variable.
50392         (remainder_test_tonearest): New function.
50393         (remainder_towardzero_test_data): New variable.
50394         (remainder_test_towardzero): New function.
50395         (remainder_downward_test_data): New variable.
50396         (remainder_test_downward): New function.
50397         (remainder_upward_test_data): New variable.
50398         (remainder_test_upward): New function.
50399         (main): Call the new test functions.
50401         * math/libm-test.inc (struct test_f_f1_data): Remove field
50402         extra_init.
50403         (struct test_fF_f1_data): Likewise.
50404         (struct test_ffI_f1_data): Likewise.
50405         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50406         based on value of EXTRA_EXPECTED.
50407         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50408         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50409         EXTRA_VAR based on value of EXTRA_EXPECTED.
50410         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50411         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50412         EXTRA_VAR based on value of EXTRA_EXPECTED.
50413         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50414         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50415         EXTRA_VAR based on value of EXTRA_EXPECTED.
50416         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50417         * math/gen-libm-test.pl (parse_args): Don't output initializers
50418         for extra output values.
50420         * math/libm-test.inc (check_int): Expect result to be exactly
50421         equal to expected value and do not handle ulps.
50422         (check_long): Likewise.
50423         (check_longlong): Likewise.
50425         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50426         exceptions.
50427         (cimag_test_data): Likewise.
50428         (conj_test_data): Likewise.
50429         (copysign_test_data): Likewise.
50430         (cproj_test_data): Likewise.
50431         (creal_test_data): Likewise.
50432         (fabs_test_data): Likewise.
50433         (fdim_test_data): Likewise.
50434         (finite_test_data): Likewise.
50435         (floor_test_data): Likewise.
50436         (fmax_test_data): Likewise.
50437         (fmin_test_data): Likewise.
50438         (fmod_test_data): Likewise.
50439         (fpclassify_test_data): Likewise.
50440         (frexp_test_data): Likewise.
50441         (ilogb_test_data): Likewise.
50442         (isfinite_test_data): Likewise.
50443         (isgreater_test_data): Likewise.
50444         (isgreaterequal_test_data): Likewise.
50445         (isinf_test_data): Likewise.
50446         (isless_test_data): Likewise.
50447         (islessequal_test_data): Likewise.
50448         (islessgreater_test_data): Likewise.
50449         (isnan_test_data): Likewise.
50450         (isnormal_test_data): Likewise.
50451         (issignaling_test_data): Likewise.
50452         (isunordered_test_data): Likewise.
50453         (ldexp_test_data): Likewise.
50454         (lrint_test_data): Likewise.
50455         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50456         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50457         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50458         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50459         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50460         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50461         test input.
50462         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50463         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50464         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50465         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50466         that test input.
50467         (lrint_downward_test_data): Test for "inexact" exceptions.
50468         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50469         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50470         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50471         test input.
50472         (lrint_upward_test_data): Test for "inexact" exceptions.
50473         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50474         test input.
50475         (llrint_test_data): Test for "inexact" exceptions.
50476         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50477         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50478         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50479         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50480         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50481         (llrint_downward_test_data): Test for "inexact" exceptions.
50482         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50483         (llrint_upward_test_data): Test for "inexact" exceptions.
50484         (logb_test_data): Likewise.
50485         (logb_downward_test_data): Likewise.
50486         (nextafter_test_data): Likewise.
50487         (nexttoward_test_data): Likewise.
50488         (remainder_test_data): Likewise.
50489         (remquo_test_data): Likewise.
50490         (scalbn_test_data): Likewise.
50491         (scalbln_test_data): Likewise.
50492         (signbit_test_data): Likewise.
50493         (sqrt_test_data): Likewise.
50494         (significand_test_data): Likewise.
50496 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50498         [BZ #15424]
50499         * benchtests/bench-modf.c (struct args): Mark arg0 as
50500         volatile.
50501         * scripts/bench.pl: Mark members of struct args as volatile.
50503 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50505         [BZ # 15497]
50506         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50507         negative infinity on POWER6 or lower.
50508         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50510 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50512         [BZ #15442]
50513         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50514         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50515         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50516         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50517         (_FP_SETQNAN): New macro.
50518         (_FP_SETQNAN_SEMIRAW): Likewise.
50519         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50520         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50521         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50522         (FP_EXTEND): Use _FP_FRAC_SNANP.
50523         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50524         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50525         into account.
50526         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50527         New macro.
50528         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50529         Likewise.
50531 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50533         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50534         with DIVIDE_BY_ZERO_EXCEPTION.
50535         (gamma_test_data): Likewise.
50536         (lgamma_test_data): Likewise.
50537         (log_test_data): Likewise.
50538         (log10_test_data): Likewise.
50539         (log2_test_data): Likewise.
50540         (tgamma_test_data): Likewise.
50542         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50543         (acos_test_tonearest): Likewise.
50544         (acos_test_towardzero): Likewise.
50545         (acos_test_downward): Likewise.
50546         (acos_test_upward): Likewise.
50547         (acosh_test): Likewise.
50548         (asin_test): Likewise.
50549         (asin_test_tonearest): Likewise.
50550         (asin_test_towardzero): Likewise.
50551         (asin_test_downward): Likewise.
50552         (asin_test_upward): Likewise.
50553         (asinh_test): Likewise.
50554         (atan_test): Likewise.
50555         (atanh_test): Likewise.
50556         (atan2_test): Likewise.
50557         (cabs_test): Likewise.
50558         (cacos_test): Likewise.
50559         (cacosh_test): Likewise.
50560         (casin_test): Likewise.
50561         (casinh_test): Likewise.
50562         (catan_test): Likewise.
50563         (catanh_test): Likewise.
50564         (cbrt_test): Likewise.
50565         (ccos_test): Likewise.
50566         (ccosh_test): Likewise.
50567         (cexp_test): Likewise.
50568         (clog_test): Likewise.
50569         (clog10_test): Likewise.
50570         (cos_test): Likewise.
50571         (cos_test_tonearest): Likewise.
50572         (cos_test_towardzero): Likewise.
50573         (cos_test_downward): Likewise.
50574         (cos_test_upward): Likewise.
50575         (cosh_test): Likewise.
50576         (cosh_test_tonearest): Likewise.
50577         (cosh_test_towardzero): Likewise.
50578         (cosh_test_downward): Likewise.
50579         (cosh_test_upward): Likewise.
50580         (cpow_test): Likewise.
50581         (csin_test): Likewise.
50582         (csinh_test): Likewise.
50583         (csqrt_test): Likewise.
50584         (ctan_test): Likewise.
50585         (ctan_test_tonearest): Likewise.
50586         (ctan_test_towardzero): Likewise.
50587         (ctan_test_downward): Likewise.
50588         (ctan_test_upward): Likewise.
50589         (ctanh_test): Likewise.
50590         (ctanh_test_tonearest): Likewise.
50591         (ctanh_test_towardzero): Likewise.
50592         (ctanh_test_downward): Likewise.
50593         (ctanh_test_upward): Likewise.
50594         (erf_test): Likewise.
50595         (erfc_test): Likewise.
50596         (exp_test): Likewise.
50597         (exp_test_tonearest): Likewise.
50598         (exp_test_towardzero): Likewise.
50599         (exp_test_downward): Likewise.
50600         (exp_test_upward): Likewise.
50601         (exp10_test): Likewise.
50602         (exp2_test): Likewise.
50603         (expm1_test): Likewise.
50604         (fmod_test): Likewise.
50605         (gamma_test): Likewise.
50606         (hypot_test): Likewise.
50607         (j0_test): Likewise.
50608         (j1_test): Likewise.
50609         (jn_test): Likewise.
50610         (lgamma_test): Likewise.
50611         (log_test): Likewise.
50612         (log10_test): Likewise.
50613         (log1p_test): Likewise.
50614         (log2_test): Likewise.
50615         (logb_test_downward): Likewise.
50616         (pow_test): Likewise.
50617         (pow_test_tonearest): Likewise.
50618         (pow_test_towardzero): Likewise.
50619         (pow_test_downward): Likewise.
50620         (pow_test_upward): Likewise.
50621         (remainder_test): Likewise.
50622         (remquo_test): Likewise.
50623         (sin_test): Likewise.
50624         (sin_test_tonearest): Likewise.
50625         (sin_test_towardzero): Likewise.
50626         (sin_test_downward): Likewise.
50627         (sin_test_upward): Likewise.
50628         (sincos_test): Likewise.
50629         (sinh_test): Likewise.
50630         (sinh_test_tonearest): Likewise.
50631         (sinh_test_towardzero): Likewise.
50632         (sinh_test_downward): Likewise.
50633         (sinh_test_upward): Likewise.
50634         (sqrt_test): Likewise.
50635         (tan_test): Likewise.
50636         (tan_test_tonearest): Likewise.
50637         (tan_test_towardzero): Likewise.
50638         (tan_test_downward): Likewise.
50639         (tan_test_upward): Likewise.
50640         (tanh_test): Likewise.
50641         (tgamma_test): Likewise.
50642         (y0_test): Likewise.
50643         (y1_test): Likewise.
50644         (yn_test): Likewise.
50646         * math/gen-libm-test.pl (adjust_arg): Remove function.
50647         (special_function): Remove argument $in_func.  Only handle
50648         generating output for tables of tests, not inside functions.
50649         (parse_args): Likewise.
50650         (generate_testfile): Remove variable $in_func.  Update call to
50651         parse_args.
50652         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50653         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50654         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50655         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50656         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50657         (MAX_VALUE_INIT): Rename macro to max_value.
50658         (MIN_VALUE_INIT): Rename macro to min_value.
50659         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50660         (plus_zero): Remove variable.
50661         (minus_zero): Likewise.
50662         (plus_infty): Likewise.
50663         (minus_infty): Likewise.
50664         (qnan_value): Likewise.
50665         (max_value): Likewise.
50666         (min_value): Likewise.
50667         (min_subnorm_value): Likewise.
50669 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50671         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50672         uint64_t or uint32_t usage.
50673         * crypt/sha256-block.c: Likewise.
50674         * crypt/sha256-crypt.c: Likewise.
50675         * crypt/sha256.c: Likewise.
50676         * crypt/sha512-block.c: Likewise.
50677         * crypt/sha512-crypt.c: Likewise.
50678         * crypt/sha512.c: Likewise.
50679         * debug/backtrace-tst.c: Likewise.
50680         * debug/pcprofiledump.c: Likewise.
50681         * elf/cache.c: Likewise.
50682         * elf/dl-cache.c: Likewise.
50683         * elf/dl-misc.c: Likewise.
50684         * elf/dl-profile.c: Likewise.
50685         * elf/dl-support.c: Likewise.
50686         * elf/ldconfig.c: Likewise.
50687         * elf/sprof.c: Likewise.
50688         * iconv/dummy-repertoire.c: Likewise.
50689         * iconv/iconv_charmap.c: Likewise.
50690         * iconv/skeleton.c: Likewise.
50691         * iconvdata/8bit-generic.c: Likewise.
50692         * iconvdata/cp737.h: Likewise.
50693         * iconvdata/cp775.h: Likewise.
50694         * iconvdata/ibm1008.h: Likewise.
50695         * iconvdata/ibm1025.h: Likewise.
50696         * iconvdata/ibm1046.h: Likewise.
50697         * iconvdata/ibm1097.h: Likewise.
50698         * iconvdata/ibm1112.h: Likewise.
50699         * iconvdata/ibm1122.h: Likewise.
50700         * iconvdata/ibm1123.h: Likewise.
50701         * iconvdata/ibm1124.h: Likewise.
50702         * iconvdata/ibm1129.h: Likewise.
50703         * iconvdata/ibm1130.h: Likewise.
50704         * iconvdata/ibm1132.h: Likewise.
50705         * iconvdata/ibm1133.h: Likewise.
50706         * iconvdata/ibm1137.h: Likewise.
50707         * iconvdata/ibm1140.h: Likewise.
50708         * iconvdata/ibm1141.h: Likewise.
50709         * iconvdata/ibm1142.h: Likewise.
50710         * iconvdata/ibm1143.h: Likewise.
50711         * iconvdata/ibm1144.h: Likewise.
50712         * iconvdata/ibm1145.h: Likewise.
50713         * iconvdata/ibm1146.h: Likewise.
50714         * iconvdata/ibm1147.h: Likewise.
50715         * iconvdata/ibm1148.h: Likewise.
50716         * iconvdata/ibm1149.h: Likewise.
50717         * iconvdata/ibm1153.h: Likewise.
50718         * iconvdata/ibm1154.h: Likewise.
50719         * iconvdata/ibm1155.h: Likewise.
50720         * iconvdata/ibm1156.h: Likewise.
50721         * iconvdata/ibm1157.h: Likewise.
50722         * iconvdata/ibm1158.h: Likewise.
50723         * iconvdata/ibm1160.h: Likewise.
50724         * iconvdata/ibm1161.h: Likewise.
50725         * iconvdata/ibm1162.h: Likewise.
50726         * iconvdata/ibm1163.h: Likewise.
50727         * iconvdata/ibm1164.h: Likewise.
50728         * iconvdata/ibm1166.h: Likewise.
50729         * iconvdata/ibm1167.h: Likewise.
50730         * iconvdata/ibm12712.h: Likewise.
50731         * iconvdata/ibm1390.h: Likewise.
50732         * iconvdata/ibm1399.h: Likewise.
50733         * iconvdata/ibm16804.h: Likewise.
50734         * iconvdata/ibm4517.h: Likewise.
50735         * iconvdata/ibm4899.h: Likewise.
50736         * iconvdata/ibm4909.h: Likewise.
50737         * iconvdata/ibm4971.h: Likewise.
50738         * iconvdata/ibm5347.h: Likewise.
50739         * iconvdata/ibm803.h: Likewise.
50740         * iconvdata/ibm856.h: Likewise.
50741         * iconvdata/ibm901.h: Likewise.
50742         * iconvdata/ibm902.h: Likewise.
50743         * iconvdata/ibm9030.h: Likewise.
50744         * iconvdata/ibm9066.h: Likewise.
50745         * iconvdata/ibm921.h: Likewise.
50746         * iconvdata/ibm922.h: Likewise.
50747         * iconvdata/ibm9448.h: Likewise.
50748         * iconvdata/isiri-3342.h: Likewise.
50749         * iconvdata/jis0201.h: Likewise.
50750         * include/link.h: Likewise.
50751         * include/netdb.h: Likewise.
50752         * inet/check_native.c: Likewise.
50753         * inet/check_pf.c: Likewise.
50754         * inet/getipv4sourcefilter.c: Likewise.
50755         * inet/getnameinfo.c: Likewise.
50756         * inet/getsourcefilter.c: Likewise.
50757         * inet/htonl.c: Likewise.
50758         * inet/setipv4sourcefilter.c: Likewise.
50759         * inet/setsourcefilter.c: Likewise.
50760         * inet/test-inet6_opt.c: Likewise.
50761         * inet/tst-network.c: Likewise.
50762         * locale/C-collate.c: Likewise.
50763         * locale/C-ctype.c: Likewise.
50764         * locale/C-time.c: Likewise.
50765         * locale/C-translit.h: Likewise.
50766         * locale/loadarchive.c: Likewise.
50767         * locale/programs/3level.h: Likewise.
50768         * locale/programs/charmap.c: Likewise.
50769         * locale/programs/charmap.h: Likewise.
50770         * locale/programs/ld-address.c: Likewise.
50771         * locale/programs/ld-collate.c: Likewise.
50772         * locale/programs/ld-ctype.c: Likewise.
50773         * locale/programs/ld-identification.c: Likewise.
50774         * locale/programs/ld-measurement.c: Likewise.
50775         * locale/programs/ld-messages.c: Likewise.
50776         * locale/programs/ld-monetary.c: Likewise.
50777         * locale/programs/ld-name.c: Likewise.
50778         * locale/programs/ld-numeric.c: Likewise.
50779         * locale/programs/ld-paper.c: Likewise.
50780         * locale/programs/ld-telephone.c: Likewise.
50781         * locale/programs/ld-time.c: Likewise.
50782         * locale/programs/linereader.c: Likewise.
50783         * locale/programs/locale.c: Likewise.
50784         * locale/programs/locarchive.c: Likewise.
50785         * locale/programs/locfile.h: Likewise.
50786         * locale/programs/repertoire.c: Likewise.
50787         * locale/programs/simple-hash.c: Likewise.
50788         * locale/programs/simple-hash.h: Likewise.
50789         * malloc/memusage.c: Likewise.
50790         * malloc/memusagestat.c: Likewise.
50791         * nis/nis_defaults.c: Likewise.
50792         * nis/nis_hash.c: Likewise.
50793         * nis/nis_print.c: Likewise.
50794         * nis/nis_xdr.c: Likewise.
50795         * nscd/connections.c: Likewise.
50796         * nscd/hstcache.c: Likewise.
50797         * nscd/nscd_gethst_r.c: Likewise.
50798         * nscd/nscd_getserv_r.c: Likewise.
50799         * nscd/nscd_helper.c: Likewise.
50800         * nscd/servicescache.c: Likewise.
50801         * nss/makedb.c: Likewise.
50802         * nss/nss_db/db-XXX.c: Likewise.
50803         * nss/nss_db/db-initgroups.c: Likewise.
50804         * nss/nss_db/db-netgrp.c: Likewise.
50805         * nss/nss_files/files-network.c: Likewise.
50806         * nss/nss_files/files-parse.c: Likewise.
50807         * posix/bug-regex5.c: Likewise.
50808         * posix/fnmatch_loop.c: Likewise.
50809         * posix/regcomp.c: Likewise.
50810         * posix/regexec.c: Likewise.
50811         * posix/tst-rfc3484-2.c: Likewise.
50812         * posix/tst-rfc3484-3.c: Likewise.
50813         * posix/tst-rfc3484.c: Likewise.
50814         * resolv/nss_dns/dns-canon.c: Likewise.
50815         * resolv/nss_dns/dns-network.c: Likewise.
50816         * resolv/res_init.c: Likewise.
50817         * resolv/res_mkquery.c: Likewise.
50818         * resolv/tst-aton.c: Likewise.
50819         * stdlib/cxa_atexit.c: Likewise.
50820         * stdlib/cxa_finalize.c: Likewise.
50821         * stdlib/gen-fpioconst.c: Likewise.
50822         * stdlib/strtol_l.c: Likewise.
50823         * string/tst-endian.c: Likewise.
50824         * sunrpc/auth_des.c: Likewise.
50825         * sunrpc/clnt_udp.c: Likewise.
50826         * sunrpc/rtime.c: Likewise.
50827         * sunrpc/svcauth_des.c: Likewise.
50828         * sunrpc/xdr.c: Likewise.
50829         * sunrpc/xdr_intXX_t.c: Likewise.
50830         * sunrpc/xdr_rec.c: Likewise.
50831         * sysdeps/generic/ldconfig.h: Likewise.
50832         * sysdeps/generic/ldsodefs.h: Likewise.
50833         * sysdeps/generic/memusage.h: Likewise.
50834         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50835         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50836         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50837         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50838         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50839         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50840         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50841         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50842         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50843         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50844         * sysdeps/posix/getaddrinfo.c: Likewise.
50845         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50846         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50847         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50848         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50849         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50850         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50851         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50852         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50853         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50854         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50855         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50856         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50857         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50858         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50859         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50860         * sysdeps/x86_64/dl-tls.h: Likewise.
50861         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50862         * time/alt_digit.c: Likewise.
50863         * time/era.c: Likewise.
50864         * wcsmbs/tst-c16c32-1.c: Likewise.
50866 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50868         * math/libm-test.inc (struct test_sincos_data): New type.
50869         (RUN_TEST_LOOP_sincos): New macro.
50870         (sincos_test_data): New variable.
50871         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50873 2013-05-16  Richard Henderson  <rth@redhat.com>
50875         * math/atest-exp2.c (LIMB64): New macro.
50876         (CONSTSZ): New macro.
50877         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50878         (hexdig): Move ...
50879         (print_mpn_fp): ... to function scope.
50880         (read_mpn_hex): Remove.
50881         (get_log2): Remove.
50882         (exp2_mpn): Use mp_log2.
50883         (main): Use mp_exp1.
50885 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50887         * math/libm-test.inc: Remove comment about not testing "inexact"
50888         exceptions.
50889         (INEXACT_EXCEPTION): New macro.
50890         (NO_INEXACT_EXCEPTION): Likewise.
50891         (INVALID_EXCEPTION_OK): Update value.
50892         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50893         (OVERFLOW_EXCEPTION_OK): Likewise.
50894         (UNDERFLOW_EXCEPTION_OK): Likewise.
50895         (IGNORE_ZERO_INF_SIGN): Likewise.
50896         (ERRNO_UNCHANGED): Likewise.
50897         (ERRNO_EDOM): Likewise.
50898         (ERRNO_ERANGE): Likewise.
50899         (test_exceptions): Handle testing "inexact" exceptions.
50900         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50901         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50902         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50903         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50904         INEXACT_EXCEPTION.
50905         (rint_towardzero_test_data): Likewise.
50906         (rint_downward_test_data): Likewise.
50907         (rint_upward_test_data): Likewise.
50909         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50910         with OVERFLOW_EXCEPTION.
50911         (exp10_test_data): Likewise.
50912         (exp2_test_data): Likewise.
50913         (expm1_test_data): Likewise.
50914         (lgamma_test_data): Likewise.
50915         (pow_test_data): Likewise.
50916         (tgamma_test_data): Likewise.
50917         (yn_test_data): Remove duplicate test of overflow.
50919         * math/libm-test.inc (struct test_cc_c_data): New type.
50920         (RUN_TEST_LOOP_cc_c): New macro.
50921         (cpow_test_data): New variable.
50922         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50924         * math/libm-test.inc (struct test_f_L_data): New type.
50925         (RUN_TEST_LOOP_f_L): New macro.
50926         (llrint_test_data): New variable.
50927         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50928         (llrint_tonearest_test_data): New variable.
50929         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50930         (llrint_towardzero_test_data): New variable.
50931         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50932         (llrint_downward_test_data): New variable.
50933         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50934         (llrint_upward_test_data): New variable.
50935         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50936         (llround_test_data): New variable.
50937         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50939 2013-05-13  Peter Collingbourne  <pcc@google.com>
50941         * math/atest-exp2.c (get_log2): Remove const attribute.
50943 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50945         * math/libm-test.inc (struct test_f_l_data): New type.
50946         (RUN_TEST_LOOP_f_l): New macro.
50947         (lrint_test_data): New variable.
50948         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50949         (lrint_tonearest_test_data): New variable.
50950         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50951         (lrint_towardzero_test_data): New variable.
50952         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50953         (lrint_downward_test_data): New variable.
50954         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50955         (lrint_upward_test_data): New variable.
50956         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50957         (lround_test_data): New variable.
50958         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50960 2013-05-15  Peter Collingbourne  <pcc@google.com>
50962         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50963         (EXTRACT_WORDS64) Use where appropriate.
50964         (INSERT_WORDS64) Likewise.
50966         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50967         constraints with x constraints.
50968         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50970         * malloc/obstack.c (_obstack_compat): Add initializer.
50972 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50974         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50975         si_trapno and add si_addr_lsb to _sifields.sigfault.
50976         (si_trapno): Remove macro.
50977         (si_addr_lsb): Define new macro.
50978         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50980 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50982         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50983         instead of TEST_f_l.
50984         (llrint_test_tonearest): Likewise.
50985         (llrint_test_towardzero): Likewise.
50986         (llrint_test_downward): Likewise.
50987         (llrint_test_upward): Likewise.
50988         (llround_test): Likewise.
50990         * math/libm-test.inc (struct test_f_i_data): Add comment.
50991         (RUN_TEST_LOOP_f_b): New macro.
50992         (RUN_TEST_LOOP_f_b_tg): Likewise.
50993         (finite_test_data): New variable.
50994         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50995         (isfinite_test_data): New variable.
50996         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50997         (isinf_test_data): New variable.
50998         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50999         (isnan_test_data): New variable.
51000         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51001         (isnormal_test_data): New variable.
51002         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51003         (issignaling_test_data): New variable.
51004         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51005         (signbit_test_data): New variable.
51006         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51008         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51009         with INVALID_EXCEPTION.
51010         (acosh_test_data): Likewise.
51011         (asin_test_data): Likewise.
51012         (atanh_test_data): Likewise.
51013         (fmod_test_data): Likewise.
51014         (log_test_data): Likewise.
51015         (log10_test_data): Likewise.
51016         (log2_test_data): Likewise.
51017         (pow_test_data): Likewise.
51018         (sqrt_test_data): Likewise.
51019         (y0_test_data): Likewise.
51020         (y1_test_data): Likewise.
51021         (yn_test_data): Likewise.
51023         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51024         function contents.
51026         * math/libm-test.inc (struct test_ff_i_data): New type.
51027         (RUN_TEST_LOOP_ff_i_tg): New macro.
51028         (isgreater_test_data): New variable.
51029         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51030         (isgreaterequal_test_data): New variable.
51031         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51032         (isless_test_data): New variable.
51033         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51034         (islessequal_test_data): New variable.
51035         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51036         (islessgreater_test_data): New variable.
51037         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51038         (isunordered_test_data): New variable.
51039         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51041 2013-05-14  David S. Miller  <davem@davemloft.net>
51043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51045 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51047         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51049         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51050         extra_test to int.
51051         (struct test_f_i_data): Change type of max_ulp to int.
51053         * math/libm-test.inc (test_ffI_f1_data): New type.
51054         (RUN_TEST_LOOP_ffI_f1): New macro.
51055         (remquo_test_data): New variable.
51056         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51058         * setjmp/tst-setjmp-fp.c: New file.
51059         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51060         (link-libm): New variable.
51061         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51063         * math/libm-test.inc (struct test_f_i_data): New type.
51064         (RUN_TEST_LOOP_f_i): New macro.
51065         (RUN_TEST_LOOP_f_i_tg): Likewise.
51066         (fpclassify_test_data): New variable.
51067         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51068         (ilogb_test_data): New variable.
51069         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51071         * math/libm-test.inc (scalbln_test): Correct function name in END
51072         call.
51074         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51075         (RUN_TEST_LOOP_fI_f1): New macro.
51076         (frexp_test_data): New variable.
51077         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51079         * math/libm-test.inc (struct test_fF_f1_data): New type.
51080         (RUN_TEST_LOOP_fF_f1): New macro.
51081         (modf_test_data): New variable.
51082         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51084         * math/libm-test.inc (struct test_f_f1_data): New type.
51085         (RUN_TEST_LOOP_f_f1): New macro.
51086         (gamma_test_data): New variable.
51087         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51088         (lgamma_test_data): New variable.
51089         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51091 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51093         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51094         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51095         (main): Comment "tls" pseudo-hwcap.
51097 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51099         * math/libm-test.inc (struct test_fl_f_data): New type.
51100         (RUN_TEST_LOOP_fl_f): New variable.
51101         (scalbln_test_data): New variable.
51102         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51104         * math/libm-test.inc (struct test_fi_f_data): New type.
51105         (RUN_TEST_LOOP_fi_f): New macro.
51106         (ldexp_test_data): New variable.
51107         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51108         (scalbn_test_data): New variable.
51109         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51111         * math/libm-test.inc (struct test_c_f_data): New type.
51112         (RUN_TEST_LOOP_c_f): New macro.
51113         (cabs_test_data): New variable.
51114         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51115         (carg_test_data): New variable.
51116         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51117         (cimag_test_data): New variable.
51118         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51119         (creal_test_data): New variable.
51120         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51122         * math/libm-test.inc (struct test_if_f_data): New type.
51123         (RUN_TEST_LOOP_if_f): New macro.
51124         (jn_test_data): New variable.
51125         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51126         (yn_test_data): New variable.
51127         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51129         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51131 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51133         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51134         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51136 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51138         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51139         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51140         (bench-deps): Add bench-timing.h.
51141         * benchtests-bench-skeleton.c: Include bench-timing.h.
51142         (main): Use TIMING_* macros instead of clock_gettime.
51143         * benchtests/bench-timing.h: New file.
51145         [BZ #14582]
51146         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51147         Renamed from _LIB_VERSION.
51148         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51150 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51152         * math/libm-test.inc (struct test_fff_f_data): New type.
51153         (RUN_TEST_LOOP_fff_f): New macro.
51154         (fma_test_data): New variable.
51155         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51156         (fma_towardzero_test_data): New variable.
51157         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51158         (fma_downward_test_data): New variable.
51159         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51160         (fma_upward_test_data): New variable.
51161         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51163         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51164         (struct test_c_c_data): New type.
51165         (RUN_TEST_LOOP_c_c): New macro.
51166         (cacos_test_data): New variable.
51167         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51168         (cacosh_test_data): New variable.
51169         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51170         (casin_test_data): New variable.
51171         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51172         (casinh_test_data): New variable.
51173         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51174         (catan_test_data): New variable.
51175         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51176         (catanh_test_data): New variable.
51177         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51178         (ccos_test_data): New variable.
51179         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51180         (ccosh_test_data): New variable.
51181         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51182         (cexp_test_data): New variable.
51183         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51184         (clog_test_data): New variable.
51185         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51186         (clog10_test_data): New variable.
51187         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51188         (conj_test_data): New variable.
51189         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51190         (cproj_test_data): New variable.
51191         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51192         (csin_test_data): New variable.
51193         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51194         (csinh_test_data): New variable.
51195         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51196         (csqrt_test_data): New variable.
51197         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51198         (ctan_test_data): New variable.
51199         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51200         (ctan_tonearest_test_data): New variable.
51201         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51202         (ctan_towardzero_test_data): New variable.
51203         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51204         (ctan_downward_test_data): New variable.
51205         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51206         (ctan_upward_test_data): New variable.
51207         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51208         (ctanh_test_data): New variable.
51209         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51210         (ctanh_tonearest_test_data): New variable.
51211         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51212         (ctanh_towardzero_test_data): New variable.
51213         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51214         (ctanh_downward_test_data): New variable.
51215         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51216         (ctanh_upward_test_data): New variable.
51217         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51218         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51219         of BUILD_COMPLEX.
51221         * math/libm-test.inc (struct test_ff_f_data): New type.
51222         (struct test_ff_f_data_nexttoward): Likewise.
51223         (RUN_TEST_LOOP_2_f): New macro.
51224         (RUN_TEST_LOOP_ff_f): Likewise.
51225         (atan2_test_data): New variable.
51226         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51227         (copysign_test_data): New variable.
51228         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51229         (fdim_test_data): New variable.
51230         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51231         (fmax_test_data): New variable.
51232         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51233         (fmin_test_data): New variable.
51234         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51235         (fmod_test_data): New variable.
51236         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51237         (hypot_test_data): New variable.
51238         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51239         (nextafter_test_data): New variable.
51240         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51241         (nexttoward_test_data): New variable.
51242         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51243         (pow_test_data): New variable.
51244         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51245         (pow_tonearest_test_data): New variable.
51246         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51247         (pow_towardzero_test_data): New variable.
51248         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51249         (pow_downward_test_data): New variable.
51250         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51251         (pow_upward_test_data): New variable.
51252         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51253         (remainder_test_data): New variable.
51254         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51255         (scalb_test_data): New variable.
51256         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51257         * sysdeps/i386/fpu/libm-test-ulps: Update.
51259 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51261         * math/libm-test.inc (fma_test): Use max_value instead of local
51262         variable fltmax.
51263         (nextafter_test): Likewise.
51265         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51266         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51267         (acos_downward_test_data): New variable.
51268         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51269         (acos_upward_test_data): New variable.
51270         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51271         (acosh_test_data): New variable.
51272         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51273         (asin_test_data): New variable.
51274         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51275         (asin_tonearest_test_data): New variable.
51276         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51277         (asin_towardzero_test_data): New variable.
51278         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51279         (asin_downward_test_data): New variable.
51280         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51281         (asin_upward_test_data): New variable.
51282         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51283         (asinh_test_data): New variable.
51284         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51285         (atan_test_data): New variable.
51286         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51287         (atanh_test_data): New variable.
51288         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51289         (cbrt_test_data): New variable.
51290         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51291         (ceil_test_data): New variable.
51292         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51293         (cos_test_data): New variable.
51294         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51295         (cos_tonearest_test_data): New variable.
51296         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51297         (cos_towardzero_test_data): New variable.
51298         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51299         (cos_downward_test_data): New variable.
51300         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51301         (cos_upward_test_data): New variable.
51302         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51303         (cosh_test_data): New variable.
51304         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51305         (cosh_tonearest_test_data): New variable.
51306         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51307         (cosh_towardzero_test_data): New variable.
51308         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51309         (cosh_downward_test_data): New variable.
51310         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51311         (cosh_upward_test_data): New variable.
51312         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51313         (erf_test_data): New variable.
51314         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51315         (erfc_test_data): New variable.
51316         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51317         (exp_test_data): New variable.
51318         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51319         (exp_tonearest_test_data): New variable.
51320         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51321         (exp_towardzero_test_data): New variable.
51322         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51323         (exp_downward_test_data): New variable.
51324         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51325         (exp_upward_test_data): New variable.
51326         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51327         (exp10_test_data): New variable.
51328         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51329         (exp2_test_data): New variable.
51330         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51331         (expm1_test_data): New variable.
51332         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51333         (fabs_test_data): New variable.
51334         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51335         (floor_test_data): New variable.
51336         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51337         (j0_test_data): New variable.
51338         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51339         (j1_test_data): New variable.
51340         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51341         (log_test_data): New variable.
51342         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51343         (log10_test_data): New variable.
51344         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51345         (log1p_test_data): New variable.
51346         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51347         (log2_test_data): New variable.
51348         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51349         (logb_test_data): New variable.
51350         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51351         (logb_downward_test_data): New variable.
51352         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51353         (nearbyint_test_data): New variable.
51354         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51355         (rint_test_data): New variable.
51356         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51357         (rint_tonearest_test_data): New variable.
51358         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51359         (rint_towardzero_test_data): New variable.
51360         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51361         (rint_downward_test_data): New variable.
51362         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51363         (rint_upward_test_data): New variable.
51364         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51365         (round_test_data): New variable.
51366         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51367         (sin_test_data): New variable.
51368         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51369         (sin_tonearest_test_data): New variable.
51370         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51371         (sin_towardzero_test_data): New variable.
51372         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51373         (sin_downward_test_data): New variable.
51374         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51375         (sin_upward_test_data): New variable.
51376         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51377         (sinh_test_data): New variable.
51378         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51379         (sinh_tonearest_test_data): New variable.
51380         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51381         (sinh_towardzero_test_data): New variable.
51382         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51383         (sinh_downward_test_data): New variable.
51384         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51385         (sinh_upward_test_data): New variable.
51386         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51387         (sqrt_test_data): New variable.
51388         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51389         (tan_test_data): New variable.
51390         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51391         (tan_tonearest_test_data): New variable.
51392         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51393         (tan_towardzero_test_data): New variable.
51394         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51395         (tan_downward_test_data): New variable.
51396         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51397         (tan_upward_test_data): New variable.
51398         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51399         (tanh_test_data): New variable.
51400         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51401         (tgamma_test_data): New variable.
51402         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51403         (trunc_test_data): New variable.
51404         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51405         (y0_test_data): New variable.
51406         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51407         (y1_test_data): New variable.
51408         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51409         (significand_test_data): New variable.
51410         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51412 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51414         [BZ #12387]
51415         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51417 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51419         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51421 2013-05-10  Andreas Jaeger  <aj@suse.de>
51423         [BZ #15448]
51424         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51425         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51427 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51429         * math/gen-libm-test.pl (adjust_arg): New function.
51430         (special_functions): Handle generating output in both functions
51431         and arrays.
51432         (parse_args): Likewise.
51433         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51434         $in_func argument to parse_args.
51435         * math/libm-test.inc (struct test_f_f_data): New type.
51436         (IF_ROUND_INIT_): New macro.
51437         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51438         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51439         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51440         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51441         (ROUND_RESTORE_): Likewise.
51442         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51443         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51444         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51445         (ROUND_RESTORE_FE_UPWARD): Likewise.
51446         (RUN_TEST_LOOP_f_f): New macro.
51447         (acos_test_data): New variable.
51448         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51449         (acos_tonearest_test_data): New variable.
51450         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51452 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51454         * benchtests/bench-skeleton.c (startup): Fix coding style.
51456 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51458         [BZ #6809]
51459         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51460         negative infinity argument.
51461         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51462         negative infinity argument.
51463         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51464         negative infinity argument.
51465         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51466         domain errors.
51468 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51470         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51471         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51472         * iconv/iconv_prog.c (main): Likewise.
51473         * locale/programs/charmap-dir.c (charmap_readdir)
51474         (fopen_uncompressed): Likewise.
51475         * locale/programs/locfile.c (siblings_uncached)
51476         (write_locale_data): Use lstat64 instead of lstat.
51477         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51478         stat.
51480 2013-05-10  Andreas Jaeger  <aj@suse.de>
51482         [BZ #15395]
51483         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51484         localization.
51485         Include <locale.h>.
51487 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51489         * elf/dl-close.c (_dl_close_worker): Add comments.
51491 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51493         [BZ #15359]
51494         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51495         high part of pi/2.
51496         (__ieee754_rem_pio2l): Update comments.
51498         [BZ #15429]
51499         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51500         high part of pi/2.
51501         (__ieee754_rem_pio2l): Update comments.
51503         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51504         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51506         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51507         M_PI_4l.
51509         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51510         (M_PI_34_LOG10El): Likewise.
51511         (M_PI2_LOG10El): Likewise.
51512         (M_PI4_LOG10El): Likewise.
51513         (M_PI_LOG10El): Likewise.
51515 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51519 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51521         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51522         (MINUS_ZERO_INIT): Likewise.
51523         (PLUS_INFTY_INIT): Likewise.
51524         (MINUS_INFTY_INIT): Likewise.
51525         (QNAN_VALUE_INIT): Likewise.
51526         (MAX_VALUE_INIT): Likewise.
51527         (MIN_VALUE_INIT): Likewise.
51528         (MIN_SUBNORM_VALUE_INIT): Likewise.
51529         (plus_zero): Initialize with PLUS_ZERO_INIT.
51530         (minus_zero): Initialize with MINUS_ZERO_INIT.
51531         (plus_infty): Initialize with PLUS_INFTY_INIT.
51532         (minus_infty): Initialize with MINUS_INFTY_INIT.
51533         (qnan_value): Initialize with QNAN_VALUE_INIT.
51534         (max_value): Initialize with MAX_VALUE_INIT.
51535         (min_value): Initialize with MIN_VALUE_INIT.
51536         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51538         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51539         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51540         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51541         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51543         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51544         (RUN_TEST_2_f): Likewise.
51545         (RUN_TEST_ff_f): Likewise.
51546         (RUN_TEST_fi_f): Likewise.
51547         (RUN_TEST_fl_f): Likewise.
51548         (RUN_TEST_fff_f): Likewise.
51549         (RUN_TEST_c_f): Likewise.
51550         (RUN_TEST_f_f1): Likewise.
51551         (RUN_TEST_fF_f1): Likewise.
51552         (RUN_TEST_fI_f1): Likewise.
51553         (RUN_TEST_ffI_f1): Likewise.
51554         (RUN_TEST_c_c): Likewise.
51555         (RUN_TEST_cc_c): Likewise.
51556         (RUN_TEST_f_i): Likewise.
51557         (RUN_TEST_f_i_tg): Likewise.
51558         (RUN_TEST_ff_i_tg): Likewise.
51559         (RUN_TEST_f_b): Likewise.
51560         (RUN_TEST_f_b_tg): Likewise.
51561         (RUN_TEST_f_l): Likewise.
51562         (RUN_TEST_f_L): Likewise.
51563         (RUN_TEST_sincos): Likewise.
51564         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51565         whether to show exceptions.  Do not include ");\n" in return
51566         value.
51567         (special_functions): Output call to RUN_TEST_sincos instead of
51568         check_float calls.  Update calls to new_test.
51569         (parse_args): Output call to single RUN_TEST_* macro instead of
51570         check_* calls and other assignments.  Update calls to new_test.
51572         [BZ #2546]
51573         [BZ #2560]
51574         [BZ #5159]
51575         [BZ #15426]
51576         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51577         input to result for tgamma overflow.
51578         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51579         (gamma_coeff): New variable.
51580         (NCOEFF): New macro.
51581         (gamma_positive): New function.
51582         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51583         underflow here.  Use gamma_positive instead of exp (lgamma) for
51584         other arguments.
51585         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51586         (gamma_coeff): New variable.
51587         (NCOEFF): New macro.
51588         (gammaf_positive): New function.
51589         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51590         underflow here.  Use gamma_positive instead of exp (lgamma) for
51591         other arguments.
51592         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51593         (gamma_coeff): New variable.
51594         (NCOEFF): New macro.
51595         (gammal_positive): New function.
51596         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51597         underflow here.  Use gamma_positive instead of exp (lgamma) for
51598         other arguments.
51599         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51600         (gamma_coeff): New variable.
51601         (NCOEFF): New macro.
51602         (gammal_positive): New function.
51603         (__ieee754_gammal_r): Handle positive infinity, overflow and
51604         underflow here.  Handle NaN the same as positive infinity.  Remove
51605         check x < 0xffffffff for negative integers.  Use gamma_positive
51606         instead of exp (lgamma) for other arguments.
51607         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51608         (gamma_coeff): New variable.
51609         (NCOEFF): New macro.
51610         (gammal_positive): New function.
51611         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51612         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51613         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51614         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51615         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51616         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51617         * sysdeps/generic/math_private.h (__gamma_productf): New
51618         prototype.
51619         (__gamma_product): Likewise.
51620         (__gamma_productl): Likewise.
51621         * math/Makefile (libm-calls): Add gamma_product.
51622         * math/libm-test.inc (tgamma_test): Add more tests.
51623         * sysdeps/i386/fpu/libm-test-ulps: Update.
51624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51626 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51628         * benchtests/bench-skeleton.c (main): Preheat CPU.
51630 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51632         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51634 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51636         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51637         and _dl_skip_args_internal.
51639 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51641         * manual/message.texi (Message Translation): Talk about users.
51642         Message to key mapping impacts design.
51644 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51646         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51648         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51650         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51651         * sysdeps/wordsize-64/glob64.c: ... here.
51653         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51654         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51655         New macros.
51657         * debug/getlogin_r_chk.c: Moved to ...
51658         * login/getlogin_r_chk.c: ... here.
51659         * debug/Makefile (routines): Move getlogin_r_chk to ...
51660         * login/Makefile (routines): ... here.
51661         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51662         * login/Versions (libc: GLIBC_2.4): ... here.
51664         * io/poll.c (__poll): Renamed from poll.
51665         Add libc_hidden_def.
51666         (poll): Define as weak alias.
51668         * debug/ptsname_r_chk.c: Moved to ...
51669         * login/ptsname_r_chk.c: ... here.
51670         * debug/Makefile (routines): Move ptsname_r_chk to ...
51671         * login/Makefile (routines): ... here.
51672         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51673         * login/Versions (libc: GLIBC_2.4): ... here.
51675         * posix/getlogin.c: Moved to ...
51676         * login/getlogin.c: ... here.
51677         * posix/getlogin_r.c: Moved to ...
51678         * login/getlogin_r.c: ... here.
51679         * posix/getlogin_r.c: Moved to ...
51680         * login/getlogin_r.c: ... here.
51681         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51682         * login/Makefile (routines): ... here.
51683         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51684         * login/Versions (libc: GLIBC_2.0): ... here.
51686         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51687         (setrlimit): Define as weak alias.
51689         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51690         Call __ names for open, ftruncate, and close.
51691         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51692         (truncate): Define as weak alias.
51694 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51696         * math/gen-libm-test.pl (parse_args): Initialize x before each
51697         test of frexp, modf and remquo.
51699         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51700         test signgam value.
51702 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51704         [BZ #15418]
51705         [BZ #15419]
51706         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51707         internal tests.
51708         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51710 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51712         * elf/dl-writev.h: New file.
51713         * elf/dl-misc.c: Include it.
51714         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51715         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51717 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51719         * math/libm-test.inc (noXFails): Remove variable.
51720         (noXPasses): Likewise.
51721         (BUILD_COMPLEX_INT): Remove macro.
51722         (print_screen): Remove xfail argument.
51723         (print_screen_max_error): Likewise.
51724         (update_stats): Likewise.
51725         (print_max_error): Likewise.  Update calls to other affected
51726         functions.
51727         (print_complex_max_error): Likewise.
51728         (test_single_exception): Update calls to print_screen.
51729         (test_single_errno): Likewise.
51730         (check_float_internal): Remove xfail argument.  Update calls to
51731         other affected functions.
51732         (check_float): Likewise.
51733         (check_complex): Likewise.
51734         (check_int): Likewise.
51735         (check_long): Likewise.
51736         (check_bool): Likewise.
51737         (check_longlong): Likewise.
51738         (main): Don't print noXFails and noXPasses.
51739         * math/gen-libm-test.pl (top level): Don't mention expected
51740         failure handling in comment.
51741         (new_test): Don't handle expected failures.
51742         (parse_args): Don't mention expected failure handling in comment.
51743         (generate_testfile): Don't handle expected failures.
51744         (parse_ulps): Likewise.
51745         (print_ulps_file): Likewise.
51746         (get_failure): Remove function.
51747         (output_test): Don't handle expected failures.
51748         * make/README.libm-test: Don't mention expected failure handling.
51750         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51751         (minus_zero): Likewise.
51752         (plus_infty): Likewise.
51753         (minus_infty): Likewise.
51754         (qnan_value): Likewise.
51755         (max_value): Likewise.
51756         (min_value): Likewise.
51757         (min_subnorm_value): Likewise.
51758         (initialize): Do not initialize those variables dynamically.
51760 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51762         * io/open.c (__open_2): Moved to ...
51763         * io/open_2.c: ... this new file.
51764         * io/open64.c (__open64_2): Moved to ...
51765         * io/open64_2.c: ... this new file.
51766         * io/openat.c (__openat_2): Moved to ...
51767         * io/openat_2.c: ... this new file.
51768         * io/openat64.c (__openat64_2): Moved to ...
51769         * io/openat64_2.c: ... this new file.
51770         * io/Makefile (routines): Add them.
51771         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51772         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51773         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51774         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51775         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51776         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51777         (__openat64): Add hidden_ver.
51778         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51779         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51781         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51782         Separately conditionalize setting of GLRO(dl_sysinfo) so
51783         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51784         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51786 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51788         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51789         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51790         definition.
51791         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51792         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51793         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51794         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51795         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51797 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51799         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51800         test signgam value.
51802         * math/libm-test.inc (hypot_test): Do not use
51803         IGNORE_ZERO_INF_SIGN.
51805 2013-05-03  Andreas Jaeger  <aj@suse.de>
51807         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51808         Linux 3.9.
51809         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51810         (PF_MAX): Adjust for VSOCK change.
51812 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51816 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51818         [BZ #15264]
51819         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51820         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51821         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51823 2013-05-02  David S. Miller  <davem@davemloft.net>
51825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51827 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51829         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51831 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51833         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51835 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51837         [BZ #14952]
51838         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51839         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51840         Use __attribute__ ((__gnu_inline__)).
51841         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51842         Don't use __attribute__ ((__gnu_inline__)).
51844 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51846         [BZ #15423]
51847         * math/s_catan.c (__catan): Handle small real or imaginary part of
51848         input specially to avoid spurious underflow.
51849         * math/s_catanf.c (__catanf): Likewise.
51850         * math/s_catanh.c (__catanh): Likewise.
51851         * math/s_catanhf.c (__catanhf): Likewise.
51852         * math/s_catanhl.c (__catanhl): Likewise.
51853         * math/s_catanl.c (__catanl): Likewise.
51854         * math/libm-test.inc (catan_test): Add more tests.
51855         (catanh_test): Likewise.
51856         * sysdeps/i386/fpu/libm-test-ulps: Update.
51857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51859 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51863 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51865         [BZ #15416]
51866         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51867         accurately for denominator in atan2.
51868         * math/s_catanf.c (__catanf): Likewise.
51869         * math/s_catanh.c (__catanh): Likewise.
51870         * math/s_catanhf.c (__catanhf): Likewise.
51871         * math/s_catanhl.c (__catanhl): Likewise.
51872         * math/s_catanl.c (__catanl): Likewise.
51873         * math/libm-test.inc (catan_test): Add more tests.
51874         (catanh_test): Likewise.
51875         * sysdeps/i386/fpu/libm-test-ulps: Update.
51876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51878 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51880         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51882         * benchtests/Makefile (bench): Remove slow benchmarks.
51883         * benchtests/atan-inputs: Add slow benchmark inputs.
51884         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51885         (BENCH_FUNC): Accept variant offset.
51886         (VARIANT): Define.
51887         * benchtests/bench-skeleton.c (main): Run benchmark for each
51888         variant.
51889         * benchtests/cos-inputs: Add slow benchmark inputs.
51890         * benchtests/exp-inputs: Likewise.
51891         * benchtests/pow-inputs: Likewise.
51892         * benchtests/sin-inputs: Likewise.
51893         * benchtests/slowatan-inputs: Remove.
51894         * benchtests/slowatan.c: Remove.
51895         * benchtests/slowcos-inputs: Remove.
51896         * benchtests/slowcos.c: Remove.
51897         * benchtests/slowexp-inputs: Remove.
51898         * benchtests/slowexp.c: Remove.
51899         * benchtests/slowpow-inputs: Remove.
51900         * benchtests/slowpow.c: Remove.
51901         * benchtests/slowsin-inputs: Remove.
51902         * benchtests/slowsin.c: Remove.
51903         * benchtests/slowtan-inputs: Remove.
51904         * benchtests/slowtan.c: Remove.
51905         * benchtests/tan-inputs: Add slow benchmark inputs.
51906         * scripts/bench.pl: Parse comments and directives.
51908         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51909         in CPPFLAGS.
51910         ($(objpfx)bench-%.c): Remove *-ITER.
51911         * benchtests/bench-modf.c: Remove definition of ITER.
51912         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51913         (main): Loop for DURATION seconds instead of fixed number of
51914         iterations.
51915         * scripts/bench.pl: Don't expect iterations in parameters.
51917 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51919         * io/fchdir.c (__fchdir): Renamed from fchdir.
51920         (fchdir): Define as weak alias.
51922 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51924         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51925         (ERRNO_EDOM): Likewise.
51926         (ERRNO_ERANGE): Likewise.
51927         (noErrnoTests): New variable.
51928         (init_max_error): Set errno to 0.
51929         (test_single_errno): New function.
51930         (test_errno): Likewise.
51931         (check_float_internal): Call test_errno.  Set errno to 0.
51932         (check_complex): Refer to errno tests in comment.
51933         (check_int): Call test_errno.  Set errno to 0.
51934         (check_long): Likewise.
51935         (check_bool): Likewise.
51936         (check_longlong): Likewise.
51937         (cos_test): Use ERRNO_* flags for errno tests instead of
51938         check_int.
51939         (expm1_test): Likewise.
51940         (fmod_test): Likewise.
51941         (ilogb_test): Likewise.
51942         (lgamma_test): Likewise.
51943         (pow_test): Likewise.
51944         (remainder_test): Likewise.
51945         (sin_test): Likewise.
51946         (tan_test): Likewise.
51947         (yn_test): Likewise.
51948         (initialize): Set errno to 0.
51949         (main): Print number of errno tests.
51950         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51952 2013-04-29  Andreas Jaeger  <aj@suse.de>
51954         [BZ #15084]
51955         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51956         and RES_USEVC.
51958         [BZ #15085]
51959         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51960         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51961         unimplemented.
51963         [BZ #15380]
51964         * stdlib/random.c (__initstate): Return NULL if
51965         __initstate fails.
51967         [BZ #15086]
51968         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51969         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51970         RES_SNGLKUPREOP.
51972 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51976 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51978         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51979         of individual tests.
51980         (casin_test): Likewise.
51981         (casinh_test): Likewise.
51983 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51985         [BZ #15409]
51986         * math/s_catan.c (__catan): Handle arguments with large real or
51987         imaginary part separately without squaring.
51988         * math/s_catanf.c (__catanf): Likewise.
51989         * math/s_catanh.c (__catanh): Likewise.
51990         * math/s_catanhf.c (__catanhf): Likewise.
51991         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51992         and redefine.
51993         (__catanhl): Handle arguments with large real or imaginary part
51994         separately without squaring.
51995         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51996         and redefine.
51997         (__catanl): Handle arguments with large real or imaginary part
51998         separately without squaring.
51999         * math/libm-test.inc (catan_test): Add more tests.
52000         (catanh_test): Likewise.
52001         * sysdeps/i386/fpu/libm-test-ulps: Update.
52002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52004 2013-04-27  Andreas Jaeger  <aj@suse.de>
52006         [BZ #15007]
52007         * stdlib/stdlib.h: Update guards for qecvt.
52008         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52009         <stdlib.h>.
52011 2013-04-27  Allan McRae  <allan@archlinux.org>
52013         * sysdeps/i386/fpu/libm-test-ulps: Update.
52015 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52017         [BZ #15406]
52018         * math/s_catan.c: Include <float.h>.
52019         (__catan): Ensure underflow exception occurs for underflowed
52020         result.
52021         * math/s_catanf.c: Include <float.h>.
52022         (__catanf): Ensure underflow exception occurs for underflowed
52023         result.
52024         * math/s_catanh.c: Include <float.h>.
52025         (__catanh): Ensure underflow exception occurs for underflowed
52026         result.
52027         * math/s_catanhf.c: Include <float.h>.
52028         (__catanhf): Ensure underflow exception occurs for underflowed
52029         result.
52030         * math/s_catanhl.c: Include <float.h>.
52031         (__catanhl): Ensure underflow exception occurs for underflowed
52032         result.
52033         * math/s_catanl.c: Include <float.h>.
52034         (__catanl): Ensure underflow exception occurs for underflowed
52035         result.
52036         * math/libm-test.inc (catan_test): Add more tests.
52037         (catanh_test): Likewise.
52039         [BZ #15405]
52040         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52041         underflowed result.
52042         * math/s_ccoshf.c (__ccoshf): Likewise.
52043         * math/s_ccoshl.c (__ccoshl): Likewise.
52044         * math/s_csin.c (__csin): Likewise.
52045         * math/s_csinf.c (__csinf): Likewise.
52046         * math/s_csinh.c (__csinh): Likewise.
52047         * math/s_csinhf.c (__csinhf): Likewise.
52048         * math/s_csinhl.c (__csinhl): Likewise.
52049         * math/s_csinl.c (__csinl): Likewise.
52050         * math/libm-test.inc (ccos_test): Add more tests.
52051         (ccosh_test): Likewise.
52052         (csin_test): Likewise.
52053         (csinh_test): Likewise.
52055 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52057         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52058         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52059         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52060         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52061         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52062         powerpc/power5+/fpu folders.
52063         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52066 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52068         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52070 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52072         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52073         additions to variable.
52074         [$(config-machine) = x86_64] (modules-names): Likewise.
52075         ($(objpfx)tst-audit3): Remove dependency.
52076         ($(objpfx)tst-audit3.out): Likewise.
52077         ($(objpfx)tst-audit4): Likewise.
52078         ($(objpfx)tst-audit4.out): Likewise.
52079         ($(objpfx)tst-audit5): Likewise.
52080         ($(objpfx)tst-audit5.out): Likewise.
52081         ($(objpfx)tst-audit6): Likewise.
52082         ($(objpfx)tst-audit6.out): Likewise.
52083         ($(objpfx)tst-audit7): Likewise.
52084         ($(objpfx)tst-audit7.out): Likewise.
52085         (tst-audit3-ENV): Remove variable.
52086         (tst-audit4-ENV): Likewise.
52087         (tst-audit5-ENV): Likewise.
52088         (tst-audit6-ENV): Likewise.
52089         (tst-audit7-ENV): Likewise.
52090         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52091         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52092         addition to variable.
52093         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52094         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52095         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52096         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52097         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52098         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52099         tst-audit3, tst-audit4 and tst-audit5.
52100         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52101         tst-audit6 and tst-audit7.
52102         [$(subdir) = elf] (modules-names): Add audit modules for those
52103         tests.
52104         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52105         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52106         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52107         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52108         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52109         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52110         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52111         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52112         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52113         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52114         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52115         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52116         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52117         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52118         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52119         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52120         Likewise.
52121         [$(subdir) = elf && $(config-cflags-avx) = yes]
52122         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52123         [$(subdir) = elf && $(config-cflags-avx) = yes]
52124         (CFLAGS-tst-auditmod4a.c): Likewise.
52125         [$(subdir) = elf && $(config-cflags-avx) = yes]
52126         (CFLAGS-tst-auditmod4b.c): Likewise.
52127         [$(subdir) = elf && $(config-cflags-avx) = yes]
52128         (CFLAGS-tst-auditmod6b.c): Likewise.
52129         [$(subdir) = elf && $(config-cflags-avx) = yes]
52130         (CFLAGS-tst-auditmod6c.c): Likewise.
52131         [$(subdir) = elf && $(config-cflags-avx) = yes]
52132         (CFLAGS-tst-auditmod7b.c): Likewise.
52133         * elf/tst-audit3.c: Move to ...
52134         * sysdeps/x86_64/tst-audit3.c: ... here.
52135         * elf/tst-audit4.c: Move to ...
52136         * sysdeps/x86_64/tst-audit4.c: ... here.
52137         * elf/tst-audit5.c: Move to ...
52138         * sysdeps/x86_64/tst-audit5.c: ... here.
52139         * elf/tst-audit6.c: Move to ...
52140         * sysdeps/x86_64/tst-audit6.c: ... here.
52141         * elf/tst-audit7.c: Move to ...
52142         * sysdeps/x86_64/tst-audit7.c: ... here.
52143         * elf/tst-auditmod3a.c: Move to ...
52144         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52145         * elf/tst-auditmod3b.c: Move to ...
52146         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52147         * elf/tst-auditmod4a.c: Move to ...
52148         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52149         * elf/tst-auditmod4b.c: Move to ...
52150         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52151         * elf/tst-auditmod5a.c: Move to ...
52152         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52153         * elf/tst-auditmod5b.c: Move to ...
52154         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52155         * elf/tst-auditmod6a.c: Move to ...
52156         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52157         * elf/tst-auditmod6b.c: Move to ...
52158         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52159         * elf/tst-auditmod6c.c: Move to ...
52160         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52161         * elf/tst-auditmod7a.c: Move to ...
52162         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52163         * elf/tst-auditmod7b.c: Move to ...
52164         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52166 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52168         [BZ #15366]
52169         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52170         define unconditionally.
52171         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52172         define unconditionally.
52173         (INT8_C, INT16_C, etc.): Likewise.
52175 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52177         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52178         __ehdr_start with hidden visibility.
52180         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52182 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52184         * math/libm-test.inc (cos_test): Use accurate hex constants.
52185         (sincost_test): Likewise.
52187 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52189         * math/libm-test.inc (catan_test): Add more tests.
52190         (catanh_test): Likewise.
52192         * math/s_catanf.c (__catanf): Use suffixed floating-point
52193         constants.
52194         * math/s_catanhf.c (__catanhf): Likewise.
52195         * math/s_catanhl.c (__catanhl): Likewise.
52196         * math/s_catanl.c (__catanl): Likewise.
52198         [BZ #15394]
52199         * math/s_catan.c (__catan): Calculate imaginary part of result
52200         with log1p not log unless computing log of number close to 0.
52201         * math/s_catanf.c (__catanf): Likewise.
52202         * math/s_catanl.c (__catanl): Likewise.
52203         * math/s_catanh.c (__catanh): Calculate real part of result with
52204         log1p not log unless computing log of number close to 0.
52205         * math/s_catanhf.c (__catanhf): Likewise.
52206         * math/s_catanhl.c (__catanhl): Likewise.
52207         * math/libm-test.inc (catan_test): Add more tests.
52208         (catanh_test): Likewise.
52209         * sysdeps/i386/fpu/libm-test-ulps: Update.
52210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52212 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52214         * benchtests/Makefile: Mention files in which fast and slow
52215         paths of math functions are implemented.
52217 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52219         * sysdeps/posix/timespec_get.c: New file.
52221 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52223         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52224         POWER.
52225         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52226         for POWER.
52227         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52228         powerpc/power5/fpu folders.
52229         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52230         * benchtests/Makefile: Add modf testcase.
52231         * benchtests/bench-modf.c: New file: Benchmark test for mo
52233 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52235         [BZ #14888]
52236         * time/Makefile (tests): Add tst-strptime-whitespace.
52237         * time/strptime_l.c (get_number): Use ISSPACE.
52238         (__strptime_internal): Likewise.
52239         * time/tst-strptime-whitespace.c: New test case.
52241 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52243         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52244         member.
52245         (_nss_files_init): Set it here.
52247 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52249         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52250         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52251         unsigned.
52253 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52255         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52257 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52259         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52260         size just once.
52262 2013-04-21  David S. Miller  <davem@davemloft.net>
52264         * po/ru.po: Update Russion translation from translation project.
52266 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52268         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52269         and setfsgid.
52271 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52273         * configure.in: Remove i386 configure warning. Remove i386 case.
52274         * configure: Regenerate.
52275         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52276         Add example to error message.
52277         * sysdeps/i386/configure: Regenerate.
52279 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52281         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52282         slowtan.
52283         * benchtests/cos-inputs: New file.
52284         * benchtests/slowcos-inputs: New file.
52285         * benchtests/slowcos.c: New file.
52286         * benchtests/slowtan-inputs: New file.
52287         * benchtests/slowtan.c: New file.
52288         * benchtests/tan-inputs: New file.
52290 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52292         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52293         considered kosher.
52295 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52297         * benchtests/Makefile: Include cppflags-iterator.mk to add
52298         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52300         * Makefile.in (bench-clean): New target.
52301         * benchtests/Makefile (bench-clean): Likewise.
52303 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52305         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52307 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52309         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52311 2013-04-15  Andreas Schwab  <schwab@suse.de>
52313         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52314         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52315         * nscd/pwdcache.c (cache_addpw): Likewise.
52316         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52317         more than recsize.
52319 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52321         * benchtests/Makefile (bench): Write all output to
52322         bench-out.tmp together.
52324 2013-04-15  Andreas Schwab  <schwab@suse.de>
52326         * nscd/nscd.c (main): Don't fork again after closing files.
52328 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52330         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52332         * benchtests/Rules (bench-deps): Collect dependencies into a
52333         single variable.  Add Makefile to dependencies.
52334         ($(objpfx)bench-%.c): Depend on bench-deps.
52336 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52337             Xavier Roche  <roche+kml2@exalead.com>
52339         [BZ #15361]
52340         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52341         just that it's a file descriptor.
52342         * manual/llio.texi (Synchronizing AIO Operations): Update description
52343         for EBADF error from aio_fsync.
52345 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52347         * Rules (bench): Move target definition...
52348         * benchtests/Makefile: ... here.
52350 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52352         * math/libm-test.inc (cos_test): Fix PI/2 test.
52353         (sincos_test): Likewise.
52354         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52355         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52357 2013-04-11  Andreas Schwab  <schwab@suse.de>
52359         [BZ #13988]
52360         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52361         accept exponent character only when digits were seen.
52362         * stdio-common/Makefile (tests): Add bug26.
52363         * stdio-common/bug26.c: New file.
52365         [BZ #14293]
52366         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52367         non-freeable.
52369 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52371         * Makeconfig (rtld-prefix): Define built linker prefix.
52372         * Rules (run-bench): Use it.
52373         * math/Makefile (run-regen-ulps): Likewise.
52375         * Rules (bench): Remove eval.
52377 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52378             Roland McGrath  <roland@hack.frob.com>
52379             Ondrej Bilka  <neleai@seznam.cz>
52381         [BZ #15346]
52382         * time/getdate.c: Include ctype.h and alloca.h.
52383         (__getdate_r): Trim leading and trailing spaces of input.
52384         * time/tst-getdate.c (tests): Add tests with leading and
52385         trailing spaces.
52387 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52389         [BZ #14280]
52390         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52391         when computing value.
52393 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52395         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52396         Use testrun.sh to run libm tests.
52398         [BZ #15309]
52399         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52401 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52403         [BZ #15264]
52404         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52406 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52408         * Makefile.in (regen-ulps): New target.
52409         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52410         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52411         [ifneq (no,$(PERL)] (regen-ulps): New target.
52412         [ifeq (no,$(PERL)] (regen-ulps): New target.
52413         * math/libm-test.inc (ulps_file_name): Define.
52414         (output_dir): New variable.
52415         (options): Add "output-dir" option.
52416         (parse_opt): Handle 'o' case.
52417         (main): If output_dir is non-NULL use it as a prefix
52418         otherwise use "".
52419         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52421 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52423         [BZ #10060, #10062]
52424         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52425         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52426         fail configure if __sync_val_compare_and_swap is not inlined.
52427         * sysdeps/i386/configure: Regenerate.
52428         * configure.in: Build for i686 when configured for i386.
52429         * configure: Regenerate.
52430         * README: Remove i386 reference.
52432 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52434         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52435         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52437 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52439         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52440         (lmsnanval): New variables.
52441         (F): Add conversion tests.
52442         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52443         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52445         * stdio-common/tstdiomisc.c (F): Properly collect individual
52446         tests' results.
52448         [BZ #14686, #15336]
52449         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52450         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52451         Instead, use input NaN values or generate a qNaN by arithmetic
52452         operation.  Also fix bugs to comply with the standard.
52453         * math/libm-test.inc (remainder_test): Add more tests.
52455         [BZ #15335, #15342]
52456         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52457         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52458         input NaN values or generate a qNaN by arithmetic operation.
52460         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52461         unreachable code.
52463         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52464         definitions.
52466 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52468         [BZ #14478]
52469         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52470         underflowed result.
52471         * math/s_cexpf.c (__cexpf): Likewise.
52472         * math/s_cexpl.c (__cexpl): Likewise.
52473         * math/libm-test.inc (cexp_test): Add more tests.
52475 2013-04-03  Andreas Schwab  <schwab@suse.de>
52477         [BZ #15330]
52478         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52479         order arrays from heap if bigger than alloca cutoff.
52481 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52483         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52484         (SNAN_TESTS_double): Refer to GCC PR56831.
52485         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52486         GCC PR56828.
52488 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52490         * Rules (bench): Move bench.out after the run is complete.
52492         * Rules (bench): Echo currently running benchmark.
52494         * benchtests/Makefile (bench): Add atan and slowatan.
52495         * benchtests/atan-inputs: New file.
52496         * benchtests/slowatan-inputs: New file.
52497         * benchtests/slowatan.c: New file.
52499         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52500         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52501         its value.
52503         [BZ #15305]
52504         * sysdeps/unix/sysv/linux/kernel-features.h
52505         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52506         __ASSUME_XFS_RESTRICTED_CHOWN.
52507         * sysdeps/unix/sysv/linux/pathconf.c
52508         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52509         Save and restore errno.
52511 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52513         [BZ #15327]
52514         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52515         arguments using __kernel_casinh.
52516         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52517         arguments using __kernel_casinhf.
52518         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52519         arguments using __kernel_casinhl.
52520         * math/libm-test.inc (cacosh_test): Add more tests.
52521         * sysdeps/i386/fpu/libm-test-ulps: Update.
52522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52524 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52526         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52527         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52529         * bench/Makefile (bench): Add sin and slowsin.
52530         * benchtests/sin-inputs: New file.
52531         * benchtests/slowsin-inputs: New file.
52532         * benchtests/slowsin.c: New file.
52534         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52535         (bench): Add slowexp and slowpow.
52536         (exp-ITER): Increase iterations.
52537         (pow-ITER): Likewise.
52538         * benchtests/exp-inputs: Change input.
52539         * benchtests/pow-inputs: Likewise.
52540         * benchtests/slowexp-inputs: New file.
52541         * benchtests/slowexp.c: New file.
52542         * benchtests/slowpow-inputs: New file.
52543         * benchtests/slowpow.c: New file.
52545 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52547         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52548         instructions.
52549         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52550         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52551         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52552         * benchtests/Makefile: Add rint benchtest.
52553         * benchtests/rint-inputs: Input for rint benchtest.
52555 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52557         * Versions.def (libm): Add GLIBC_2.18.
52558         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52559         hidden libm prototypes.
52560         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52561         * math/Makefile (libm-calls): Add s_issignaling.
52562         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52563         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52564         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52565         declaration.
52566         * math/math.h [__USE_GNU] (issignaling): New macro.
52567         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52568         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52569         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52570         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52571         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52572         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52573         * manual/arith.texi (issignaling): New section.
52574         * manual/libm-err-tab.pl (@all_functions): Update comment.
52575         * math/gen-libm-test.pl (parse_args): Apply special handling for
52576         issignaling.
52577         * math/libm-test.inc (print_float, issignaling_test): New
52578         functions.
52579         (check_float_internal): Add issignaling checks.
52580         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52581         default definition.
52582         * sysdeps/powerpc/math-tests.h: New file.
52583         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52584         tests.
52585         * math/test-snan.c (TEST_FUNC): Likewise.
52587 2013-03-30  David S. Miller  <davem@davemloft.net>
52589         * po/de.po: Update from translation team.
52591 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52593         [BZ #10357]
52594         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52595         imaginary part less than 1.0 and real part less than 0.5
52596         specially.
52597         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52598         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52599         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52600         (cacos_test): Add more tests.
52601         (casin_test): Likewise.
52602         (casinh_test): Likewise.
52603         * sysdeps/i386/fpu/libm-test-ulps: Update.
52604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52606 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52608         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52609         ONE with its value.
52611         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52612         (__pow_mp): Replace ONE and MONE with their values.
52613         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52614         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52615         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52616         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52617         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52618         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52620         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52622         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52623         (__pow_mp): Replace ZERO and MZERO with their values.
52624         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52625         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52626         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52627         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52628         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52629         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52630         (__sqr): Likewise.
52632         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52634         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52636 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52638         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52639         Declare with __attribute__ ((weak)).
52640         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52641         Call __call_tls_dtors only if it's not NULL.
52643 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52645         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52646         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52647         magic __ehdr_start linker symbol if it's defined.
52648         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52649         them up here if it was already done.
52651         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52652         (_dl_aux_init): Use const in cast when setting it.
52653         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52654         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52655         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52657         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52658         Declare them here.
52659         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52660         * csu/libc-tls.c: Nor here.
52661         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52663         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52664         (__libc_message): Never call vsyslog.
52666 2013-03-28  Alan Modra  <amodra@gmail.com>
52668         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52669         Define as empty.
52670         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52671         Likewise.
52673 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52675         [BZ #15214]
52676         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52677         underflow.
52678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52680 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52682         [BZ #15304]
52683         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52684         Don't add gid passed as argument.
52686         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52688 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52690         [BZ #15307]
52691         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52692         imaginary part between 1.0 and 1.5 and real part less than 0.5
52693         specially.
52694         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52695         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52696         * math/libm-test.inc (cacos_test): Add more tests.
52697         (casin_test): Likewise.
52698         (casinh_test): Likewise.
52699         * sysdeps/i386/fpu/libm-test-ulps: Update.
52700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52702 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52704         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52705         constants.
52706         (norm): Likewise.
52707         (denorm): Likewise.
52708         (__dbl_mp): Likewise.
52709         (add_magnitudes): Likewise.
52710         (sub_magnitudes): Likewise.
52711         (__add): Likewise.
52712         (__sub): Likewise.
52713         (__mul): Likewise.
52714         (__sqr): Likewise.
52715         (__inv): Likewise.
52716         (__dvd): Likewise.
52718         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52719         commented code.
52720         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52721         (__dubcos): Likewise.
52722         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52723         (__ieee754_acos): Likewise.
52724         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52725         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52726         (__exp1): Likewise.
52727         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52728         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52729         (log1): Likewise.
52730         (my_log2): Likewise.
52731         (checkint): Likewise.
52732         * sysdeps/ieee754/dbl-64/e_remainder.c
52733         (__ieee754_remainder): Likewise.
52734         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52735         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52736         (bsloww): Likewise.
52737         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52739         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52740         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52741         MANTISSA_STORE_T to store computations on mantissa.  Use
52742         macros for rounding and division.
52743         (denorm): Likewise.
52744         (__dbl_mp): Likewise.
52745         (add_magnitudes): Likewise.
52746         (sub_magnitudes): Likewise.
52747         (__mul): Likewise.
52748         (__sqr): Likewise.
52749         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52750         powers of two in terms of TWOPOW macro.
52751         (mp_no): Make type of mantissa as MANTISSA_T.
52752         [!RADIXI]: Define RADIXI.
52753         [!TWO52]: Define TWO52.
52754         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52756 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52758         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52759         llroundl symbol when building for PPC32.
52761 2013-03-24  Mark H Weaver  <mhw@netris.org>
52763         * manual/arith.texi (Normalization Functions): Fix prototypes for
52764         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52766 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52768         [BZ #13889]
52769         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52770         high value to check if expl overflow.
52771         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52772         to check for underflow and overflow.
52773         * math/libm-test.inc: Add exp test.
52775 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52777         [BZ #11120]
52778         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52779         with NOT_IN_libc.
52781 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52783         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52784         symbol.
52786 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52788         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52789         wrap blocks consisting of several statements.
52791         * sysdeps/generic/math-tests.h: New file.
52792         * sysdeps/i386/fpu/math-tests.h: Likewise.
52793         * math/test-snan.c: Include it.
52794         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52796 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52798         [BZ #15285]
52799         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52800         (__ieee754_j0l): Do not improve calculations using cos of twice
52801         input for inputs above LDBL_MAX / 2.0L.
52802         (__ieee754_y0l): Likewise.
52803         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52804         (__ieee754_j1l): Do not improve calculations using cos of twice
52805         input for inputs above LDBL_MAX / 2.0L.
52806         (__ieee754_y1l): Likewise.
52807         * math/libm-test.inc (j0_test): Add another test.
52808         (j1_test): Likewise.
52809         (y0_test): Likewise.
52810         (y1_test): Likewise.
52811         * sysdeps/i386/fpu/libm-test-ulps: Update.
52813 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52815         * Rules ($(objpfx)bench-%.c): Include code from a C source
52816         file.
52818 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52820         [BZ #15287]
52821         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52822         imaginary part 1.0 and real part less than 0.5 specially.
52823         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52824         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52825         * math/libm-test.inc (cacos_test): Add more tests.
52826         (casin_test): Likewise.
52827         (casinh_test): Likewise.
52828         * sysdeps/i386/fpu/libm-test-ulps: Update.
52829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52831 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52833         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52834         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52836 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52838         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52839         * config.make.in (config-cflags-sse4): Remove variable.
52840         (config-cflags-avx): Likewise.
52841         (config-cflags-sse2avx): Likewise.
52842         (config-cflags-novzeroupper): Likewise.
52843         (config-asflags-i686): Likewise.
52844         (have-mfma4): Likewise.
52845         (have-as-vis3): Likewise.
52846         (MIG): Likewise.
52847         * configure.in (MIG): Do not AC_SUBST.
52848         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52849         (libc_cv_cc_sse4): Do not AC_SUBST.
52850         (libc_cv_cc_avx): Likewise.
52851         (libc_cv_cc_sse2avx): Likewise.
52852         (libc_cv_cc_novzeroupper): Likewise.
52853         (libc_cv_cc_fma4): Likewise.
52854         (libc_cv_as_i686): Likewise.
52855         (libc_cv_sparc_as_vis3): Likewise.
52856         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52857         LIBC_CONFIG_VAR.
52858         (config-asflags-i686): Likewise.
52859         (config-cflags-avx): Likewise.
52860         (config-cflags-sse2avx): Likewise.
52861         (have-mfma4): Likewise.
52862         (config-cflags-novzeroupper): Likewise.
52863         * sysdeps/mach/configure.in (MIG): Likewise.
52864         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52865         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52866         LIBC_CONFIG_VAR.
52867         (config-cflags-avx): Likewise.
52868         (config-cflags-sse2avx): Likewise.
52869         (have-mfma4): Likewise.
52870         (config-cflags-novzeroupper): Likewise.
52871         * configure: Regenerated.
52872         * sysdeps/i386/configure: Likewise.
52873         * sysdeps/mach/configure: Likewise.
52874         * sysdeps/sparc/configure: Likewise.
52875         * sysdeps/x86_64/configure: Likewise.
52877 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52879         [BZ #14812]
52880         * locale/programs/localedef.c (options): Put N_ translation marker
52881         on argument names, not just descriptions.
52883 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52885         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52887 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52889         [BZ #14176]
52890         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52892 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52894         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52895         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52896         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52897         [!BEFORE_ABORT] (before_abort): New function.
52898         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52899         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52900         (writev_for_fatal): New function.
52901         (WRITEV_FOR_FATAL): New macro; call that.
52902         (backtrace_and_maps): New function.
52903         (BEFORE_ABORT): New macro; call that.
52904         (struct str_list): Type removed.
52905         (__libc_message, __libc_fatal): Functions removed.
52906         Include <sysdeps/posix/libc_fatal.c> instead.
52908 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52910         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52911         constants.
52912         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52913         double constants.
52915 2013-03-19  Andreas Schwab  <schwab@suse.de>
52917         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52918         * sysdeps/gnu/configure: Regenerate.
52920         * configure.in: Substitute libc_cv_rtlddir.
52921         * configure: Regenerate.
52922         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52923         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52924         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52925         * elf/Makefile (install-others, CFLAGS-interp.c)
52926         (ldso_install, common-ldd-rewrite): Likewise.
52927         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52928         $(inst_slibdir)/$(rtld-installed-name).
52929         * scripts/rellns-sh: Add -p option.
52930         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52931         for source.
52933 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52935         * manual/nptl.texi: Renamed to ...
52936         * manual/threads.texi: ... this.
52937         * manual/Makefile (chapters): Update.
52939 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52941         [BZ #14812]
52942         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52943         on argument names, not just descriptions.
52944         * malloc/memusagestat.c (options): Likewise.
52945         * nss/getent.c (options): Likewise.
52947 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52949         [BZ #14812]
52950         * iconv/iconv_prog.c (options): Put N_ translation marker
52951         on argument names, not just descriptions.
52952         * iconv/iconvconfig.c (options): Likewise.
52954 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52956         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52957         implementation which is faster on all x86_64 architectures.
52958         Tested on AMD, Intel Nehalem, SNB, IVB.
52959         * sysdeps/x86_64/strnlen.S: Likewise.
52961         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52962         Remove all multiarch strlen and strnlen versions.
52963         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52964         Remove strlen and strnlen related parts.
52966         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52967         Inline strlen part.
52968         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52970         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52971         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52972         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52973         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52974         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52975         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52977 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52979         * manual/memory.texi (Malloc Tunable Parameters):
52980         Sort parameters alphabetically. Add comments for missing entries.
52982 2013-03-17  David S. Miller  <davem@davemloft.net>
52984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52986 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52988         [BZ #15283]
52989         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52990         for arguments at most half maximum finite value.
52991         * math/libm-test.inc (j0_test): Add more tests.
52992         (j1_test): Likewise.
52993         (y0_test): Likewise.
52994         (y1_test): Likewise.
52995         * sysdeps/i386/fpu/libm-test-ulps: Update.
52996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52998         [BZ #14155]
52999         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53000         1 / x and functions P and Q for arguments above 0x1p256L.
53001         (__ieee754_y0l): Likewise.
53002         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53003         (__ieee754_y1l): Likewise.
53004         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53005         (j1_test): Likewise.
53006         (y0_test): Likewise.
53007         (y1_test): Likewise.
53009 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53011         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53012         variable.
53014 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53016         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53017         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53018         zero since it's initialized to EXEC_PAGESIZE.
53020         * sysdeps/unix/sysv/linux/ldsodefs.h
53021         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53022         * sysdeps/generic/ldsodefs.h: ... here.
53024 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53026         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53028         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53029         math/test-snan.c.
53030         * math/test-snan.c: Renamed from
53031         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53032         * math/Makefile (tests): Add test-snan.
53033         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53034         test-powerpc-snan.
53036         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53037         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53038         functions.
53039         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53040         __builtin_nan family of functions.
53041         * math/libm-test.inc (initialize): Initialize qnan_value with
53042         __builtin_nan family of functions.
53043         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53044         Remove variables.
53045         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53046         Remove functions.
53047         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53048         storage class.  Initialize qNaN_var and sNaN_var with
53049         __builtin_nan and __builtin_nans families of functions,
53050         respectively.
53052         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53053         (sqrt_test): Remove duplicate test with qNaN input.
53054         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53055         (round_test, signbit_test, significand_test): Note missing +/-Inf
53056         as well as qNaN tests.
53058         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53059         qNaN_var.  Fix a few strings, too.
53060         * math/libm-test.inc (nan_value): Rename to qnan_value.
53061         * math/gen-libm-test.pl (%beautify): Adjust to that.
53062         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53063         * math/test-misc.c (main): Likewise.
53064         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53065         to __qnan_bytes, and __qnan_union, respectively.
53066         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53067         Likewise.
53068         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53069         and lqnanval, respectively.
53070         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53071         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53072         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53073         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53075         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53076         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53077         doubles.
53079         * math/test-misc.c (main): Fix copy'n'pastos.
53080         * misc/tst-efgcvt.c (special): Likewise.
53082         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53083         Remove declarations.
53085 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53087         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53088         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53089         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53090         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53092 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53094         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53095         macro to return vdso values correctly in IFUNC implementations.
53096         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53097         Optimization by using IFUNC.
53099 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53100             Richard Henderson  <rth@redhat.com>
53101             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53103         * Makefile.in (bench): New target.
53104         * NEWS: Mention the benchmark framework.
53105         * Rules (bench): Likewise.
53106         (binaries-bench): Generate binaries for functions to
53107         benchmark.
53108         * benchtests/Makefile: New makefile for benchmark tests.
53109         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53110         programs.
53111         * benchtests/exp-inputs: New input file for EXP function.
53112         * benchtests/pow-inputs: New input file for POW function.
53113         * scripts/bench.pl: New script to generate source files for
53114         benchmark programs.
53116 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53118         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53119         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53120         computations on mantissa.  Use macros for rounding and
53121         division.
53122         (denorm): Likewise.
53123         (__dbl_mp): Likewise.
53124         (add_magnitudes): Likewise.
53125         (sub_magnitudes): Likewise.
53126         (__mul): Likewise.
53127         (__sqr): Likewise.
53128         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53129         powers of two in terms of TWOPOW macro.
53130         (mp_no): Make type of mantissa as MANTISSA_T.
53131         [!RADIXI]: Define RADIXI.
53132         [!TWO52]: Define TWO52.
53133         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53135         * manual/nptl.texi (cindex): Modify threads to pthreads.
53137 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53139         * sysdeps/x86_64/preconfigure: Regenerated.
53141 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53143         [BZ #14155]
53144         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53145         0x1p28 and above.
53146         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53147         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53148         0x1p28 and above.
53149         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53150         * math/libm-test.inc (j0_test): Do not allow one spurious
53151         underflow exception.
53152         (y1_test): Likewise.
53154 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53156         * manual/Makefile (chapters): Add nptl.
53157         * manual/debug.texi (Debugging Support): Add link to Threads
53158         chapter.
53159         * manual/nptl.texi: New file.
53161         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53163 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53165         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53166         for non-NULL pointer before the memory validity test. Pointed
53167         out by Holger Brunck <holger.brunck@keymile.com>.
53169 2013-03-13  Andreas Schwab  <schwab@suse.de>
53171         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53172         instead of .os.
53174 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53176         * timezone/zic.c: Update from tzcode 2013b.
53178 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53180         * manual/install.texi (Configuring and compiling):
53181         Mention i686 and i586.
53182         * INSTALL: Regenerate.
53184 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53186         * sysdeps/init_array/elf-init.c: New file.
53187         * csu/elf-init.c
53188         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53189         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53191         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53192         __gmon_start__ as global, but as static with a .preinit_array pointer.
53193         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53194         * sysdeps/init_array/crti.S: New file, empty except for comments.
53195         * sysdeps/init_array/crtn.S: Likewise.
53197 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53199         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53200         definining bcopy.
53201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53202         Remove Prefer_SSE_for_memop.
53203         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53204         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53205         HAS_PREFER_SSE_FOR_MEMOP.
53206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53207         memset-x86-64.
53208         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53209         Remove bzero, memset ifunc support.
53210         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53211         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53212         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53213         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53215 2013-03-11  Andreas Schwab  <schwab@suse.de>
53217         [BZ #15234]
53218         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53219         by SHLIB_COMPAT.
53220         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53221         (GLIBC_2.16): Remove pthread_atfork.
53223 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53225         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53226         (ptestcases.h): Likewise.
53228 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53230         * Makeconfig ($(common-objpfx)config.status): Depend on
53231         sysdeps/*/preconfigure{,.in} too.
53233 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53235         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53236         (__free_hook): Use void * instead of __malloc_ptr_t.
53237         (__malloc_hook): Likewise.
53238         (__realloc_hook): Likewise.
53239         (__memalign_hook): Likewise.
53240         (__after_morecore_hook): Likewise.
53241         * malloc/arena.c (save_malloc_hook): Likewise.
53242         (save_free_hook): Likewise.
53243         * malloc/hooks.c (malloc_hook_ini): Likewise.
53244         (realloc_hook_ini): Likewise.
53245         (memalign_hook_ini): Likewise.
53246         * malloc/malloc.c (malloc_hook_ini): Likewise.
53247         (realloc_hook_ini): Likewise.
53248         (memalign_hook_ini): Likewise.
53249         (__free_hook): Likewise.
53250         (__malloc_hook): Likewise.
53251         (__realloc_hook): Likewise.
53252         (__memalign_hook): Likewise.
53253         (__libc_malloc): Likewise.
53254         (__libc_free): Likewise.
53255         (__libc_realloc): Likewise.
53256         (__libc_memalign): Likewise.
53257         (__libc_valloc): Likewise.
53258         (__libc_pvalloc): Likewise.
53259         (__libc_calloc): Likewise.
53260         (__posix_memalign): Likewise.
53261         * malloc/morecore.c (__sbrk): Likewise.
53262         (__default_morecore): Likewise.
53264         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53266         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53267         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53268         __malloc_ptrdiff_t.
53270         * malloc/malloc.h (__malloc_size_t): Remove macro.
53271         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53272         __malloc_size_t.
53273         (old_memalign_hook): Likewise.
53274         (old_realloc_hook): Likewise.
53275         (struct hdr): Likewise.
53276         (flood): Likewise.
53277         (mallochook): Likewise.
53278         (memalignhook): Likewise.
53279         (reallochook): Likewise.
53280         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53281         (tr_old_realloc_hook): Likewise.
53282         (tr_old_memalign_hook): Likewise.
53283         (tr_mallochook): Likewise.
53284         (tr_reallochook): Likewise.
53285         (tr_memalignhook): Likewise.
53287 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53289         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53290         default_ldbl_pack and using as default implementation.
53291         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53292         implementation.
53293         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53294         redundant definition.
53295         (ldbl_insert_mantissa): Likewise.
53296         (ldbl_canonicalize): Likewise.
53297         (ldbl_nearbyint): Likewise.
53298         (ldbl_pack): Rename to ldbl_pack_ppc.
53299         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53300         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53301         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53303 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53305         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53306         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53307         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53308         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53309         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53310         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53311         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53312         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53314 2013-03-07  Andreas Jaeger  <aj@suse.de>
53316         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53317         bits/mman-linux.h.
53319 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53321         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53322         Include mpa.h and declare __MPEXP.
53323         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53324         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53325         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53326         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53327         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53328         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53329         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53331         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53332         (__slowpow): Use long double EXPL and LOGL functions to
53333         compute POW.
53334         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53335         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53336         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53337         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53338         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53339         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53341         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53342         intermediate variable to calculate exponent.
53343         (__sqr): Likewise.
53344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53345         Likewise.
53346         (__sqr): Likewise.
53348         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53349         [!NO__SQR]: Define __sqr.
53350         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53351         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53352         sysdeps/ieee754/dbl-64/mpa.c.
53353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53355         [BZ #12723]
53356         * posix/Makefile (tests): Add tst-pathconf.
53357         * posix/tst-pathconf.c: New test case.
53358         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53359         _PC_PIPE_BUF.
53360         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53362 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53364         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53366 2013-03-06  Andreas Jaeger  <aj@suse.de>
53368         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53369         definition via __MAP_ANONYMOUS.
53371         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53372         it's not part of Linux headers.
53374         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53375         (MAP_HUGE_MASK): Define.
53377         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53378         Define.
53379         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53380         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53381         Define.
53382         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53383         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53384         Define.
53385         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53386         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53387         Define.
53388         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53390         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53391         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53392         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53393         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53394         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53395         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53397         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53398         Handle f2fs.
53400         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53401         Handle f2fs and efivarfs.
53403         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53404         f2fs.
53406         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53407         (EFIVARFS_MAGIC): Add.
53408         (F2FS_LINK_MAX): Add.
53410 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53412         * stdio-common/vfprintf.c: Replace __builtin_expect with
53413         __glibc_unlikely.
53415 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53417         [BZ #13550]
53418         * sysdeps/generic/bp-sym.h: Remove file.
53419         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53420         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53421         <bp-sym.h> and <bp-asm.h>.
53422         (__longjmp): Don't use BP_SYM.
53423         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53424         and <bp-asm.h>.
53425         (memcpy): Don't use BP_SYM.
53426         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53427         <bp-sym.h> and <bp-asm.h>.
53428         (memcpy): Don't use BP_SYM.
53429         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53430         <bp-asm.h>.
53431         (memcpy): Don't use BP_SYM.
53432         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53433         <bp-asm.h>.
53434         (memset): Don't use BP_SYM.
53435         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53436         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53437         (__bzero): Don't use BP_SYM.
53438         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53439         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53440         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53441         <bp-sym.h> and <bp-asm.h>.
53442         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53443         pointers.
53444         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53445         <bp-sym.h> and <bp-asm.h>.
53446         (memcpy): Don't use BP_SYM.
53447         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53448         <bp-sym.h> and <bp-asm.h>.
53449         (memset): Don't use BP_SYM.
53450         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53451         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53452         (__bzero): Don't use BP_SYM.
53453         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53454         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53455         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53456         <bp-sym.h> and <bp-asm.h>.
53457         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53458         pointers.
53459         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53460         <bp-sym.h> and <bp-asm.h>.
53461         (memcpy): Don't use BP_SYM.
53462         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53463         <bp-sym.h> and <bp-asm.h>.
53464         (memset): Don't use BP_SYM.
53465         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53466         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53467         (__bzero): Don't use BP_SYM.
53468         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53469         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53470         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53471         <bp-sym.h> and <bp-asm.h>.
53472         (__memchr): Don't use BP_SYM.
53473         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53474         <bp-sym.h> and <bp-asm.h>.
53475         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53476         pointers.
53477         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53478         <bp-sym.h> and <bp-asm.h>.
53479         (memcpy): Don't use BP_SYM.
53480         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53481         <bp-sym.h> and <bp-asm.h>.
53482         (__mempcpy): Don't use BP_SYM.
53483         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53484         <bp-sym.h> and <bp-asm.h>.
53485         (__memrchr): Don't use BP_SYM.
53486         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53487         <bp-sym.h> and <bp-asm.h>.
53488         (memset): Don't use BP_SYM.
53489         (__bzero): Likewise.
53490         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53491         <bp-sym.h> and <bp-asm.h>.
53492         (__rawmemchr): Don't use BP_SYM.
53493         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53494         <bp-sym.h> and <bp-asm.h>.
53495         (__STRCMP): Don't use BP_SYM.
53496         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53497         <bp-sym.h> and <bp-asm.h>.
53498         (strchr): Don't use BP_SYM.
53499         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53500         <bp-sym.h> and <bp-asm.h>.
53501         (__strchrnul): Don't use BP_SYM.
53502         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53503         <bp-sym.h> and <bp-asm.h>.
53504         (strlen): Don't use BP_SYM.
53505         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53506         <bp-sym.h> and <bp-asm.h>.
53507         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53508         pointers.
53509         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53510         <bp-sym.h> and <bp-asm.h>.
53511         (__strnlen): Don't use BP_SYM.
53512         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53513         <bp-sym.h> and <bp-asm.h>.
53514         (__GI__setjmp): Don't use BP_SYM.
53515         (_setjmp): Likewise.
53516         (__sigsetjmp): Likewise.
53517         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53518         (L(start_addresses)): Don't use BP_SYM.
53519         (_start): Likewise.
53520         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53521         <bp-asm.h>.
53522         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53523         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53524         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53525         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53526         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53527         <bp-asm.h>.
53528         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53529         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53530         about bounded pointers.
53531         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53532         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53533         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53534         <bp-asm.h>.
53535         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53536         about bounded pointers.  Remove GKM FIXME comments.
53537         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53538         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53539         <bp-asm.h>.
53540         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53541         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53542         Remove GKM FIXME comments.
53543         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53544         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53545         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53546         <bp-asm.h>.
53547         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53548         about bounded pointers.  Remove GKM FIXME comment.
53549         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53550         and <bp-asm.h>.
53551         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53552         pointers.
53553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53554         <bp-sym.h> and <bp-asm.h>.
53555         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53557         <bp-sym.h> and <bp-asm.h>.
53558         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53559         comment.
53561 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53563         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53564         call free(NULL).
53566 2013-03-05  David S. Miller  <davem@davemloft.net>
53568         * po/es.po: Update from translation team.
53570 2013-03-05  Andreas Jaeger  <aj@suse.de>
53572         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53573         <bits/mman-linux.h>.
53574         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53575         is fine.
53576         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53577         <bits/mman-linux.h> to end of file.
53578         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53579         is fine.
53580         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53581         <bits/mman-linux.h> to end of file.
53582         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53583         is fine.
53584         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53585         <bits/mman-linux.h> to end of file.
53587         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53588         (MCL_CURRENT, MCL_FUTURE): Define here.
53590 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53592         [BZ #15232]
53593         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53594         attribute_hidden.
53595         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53597 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53599         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53600         fourth parameter needed for rt_sigprocmask syscall.
53601         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53602         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53603         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53604         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53605         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53606         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53608 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53610         [BZ #13550]
53611         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53612         comment about bounded pointers.
53613         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53614         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53616 2013-03-04  Andreas Jaeger  <aj@suse.de>
53618         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53619         common definitions.
53621         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53622         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53623         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53624         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53625         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53626         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53628 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53630         [BZ #15055]
53631         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53632         __ieee754_sqrl instead of __sqrl.
53634 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53636         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53637         * sysdeps/powerpc/fpu_control.h: ... here.
53638         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53639         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53640         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53641         * sysdeps/powerpc/bits/mathinline.h: ... here.
53643 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53645         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53646         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53647         to just [NEED_DL_SYSINFO_DSO].
53648         * elf/dl-support.c: Likewise.
53649         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53650         * elf/rtld.c (dl_main): Likewise.
53651         * elf/setup-vdso.h (setup_vdso): Likewise.
53652         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53653         * sysdeps/unix/sysv/linux/dl-sysdep.c
53654         (_dl_discover_osversion): Likewise.
53656 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53658         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53659         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53661 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53663         * NEWS: Mention libm performance improvements and non-x86 PI
53664         futex support.
53666         * csu/libc-start.c (__pthread_initialize_minimal): Change
53667         function arguments.
53668         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53670 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53672         [BZ #13550]
53673         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53674         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53675         <bp-sym.h> and <bp-asm.h>.
53676         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53677         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53678         and <bp-asm.h>.
53679         (memcpy): Don't use BP_SYM.
53680         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53681         <bp-asm.h>.
53682         (__mpn_add_n): Don't use BP_SYM.
53683         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53684         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53685         and <bp-asm.h>.
53686         (__mpn_addmul_1): Don't use BP_SYM.
53687         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53688         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53689         <bp-sym.h>.
53690         (_setjmp): Don't use BP_SYM.
53691         (__novmx_setjmp): Likewise.
53692         (__GI__setjmp): Likewise.
53693         (__vmx_setjmp): Likewise.
53694         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53695         <bp-sym.h>.
53696         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53697         (__bzero): Don't use BP_SYM.
53698         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53699         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53700         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53701         <bp-sym.h> and <bp-asm.h>.
53702         (memcpy): Don't use BP_SYM.
53703         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53704         <bp-sym.h> and <bp-asm.h>.
53705         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53706         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53707         <bp-sym.h> and <bp-asm.h>.
53708         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53709         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53710         <bp-asm.h>.
53711         (__mpn_lshift): Don't use BP_SYM.
53712         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53713         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53714         <bp-asm.h>.
53715         (memset): Don't use BP_SYM.
53716         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53717         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53718         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53719         <bp-asm.h>.
53720         (__mpn_mul_1): Don't use BP_SYM.
53721         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53722         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53723         <bp-sym.h> and <bp-asm.h>.
53724         (memcmp): Don't use BP_SYM.
53725         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53726         <bp-sym.h> and <bp-asm.h>.
53727         (memcpy): Don't use BP_SYM.
53728         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53729         <bp-sym.h> and <bp-asm.h>.
53730         (memset): Don't use BP_SYM.
53731         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53732         <bp-sym.h> and <bp-asm.h>.
53733         (strncmp): Don't use BP_SYM.
53734         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53735         <bp-sym.h> and <bp-asm.h>.
53736         (memcpy): Don't use BP_SYM.
53737         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53738         <bp-sym.h> and <bp-asm.h>.
53739         (memset): Don't use BP_SYM.
53740         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53741         <bp-sym.h> and <bp-asm.h>.
53742         (__memchr): Don't use BP_SYM.
53743         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53744         <bp-sym.h> and <bp-asm.h>.
53745         (memcmp): Don't use BP_SYM.
53746         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53747         <bp-sym.h> and <bp-asm.h>.
53748         (memcpy): Don't use BP_SYM.
53749         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53750         <bp-sym.h> and <bp-asm.h>.
53751         (__mempcpy): Don't use BP_SYM.
53752         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53753         <bp-sym.h> and <bp-asm.h>.
53754         (__memrchr): Don't use BP_SYM.
53755         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53756         <bp-sym.h> and <bp-asm.h>.
53757         (memset): Don't use BP_SYM.
53758         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53759         <bp-sym.h> and <bp-asm.h>.
53760         (__rawmemchr): Don't use BP_SYM.
53761         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53762         <bp-sym.h> and <bp-asm.h>.
53763         (__STRCMP): Don't use BP_SYM.
53764         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53765         <bp-sym.h> and <bp-asm.h>.
53766         (strchr): Don't use BP_SYM.
53767         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53768         <bp-sym.h> and <bp-asm.h>.
53769         (__strchrnul): Don't use BP_SYM.
53770         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53771         <bp-sym.h> and <bp-asm.h>.
53772         (strlen): Don't use BP_SYM.
53773         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53774         <bp-sym.h> and <bp-asm.h>.
53775         (strncmp): Don't use BP_SYM.
53776         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53777         <bp-sym.h> and <bp-asm.h>.
53778         (__strnlen): Don't use BP_SYM.
53779         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53780         <bp-asm.h>.
53781         (__mpn_rshift): Don't use BP_SYM.
53782         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53783         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53784         <bp-sym.h> and <bp-asm.h>.
53785         (__sigsetjmp): Don't use BP_SYM.
53786         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53787         (L(start_addresses)): Don't use BP_SYM.
53788         (_start): Likewise.
53789         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53790         <bp-asm.h>.
53791         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53792         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53793         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53794         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53795         <bp-asm.h>.
53796         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53797         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53798         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53799         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53800         <bp-asm.h>.
53801         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53802         comments.
53803         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53804         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53805         <bp-asm.h>.
53806         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53807         FIXME comments.
53808         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53809         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53810         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53811         <bp-asm.h>.
53812         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53813         comment.
53814         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53815         and <bp-asm.h>.
53816         (strncmp): Don't use BP_SYM,
53817         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53818         <bp-asm.h>.
53819         (__mpn_sub_n): Don't use BP_SYM.
53820         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53821         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53822         and <bp-asm.h>.
53823         (__mpn_submul_1): Don't use BP_SYM.
53824         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53826         <bp-sym.h> and <bp-asm.h>.
53827         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53829         <bp-sym.h> and <bp-asm.h>.
53830         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53831         comment.
53833 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53835         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53836         Use ZK to minimize writes to Z.
53837         (sub_magnitudes): Simplify code a bit.
53838         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53839         Use ZK to minimize writes to Z.
53840         (sub_magnitudes): Simplify code a bit.
53842 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53844         * csu/gmon-start.c: Add special exception to license text.
53846 2013-02-27  Richard Henderson  <rth@redhat.com>
53848         * scripts/config.guess: Update from config.git.
53849         * scripts/config.sub: Likewise.
53851 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53853         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53855         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53857         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53859         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53861         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53863 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53865         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53866         [$(build-shared = yes].
53868 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53870         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53871         (__mul): Reduce iterations for calculating mantissa.
53873         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53874         MPTWO.
53875         (__mpranred): Likewise.
53877         [BZ #15160]
53878         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53879         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53881 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53883         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53884         Define __attribute__.
53886 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53888         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53889         unused.
53890         * posix/regex_internal.h (__attribute): Remove.
53891         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53892         (re_string_context_at): Likewise.
53893         (bitset_not): Use __attribute__ and mark function as possibly
53894         unused.
53895         (bitset_merge): Likewise.
53896         (bitset_mask): Likewise.
53897         (re_string_char_size_at): Likewise.
53898         (re_string_wchar_at): Likewise.
53899         (re_string_elem_size_at): Likewise.
53901 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53903         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53904         code.
53905         (cc32): Likewise.
53907         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53908         (__acr): Likewise.
53909         (__cpy): Likewise.
53910         (norm): Likewise.
53911         (denorm): Likewise.
53912         (__dbl_mp): Likewise.
53913         (add_magnitudes): Likewise.
53914         (sub_magnitudes): Likewise.
53915         (__mul): Likewise.
53916         (__inv): Likewise.
53918         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53919         style.
53921         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53922         style.
53924         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53925         code.
53927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53928         up changes with default code.
53929         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53930         Likewise.
53932 2013-02-24  Allan McRae  <allan@archlinux.org>
53934         * manual/socket.texi (The Internet Namespace): Order menu items
53935         to match that in the file.
53937         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53938         node listing of the info page menu.
53940 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53942         [BZ #13550]
53943         * sysdeps/i386/bp-asm.h: Remove file.
53944         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53945         (PARMS): Do not use macros from bp-asm.h.
53946         (S1): Likewise.
53947         (S2): Likewise.
53948         (SIZE): Likewise.
53949         (__mpn_add_n): Do not use BP_SYM
53950         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53951         "bp-asm.h".
53952         (PARMS): Do not use macros from bp-asm.h.
53953         (S1): Likewise.
53954         (SIZE): Likewise.
53955         (__mpn_addmul_1): Do not use BP_SYM
53956         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53957         "bp-asm.h".
53958         (PARMS): Do not use macros from bp-asm.h.
53959         (SIGMSK): Likewise.
53960         (_setjmp): Likewise.  Do not use BP_SYM.
53961         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53962         "bp-asm.h".
53963         (PARMS): Do not use macros from bp-asm.h.
53964         (SIGMSK): Likewise.
53965         (setjmp): Likewise.  Do not use BP_SYM.
53966         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53967         "bp-asm.h".
53968         (PARMS): Do not use macros from bp-asm.h.
53969         (__frexp): Do not use BP_SYM.
53970         (frexp): Likewise.
53971         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53972         "bp-asm.h".
53973         (PARMS): Do not use macros from bp-asm.h.
53974         (__frexpf): Do not use BP_SYM.
53975         (frexpf): Likewise.
53976         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53977         "bp-asm.h".
53978         (PARMS): Do not use macros from bp-asm.h.
53979         (__frexpl): Do not use BP_SYM.
53980         (frexpl): Likewise.
53981         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53982         "bp-asm.h".
53983         (PARMS): Do not use macros from bp-asm.h.
53984         (__remquo): Do not use BP_SYM.
53985         (remquo): Likewise.
53986         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53987         "bp-asm.h".
53988         (PARMS): Do not use macros from bp-asm.h.
53989         (__remquof): Do not use BP_SYM.
53990         (remquof): Likewise.
53991         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53992         "bp-asm.h".
53993         (PARMS): Do not use macros from bp-asm.h.
53994         (__remquol): Do not use BP_SYM.
53995         (remquol): Likewise.
53996         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53997         "bp-asm.h".
53998         (PARMS): Do not use macros from bp-asm.h.
53999         (DEST): Likewise.
54000         (SRC): Likewise.
54001         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54002         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54003         "bp-asm.h".
54004         (PARMS): Do not use macros from bp-asm.h.
54005         (strlen): Do not use BP_SYM.
54006         * sysdeps/i386/i586/add_n.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         (S2): Likewise.
54011         (SIZE): Likewise.
54012         (__mpn_add_n): Do not use BP_SYM.
54013         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54014         "bp-asm.h".
54015         (PARMS): Do not use macros from bp-asm.h.
54016         (S1): Likewise.
54017         (SIZE): Likewise.
54018         (__mpn_addmul_1): Do not use BP_SYM.
54019         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54020         weak_alias.
54021         (bzero): Likewise.
54022         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54023         "bp-asm.h".
54024         (PARMS): Do not use macros from bp-asm.h.
54025         (S): Likewise.
54026         (SIZE): Likewise.
54027         (__mpn_lshift): Do not use BP_SYM.
54028         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54029         "bp-asm.h".
54030         (PARMS): Do not use macros from bp-asm.h.
54031         (DEST): Likewise.
54032         (SRC): Likewise.
54033         (LEN): Likewise.
54034         (memcpy): Likewise.  Do not use BP_SYM.
54035         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54036         libc_hidden_def and weak_alias.
54037         (mempcpy): Do not use BP_SYM in weak_alias.
54038         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54039         "bp-asm.h".
54040         (PARMS): Do not use macros from bp-asm.h.
54041         (DEST): Likewise.
54042         (LEN): Likewise.
54043         [!BZERO_P] (CHR): Likewise.
54044         (memset): Likewise.  Do not use BP_SYM.
54045         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54046         "bp-asm.h".
54047         (PARMS): Do not use macros from bp-asm.h.
54048         (S1): Likewise.
54049         (SIZE): Likewise.
54050         (__mpn_mul_1): Do not use BP_SYM.
54051         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54052         "bp-asm.h".
54053         (PARMS): Do not use macros from bp-asm.h.
54054         (S): Likewise.
54055         (SIZE): Likewise.
54056         (__mpn_rshift): Do not use BP_SYM.
54057         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54058         "bp-asm.h".
54059         (PARMS): Do not use macros from bp-asm.h.
54060         (STR): Likewise.
54061         (CHR): Likewise.
54062         (strchr): Likewise.  Do not use BP_SYM.
54063         (index): Do not use BP_SYM in weak_alias.
54064         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54065         "bp-asm.h".
54066         (PARMS): Do not use macros from bp-asm.h.
54067         (DEST): Likewise.
54068         (SRC): Likewise.
54069         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54070         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54071         "bp-asm.h".
54072         (PARMS): Do not use macros from bp-asm.h.
54073         (strlen): Do not use BP_SYM.
54074         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54075         "bp-asm.h".
54076         (PARMS): Do not use macros from bp-asm.h.
54077         (S1): Likewise.
54078         (S2): Likewise.
54079         (SIZE): Likewise.
54080         (__mpn_sub_n): Do not use BP_SYM.
54081         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54082         "bp-asm.h".
54083         (PARMS): Do not use macros from bp-asm.h.
54084         (S1): Likewise.
54085         (SIZE): Likewise.
54086         (__mpn_submul_1): Do not use BP_SYM.
54087         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54088         "bp-asm.h".
54089         (PARMS): Do not use macros from bp-asm.h.
54090         (S1): Likewise.
54091         (S2): Likewise.
54092         (SIZE): Likewise.
54093         (__mpn_add_n): Do not use BP_SYM.
54094         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54095         weak_alias.
54096         (bzero): Likewise.
54097         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54098         "bp-asm.h".
54099         (PARMS): Do not use macros from bp-asm.h.
54100         (BLK2): Likewise.
54101         (LEN): Likewise.
54102         (memcmp): Do not use BP_SYM.
54103         (bcmp): Do not use BP_SYM in weak_alias.
54104         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54105         "bp-asm.h".
54106         (PARMS): Do not use macros from bp-asm.h.
54107         (DEST): Likewise.
54108         (SRC): Likewise.
54109         (LEN): Likewise.
54110         (memcpy): Likewise.  Do not use BP_SYM.
54111         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54112         "bp-asm.h".
54113         (PARMS): Do not use macros from bp-asm.h.
54114         (DEST): Likewise.
54115         (SRC): Likewise.
54116         (LEN): Likewise.
54117         (memmove): Likewise.  Do not use BP_SYM.
54118         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54119         "bp-asm.h".
54120         (PARMS): Do not use macros from bp-asm.h.
54121         (DEST): Likewise.
54122         (SRC): Likewise.
54123         (LEN): Likewise.
54124         (__mempcpy): Likewise.  Do not use BP_SYM.
54125         (mempcpy): Do not use BP_SYM in weak_alias.
54126         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54127         "bp-asm.h".
54128         (PARMS): Do not use macros from bp-asm.h.
54129         (DEST): Likewise.
54130         (LEN): Likewise.
54131         [!BZERO_P] (CHR): Likewise.
54132         (memset): Likewise.  Do not use BP_SYM.
54133         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54134         "bp-asm.h".
54135         (PARMS): Do not use macros from bp-asm.h.
54136         (STR2): Likewise.
54137         (strcmp): Do not use BP_SYM.
54138         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54139         "bp-asm.h".
54140         (PARMS): Do not use macros from bp-asm.h.
54141         (STR): Likewise.
54142         (DELIM): Likewise.
54143         [USE_AS_STRTOK_R] (SAVE): Likewise.
54144         (FUNCTION): Likewise.  Do not use BP_SYM.
54145         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54146         aliases.
54147         (strtok_r): Likewise.
54148         (__GI___strtok_r): Likewise.
54149         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54150         (PARMS): Do not use macros from bp-asm.h.
54151         (S): Likewise.
54152         (SIZE): Likewise.
54153         (__mpn_lshift): Do not use BP_SYM.
54154         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54155         (PARMS): Do not use macros from bp-asm.h.
54156         (STR): Likewise.
54157         (CHR): Likewise.
54158         (__memchr): Do not use BP_SYM.
54159         (memchr): Do not use BP_SYM in weak_alias.
54160         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54161         (PARMS): Do not use macros from bp-asm.h.
54162         (BLK2): Likewise.
54163         (LEN): Likewise.
54164         (memcmp): Do not use BP_SYM.
54165         (bcmp): Do not use BP_SYM in weak_alias.
54166         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54167         (PARMS): Do not use macros from bp-asm.h.
54168         (S1): Likewise.
54169         (SIZE): Likewise.
54170         (__mpn_mul_1): Do not use BP_SYM.
54171         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54172         "bp-asm.h".
54173         (PARMS): Do not use macros from bp-asm.h.
54174         (STR): Likewise.
54175         (CHR): Likewise.
54176         (__rawmemchr): Do not use BP_SYM.
54177         (rawmemchr): Do not use BP_SYM in weak_alias.
54178         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54179         (PARMS): Do not use macros from bp-asm.h.
54180         (S): Likewise.
54181         (SIZE): Likewise.
54182         (__mpn_rshift): Do not use BP_SYM.
54183         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54184         (PARMS): Do not use macros from bp-asm.h.
54185         (SIGMSK): Likewise.
54186         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54187         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54188         (_start): Do not use BP_SYM.
54189         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54190         (PARMS): Do not use macros from bp-asm.h.
54191         (DEST): Likewise.
54192         (SRC): Likewise.
54193         (__stpcpy): Likewise.  Do not use BP_SYM.
54194         (stpcpy): Do not use BP_SYM in weak_alias.
54195         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54196         "bp-asm.h".
54197         (PARMS): Do not use macros from bp-asm.h.
54198         (DEST): Likewise.
54199         (SRC): Likewise.
54200         (LEN): Likewise.
54201         (__stpncpy): Likewise.  Do not use BP_SYM.
54202         (stpncpy): Do not use BP_SYM in weak_alias.
54203         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54204         (PARMS): Do not use macros from bp-asm.h.
54205         (STR): Likewise.
54206         (CHR): Likewise.
54207         (strchr): Likewise.  Do not use BP_SYM.
54208         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54209         "bp-asm.h".
54210         (PARMS): Do not use macros from bp-asm.h.
54211         (STR): Likewise.
54212         (CHR): Likewise.
54213         (__strchrnul): Likewise.  Do not use BP_SYM.
54214         (strchrnul): Do not use BP_SYM in weak_alias.
54215         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54216         "bp-asm.h".
54217         (PARMS): Do not use macros from bp-asm.h.
54218         (STOP): Likewise.
54219         (strcspn): Do not use BP_SYM.
54220         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54221         "bp-asm.h".
54222         (PARMS): Do not use macros from bp-asm.h.
54223         (STR): Likewise.
54224         (STOP): Likewise.
54225         (strpbrk): Likewise.  Do not use BP_SYM.
54226         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54227         "bp-asm.h".
54228         (PARMS): Do not use macros from bp-asm.h.
54229         (STR): Likewise.
54230         (CHR): Likewise.
54231         (strrchr): Likewise.  Do not use BP_SYM.
54232         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54233         (PARMS): Do not use macros from bp-asm.h.
54234         (SKIP): Likewise.
54235         (strspn): Do not use BP_SYM.
54236         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54237         (PARMS): Do not use macros from bp-asm.h.
54238         (STR): Likewise.
54239         (DELIM): Likewise.
54240         (SAVE): Likewise.
54241         (FUNCTION): Likewise.  Do not use BP_SYM.
54242         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54243         aliases.
54244         (strtok_r): Likewise.
54245         (__GI___strtok_r): Likewise.
54246         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54247         (PARMS): Do not use macros from bp-asm.h.
54248         (S1): Likewise.
54249         (S2): Likewise.
54250         (SIZE): Likewise.
54251         (__mpn_sub_n): Do not use BP_SYM.
54252         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54253         "bp-asm.h".
54254         (PARMS): Do not use macros from bp-asm.h.
54255         (S1): Likewise.
54256         (SIZE): Likewise.
54257         (__mpn_submul_1): Do not use BP_SYM.
54258         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54259         <bp-sym.h>.
54260         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54261         and <bp-asm.h>.
54262         (PARMS): Do not use macros from bp-asm.h.
54263         (FLAGS): Likewise.
54264         (PTID): Likewise.
54265         (TLS): Likewise.
54266         (CTID): Likewise.
54267         (__clone): Do not use BP_SYM.
54268         (clone): Do not use BP_SYM in weak_alias.
54269         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54270         and <bp-asm.h>.
54271         (PARMS): Do not use macros from bp-asm.h.
54272         (LEN): Likewise.
54273         (__mmap64): Do not use BP_SYM.
54274         (mmap64): Do not use BP_SYM in weak_alias.
54275         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54276         <bp-sym.h> and <bp-asm.h>.
54277         (PARMS): Do not use macros from bp-asm.h.
54278         (__posix_fadvise64_l64): Do not use BP_SYM.
54279         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54280         (PARMS): Do not use macros from bp-asm.h.
54281         (NSOPS): Likewise.
54282         (semtimedop): Do not use BP_SYM.
54283         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54284         and <bp-asm.h>.
54286 2013-02-21  Allan McRae  <allan@archlinux.org>
54288         * manual/message.texi (Charset conversion in gettext):
54289         Move @end statement to beginning of line.
54291 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54294         static.
54295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54296         Likewise.
54298         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54299         (denorm): Likewise.
54300         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54301         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54303 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54305         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54306         tail-call to the resolved function if pltexit isn't needed.
54308 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54310         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54311         or Y being zero as being unlikely.
54312         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54313         Likewise.
54315 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54317         * manual/nss.texi (System Databases and Name Service Switch):
54318         Remove frobnicate @pxref.
54320 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54322         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54323         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54325 2013-02-20  Petr Machata  <pmachata@redhat.com>
54327         * elf/elf.h (R_ARM_TARGET1): New macro.
54328         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54329         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54330         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54331         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54332         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54333         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54334         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54335         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54336         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54337         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54338         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54339         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54340         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54341         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54342         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54343         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54344         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54345         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54346         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54347         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54348         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54349         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54350         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54351         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54352         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54353         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54354         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54355         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54356         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54357         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54358         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54359         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54360         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54361         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54362         (R_ARM_THM_GOT_BREL12): Likewise.
54363         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54364         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54365         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54366         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54367         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54368         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54369         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54370         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54371         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54373 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54375         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54376         __attribute_used__ to __attribute__ ((unused)).
54378 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54380         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54381         powerpc mpa.c.
54382         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54383         comment formatting.
54384         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54386 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54388         [BZ #13550]
54389         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54390         Remove macro.
54391         (ENTER): Remove both macro definitions.
54392         (LEAVE): Likewise.
54393         (CHECK_BOUNDS_LOW): Likewise.
54394         (CHECK_BOUNDS_HIGH): Likewise.
54395         (CHECK_BOUNDS_BOTH): Likewise.
54396         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54397         (RETURN_BOUNDED_POINTER): Likewise.
54398         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54399         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54400         (POP_ERRNO_LOCATION_RETURN): Likewise.
54401         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54402         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54403         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54404         macros.
54405         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54406         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54407         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54408         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54409         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54410         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54411         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54412         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54413         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54414         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54415         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54416         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54417         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54418         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54419         removed macros.
54420         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54421         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54422         macros.
54423         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54424         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54425         * sysdeps/i386/i586/memset.S (memset): Likewise.
54426         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54427         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54428         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54429         macros.
54430         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54431         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54432         Change uses of L(2) to L(out).
54433         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54434         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54435         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54436         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54437         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54438         removed macros.
54439         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54440         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54441         macros.
54442         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54443         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54444         (RETURN): Do not use macro LEAVE.
54445         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54446         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54447         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54448         * sysdeps/i386/i686/memset.S (memset): Likewise.
54449         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54450         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54451         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54452         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54453         Likewise.
54454         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54455         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54456         L(1_2) and L(1_3) into L(1).
54457         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54458         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54459         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54460         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54461         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54462         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54463         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54464         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54465         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54466         macros.
54467         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54468         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54469         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54470         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54471         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54472         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54473         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54474         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54475         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54476         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54477         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54478         * sysdeps/i386/strspn.S (strspn): Likewise.
54479         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54480         conditional code.
54481         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54482         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54483         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54484         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54485         L(1_3) into L(1_1).
54486         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54487         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54488         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54489         macros.
54490         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54492 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54494         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54495         macro.
54497 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54499         * math/atest-exp.c (exp_mpn): Remove ROUND.
54500         * math/atest-exp2.c (exp_mpn): Likewise.
54501         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54503         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54504         * stdlib/tst-tls-atexit-lib.c: Likewise.
54505         * stdlib/tst-tls-atexit.c: Likewise.
54507 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54509         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54510         and __attribute_alloc_size__.
54512 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54514         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54515         __attribute_alloc_size__.
54516         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54517         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54519 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54521         * include/programs/xmalloc.h: New file.
54522         * catgets/gencat.c: Include it.
54523         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54524         * elf/pldd.c: Likewise.
54525         * iconv/iconv_charmap.c: Likewise.
54526         * iconv/iconvconfig.c: Likewise.
54527         * iconv/strtab.c: Likewise.
54528         * locale/programs/locale.c: Likewise.
54529         * locale/programs/localedef.h: Likewise.
54530         * locale/programs/simple-hash.c: Likewise.
54531         * nscd/nscd.h: Likewise.
54532         * nss/makedb.c: Likewise.
54533         * sysdeps/generic/ldconfig.h: Likewise.
54535 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54537         * Versions.def: Add GLIBC_2.18.
54538         * include/link.h (struct link_map): New member l_tls_dtor_count.
54539         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54540         (__call_tls_dtors): Likewise.
54541         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54542         __cxa_thread_atexit_impl.
54543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54544         Likewise.
54545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54546         Likewise.
54547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54548         Likewise.
54549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54550         Likewise.
54551         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54553         Likewise.
54554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54555         Likewise.
54556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54557         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54558         Likewise.
54559         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54560         (tests): Add test case tst-tls-atexit.
54561         (modules-names): Add shared library for tst-tls-atexit.
54562         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54563         (GLIBC_PRIVATE): Add __call_tls_dtors.
54564         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54565         for libstdc++.
54566         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54567         * stdlib/tst-tls-atexit.c: New test case.
54568         * stdlib/tst-tls-atexit-lib.c: New test case.
54570         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54572         * elf/Versions (ld): Add _dl_find_dso_for_object.
54573         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54574         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54575         (dl_open_worker): Use _dl_find_dso_for_object.
54576         * elf/dl-sym.c (do_sym): Likewise.
54577         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54579 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54581         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54582         Syntactic changes only.
54583         (_dl_runtime_profile): Do a tail-call to the resolved function.
54585 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54587         [BZ #13550]
54588         * sysdeps/x86_64/bp-asm.h: Remove file.
54589         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54590         <bp-sym.h> and <bp-asm.h>.
54591         (__clone): Do not use BP_SYM.
54592         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54593         <bp-sym.h> and <bp-asm.h>.
54594         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54595         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54596         "bp-asm.h".
54597         (_setjmp): Do not use BP_SYM.
54598         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54599         "bp-asm.h".
54600         (setjmp): Do not use BP_SYM.
54601         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54602         libc_hidden_def.
54603         (mempcpy): Do not use BP_SYM in weak_alias.
54604         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54605         "bp-asm.h".
54606         (strchr): Do not use BP_SYM.
54607         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54608         "bp-asm.h".
54609         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54610         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54611         (_start): Do not use BP_SYM.
54612         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54613         "bp-asm.h".
54614         (strcat): Do not use BP_SYM.
54615         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54616         "bp-asm.h".
54617         (STRCMP): Do not use BP_SYM.
54618         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54619         "bp-asm.h".
54620         (STRCPY): Do not use BP_SYM.
54621         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54622         "bp-asm.h".
54623         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54624         "bp-asm.h".
54625         (FUNCTION): Do not use BP_SYM.
54626         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54627         weak_alias.
54628         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54630 2013-02-17  Andreas Jaeger  <aj@suse.de>
54632         * time/Versions: Sort entries.
54633         * string/Versions: Likewise.
54634         * resolv/Versions: Likewise.
54635         * posix/Versions: Likewise.
54636         * iconv/Versions: Likewise.
54637         * elf/Versions: Likewise.
54638         * wcsmbs/Versions: Likewise.
54640 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54642         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54643         loop termination condition.
54645         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54646         variable to calculate EZ.
54647         (__sqr): Likewise.
54649         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54650         the lower precision input.
54652 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54654         [BZ #13550]
54655         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54656         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54657         (run-via-rtld-prefix): Do not handle %-bp tests.
54658         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54659         (all-object-suffixes): Remove .ob.
54660         (bppfx): Remove variable.
54661         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54662         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54663         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54664         [$(build-bounded) = yes] (libtype.ob): Likewise.
54665         * Makerules (elide-routines.ob): Remove variable.
54666         (do-tests-clean): Do not handle *-bp.out.
54667         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54668         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54669         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54670         (tests): Do not include $(tests-bp.out).
54671         (xtests): Do not include $(xtests-bp.out).
54672         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54673         [$(build-bounded) = yes] ($(addprefix
54674         $(objpfx),$(binaries-bounded))): Remove rule.
54675         ($(objpfx)%-bp.out): Remove rule.
54676         * config.make.in (build-bounded): Remove variable.
54677         * crypt/Makefile [$(build-bounded) = yes]
54678         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54679         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54680         append to variable.
54681         [$(build-bounded) = yes] (install-lib): Likewise.
54682         [$(build-bounded) = yes] (generated): Likewise.
54683         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54684         Remove rule.
54685         * intl/Makefile [$(build-bounded) = yes]
54686         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54687         * math/Makefile [$(build-bounded) = yes]
54688         ($(tests:%=$(objpfx)%-bp): Likewise.
54689         * misc/Makefile [$(build-bounded) = yes]
54690         ($(objpfx)tst-tsearch-bp): Likewise.
54691         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54692         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54693         Remove dependency.
54694         * string/Makefile (o-objects.ob): Remove variable.
54695         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54696         (CFLAGS-.ob): Remove variable.
54697         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54698         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54699         both definitions of variable.
54700         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54701         (ASFLAGS-.ob): Remove variable.
54703 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54705         [BZ #13550]
54706         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54707         Remove __BOUNDED_POINTERS__ from condition.
54708         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54709         * string/bits/string2.h [!__NO_STRING_INLINES &&
54710         !__BOUNDED_POINTERS__]: Likewise.
54711         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54712         Likewise.
54713         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54714         Remove conditional code.
54715         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54716         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54717         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54718         condition.
54720         [BZ #13550]
54721         * csu/libc-start.c: Do not include <bp-sym.h>.
54722         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54723         * elf/dl-open.c: Do not include <bp-sym.h>.
54724         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54725         * math/fegetenv.c: Do not include <bp-sym.h>.
54726         (fegetenv): Do not use BP_SYM in versioned symbols.
54727         * nptl/sysdeps/pthread/bits/libc-lockP.h
54728         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54729         <bp-sym.h>.
54730         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54731         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54732         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54733         (__pthread_mutex_destroy): Likewise.
54734         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54735         (__pthread_mutex_lock): Likewise.
54736         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54737         (__pthread_mutex_trylock): Likewise.
54738         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54739         (__pthread_mutex_unlock): Likewise.
54740         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54741         (__pthread_mutexattr_init): Likewise.
54742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54743         (__pthread_mutexattr_destroy): Likewise.
54744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54745         (__pthread_mutexattr_settype): Likewise.
54746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54747         (__pthread_rwlock_init): Likewise.
54748         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54749         (__pthread_rwlock_destroy): Likewise.
54750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54751         (__pthread_rwlock_rdlock): Likewise.
54752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54753         (__pthread_rwlock_tryrdlock): Likewise.
54754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54755         (__pthread_rwlock_wrlock): Likewise.
54756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54757         (__pthread_rwlock_trywrlock): Likewise.
54758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54759         (__pthread_rwlock_unlock): Likewise.
54760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54761         (__pthread_key_create): Likewise.
54762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54763         (__pthread_setspecific): Likewise.
54764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54765         (__pthread_getspecific): Likewise.
54766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54767         Likewise.
54768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54769         (_pthread_cleanup_push_defer): Likewise.
54770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54771         (_pthread_cleanup_pop_restore): Likewise.
54772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54773         (pthread_setcancelstate): Likewise.
54774         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54775         <bp-sym.h>.
54776         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54777         (memchr): Do not use BP_SYM in weak_alias.
54778         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54779         (fegetenv): Do not use BP_SYM in versioned symbols.
54780         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54781         (fesetenv): Do not use BP_SYM in versioned symbols.
54782         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54783         (feupdateenv): Do not use BP_SYM in versioned symbols.
54784         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54785         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54786         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54787         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54788         (open64): Do not use BP_SYM in weak_alias.
54789         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54790         (fegetenv): Do not use BP_SYM in versioned symbols.
54791         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54792         (fesetenv): Do not use BP_SYM in versioned symbols.
54793         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54794         (feupdateenv): Do not use BP_SYM in versioned symbols.
54795         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54796         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54797         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54798         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54799         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54800         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54801         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54802         <bp-sym.h>.
54803         (__libc_start_main): Do not use BP_SYM.
54805 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54807         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54808         redundant return line.
54809         (norm): Likewise.
54810         (denorm): Likewise.
54811         (dbl_mp): Likewise.
54812         (sub_magnitudes): Likewise.
54813         (__add): Likewise.
54814         (__sub): Likewise.
54815         (__mul): Likewise.
54816         (__inv): Likewise.
54817         (__dvd): Likewise.
54818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54819         (norm): Likewise.
54820         (denorm): Likewise.
54821         (dbl_mp): Likewise.
54822         (sub_magnitudes): Likewise.
54823         (__add): Likewise.
54824         (__sub): Likewise.
54825         (__mul): Likewise.
54826         (__inv): Likewise.
54827         (__dvd): Likewise.
54829         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54830         instead of __mul.
54831         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54832         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54833         (cc32): Likewise.
54835         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54836         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54837         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54838         of __mul for squares.
54839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54840         function
54841         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54842         Likewise.
54843         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54844         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54846 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54848         [BZ #13550]
54849         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54850         code.
54851         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54852         prototype or function definition.  Rename ubp_* variables and
54853         parameters.  Remove argv definitions conditional on
54854         [__BOUNDED_POINTERS__].
54855         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54856         * elf/dl-runtime.c (_dl_fixup): Likewise.
54857         * include/set-hooks.h (RUN_HOOK): Likewise.
54858         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54859         definition.
54860         * string/strcpy.c (strcpy): Do not use __unbounded.
54861         * sysdeps/generic/frame.h (struct layout): Likewise.
54862         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54863         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54864         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54865         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54866         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54867         (__backtrace): Likewise.
54868         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54869         use __ptrvalue.
54870         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54871         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54872         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54873         Likewise.
54874         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54875         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54876         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54877         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54878         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54879         Do not use __unbounded.
54880         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54881         Rename __unboundedrlimits parameter to rlimits in prototype.
54882         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54883         Do not use __unbounded.
54884         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54885         not use __ptrvalue.
54886         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54887         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54888         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54889         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54890         __ptrvalue or __unbounded.
54891         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54892         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54893         use __unbounded.
54894         (__new_msgctl): Do not use __ptrvalue.
54895         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54896         __unbounded.
54897         (__libc_msgrcv): Do not use __ptrvalue.
54898         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54899         startup_info): Do not use __unbounded.
54900         (__libc_start_main): Likewise.  Rename ubp_* variables and
54901         parameters.  Remove argv definitions conditional on
54902         [__BOUNDED_POINTERS__].
54903         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54904         __ptrvalue.
54905         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54906         use __unbounded.
54907         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54908         or __ptrvalue.
54909         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54910         use __unbounded.
54911         (__new_shmctl): Do not use __ptrvalue.
54912         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54913         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54914         Likewise.
54915         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54916         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54917         (__libc_sigaction): Likewise.
54918         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54919         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54920         Likewise.
54921         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54923 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54925         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54927         * string/mempcpy.c: Implement by calling memcpy.
54929 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54931         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54933         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54934         evaluation.
54936         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54937         values in the mantissa.
54939         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54940         minimize writes to Z.
54941         (sub_magnitudes): Simplify code a bit.
54943 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54945         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54946         from the message.  The linker prefixes all warnings with that already.
54948 2013-02-12  Andreas Schwab  <schwab@suse.de>
54950         [BZ #15078]
54951         * posix/regexec.c (extend_buffers): Add parameter min_len.
54952         (check_matching): Pass minimum needed length.
54953         (clean_state_log_if_needed): Likewise.
54954         (get_subexp): Likewise.
54955         * posix/Makefile (tests): Add bug-regex34.
54956         (bug-regex34-ENV): Define.
54957         * posix/bug-regex34.c: New file.
54959         [BZ #11561]
54960         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54961         elements compare against the byte sequence of it, not its name.
54962         * posix/Makefile (tests): Add bug-regex35.
54963         (bug-regex35-ENV): Define.
54964         * posix/bug-regex35.c: New file.
54966 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54968         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54969         comment.
54970         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54971         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54972         (CHECK_EOL): Add undef.
54974 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54976         * bits/stdlib-bsearch.h: New file.
54977         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54978         * stdlib/stdlib.h: Likewise.
54980 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54982         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54983         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54984         declaration.
54985         * manual/search.texi (Array Search Function): Add missing const in
54986         lfind prototype.
54987         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54988         declaration to use rlim_t.
54989         (Basic Scheduling Functions): Remove erroneous const from
54990         sched_getparam prototype.  Remove erroneous * from
54991         sched_get_priority_max and sched_get_priority_min prototypes.
54992         (Resource Usage): Fix summary @comment on vtimes to refer to
54993         sys/vtimes.h rather than vtimes.h.
54994         Add missing *s in vtimes prototype.
54995         (Limits on Resources): Fix ulimit prototype to return long int.
54996         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54997         prototypes to use long int rather than double.
54998         (BSD Random): Fix initstate and setstate to use char *, not void *.
54999         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55000         prototype to make second argument 'struct aiocb64 *const[]'.
55001         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55002         (Status of AIO Operations): Remove erroneous const in aio_return and
55003         aio_return64 prototypes.
55004         (Synchronizing I/O): Fix sync prototype to return void.
55005         * manual/startup.texi (Suboptions): Remove an erroneous const in
55006         getsubopt prototype.
55007         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55008         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55009         use size_t rather than int.
55010         (Scanning All Users): Likewise for getpwent_r.
55011         (Setting Groups): Add missing const to setgroups prototype.
55012         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55013         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55014         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55015         'const void *' rather than 'const char *'.
55016         (Host Address Functions): Likewise for inet_ntop.
55017         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55018         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55019         ssize_t for return value.
55020         (Sending Data): Likewise for send, sendto, sendmsg.
55021         (Socket Option Functions): Add a missing const in setsockopt prototype.
55022         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55023         use wchar_t for the argument.
55024         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55025         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55026         take no arguments.
55027         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55028         double/float/long double for second argument.
55029         Fix return types of significand, significandf, significandl.
55030         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55031         argument in fchmod prototype.
55032         (File Owner): Use uid_t and gid_t in fchown prototype.
55033         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55034         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55035         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55036         use 'const struct dirent **' as argument types to CMP function pointer
55037         argument.
55038         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55039         (File Times): Fix summary magic @comment for struct utimbuf and utime
55040         to refer to utime.h, not time.h.
55041         * manual/string.texi (Argz Functions): Add missing const in
55042         argz_extract and argz_next prototypes.
55043         (Finding Tokens in a String): Likewise for basename.
55044         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55045         (Copying and Concatenation): Fix typo in wmemmove prototype.
55046         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55047         (Signal Stack): Remove erroneous const in sigstack prototype.
55048         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55049         prototype.
55050         (Simple Calendar Time): Likewise for stime.
55051         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55052         prototype.
55053         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55054         say sys/sysctl.h instead.
55055         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55056         and vsyslog prototypes.
55058 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55060         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55061         Remove.
55063 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55065         * misc/sys/mman.h: Fix typo in mremap comment.
55067 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55069         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55070         the '\0' terminator.
55072 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55074         [BZ #13550]
55075         * debug/segfault.c: Don't include <bp-checks.h>.
55076         * sysdeps/generic/bp-checks.h: Remove file.
55077         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55078         (__GETDENTS): Don't use CHECK_N.
55079         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55080         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55081         (__getgroups): Don't use CHECK_N.
55082         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55083         (setgroups): Don't use CHECK_N.
55084         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55085         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55086         (__libc_msgrcv): Don't use CHECK_N.
55087         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55088         (__libc_msgsnd): Don't use CHECK_N.
55089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55090         <bp-checks.h>.
55091         (__libc_pread): Don't use CHECK_N.
55092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55093         include <bp-checks.h>.
55094         (__libc_pread64): Don't use CHECK_N.
55095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55096         include <bp-checks.h>.
55097         (__libc_pwrite): Don't use CHECK_N.
55098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55099         include <bp-checks.h>.
55100         (__libc_pwrite64): Don't use CHECK_N.
55101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55102         <bp-checks.h>.
55103         (__libc_pread): Don't use CHECK_N.
55104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55105         include <bp-checks.h>.
55106         (__libc_pread64): Don't use CHECK_N.
55107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55108         include <bp-checks.h>.
55109         (__libc_pwrite): Don't use CHECK_N.
55110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55111         include <bp-checks.h>.
55112         (__libc_pwrite64): Don't use CHECK_N.
55113         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55114         (do_pread): Don't use CHECK_N.
55115         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55116         (do_pread64): Don't use CHECK_N.
55117         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55118         (do_pwrite): Don't use CHECK_N.
55119         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55120         (do_pwrite64): Don't use CHECK_N.
55121         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55122         (__libc_readv): Don't use CHECK_N.
55123         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55124         (semop): Don't use CHECK_N.
55125         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55126         <bp-checks.h>.
55127         (semtimedop): Don't use CHECK_N.
55128         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55129         (__libc_pread): Don't use CHECK_N.
55130         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55131         <bp-checks.h>.
55132         (__libc_pread64): Don't use CHECK_N.
55133         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55134         <bp-checks.h>.
55135         (__libc_pwrite): Don't use CHECK_N.
55136         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55137         <bp-checks.h>.
55138         (__libc_pwrite64): Don't use CHECK_N.
55139         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55140         <bp-checks.h>.
55141         (__libc_msgrcv): Don't use CHECK_N.
55142         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55143         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55144         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55145         (__libc_writev): Don't use CHECK_N.
55147 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55149         * string/strcpy.c: Removed unused variable.
55151         * Makeconfig (+sysdep-includes): Define with := rather than =.
55152         Use an existing include/ subdir of each sysdeps dir before it.
55154 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55156         * nscd/connection.c (register_traced_file): Comment function.
55157         [HAVE_INOTIFY] (union __inev): Define.
55158         [HAVE_INOTIFY] (inotify_check_files): New function.
55159         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55160         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55161         clear_db_cache.
55162         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55164 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55166         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55167         loaded if not already and that a failure is permanent.
55169 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55171         [BZ #15006]
55172         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55173         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55175 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55177         [BZ #13550]
55178         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55179         (CHECK_1_NULL_OK): Likewise.
55180         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55181         (__fxstat): Do not use CHECK_1.
55182         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55183         <bp-checks.h>.
55184         (___fxstat64): Do not use CHECK_1.
55185         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55186         <bp-checks.h>.
55187         (__fxstatat): Do not use CHECK_1.
55188         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55189         <bp-checks.h>.
55190         (__fxstatat64): Do not use CHECK_1.
55191         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55192         <bp-checks.h>.
55193         (__fxstat): Do not use CHECK_1.
55194         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55195         <bp-checks.h>.
55196         (__fxstatat): Do not use CHECK_1.
55197         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55198         <bp-checks.h>.
55199         (__getresgid): Do not use CHECK_1.
55200         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55201         <bp-checks.h>.
55202         (__getresuid): Do not use CHECK_1.
55203         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55204         <bp-checks.h>.
55205         (__lxstat): Do not use CHECK_1.
55206         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55207         <bp-checks.h>.
55208         (__old_msgctl): Do not use CHECK_1.
55209         (__new_msgctl): Likewise.
55210         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55211         <bp-checks.h>.
55212         (__new_setrlimit): Do not use CHECK_1.
55213         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55214         <bp-checks.h>.
55215         (__old_shmctl): Do not use CHECK_1.
55216         (__new_shmctl): Likewise.
55217         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55218         <bp-checks.h>.
55219         (__xstat): Do not use CHECK_1.
55220         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55221         (__lxstat): Do not use CHECK_1.
55222         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55223         <bp-checks.h>.
55224         (___lxstat64): Do not use CHECK_1.
55225         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55226         (__old_msgctl): Do not use CHECK_1.
55227         (__new_msgctl): Likewise.
55228         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55229         <bp-checks.h>.
55230         (__gettimeofday): Do not use CHECK_1.
55231         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55232         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55233         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55234         <bp-checks.h>.
55235         (__gettimeofday): Do not use CHECK_1.
55236         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55237         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55238         (__new_shmctl): Do not use CHECK_1.
55239         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55240         <bp-checks.h>.
55241         (do_sigtimedwait): Do not use CHECK_1.
55242         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55243         <bp-checks.h>.
55244         (do_sigwaitinfo): Do not use CHECK_1.
55245         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55246         <bp-checks.h>.
55247         (msgctl): Do not use CHECK_1.
55248         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55249         <bp-checks.h>.
55250         (shmctl): Do not use CHECK_1.
55251         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55252         (ustat): Do not use CHECK_1.
55253         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55254         <bp-checks.h>.
55255         (__fxstat): Do not use CHECK_1.
55256         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55257         <bp-checks.h>.
55258         (__fxstatat): Do not use CHECK_1.
55259         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55260         <bp-checks.h>.
55261         (__lxstat): Do not use CHECK_1.
55262         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55263         <bp-checks.h>.
55264         (__xstat): Do not use CHECK_1.
55265         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55266         (__xstat): Do not use CHECK_1.
55267         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55268         (___xstat64): Do not use CHECK_1.
55270         [BZ #13550]
55271         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55272         definitions.
55273         (CHECK_BOUNDS_HIGH): Likewise.
55274         * string/strcpy.c: Do not include <bp-checks.h>.
55275         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55277 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55279         * nscd/nscd-client.h (__nscd_drop_map_ref):
55280         Add __attribute__ ((unused)).
55281         * nis/nss-nisplus.h (niserr2nss): Likewise.
55283         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55284         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55286         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55287         Remove inline keyword.
55288         * include/rounding-mode.h (round_away): Likewise.
55289         * libio/wfileops.c (adjust_wide_data): Likewise.
55290         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55291         (__m128i_strloadu_tolower): Likewise.
55292         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55293         (__m128i_strloadu_tolower): Likewise.
55294         * time/mktime.c (ydhms_diff): Likewise.
55295         * locale/elem-hash.h (elem_hash): Likewise.
55296         * locale/setlocale.c (setdata): Likewise.
55297         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55298         (re_string_wchar_at): Likewise.
55299         (bitset_not, bitset_merge, bitset_mask): Likewise.
55300         [!(__GNUC__ > 3)] (inline): Remove macro.
55301         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55302         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55303         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55304         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55305         * string/memcmp.c (memcmp_bytes): Likewise.
55306         * locale/programs/locarchive.c (compute_hashval): Likewise.
55307         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55308         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55309         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55310         * nss/getent.c (print_rpc, print_protocols): Likewise.
55311         (print_passwd, print_group, print_aliases): Likewise.
55312         * nis/nss-nisplus.h (niserr2nss): Likewise.
55313         * nscd/connections.c (restart_p): Likewise.
55314         Change return type to bool.
55316 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55318         * Makeconfig (all-Depend-files): Add existing
55319         $(sorted-subdirs:=/Depend) files.
55320         (all-subdirs): Remove nss.
55321         * sysdeps/unix/inet/Subdirs: Add it here instead.
55322         * hesiod/Depend: New file.
55324         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55325         instead of calling alloca.
55327         * io/lseek.c (__lseek): Rename to __libc_lseek.
55328         Define __lseek as an alias.
55330         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55332 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55334         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55335         else clause and remove check for non-standard endianness.
55337 2013-02-04  David S. Miller  <davem@davemloft.net>
55339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55341 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55343         [BZ #13550]
55344         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55345         (__ubp_memchr): Remove prototype.
55346         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55347         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55348         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55349         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55350         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55351         Remove alias.
55352         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55353         (__ubp_memchr): Likewise.
55354         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55355         (__ubp_memchr): Likewise.
55356         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55357         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55358         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55359         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55360         CHECK_STRING.
55361         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55362         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55363         (__getcwd): Do not use CHECK_STRING.
55364         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55365         <bp-checks.h>.
55366         (__real_chown): Do not use CHECK_STRING.
55367         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55368         <bp-checks.h>.
55369         (fchownat): Do not use CHECK_STRING.
55370         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55371         CHECK_STRING.
55372         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55373         <bp-checks.h>.
55374         (__lchown): Do not use CHECK_STRING.
55375         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55376         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55377         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55378         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55380         include <bp-checks.h>.
55381         (truncate64): Do not use CHECK_STRING.
55382         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55383         <bp-checks.h>.
55384         (__real_chown): Do not use CHECK_STRING.
55385         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55386         <bp-checks.h>.
55387         (__lchown): Do not use CHECK_STRING.
55388         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55389         <bp-checks.h>.
55390         (__chown): Do not use CHECK_STRING.
55391         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55392         <bp-checks.h>.
55393         (truncate64): Do not use CHECK_STRING.
55394         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55395         Likewise.
55396         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55397         (__xmknod): Do not use CHECK_STRING.
55398         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55399         <bp-checks.h>.
55400         (__xmknodat): Do not use CHECK_STRING.
55401         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55402         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55404 2013-02-04  Andreas Schwab  <schwab@suse.de>
55406         [BZ #14142]
55407         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55408         * include/netdb.h: Likewise for h_errno.
55409         * elf/tst-stackguard1.c: Include <tls.h>.
55411 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55413         * elf/link.h (struct link_map): Extend the l_addr comment.
55414         * include/link.h (struct link_map): Likewise.
55416 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55418         [BZ #13550]
55419         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55420         (BOUNDED_1): Remove macro.
55421         * debug/backtrace.c: Don't include <bp-checks.h>.
55422         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55423         (__backtrace): Likewise.
55424         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55425         <bp-checks.h>.
55426         (__backtrace): Don't use BOUNDED_1.
55427         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55428         <bp-checks.h>.
55429         (__backtrace): Don't use BOUNDED_1.
55430         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55431         (__backtrace): Don't use BOUNDED_1.
55432         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55433         (shmat): Don't use BOUNDED_N.
55435 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55437         [BZ #13550]
55438         * sysdeps/generic/bp-start.h: Remove file.
55439         * csu/libc-start.c: Don't include <bp-start.h>.
55440         (LIBC_START_MAIN): Set up __environ directly instead of using
55441         INIT_ARGV_and_ENVIRON.
55442         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55443         <bp-start.h>.
55445         [BZ #13550]
55446         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55447         definitions.
55448         (CHECK_FCNTL): Likewise.
55449         (CHECK_N_PAGES): Likewise.
55451         [BZ #13550]
55452         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55453         definitions.
55454         (CHECK_SIGSET_NULL_OK): Likewise.
55455         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55456         <bp-checks.h>.
55457         (sigpending): Don't use CHECK_SIGSET.
55458         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55459         <bp-checks.h>.
55460         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55461         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55462         <bp-checks.h>.
55463         (do_sigsuspend): Don't use CHECK_SIGSET.
55464         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55465         use CHECK_SIGSET.
55466         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55467         (do_sigwait): Don't use CHECK_SIGSET.
55468         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55469         use CHECK_SIGSET.
55470         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55471         include <bp-checks.h>.
55472         (sigpending): Don't use CHECK_SIGSET.
55473         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55474         include <bp-checks.h>.
55475         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55476         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55477         <bp-checks.h>.
55478         (sigpending): Don't use CHECK_SIGSET.
55479         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55480         <bp-checks.h>.
55481         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55483         [BZ #13550]
55484         * sysdeps/generic/bp-semctl.h: Remove file.
55485         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55486         <bp-checks.h> and <bp-semctl.h>.
55487         (__old_semctl): Don't use CHECK_SEMCTL.
55488         (__new_semctl): Likewise.
55489         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55490         and <bp-semctl.h>.
55491         (__old_semctl): Don't use CHECK_SEMCTL.
55492         (__new_semctl): Likewise.
55493         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55494         <bp-checks.h> and <bp-semctl.h>.
55495         (__old_semctl): Don't use CHECK_SEMCTL.
55496         (__new_semctl): Likewise.
55497         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55498         <bp-checks.h> and <bp-semctl.h>.
55499         (semctl): Don't use CHECK_SEMCTL.
55501         [BZ #13550]
55502         * Makerules (elide-bp-thunks): Remove variable.
55503         (elide-routines.oS): Don't use $(elide-bp-thunks).
55504         (elide-routines.os): Likewise.
55505         (elide-routines.o): Likewise.
55506         (elide-routines.op): Likewise.
55507         (elide-routines.og): Likewise.
55508         (objects): Don't use $(bp-thunks).
55509         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55510         include.
55511         (common-generated): Do not add s-proto-bp.d.
55512         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55513         (int): Likewise.
55514         (typ): Likewise.
55515         Do not generate makefile rules for bounded-pointer thunks.
55516         * sysdeps/generic/bp-thunks.h: Remove file.
55517         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55518         * sysdeps/unix/s-proto-bp.S: Likewise.
55520         [BZ #15062]
55521         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55522         parts of result separately when argument is not close to line from
55523         -i to i and one part of argument is small.
55524         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55525         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55526         * math/libm-test.inc (cacos_test): Add more tests.
55527         (casin_test): Likewise.
55528         (casinh_test): Likewise.
55529         * sysdeps/i386/fpu/libm-test-ulps: Update.
55530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55532 2013-01-31  David S. Miller  <davem@davemloft.net>
55534         * po/de.po: Update from translation team.
55536 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55538         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55540 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55542         * configure.in (_AC_PROG_CC_C89): New definition.
55543         * configure: Regenerate.
55545         * configure.in (AC_PROG_CPP): New definition.
55546         * configure: Regenerate.
55548 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55550         * debug/tst-backtrace.h: New file.
55551         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55552         (ret): Remove variable.
55553         (x): Likewise.
55554         (FAIL): Remove macro.
55555         (NO_INLINE): Likewise.
55556         (fn1): Use match function instead of strstr.
55557         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55558         (ret): Remove variable.
55559         (x): Likewise.
55560         (FAIL): Remove macro.
55561         (NO_INLINE): Likewise.
55562         (fn): Use match function instead of strstr.
55563         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55564         (ret): Remove variable.
55565         (x): Likewise.
55566         (FAIL): Remove macro.
55567         (NO_INLINE): Likewise.
55568         (handle_signal): Use match function instead of strstr.
55569         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55570         (ret): Remove variable.
55571         (x): Likewise.
55572         (FAIL): Remove macro.
55573         (NO_INLINE): Likewise.
55574         (handle_signal): Use match function instead of strstr.
55576 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55578         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55580 2013-01-23  David S. Miller  <davem@davemloft.net>
55582         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55583         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55584         argument of CAS if possible.
55585         * sysdeps/sparc/sparc64/bits/atomic.h
55586         (__arch_compare_and_exchange_val_32_acq): Likewise.
55587         (__arch_compare_and_exchange_val_64_acq): Likewise.
55589 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55591         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55592         * sysdeps/posix/ulimit.c: ... this.
55593         Include <limits.h>.
55594         * sysdeps/unix/bsd/ulimit.c: Remove file.
55596 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55598         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55599         (LDFLAGS-tst-array5): Likewise.
55601 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55603         [BZ #15036]
55604         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55605         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55606         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55607         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55609 2013-01-21  David S. Miller  <davem@davemloft.net>
55611         * sysdeps/sparc/backtrace.c: New file.
55612         * sysdeps/sparc/sparc32/backtrace.h: New file.
55613         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55614         * sysdeps/sparc/sparc64/backtrace.h: New file.
55615         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55616         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55617         -funwind-tables.
55619 2013-01-21  Andreas Schwab  <schwab@suse.de>
55621         [BZ #15020]
55622         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55623         closed its stdout.
55625 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55627         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55628         "mpa2.h".
55629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55631 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55632             Mark Mitchell  <mark@codesourcery.com>
55633             Tom de Vries  <tom@codesourcery.com>
55634             Paul Pluzhnikov  <ppluzhnikov@google.com>
55636         * debug/tst-backtrace2.c: New file.
55637         * debug/tst-backtrace3.c: Likewise.
55638         * debug/tst-backtrace4.c: Likewise.
55639         * debug/tst-backtrace5.c: Likewise.
55640         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55641         (CFLAGS-tst-backtrace3.c): Likewise.
55642         (CFLAGS-tst-backtrace4.c): Likewise.
55643         (CFLAGS-tst-backtrace5.c): Likewise.
55644         (LDFLAGS-tst-backtrace2): Likewise.
55645         (LDFLAGS-tst-backtrace3): Likewise.
55646         (LDFLAGS-tst-backtrace4): Likewise.
55647         (LDFLAGS-tst-backtrace5): Likewise.
55648         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55649         tst-backtrace4 and tst-backtrace5.
55651 2013-01-18  Anton Blanchard  <anton@samba.org>
55652             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55654         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55655         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55656         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55657         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55659         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55660         "+r" and remove output regs list as redundant.  Add explicit inline
55661         asm to specify register of return val to work around compiler codegen
55662         bug.  Remove (int) cast on return value.  Add return type parameter to
55663         use in macro so that this macro does not truncate return value for
55664         64-bit values.
55665         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55666         pass to INTERNAL_VSYSCALL_NCS.
55667         (INLINE_VSYSCALL): Add 'long int' as return type to
55668         INTERNAL_VSYSCALL_NCS macro invocation.
55669         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55670         INTERNAL_VSYSCALL_NCS macro invocation.
55671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55673 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55675         [BZ #14496]
55676         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55677         Fix application of SIMD FP exception mask.
55679         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55680         mp_no from a power of two.
55681         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55682         __mpexp_twomm1.  Use __pow_mp.
55684         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55685         multiplication.
55687 2013-01-17  David S. Miller  <davem@davemloft.net>
55689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55691 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55693         [BZ #15023]
55694         * include/complex.h: Condition contents on [!_COMPLEX_H].
55695         (__kernel_casinhf): New prototype.
55696         (__kernel_casinh): Likewise.
55697         (__kernel_casinhl): Likewise.
55698         * math/Makefile (libm_calls): Add k_casinh.
55699         * math/k_casinh.c: New file.
55700         * math/k_casinhf.c: Likewise.
55701         * math/k_casinhl.c: Likewise.
55702         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55703         finite nonzero arguments.
55704         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55705         finite nonzero arguments.
55706         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55707         finite nonzero arguments.
55708         * math/s_casinh.c: Do not include <float.h>.
55709         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55710         * math/s_casinhf.c: Do not include <float.h>.
55711         (__casinhf): Move code for finite nonzero arguments to
55712         k_casinhf.c.
55713         * math/s_casinhl.c: Do not include <float.h>.
55714         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55715         redefine.
55716         (__casinhl): Move code for finite nonzero arguments to
55717         k_casinhl.c.
55718         * math/libm-test.inc (cacos_test): Add more tests.
55719         * sysdeps/i386/fpu/libm-test-ulps: Update.
55720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55722 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55724         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55725         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55726         [!HAVE_MREMAP]: Remove [defined linux] case.
55727         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55729 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55731         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55733 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55735         * elf/elf.h (R_386_SIZE32): New relocation.
55736         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55737         R_386_SIZE32.
55738         (elf_machine_rela): Likewise.
55739         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55740         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55742 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55744         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55745         (FP_FAST_FMA): Do not define.
55746         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55747         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55748         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55749         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55750         !_SOFT_FLOAT]: Likewise.
55751         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55752         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55753         value.
55754         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55755         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55756         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55757         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55758         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55759         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55760         file.
55762 2013-01-16  Andreas Schwab  <schwab@suse.de>
55764         [BZ #14327]
55765         * include/stdlib.h (__mktemp): Add declaration.
55766         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55767         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55769 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55771         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55772         definitions.
55773         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55774         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55775         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55776         definitions here.
55777         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55778         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55779         definitions.
55780         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55781         and ONE.
55782         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55783         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55784         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55785         definitions.
55786         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55787         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55788         definitions.
55789         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55791         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55793 2013-01-15  David S. Miller  <davem@davemloft.net>
55795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55796         trunc{,f} to libm-sysdep_routes.
55797         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55799         file.
55800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55802         file.
55803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55804         file.
55805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55807         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55808         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55809         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55810         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55811         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55812         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55815         nearbyint{,f} to libm-sysdep_routes.
55816         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55818         New file.
55819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55820         file.
55821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55822         New file.
55823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55824         file.
55825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55827         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55828         file.
55829         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55830         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55831         file.
55832         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55833         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55834         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55836         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55837         libc_feholdexcept and libc_fesetenv.
55839 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55841         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55843 2013-01-14  David S. Miller  <davem@davemloft.net>
55845         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55846         (SPARC_ASM_VIS2_IFUNC): Likewise.
55847         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55849         use of 'siam' instruction.
55850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55851         Likewise.
55852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55853         Likewise.
55854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55855         Likewise.
55856         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55857         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55858         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55859         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55861         file.
55862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55863         file.
55864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55865         file.
55866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55867         file.
55868         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55869         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55870         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55871         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55873         new VIS2 routines.
55874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55877         Likewise.
55878         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55879         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55880         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55881         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55883         routines to libm-sysdep_routines.
55884         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55887         fdim/fdimf to libm-sysdep_routines.
55888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55889         file.
55890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55892         file.
55893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55896         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55897         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55898         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55899         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55901 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55903         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55904         to optimize copies.
55906         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55908         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55910         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55911         local variable MPTWO.
55912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55913         Likewise.
55915 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55917         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55918         GLOB_NOESCAPE.
55920 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55922         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55924 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55926         * manual/pattern.texi (glob_t): Document gl_flags.
55927         (glob64_t): Likewise.
55929 2013-01-11  David S. Miller  <davem@davemloft.net>
55931         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55932         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55933         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55934         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55935         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55936         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55937         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55938         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55939         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55940         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55941         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55942         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55943         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55945         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55946         sparc V9 rather than using V8 code.
55947         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55948         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55950         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55951         Move to...
55952         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55953         Here.
55955 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55957         [BZ #14941]
55958         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55959         not in the main loop.
55960         * configure: Regenerated.
55962 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55964         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55965         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55966         to just #else.
55967         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55968         [!__GLIBC_HAVE_LONG_LONG] case.
55969         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55970         condition to just #else.
55971         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55972         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55973         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55974         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55975         unconditional.
55976         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55977         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55978         #elif condition to just #else.
55979         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55980         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55981         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55982         #elif condition to just #else.
55984 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55986         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55987         (EF_MIPS_ARCH_64): Fix value.
55988         (EF_MIPS_ARCH_32R2): New.
55989         (EF_MIPS_ARCH_64R2): New.
55991 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55993         * Makeconfig (+link-pie-before-libc): New.
55994         (+link-pie-after-libc): Likewise.
55995         (+link-pie-tests): Likewise.
55996         (+link-pie): Rewritten.
55997         (link-before-libc): Remove $(config-LDFLAGS).
55998         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55999         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56000         (config-LDFLAGS): Renamed to ...
56001         (rtld-LDFLAGS): This.
56002         (rtld-tests-LDFLAGS): New macro.
56003         (link-libc-rpath-link): Likewise.
56004         (link-libc-tests-rpath-link): Likewise.
56005         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56006         (link-libc): Prepand $(link-libc-rpath-link).
56007         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56008         (test-program-prefix): New macro.
56009         (test-via-rtld-prefix): Likewise.
56010         (test-program-cmd): Likewise.
56011         (host-test-program-cmd): Likewise.
56012         * Makefile ($(common-objpfx)testrun.sh): Replace
56013         $(run-program-prefix) with $(test-program-prefix).
56014         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56015         $(rtld-LDFLAGS).
56016         ($(common-objpfx)shlib.lds): Likewise.
56017         (build-module-helper): Likewise.
56018         ($(common-objpfx)format.lds): Likewise.
56019         * Rules (binaries-pie-tests): New.
56020         (binaries-pie-notests): Likewise.
56021         (binaries-pie): Rewritten.
56022         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56023         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56024         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56025         (make-test-out): Replace $(host-built-program-cmd) with
56026         $(host-test-program-cmd).
56027         * config.make.in (build-hardcoded-path-in-tests): New variable.
56028         * configure.in (--enable-hardcoded-path-in-tests): New configure
56029         option.
56030         (hardcoded_path_in_tests): New AC_SUBST.
56031         * configure: Regenerated.
56032         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56033         $(built-program-cmd) with $(test-program-cmd).
56034         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56035         (test_program_cmd): This.
56036         * elf/Makefile ($(objpfx)order.out): Run test with
56037         $(test-program-prefix).
56038         ($(objpfx)order2.out): Likewise.
56039         ($(objpfx)tst-initorder.out): Likewise.
56040         ($(objpfx)tst-initorder2.out): Likewise.
56041         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56042         $(test-program-cmd).
56043         ($(objpfx)tst-array1-static.out): Likewise.
56044         ($(objpfx)tst-array2.out): Likewise.
56045         ($(objpfx)tst-array3.out): Likewise.
56046         ($(objpfx)tst-array4.out): Likewise.
56047         ($(objpfx)tst-array5.out): Likewise.
56048         ($(objpfx)tst-array5-static.out): Likewise.
56049         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56050         $(test-program-cmd).
56051         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56052         $(run-program-prefix) with $(test-program-prefix).
56053         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56054         (test_program_prefix): This.
56055         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56056         $(run-program-prefix) with $(test-program-prefix).
56057         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56058         (test_program_prefix): This.
56059         * iconvdata/tst-tables.sh: Likewise.
56060         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56061         $(run-program-prefix) with $(test-program-prefix).
56062         ($(objpfx)tst-translit.out): Likewise.
56063         ($(objpfx)tst-gettext2.out): Likewise.
56064         ($(objpfx)tst-gettext4.out): Likewise.
56065         ($(objpfx)tst-gettext6.out): Likewise.
56066         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56067         (test_program_prefix): This.
56068         * intl/tst-gettext2.sh: Likewise.
56069         * intl/tst-gettext4.sh  Likewise.
56070         * intl/tst-gettext6.sh: Likewise.
56071         * intl/tst-translit.sh: Likewise.
56072         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56073         with $(test-program-cmd).
56074         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56075         $(run-program-prefix) with $(test-program-prefix).
56076         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56077         (test_program_prefix): This.
56078         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56079         $(run-program-prefix) with $(test-program-prefix).
56080         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56081         (test_program_prefix): This.
56082         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56083         * posix/Makefile ($(objpfx)globtest.out): Replace
56084         $(run-via-rtld-prefix) and $(test-wrapper) with
56085         $(test-program-prefix) and $(test-via-rtld-prefix).
56086         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56087         $(test-program-prefix).
56088         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56089         $(host-test-program-cmd).
56090         (tst-spawn-ARGS): Likewise.
56091         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56092         $(test-program-prefix).
56093         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56094         (test_via_rtld_prefix): This.
56095         (test_wrapper): Renamed to ...
56096         (test_program_prefix): This.
56097         (run_program_prefix): Replaced by test_program_prefix.
56098         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56099         (test_program_prefix): This.
56100         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56101         with $(host-test-program-cmd).
56102         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56103         $(run-program-prefix) with $(test-program-prefix).
56104         ($(objpfx)tst-printf.out): Likewise.
56105         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56106         $(test-program-cmd).
56107         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56108         (test_program_prefix): This.
56109         * stdio-common/tst-unbputc.sh: Likewise.
56110         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56111         $(run-program-prefix) with $(test-program-prefix).
56112         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56113         (test_program_prefix): This.
56114         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56115         $(built-program-cmd) with $(test-program-cmd).
56117 2013-01-11  Andreas Jaeger  <aj@suse.de>
56119         [BZ #15003]
56120         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56121         value. Sync with Linux 3.7.
56123 2013-01-10  David S. Miller  <davem@davemloft.net>
56125         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56126         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56127         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56129 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56131         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56132         never set.
56133         * configure: Regenerated.
56135 2013-01-10  David S. Miller  <davem@davemloft.net>
56137         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56138         sparc V9 rather than using V8 code.
56139         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56140         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56142 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56144         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56145         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56146         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56147         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56148         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56149         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56150         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56151         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56152         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56153         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56154         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56155         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56156         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56157         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56158         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56159         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56160         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56161         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56162         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56163         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56164         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56165         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56166         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56167         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56168         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56169         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56170         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56172 2013-01-10  David S. Miller  <davem@davemloft.net>
56174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56176 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56178         * posix/Makefile (tests-static): New variable.
56179         (tests): Add $(tests-static).
56180         (tst-exec-static-ARGS): New variable.
56181         (tst-spawn-static-ARGS): Likewise.
56182         * posix/tst-exec-static.c: New file.
56183         * posix/tst-spawn-static.c: Likewise.
56184         * posix/tst-exec.c: Support run directly.
56185         * posix/tst-spawn.c: Likewise.
56187 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56189         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56190         long.
56191         * math/bits/mathcalls.h (llrint): Likewise.
56192         (llround): Likewise.
56193         * stdlib/stdlib.h (struct drand48_data): Likewise.
56194         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56195         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56196         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56197         Likewise.
56198         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56199         Likewise.
56200         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56201         (elf_greg_t): Likewise.
56202         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56203         (__jmp_buf): Likewise.
56204         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56205         definitions.
56206         (llrint): Likewise, for all definitions.
56207         (llrintl): Likewise.
56209         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56210         Remove [__GNUC__] condition.
56211         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56212         condition to just [__USE_ISOC99].
56213         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56215 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56217         [BZ #14200]
56218         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56219         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56220         defined.
56221         (_POSIX_V6_ILP32_OFF32): Likewise.
56222         (_XBS5_ILP32_OFF32): Likewise.
56223         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56224         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56226 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56228         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56230         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56231         doubles __mpexp_twomm1.  Adjust usage.
56232         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56233         Remove.
56235 2013-01-10  Andreas Schwab  <schwab@suse.de>
56237         [BZ #14964]
56238         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56239         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56241 2013-01-09  David S. Miller  <davem@davemloft.net>
56243         [BZ #15003]
56244         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56245         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56246         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56247         (TCP_FASTOPEN): Define.
56248         (tcp_repair_opt): New structure.
56249         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56250         enum values.
56251         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56252         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56253         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56254         (tcp_cookie_transactions): New structure.
56256 2013-01-09  Anton Blanchard  <anton@samba.org>
56258         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56259         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56260         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56261         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56263 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56265         * include/features.h (__USE_ANSI): Remove.
56267 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56269         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56271         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56273 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56275         * sysdeps/s390/fpu/libm-test-ulps: Update.
56277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56279         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56280         (__acr): Likewise.
56281         (__cpy): Likewise.
56282         (norm): Likewise.
56283         (denorm): Likewise.
56284         (__mp_dbl): Likewise.
56285         (__dbl_mp): Likewise.
56286         (add_magnitudes): Likewise.
56287         (sub_magnitudes): Likewise.
56288         (__add): Likewise.
56289         (__sub): Likewise.
56290         (__mul): Likewise.
56291         (__inv): Likewise.
56292         (__dvd): Likewise.
56293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56294         (__acr): Likewise.
56295         (__cpy): Likewise.
56296         (norm): Likewise.
56297         (denorm): Likewise.
56298         (__mp_dbl): Likewise.
56299         (__dbl_mp): Likewise.
56300         (add_magnitudes): Likewise.
56301         (sub_magnitudes): Likewise.
56302         (__add): Likewise.
56303         (__sub): Likewise.
56304         (__mul): Likewise.
56305         (__inv): Likewise.
56306         (__dvd): Likewise.
56307         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56308         (__acr): Likewise.
56309         (__cpy): Likewise.
56310         (norm): Likewise.
56311         (denorm): Likewise.
56312         (__mp_dbl): Likewise.
56313         (__dbl_mp): Likewise.
56314         (add_magnitudes): Likewise.
56315         (sub_magnitudes): Likewise.
56316         (__add): Likewise.
56317         (__sub): Likewise.
56318         (__mul): Likewise.
56319         (__inv): Likewise.
56320         (__dvd): Likewise.
56322 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56324         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56325         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56326         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56327         2 && __USE_EXTERN_INLINES]: Likewise.
56329 2013-01-08  Andreas Jaeger  <aj@suse.de>
56331         [BZ# 14985]
56332         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56333         Remove.
56334         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56335         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56337 2013-01-07  Anton Blanchard  <anton@samba.org>
56339         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56340         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56341         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56342         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56343         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56344         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56345         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56346         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56348         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56349         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56350         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56351         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56352         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56353         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56354         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56355         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56356         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56357         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56358         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56359         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56360         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56361         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56362         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56363         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56364         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56365         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56366         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56367         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56368         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56369         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56371         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56372         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56373         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56374         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56375         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56376         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56377         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56378         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56379         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56380         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56381         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56383 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56385         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56386         (__MALLOC_PMT): Likewise.
56387         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56388         [__GNUC__], only on [_LIBC].
56389         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56390         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56391         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56392         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56393         forward declaration.
56394         (realloc_hook_ini): Likewise.
56395         (memalign_hook_ini): Likewise.
56396         (__libc_memalign): Do not use __MALLOC_PMT in variable
56397         declaration.
56398         (__libc_valloc): Likewise.
56399         (__libc_pvalloc): Likewise.
56400         (__libc_calloc): Likewise.
56401         (__posix_memalign): Likewise.
56403         [BZ #14996]
56404         * math/s_casinh.c: Include <float.h>.
56405         (__casinh): Do not do computation with squaring and square root
56406         for large arguments.
56407         * math/s_casinhf.c: Include <float.h>.
56408         (__casinhf): Do not do computation with squaring and square root
56409         for large arguments.
56410         * math/s_casinhl.c: Include <float.h>.
56411         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56412         (__casinhl): Do not do computation with squaring and square root
56413         for large arguments.
56414         * math/libm-test.inc (casin_test): Add more tests.
56415         (casinh_test): Likewise.
56416         * sysdeps/i386/fpu/libm-test-ulps: Update.
56417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56419 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56421         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56422         (__x86_64_raw_data_cache_size): Likewise.
56423         (__x86_64_data_cache_size_half): Likewise.
56424         (__x86_64_raw_data_cache_size_half): Likewise.
56425         (__x86_64_shared_cache_size): Likewise.
56426         (__x86_64_raw_shared_cache_size): Likewise.
56427         (__x86_64_shared_cache_size_half): Likewise.
56428         (__x86_64_raw_shared_cache_size_half): Likewise.
56429         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56430         to ...
56431         (__x86_data_cache_size): This.
56432         (__x86_64_raw_data_cache_size): Renamed to ...
56433         (__x86_raw_data_cache_size): This.
56434         (__x86_64_data_cache_size_half): Renamed to ...
56435         (__x86_data_cache_size_half): This.
56436         (__x86_64_raw_data_cache_size_half): Renamed to ...
56437         (__x86_raw_data_cache_size_half): This.
56438         (__x86_64_shared_cache_size): Renamed to ...
56439         (__x86_shared_cache_size): This.
56440         (__x86_64_raw_shared_cache_size): Renamed to ...
56441         (__x86_raw_shared_cache_size): This.
56442         (__x86_64_shared_cache_size_half): Renamed to ...
56443         (__x86_shared_cache_size_half): This.
56444         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56445         (__x86_raw_shared_cache_size_half): This.
56446         * sysdeps/x86_64/memcpy.S: Updated.
56447         * sysdeps/x86_64/memset.S: Likewise.
56448         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56449         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56450         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56452 2013-01-04  David S. Miller  <davem@davemloft.net>
56454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56456 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56458         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56459         1 to avoid redefinition warning.
56460         (__USE_GNU): Don't define.
56461         (init_signaling_nan): Protoize.
56463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56465 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56467         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56469         (__cpymn): Likewise.
56470         (norm): Remove commented code.
56471         (denorm): Likewise.
56472         (__mp_dbl): Likewise.
56473         (__inv): Likewise.
56474         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56475         (__cpymn): Likewise.
56476         (norm): Remove commented code.
56477         (denorm): Likewise.
56478         (__mp_dbl): Likewise.
56479         (__inv): Likewise.
56481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56482         mp_no value for 1.0 and 2.0.
56483         (norm): Use RADIXI instead of radixi.d.
56484         (denorm): Likewise.
56485         (__mul): Use 0.0 instead of zero.d.
56486         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56487         mp_no value for 1.0 and 2.0.
56488         (norm): Use RADIXI instead of radixi.d.
56489         (denorm): Likewise.
56490         (__mul): Use 0.0 instead of zero.d.
56492 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56494         [BZ #14994]
56495         * math/s_casinh.c (__casinh): Reduce finite argument to first
56496         quadrant then set signs of results at the end.
56497         * math/s_casinhf.c (__casinhf): Likewise.
56498         * math/s_casinhl.c (__casinhl): Likewise.
56499         * math/libm-test.inc (casin_test): Add more tests.
56500         (casinh_test): Likewise.
56501         * sysdeps/i386/fpu/libm-test-ulps: Update.
56502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56504 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56506         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56508         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56510         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56511         declarations.
56512         (denorm): Likewise.
56513         (__mp_dbl): Likewise.
56514         (__inv): Likewise.
56516         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56517         and adjust the header comment.
56519         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56520         variable name from declaration.
56522 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56525         Initialize COMMON_CPUID_INDEX_7 element.
56526         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56527         (CPUID_RTM): Likewise.
56528         (HAS_RTM): Likewise.
56529         (COMMON_CPUID_INDEX_7): New enum.
56531 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56533         [BZ #14981]
56534         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56535         size is zero, record memory as freed.
56537 2013-01-03  Andreas Jaeger  <aj@suse.de>
56539         * po/ia.po: Add new Interlingua translation.
56541 2012-01-03  Allan McRae  <allan@archlinux.org>
56543         * locale/programs/localedef.c: Fix description of '--posix' flag.
56545 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56547         * NEWS: Update dates in second copyright notice.
56548         * README: Update copyright dates in example.
56549         * manual/libc.texinfo: Update copyright dates.
56550         * scripts/test-installation.pl: Update copyright date in --version
56551         output.
56553         * hurd/ctty-input.c: Fix copyright notice formatting.
56554         * hurd/ctty-output.c: Likewise.
56555         * hurd/dtable.c: Likewise.
56556         * hurd/hurd-raise.c: Likewise.
56557         * hurd/hurdprio.c: Likewise.
56558         * hurd/msgportdemux.c: Likewise.
56559         * misc/sys/file.h: Likewise.
56560         * misc/sys/ioctl.h: Likewise.
56561         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56562         * sysdeps/mach/hurd/chdir.c: Likewise.
56563         * sysdeps/mach/hurd/fchdir.c: Likewise.
56564         * sysdeps/mach/hurd/rename.c: Likewise.
56565         * sysdeps/mach/hurd/rmdir.c: Likewise.
56566         * sysdeps/mach/hurd/seekdir.c: Likewise.
56567         * sysdeps/mach/hurd/setsid.c: Likewise.
56568         * sysdeps/posix/wait3.c: Likewise.
56570         * All files with FSF copyright notices: Update copyright dates
56571         using scripts/update-copyrights.
56572         * intl/plural.c: Regenerated.
56573         * locale/programs/charmap-kw.h: Likewise.
56574         * locale/programs/locfile-kw.h: Likewise.
56576 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56578         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56579         four values.
56581         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56582         calculation loop and add branch prediction.
56584         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56585         check access beyond bounds of m1np.
56587         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56588         MPTWO.
56589         (__inv): Remove local variable MPTWO to use the global
56590         constant.
56591         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56592         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56593         variable MPTWO.
56594         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56595         MP3HALFS static const.
56597 2013-01-01  David S. Miller  <davem@davemloft.net>
56599         * po/ca.po: Update from translation team.
56601 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56603         * scripts/update-copyrights: New file.
56604         * Makeconfig: Reformat copyright notice.
56605         * ctype/ctype.h: Likewise.
56606         * debug/swprintf_chk.c: Likewise.
56607         * elf/dl-cache.c: Likewise.
56608         * elf/dl-debug.c: Likewise.
56609         * elf/dl-object.c: Likewise.
56610         * grp/initgroups.c: Likewise.
56611         * hurd/Makefile: Likewise.
56612         * hurd/hurd/signal.h: Likewise.
56613         * hurd/hurdfault.c: Likewise.
56614         * hurd/hurdioctl.c: Likewise.
56615         * hurd/hurdlookup.c: Likewise.
56616         * hurd/intr-msg.c: Likewise.
56617         * iconv/gconv_open.c: Likewise.
56618         * libio/swprintf.c: Likewise.
56619         * locale/lc-ctype.c: Likewise.
56620         * locale/nl_langinfo.c: Likewise.
56621         * mach/Machrules: Likewise.
56622         * mach/Makefile: Likewise.
56623         * malloc/obstack.h: Likewise.
56624         * manual/Makefile: Likewise.
56625         * manual/tsort.awk: Likewise.
56626         * misc/bits/stab.def: Likewise.
56627         * nis/nis_print_group_entry.c: Likewise.
56628         * nis/nis_table.c: Likewise.
56629         * nis/nss_compat/compat-pwd.c: Likewise.
56630         * nis/nss_compat/compat-spwd.c: Likewise.
56631         * po/Makefile: Likewise.
56632         * posix/fnmatch.c: Likewise.
56633         * posix/regex.h: Likewise.
56634         * resolv/Makefile: Likewise.
56635         * resolv/nss_dns/dns-network.c: Likewise.
56636         * resolv/res_hconf.c: Likewise.
56637         * scripts/gen-sorted.awk: Likewise.
56638         * soft-fp/soft-fp.h: Likewise.
56639         * stdio-common/printf.h: Likewise.
56640         * stdlib/monetary.h: Likewise.
56641         * stdlib/random.c: Likewise.
56642         * stdlib/random_r.c: Likewise.
56643         * sysdeps/generic/Makefile: Likewise.
56644         * sysdeps/gnu/Makefile: Likewise.
56645         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56646         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56647         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56648         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56649         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56650         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56651         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56652         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56653         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56654         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56655         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56656         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56657         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56658         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56659         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56660         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56661         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56662         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56663         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56664         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56665         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56666         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56667         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56668         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56669         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56670         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56671         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56672         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56673         * sysdeps/mach/hurd/errnos.awk: Likewise.
56674         * sysdeps/mach/hurd/fork.c: Likewise.
56675         * sysdeps/mach/hurd/getcwd.c: Likewise.
56676         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56677         * sysdeps/mach/hurd/mmap.c: Likewise.
56678         * sysdeps/mach/hurd/utimes.c: Likewise.
56679         * sysdeps/mach/hurd/xmknod.c: Likewise.
56680         * sysdeps/posix/profil.c: Likewise.
56681         * sysdeps/posix/readdir_r.c: Likewise.
56682         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56683         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56684         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56685         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56686         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56687         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56688         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56689         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56690         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56691         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56692         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56693         * sysdeps/pthread/lio_listio.c: Likewise.
56694         * sysdeps/sparc/dl-procinfo.h: Likewise.
56695         * sysdeps/unix/i386/sysdep.S: Likewise.
56696         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56697         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56698         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56699         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56701         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56702         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56703         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56704         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56705         * sysdeps/wordsize-32/divdi3.c: Likewise.
56706         * time/sys/time.h: Likewise.
56707         * wcsmbs/Makefile: Likewise.
56709 2013-01-01  David S. Miller  <davem@davemloft.net>
56711         * po/fr.po: Update from translation team.
56713         * catgets/gencat.c: Update copyright year.
56714         * csu/version.c: Likewise.
56715         * debug/catchsegv.sh: Likewise.
56716         * debug/pcprofiledump.c: Likewise.
56717         * debug/xtrace.sh: Likewise.
56718         * elf/ldconfig.c: Likewise.
56719         * elf/ldd.bash.in: Likewise.
56720         * elf/pldd.c: Likewise.
56721         * elf/sotruss.ksh: Likewise.
56722         * elf/sprof.c: Likewise.
56723         * iconv/iconv_prog.c: Likewise.
56724         * iconv/iconvconfig.c: Likewise.
56725         * locale/programs/locale.c: Likewise.
56726         * locale/programs/localedef.c: Likewise.
56727         * login/programs/pt_chown.c: Likewise.
56728         * malloc/memusage.sh: Likewise.
56729         * malloc/memusagestat.c: Likewise.
56730         * malloc/mtrace.pl: Likewise.
56731         * nscd/nscd.c: Likewise.
56732         * nss/getent.c: Likewise.
56733         * nss/makedb.c: Likewise.
56734         * posix/getconf.c: Likewise.
56736 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56738         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56739         numbers.
56741 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56743         * math/bits/mathcalls.h (modf): Use __nonnull.
56745 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56747         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56748         (split): Use macro CN instead of the bare value.
56749         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56750         could be used.
56751         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56752         instead of the bare value.
56753         (power1): Likewise.
56755 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56757         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56758         __ATAN_TWOM.
56759         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56761         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56762         their values.
56763         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56764         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56765         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56766         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56768 2012-12-28  Andreas Jaeger  <aj@suse.de>
56770         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56771         values are from Linux 3.7.
56773         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56774         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56776 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56778         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56779         TRUE case.
56781         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56782         (norm): Likewise.
56783         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56784         variables with preprocessor constants.
56785         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56786         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56787         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56789 2012-12-27  Bruno Haible  <bruno@clisp.org>
56791         [BZ #14317]
56792         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56793         only if needed.
56795 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56797         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56798         and use variable directly.
56799         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56801         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56802         MPONE.
56803         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56804         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56805         variable MPONE.
56806         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56807         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56808         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56809         include directive.  Remove local variable MPONE.
56810         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56811         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56812         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56814 2012-12-25  David S. Miller  <davem@davemloft.net>
56816         * version.h (RELEASE): Set to "development".
56817         (VERSION): Set to "2.17.90".
56818         * NEWS: Add 2.18 section.
56820 2012-12-21  David S. Miller  <davem@davemloft.net>
56822         * po/hr.po: Update from translation team.
56824 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56826         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56828 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56830         * NEWS:  Mention new memcpy for MIPS.
56832 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56834         * manual/contrib.texi (Contributors): Spelling correction.
56836 2012-12-15  David S. Miller  <davem@davemloft.net>
56838         * po/ru.po: Update from translation team.
56840 2012-12-13  David S. Miller  <davem@davemloft.net>
56842         * NEWS: Mention IFUNC testsuite enhancements.
56844         * po/pl.po: Update from translation team.
56845         * po/bg.po: Likewise.
56847         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56848         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56850 2012-12-11  David S. Miller  <davem@davemloft.net>
56852         * po/sv.po: Update from translation team.
56854         * po/vi.po: Update from translation team.
56856         * po/cs.po: Update from translation team.
56858         * po/de.po: Update from translation team.
56859         * po/eo.po: Likewise.
56860         * po/nl.po: Likewise.
56862 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56864         [BZ #14246]
56865         * manual/argp.texi (Argp Helper Functions): Move node to follow
56866         Argp Parsing State.
56868         [BZ #14872]
56869         * manual/conf.texi (Limits on File System Capacity): Mention if
56870         terminating null is included in the max size.
56872 2012-12-10  Andreas Jaeger  <aj@suse.de>
56874         * po/cs.po: Update from translation team.
56876 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56878         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56879         void pointer and cast to uintptr_t.
56880         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56881         path.
56882         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56883         * sysdeps/s390/s390-64/memset.S: Likewise.
56885 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56887         [BZ #14833]
56888         * menual/message.texi (Message Translation): Fix typos.
56889         (Helper programs for gettext): Likewise.
56891 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56893         [BZ #14898]
56894         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56895         Change to -1.
56897 2012-12-07  David S. Miller  <davem@davemloft.net>
56899         * po/libc.pot: Update.
56901 2012-12-07  Richard Henderson  <rth@redhat.com>
56903         [BZ #10114]
56904         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56905         normal/normal case to before the switch.
56906         (_FP_DIV): Likewise.
56908 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56909             Mike Frysinger  <vapier@gentoo.org>
56911         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56912         check for __NR_fadvise64_64.
56914 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56916         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56917         0, not just to plain "0" as a statement.
56918         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56919         with cw.
56921 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56923         * NEWS: Use sourceware.org in Bugzilla URL.
56925 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56928         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56930         * stdio-common/tst-put-error.c (do_test): Add newline to the
56931         padded test to ensure flush.
56933 2012-12-05  Jeff Law  <law@redhat.com>
56935         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56937 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56939         * README: Don't refer to ports add-on as distributed separately.
56940         Mention AArch64 in list of systems supported in the ports add-on.
56942         * LICENSES: Add more non-FSF copyright and license notices.
56944         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56945         ((unused)).
56947         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56949         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56950         10000 as width of padded output.
56952 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56954         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56956         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56957         variable LX with __attribute__ ((unused)).
56958         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56959         Likewise.
56960         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56961         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56962         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56963         with __attribute__ ((unused)).
56965 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56967         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56969 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56971         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56972         (CFLAGS-nldbl-acos.c): New variable.
56973         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56974         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56975         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56976         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56977         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56978         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56979         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56980         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56981         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56982         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56983         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56984         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56985         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56986         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56987         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56988         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56989         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56990         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56991         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56992         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56993         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56994         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56995         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56996         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56997         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56998         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56999         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57000         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57001         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57002         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57003         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57004         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57005         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57006         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57007         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57008         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57009         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57010         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57011         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57012         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57013         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57014         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57015         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57016         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57017         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57018         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57019         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57020         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57021         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57022         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57023         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57024         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57025         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57026         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57027         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57028         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57029         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57030         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57031         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57032         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57033         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57034         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57035         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57036         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57037         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57038         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57039         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57040         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57041         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57042         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57043         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57044         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57045         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57046         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57047         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57048         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57049         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57050         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57051         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57052         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57053         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57054         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57055         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57056         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57057         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57058         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57059         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57060         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57061         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57062         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57063         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57064         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57065         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57066         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57067         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57068         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57069         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57072         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57074         [BZ #14914]
57075         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57076         whole low double instead of just low 47 bits when splitting values
57077         into two parts.
57079 2012-12-03  Allan McRae  <allan@archlinux.org>
57081         * manual/stdio.texi (Predefined Printf Handlers): Remove
57082         @hsep and @vsep usage.
57084 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57086         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57087         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57089 2012-12-03  Jeff Law  <law@redhat.com>
57091         * time/sys/time.h (settimeofday): Do not mark TV argument
57092         as __nonnull.
57094 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57096         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57097         when currently writing and seek to current position when not.
57098         * libio/Makefile (tests): Remove bug-fclose1.
57099         * libio/bug-fclose1.c: Delete.
57101 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57103         * manual/arith.texi (feenableexcept): Fix typo.
57104         (fedisableexcept): Likewise.
57106 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57108         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57109         second, differently-typed declaration, rather than a cast.
57111 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57113         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57114         * include/rpc/svc.h: ... here.
57116 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57118         [BZ #13013]
57119         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57120         depending n and resplen2 to catch cases where answer
57121         equals answerp2.
57123 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57125         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57126         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57128 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57130         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57132 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57134         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57136 2012-11-28  Jeff Law  <law@redhat.com>
57138         [BZ #13761]
57139         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57140         dataset_temporary.  Track alloca usage into alloca_used.
57141         If dataset is large allocate and release it via malloc/free.
57143 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57145         [BZ #14197]
57146         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57148 2012-11-28  David S. Miller  <davem@davemloft.net>
57150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57152 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57154         [BZ #14803]
57155         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57156         of pi/2 rounded to nearest to 64 bits.
57157         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57158         nearest to 64 bits.
57159         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57160         bits.
57162 2012-11-28  Jeff Law <law@redhat.com>
57163             Martin Osvald <mosvald@redhat.com>
57165         [BZ #14889]
57166         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57167         * sunrpc/svc.c: Include time.h.
57168         (__svc_accept_failed): New function.
57169         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57170         any reason other than EINTR, call __svc_accept_failed.
57171         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57172         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57174 2012-11-28  Andreas Schwab  <schwab@suse.de>
57176         * scripts/abilist.awk: Also handle indirect functions in .opd
57177         section.
57179 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57181         [BZ #13881]
57182         * sysdeps/x86/fpu/powl_helper.c: New file.
57183         * sysdeps/x86/fpu/Makefile: Likewise.
57184         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57185         (p3): New object.
57186         (__ieee754_powl): Use __powl_helper for finite arguments except
57187         integer exponents below 8.
57188         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57189         (p3): New object.
57190         (__ieee754_powl): Use __powl_helper for finite arguments except
57191         integer exponents below 8.
57192         * math/libm-test.inc (pow_test): Add more tests and enable some
57193         previously disabled tests.
57194         * sysdeps/i386/fpu/libm-test-ulps: Update.
57195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57197 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57198             Carlos O'Donell  <carlos_odonell@mentor.com>
57200         * nss/makedb.c (is_prime): Assert that input is odd and greater
57201         than 4.  Note that fact in a comment too.
57202         (next_prime): Add 4 to input.
57204 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57206         [BZ #11741]
57207         * libio/Makefile (tests): Add test case tst-fwrite-error.
57208         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57209         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57210         * libio/tst-fwrite-error.c: New test case.
57212 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57214         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57215         before casting to void *.
57216         * include/libc-internal.h (__pointer_type): New macro.
57217         (__integer_if_pointer_type_sub): Likewise.
57218         (__integer_if_pointer_type): Likewise.
57219         (cast_to_integer): Likewise.
57220         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57221         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57222         before casting to atomic64_t.
57223         (atomic_exchange_acq): Likewise.
57224         (__arch_exchange_and_add_body): Likewise.
57225         (__arch_add_body): Likewise.
57226         (atomic_add_negative): Likewise.
57227         (atomic_add_zero): Likewise.
57229 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57231         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57232         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57233         (add_fdes): Likewise.
57234         (linear_search_fdes): Likewise.
57235         (binary_search_unencoded_fdes): Likewise.
57237 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57239         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57241 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57243         * configure.in: Autodetect C++ header directories.
57244         * configure: Regenerated.
57246 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57248         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57250 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57254 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57256         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57257         LDBL_MANT_DIG == 106]: Disable some tests.
57258         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57259         Likewise.
57260         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57261         Likewise.
57263         [BZ #14871]
57264         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57265         input for small inputs.  Return +/- pi/2 for large inputs.
57266         * math/libm-test.inc (atan_test): Add more tests.
57268         * sysdeps/generic/unwind-dw2-fde-glibc.c
57269         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57270         __attribute__ ((unused)).
57272         [BZ #14645]
57273         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57274         x * y if x and y are nonzero and z is zero.
57276         [BZ #14811]
57277         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57278         nonzero exponents with absolute value below 0x1p-117 to +/-
57279         0x1p-117.
57281         [BZ #14869]
57282         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57283         up arguments below 2**-450, not just those below 2**-500.
57284         * math/libm-test.inc (hypot_test): Add another test.
57286         [BZ #14868]
57287         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57288         Return a+b for ratio over 2**120, not 2**60.
57289         * math/libm-test.inc (hypot_test): Add another test.
57291         * math/libm-test.inc (clog_test): Use
57292         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57293         (clog10_test): Likewise.
57295         [BZ #6778]
57296         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57298 2012-11-22  Andreas Schwab  <schwab@suse.de>
57300         * sysdeps/i386/fpu/libm-test-ulps: Update.
57302 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57304         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57305         printf output with newline.
57307 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57309         [BZ #14865]
57310         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57311         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57312         -z nodlopen, -z initfirst and -z execstack support.
57313         * configure: Regenerated.
57315         * elf/elf.h (DF_1_NODIRECT): New macro.
57316         (DF_1_IGNMULDEF): Likewise.
57317         (DF_1_NOKSYMS): Likewise.
57318         (DF_1_NOHDR): Likewise.
57319         (DF_1_EDITED): Likewise.
57320         (DF_1_NORELOC): Likewise.
57321         (DF_1_SYMINTPOSE): Likewise.
57322         (DF_1_GLOBAUDIT): Likewise.
57323         (DF_1_SINGLETON): Likewise.
57324         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57325         DT_1_SUPPORTED_MASK bits.
57326         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57328 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57330         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57332 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57334         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57335         macro.
57337         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57338         (sendmmsg): Move declarations...
57339         * socket/sys/socket.h: ... here.
57340         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57341         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57342         include it from...
57343         * socket/recvmmsg.c: ... this new file.
57344         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57345         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57346         definition of __sendmmsg hidden.
57347         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57348         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57349         Move ENOSYS stub into and include it from...
57350         * socket/sendmmsg.c: ... this new file.
57351         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57352         (sysdep_routines): Move recvmmsg and sendmmsg...
57353         * socket/Makefile (routines): ... here.
57354         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57355         (GLIBC_PRIVATE): Add __sendmmsg.
57356         * include/sys/socket.h (__sendmmsg): Add declarations.
57357         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57358         sendmmsg.
57360 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57362         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57363         variable I1 with __attribute__ ((unused)).
57364         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57366 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57368         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57369         DUMMY variables with __attribute__ ((unused)).
57371         * bits/byteswap.h: Include <bits/types.h>.
57372         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57374 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57376         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57377         string_t.  Do not manually set errno.
57378         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57379         length with __strnlen.  Make sure to both set errno and return it on
57380         failure.
57382 2012-11-19  David S. Miller  <davem@davemloft.net>
57384         With help from Joseph Myers.
57385         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57386         very large arguments properly.
57387         * math/libm-test.inc (atan_test): New tests.
57388         (atan2_test): New tests.
57389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57390         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57392 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57394         [BZ #14856]
57395         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57396         Define to 3.
57398         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57399         [POSIX] (EADDRNOTAVAIL): Likewise.
57400         [POSIX] (EAFNOSUPPORT): Likewise.
57401         [POSIX] (EALREADY): Likewise.
57402         [POSIX] (ECONNABORTED): Likewise.
57403         [POSIX] (ECONNREFUSED): Likewise.
57404         [POSIX] (ECONNRESET): Likewise.
57405         [POSIX] (EDESTADDRREQ): Likewise.
57406         [POSIX] (EDQUOT): Likewise.
57407         [POSIX] (EHOSTUNREACH): Likewise.
57408         [POSIX] (EIDRM): Likewise.
57409         [POSIX] (EISCONN): Likewise.
57410         [POSIX] (ELOOP): Likewise.
57411         [POSIX] (EMULTIHOP): Likewise.
57412         [POSIX] (ENETDOWN): Likewise.
57413         [POSIX] (ENETUNREACH): Likewise.
57414         [POSIX] (ENOBUFS): Likewise.
57415         [POSIX] (ENODATA): Likewise.
57416         [POSIX] (ENOLINK): Likewise.
57417         [POSIX] (ENOMSG): Likewise.
57418         [POSIX] (ENOPROTOOPT): Likewise.
57419         [POSIX] (ENOSR): Likewise.
57420         [POSIX] (ENOSTR): Likewise.
57421         [POSIX] (ENOTCONN): Likewise.
57422         [POSIX] (ENOTSOCK): Likewise.
57423         [POSIX] (EOPNOTSUPP): Likewise.
57424         [POSIX] (EOVERFLOW): Likewise.
57425         [POSIX] (EPROTO): Likewise.
57426         [POSIX] (EPROTONOSUPPORT): Likewise.
57427         [POSIX] (EPROTOTYPE): Likewise.
57428         [POSIX] (ESTALE): Likewise.
57429         [POSIX] (ETIME): Likewise.
57430         [POSIX] (ETXTBSY): Likewise.
57431         [POSIX] (EWOULDBLOCK): Likewise.
57432         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57433         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57434         [POSIX] (SEEK_CUR): Likewise.
57435         [POSIX] (SEEK_END): Likewise.
57436         [POSIX || UNIX98] (mode_t): Do not require.
57437         [POSIX] (off_t): Likewise.
57438         [POSIX] (pid_t): Likewise.
57439         [POSIX] (sys/stat.h): Do not allow header.
57440         [POSIX] (unistd.h): Likewise.
57441         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57442         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57443         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57444         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57445         require.
57446         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57447         sigevent): Specify elements.
57448         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57449         entry.
57450         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57451         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57453         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57454         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57455         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57456         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57457         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57458         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57459         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57460         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57461         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57462         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57463         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57464         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57465         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57466         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57467         Likewise.
57468         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57469         Likewise.
57470         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57471         Likewise.
57472         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57473         Likewise.
57474         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57475         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57476         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57477         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57478         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57479         Specify lower bound on value.
57480         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57481         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57482         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57483         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57484         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57485         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57486         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57487         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57488         value.
57489         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57490         as optional.
57491         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57492         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57493         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57494         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57495         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57496         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57497         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57498         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57499         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57500         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57501         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57502         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57503         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57504         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57505         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57506         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57507         entry.
57508         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57509         optional.
57510         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57511         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57512         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57513         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57514         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57515         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57516         Likewise.
57517         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57518         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57519         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57520         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57521         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57522         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57523         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57524         as optional.
57525         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57526         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57527         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57528         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57529         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57530         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57531         specify as optional.
57532         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57533         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57534         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57535         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57536         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57537         [XPG3] (NL_LANGMAX): Likewise.
57538         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57539         [POSIX || XPG3] (NL_NMAX): Likewise.
57540         [POSIX || XPG3] (NL_SETMAX): Likewise.
57541         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57542         [XPG3] (NZERO): Likewise.
57543         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57544         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57545         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57546         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57547         (REG_ERANGE): Expect.
57548         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57549         optional-constant.
57550         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57551         Use (void) in prototype.
57552         [POSIX] (*_t): Allow.
57553         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57554         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57555         (WRDE_BADVAL): Expect.
57557         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57558         expect.
57559         [XPG3 || XPG4] (O_RSYNC): Likewise.
57560         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57561         Likewise.
57562         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57563         [XPG3 || XPG4] (sigqueue): Likewise.
57564         [XPG3 || XPG4] (sigtimedwait): Likewise.
57565         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57566         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57567         [XPG3 || XPG4] (vsnprintf): Likewise.
57568         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57569         Likewise.
57570         [XPG3 || XPG4] (blksize_t): Likewise.
57571         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57572         Likewise.
57573         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57574         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57575         [XPG3 || XPG4] (struct itimerspec): Likewise.
57576         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57577         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57578         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57579         [XPG3 || XPG4] (clockid_t): Likewise.
57580         [XPG3 || XPG4] (timer_t): Likewise.
57581         [XPG3 || XPG4] (clock_getres): Likewise.
57582         [XPG3 || XPG4] (clock_gettime): Likewise.
57583         [XPG3 || XPG4] (clock_settime): Likewise.
57584         [XPG3 || XPG4] (nanosleep): Likewise.
57585         [XPG3 || XPG4] (timer_create): Likewise.
57586         [XPG3 || XPG4] (timer_delete): Likewise.
57587         [XPG3 || XPG4] (timer_gettime): Likewise.
57588         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57589         [XPG3 || XPG4] (timer_settime): Likewise.
57590         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57591         [XPG3 || XPG4] (getlogin_r): Likewise.
57592         [XPG3 || XPG4] (pread): Likewise.
57593         [XPG3 || XPG4] (pthread_atfork): Likewise.
57594         [XPG3 || XPG4] (pwrite): Likewise.
57596         [BZ #14835]
57597         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57598         <bits/siginfo.h>.
57600 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57602         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57603         finalizing MALLSTREAM.
57605         * sysdeps/mach/hurd/syncfs.c: New file.
57607 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57609         [BZ #14719]
57610         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57611         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57612         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57613         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57614         (_nss_dns_gethostbyname4_r): Likewise.
57615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57616         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57618 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57620         [BZ #13763]
57621         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57623 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57625         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57626         * elf/cache.c (print_entry): Print ",AArch64" for
57627         FLAG_AARCH64_LIB64
57629         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57630         * elf/cache.c (print_entry): Print ",hard-float" for
57631         FLAG_ARM_LIBHF.
57633 2012-11-18  David S. Miller  <davem@davemloft.net>
57635         With help from Joseph Myers.
57636         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57637         cutoff to 2**-13.
57638         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57639         cutoff to 2**-25.
57640         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57641         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57642         small.
57643         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57644         * math/libm-test.inc (y0_test): New tests.
57645         (y1_test): New tests.
57646         * sysdeps/i386/fpu/libm-test-ulps: Update.
57647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57650 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57652         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57653         64-bit targets.
57654         * configure: Regenerated.
57656 2012-11-17  David S. Miller  <davem@davemloft.net>
57658         [BZ #14811]
57659         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57660         nonzero exponents with absolute value below 0x1p-128 to +/-
57661         0x1p-128.
57663 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57665         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57667         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57669         * posix/getconf-speclist.c: New file.
57670         * posix/posix-envs.def: Likewise.
57671         * posix/confstr.c (START_ENV_GROUP): New macro.
57672         (END_ENV_GROUP): Likewise.
57673         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57674         (KNOWN_PRESENT_ENV_STRING): Likewise.
57675         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57676         (UNKNOWN_ENVIRONMENT): Likewise.
57677         (confstr): Include posix-envs.def instead of handling
57678         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57679         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57680         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57681         (END_ENV_GROUP): Likewise.
57682         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57683         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57684         (UNKNOWN_ENVIRONMENT): Likewise.
57685         (__sysconf): Include posix-envs.def instead of handling associated
57686         cases directly here.
57687         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57688         preprocessing getconf-speclist.c rather than running getconf or
57689         generating empty file.
57691 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57693         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57695 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57697         [BZ #14672]
57698         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57700 2012-11-16  David S. Miller  <davem@davemloft.net>
57702         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57703         smaller than LDBL_EPSILON/2.0L, just return xm1.
57705 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57707         * elf/tst-array1.c (init): Set constructor priority to 1000.
57708         (fini): Set destructor priority to 1000.
57709         * elf/tst-array2dep.c: Likewise.
57711 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57713         [BZ #11741]
57714         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57715         (_IO_new_file_xsputn): Also return EOF if none of the input
57716         data was written when overflow failed.
57717         * libio/iopadn.c (_IO_padn): Likewise.
57718         * libio/iowpadn.c (_IO_wpadn): Likewise.
57719         * stdio-common/tst-put-error.c: Add copyright notice.
57720         (do_test): Add case for printing padded string.
57721         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57722         _IO_padn returned error.
57723         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57724         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57725         return EOF.
57727 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57729         * libio/libioP.h: Add comment note that the references to C++
57730         bits are now obsolete.
57732 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57734         * math/libm-test.inc (check_complex): Use asprintf.
57736 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57738         * debug/pcprofiledump.c (print_version): Update copyright year.
57739         * malloc/memusagestat.c (print_version): Likewise.
57741 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57743         [BZ #14831]
57744         * elf/Makefile (tests): Add tst-audit8.
57745         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57746         ($(objpfx)tst-audit8.out): New target.
57747         (tst-audit8-ENV): New variable.
57748         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57749         audit if l_reloc_result is NULL.
57750         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57751         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57752         * elf/tst-audit8.c: New file.
57754 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57756         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57757         * misc/Makefile (CFLAGS-select.c): Define.
57758         * posix/Makefile (CFLAGS-pause.c): Define.
57760 2012-11-13  David S. Miller  <davem@davemloft.net>
57762         * crypt/Makefile: Move test targets after toplevel Rules
57763         inclusion.  Grab any necessary sysdep routines when linking.
57764         * crypt/md5.c (md5_process_block): Remove define, we will always
57765         name it __md5_process_block.
57766         (md5_finish_ctx): Update md5_process_block call.
57767         (md5_stream): Likewise.
57768         (md5_process_bytes): Likewise.
57769         (md5_process_block): Rename to __md5_process_block and move to ...
57770         * crypt/md5-block.c: ... here.
57771         * crypt/sha256.c (sha256_process_block): Move to ...
57772         * crypt/sha256-block.c: ... here.
57773         * crypt/sha512.c (sha512_process_block): Move to ...
57774         * crypt/sha512-block.c: ... here.
57775         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57776         path.
57777         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57778         * sysdeps/sparc/sparc64/multiarch/Makefile
57779         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57780         crypt subdir.
57781         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57782         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57783         multiarch changes.
57784         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57785         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57786         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57787         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57788         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57789         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57790         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57791         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57792         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57793         file.
57794         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57795         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57796         file.
57797         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57799 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57801         * timezone/tzselect.ksh: Update from tzcode git revision
57802         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57803         * timezone/zdump.c: Likewise.
57804         * timezone/zic.c: Likewise.
57805         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57806         in TZVERSION setting, not $(PKGVERSION).
57807         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57808         REPORT_BUGS_TO settings.
57810         [BZ #14838]
57811         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57812         macro.
57814 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57816         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57817         detection to immediately after _FP_ROUND().
57818         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57819         bits are 0.
57821 2012-11-11  David S. Miller  <davem@davemloft.net>
57823         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57824         inttypes.h
57825         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57826         __close rather than their public counterparts.
57828 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57830         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57831         file.
57832         [UNIX98] (sem_timedwait): Do not expect.
57833         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57834         [XPG4 || UNIX98] (sockatmark): Do not expect.
57835         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57836         (clock_getcpuclockid): Do not expect.
57837         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57838         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57839         Do not expect.
57840         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57841         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57842         [UNIX98] (vwscanf): Likewise.
57843         [UNIX98] (vswscanf): Likewise.
57845 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57847         * timezone/version.h: Remove file.
57848         * timezone/README: Do not refer to version.h.
57849         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57850         $(objpfx)version.h.
57851         ($(objpfx)zdump.o): Likewise.
57852         ($(objpfx)version.h): New target.
57854         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57855         2012i.
57856         * timezone/README: Don't mention modification to tzselect.ksh.
57857         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57858         work on unmodified tzselect.ksh.  Substitute version numbers in
57859         tzselect.ksh.
57861         * Makefile (format-me): Remove.
57862         (INSTALL): Adjust indentation.  Use commands directly instead of
57863         using $(format-me).
57865         * aclocal.m4 (ACX_PKGVERSION): New macro.
57866         (ACX_BUGURL): Likewise.
57867         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57868         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57869         (REPORT_BUGS_TO): Likewise.
57870         * configure: Regenerated.
57871         * config.h.in (PKGVERSION): New macro.
57872         (REPORT_BUGS_TO): Likewise.
57873         * config.make.in (PKGVERSION): New variable.
57874         (PKGVERSION_TEXI): Likewise.
57875         (REPORT_BUGS_TO): Likewise.
57876         (REPORT_BUGS_TEXI): Likewise.
57877         * Makefile (format-me): Use -I$(common-objpfx)manual.
57878         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57879         ($(common-objpfx)manual/%): New target.
57880         (manual/%): Remove target.
57881         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57882         (print_version): Use PKGVERSION.
57883         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57884         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57885         and REPORT_BUGS_TO.
57886         ($(objpfx)xtrace): Likewise.
57887         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57888         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57889         (print_version): Use PKGVERSION.
57890         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57891         (do_version): Use PKGVERSION.
57892         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57893         REPORT_BUGS_TO.
57894         (common-ldd-rewrite): Likewise.
57895         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57896         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57897         (print_version): Use PKGVERSION.
57898         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57899         * elf/pldd.c (argp_program_bug_address): Remove variable.
57900         (more_help): New function.
57901         (argp): Use more_help.
57902         (print_version): Use PKGVERSION.
57903         * elf/sln.c (main): Use PKGVERSION.
57904         (usage): Use REPORT_BUGS_TO.
57905         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57906         (top level): Use PKGVERSION.
57907         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57908         (print_version): Use PKGVERSION.
57909         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57910         (print_version): Use PKGVERSION.
57911         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57912         (print_version): Use PKGVERSION.
57913         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57914         (print_version): Use PKGVERSION.
57915         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57916         (print_version): Use PKGVERSION.
57917         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57918         (print_version): Use PKGVERSION.
57919         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57920         and BUGURL.
57921         ($(objpfx)memusage): Likewise.
57922         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57923         (do_version): Use PKGVERSION.
57924         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57925         (print_version): Use PKGVERSION.
57926         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57927         ($PKGVERSION): New variable.
57928         ($REPORT_BUGS_TO): Likewise.
57929         (usage): Use $REPORT_BUGS_TO.
57930         (top level): Use $PKGVERSION.
57931         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57932         ($(objpfx)pkgvers.texi): New rule.
57933         ($(objpfx)stamp-pkgvers): Likewise.
57934         * manual/install.texi: Include pkgvers.texi.
57935         (--with-pkgversion): Document new configure option.
57936         (--with-bugurl): Likewise.
57937         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57938         than necessarily for this particular distribution.  Use
57939         REPORT_BUGS_TO for where to report bugs.
57940         * INSTALL: Regenerated.
57941         * manual/libc.texinfo: Include pkgvers.texi.
57942         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57943         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57944         (print_version): Use PKGVERSION.
57945         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57946         (print_version): Use PKGVERSION.
57947         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57948         (print_version): Use PKGVERSION.
57949         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57950         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57951         macro.
57952         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57953         (print_version): Use PKGVERSION.
57954         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57955         (print_version): Use PKGVERSION.
57956         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57957         and PKGVERSION.
57959         * timezone/checktab.awk: Update from tzcode 2012i.
57960         * timezone/ialloc.c: Likewise.
57961         * timezone/private.h: Likewise.
57962         * timezone/scheck.c: Likewise.
57963         * timezone/tzfile.h: Likewise.
57964         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57965         (TZVERSION): Hardcode tzcode version number.
57966         * timezone/zdump.c: Update from tzcode 2012i.
57967         * timezone/zic.c: Likewise.
57968         * timezone/version.h: New file.
57969         * timezone/README: Describe version.h.  Update upstream location.
57971         [BZ #14824]
57972         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57973         (mktemp): Enable declaration.
57974         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57975         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57976         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57977         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57978         Likewise.
57979         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57980         Likewise.
57981         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57982         Likewise.
57983         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57984         Likewise.
57985         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57986         Likewise.
57987         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57988         Likewise.
57990         [BZ #14821]
57991         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57992         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57993         for copies of such integer values.
57994         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57995         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57997 2012-11-09  Andreas Jaeger  <aj@suse.de>
57999         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58000         definitions and declarations that are provided by
58001         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58003 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58005         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58006         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58007         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58008         definition.
58010 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58012         * elf/elf.h: Update comment before AArch64 relocations.
58014 2012-11-07  David S. Miller  <davem@davemloft.net>
58016         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58017         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58018         (__start_context): Declare.
58019         (__makecontext_ret): Delete.
58020         (__makecontext): Hook up __start_context instead of
58021         __makecontext_ret.
58022         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58023         (sysdep_routines): Add __start_context when in stdlib.
58025 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58027         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58028         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58029         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58030         hardcoded "nm".
58031         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58032         (READELF): New variable.  Use it instead of hardcoded "readelf".
58034 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58036         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58037         * sysdeps/x86/Makefile: Here.
58038         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58039         * sysdeps/x86/tst-xmmymm.sh: This.
58041 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58043         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58044         expectations.
58045         [UNIX98] (pthread_barrier_t): Do not expect.
58046         [UNIX98] (pthread_barrierattr_t): Likewise.
58047         [UNIX98] (pthread_spinlock_t): Likewise.
58048         [UNIX98] (pthread_barrier_destroy): Likewise.
58049         [UNIX98] (pthread_barrier_init): Likewise.
58050         [UNIX98] (pthread_barrier_wait): Likewise.
58051         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58052         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58053         [UNIX98] (pthread_barrierattr_init): Likewise.
58054         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58055         [UNIX98] (pthread_getcpuclockid): Likewise.
58056         [UNIX98] (pthread_mutex_timedlock): Likewise.
58057         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58058         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58059         [UNIX98] (pthread_sigmask): Likewise.
58060         [UNIX98] (pthread_spin_destroy): Likewise.
58061         [UNIX98] (pthread_spin_init): Likewise.
58062         [UNIX98] (pthread_spin_lock): Likewise.
58063         [UNIX98] (pthread_spin_trylock): Likewise.
58064         [UNIX98] (pthread_spin_unlock): Likewise.
58065         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58066         Do not expect.
58067         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58068         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58069         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58070         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58071         [XPG3 || XPG4] (pthread_key_t): Likewise.
58072         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58073         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58074         [XPG3 || XPG4] (pthread_once_t): Likewise.
58075         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58076         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58077         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58078         [XPG3 || XPG4] (pthread_t): Likewise.
58080         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58081         not expect.
58082         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58084         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58085         Change function return type to int.
58087         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58088         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58089         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58090         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58091         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58092         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58093         [!POSIX] (posix_madvise): Likewise.
58094         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58095         && !UNIX98].
58096         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58097         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58098         (mode_t): Likewise.
58099         (posix_mem_offset): Likewise.
58100         (posix_typed_mem_get_info): Likewise.
58101         (posix_typed_mem_open): Likewise.
58103         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58104         Change condition to [XOPEN2K8].
58106         * conform/conformtest.pl: Preprocess allow-header data with -x c
58107         instead of from stdin.
58108         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58109         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58110         [C99-based standards] (cerfc): Likewise.
58111         [C99-based standards] (cexp2): Likewise.
58112         [C99-based standards] (cexpm1): Likewise.
58113         [C99-based standards] (clog10): Likewise.
58114         [C99-based standards] (clog1p): Likewise.
58115         [C99-based standards] (clog2): Likewise.
58116         [C99-based standards] (clgamma): Likewise.
58117         [C99-based standards] (ctgamma): Likewise.
58118         [C99-based standards] (cerff): Likewise.
58119         [C99-based standards] (cerfcf): Likewise.
58120         [C99-based standards] (cexp2f): Likewise.
58121         [C99-based standards] (cexpm1f): Likewise.
58122         [C99-based standards] (clog10f): Likewise.
58123         [C99-based standards] (clog1pf): Likewise.
58124         [C99-based standards] (clog2f): Likewise.
58125         [C99-based standards] (clgammaf): Likewise.
58126         [C99-based standards] (ctgammaf): Likewise.
58127         [C99-based standards] (cerfl): Likewise.
58128         [C99-based standards] (cerfcl): Likewise.
58129         [C99-based standards] (cexp2l): Likewise.
58130         [C99-based standards] (cexpm1l): Likewise.
58131         [C99-based standards] (clog10l): Likewise.
58132         [C99-based standards] (clog1pl): Likewise.
58133         [C99-based standards] (clog2l): Likewise.
58134         [C99-based standards] (clgammal): Likewise.
58135         [C99-based standards] (ctgammal): Likewise.
58136         * conform/data/inttypes.h-data [C99-based standards]: Include
58137         stdint.h-data.  Remove all expectations for stdint.h contents.
58138         [C99-based standards] (PRI*): Do not allow.
58139         [C99-based standards] (SCN*): Likewise.
58140         [C99-based standards] (*_t): Likewise.
58141         [C99-based-standards] (PRId8): Expect macro.
58142         [C99-based-standards] (PRIi8): Likewise.
58143         [C99-based-standards] (PRIo8): Likewise.
58144         [C99-based-standards] (PRIu8): Likewise.
58145         [C99-based-standards] (PRIx8): Likewise.
58146         [C99-based-standards] (PRIX8): Likewise.
58147         [C99-based-standards] (SCNd8): Likewise.
58148         [C99-based-standards] (SCNi8): Likewise.
58149         [C99-based-standards] (SCNo8): Likewise.
58150         [C99-based-standards] (SCNu8): Likewise.
58151         [C99-based-standards] (SCNx8): Likewise.
58152         [C99-based-standards] (PRIdLEAST8): Likewise.
58153         [C99-based-standards] (PRIiLEAST8): Likewise.
58154         [C99-based-standards] (PRIoLEAST8): Likewise.
58155         [C99-based-standards] (PRIuLEAST8): Likewise.
58156         [C99-based-standards] (PRIxLEAST8): Likewise.
58157         [C99-based-standards] (PRIXLEAST8): Likewise.
58158         [C99-based-standards] (SCNdLEAST8): Likewise.
58159         [C99-based-standards] (SCNiLEAST8): Likewise.
58160         [C99-based-standards] (SCNoLEAST8): Likewise.
58161         [C99-based-standards] (SCNuLEAST8): Likewise.
58162         [C99-based-standards] (SCNxLEAST8): Likewise.
58163         [C99-based-standards] (PRIdFAST8): Likewise.
58164         [C99-based-standards] (PRIiFAST8): Likewise.
58165         [C99-based-standards] (PRIoFAST8): Likewise.
58166         [C99-based-standards] (PRIuFAST8): Likewise.
58167         [C99-based-standards] (PRIxFAST8): Likewise.
58168         [C99-based-standards] (PRIXFAST8): Likewise.
58169         [C99-based-standards] (SCNdFAST8): Likewise.
58170         [C99-based-standards] (SCNiFAST8): Likewise.
58171         [C99-based-standards] (SCNoFAST8): Likewise.
58172         [C99-based-standards] (SCNuFAST8): Likewise.
58173         [C99-based-standards] (SCNxFAST8): Likewise.
58174         [C99-based-standards] (PRId16): Likewise.
58175         [C99-based-standards] (PRIi16): Likewise.
58176         [C99-based-standards] (PRIo16): Likewise.
58177         [C99-based-standards] (PRIu16): Likewise.
58178         [C99-based-standards] (PRIx16): Likewise.
58179         [C99-based-standards] (PRIX16): Likewise.
58180         [C99-based-standards] (SCNd16): Likewise.
58181         [C99-based-standards] (SCNi16): Likewise.
58182         [C99-based-standards] (SCNo16): Likewise.
58183         [C99-based-standards] (SCNu16): Likewise.
58184         [C99-based-standards] (SCNx16): Likewise.
58185         [C99-based-standards] (PRIdLEAST16): Likewise.
58186         [C99-based-standards] (PRIiLEAST16): Likewise.
58187         [C99-based-standards] (PRIoLEAST16): Likewise.
58188         [C99-based-standards] (PRIuLEAST16): Likewise.
58189         [C99-based-standards] (PRIxLEAST16): Likewise.
58190         [C99-based-standards] (PRIXLEAST16): Likewise.
58191         [C99-based-standards] (SCNdLEAST16): Likewise.
58192         [C99-based-standards] (SCNiLEAST16): Likewise.
58193         [C99-based-standards] (SCNoLEAST16): Likewise.
58194         [C99-based-standards] (SCNuLEAST16): Likewise.
58195         [C99-based-standards] (SCNxLEAST16): Likewise.
58196         [C99-based-standards] (PRIdFAST16): Likewise.
58197         [C99-based-standards] (PRIiFAST16): Likewise.
58198         [C99-based-standards] (PRIoFAST16): Likewise.
58199         [C99-based-standards] (PRIuFAST16): Likewise.
58200         [C99-based-standards] (PRIxFAST16): Likewise.
58201         [C99-based-standards] (PRIXFAST16): Likewise.
58202         [C99-based-standards] (SCNdFAST16): Likewise.
58203         [C99-based-standards] (SCNiFAST16): Likewise.
58204         [C99-based-standards] (SCNoFAST16): Likewise.
58205         [C99-based-standards] (SCNuFAST16): Likewise.
58206         [C99-based-standards] (SCNxFAST16): Likewise.
58207         [C99-based-standards] (PRId32): Likewise.
58208         [C99-based-standards] (PRIi32): Likewise.
58209         [C99-based-standards] (PRIo32): Likewise.
58210         [C99-based-standards] (PRIu32): Likewise.
58211         [C99-based-standards] (PRIx32): Likewise.
58212         [C99-based-standards] (PRIX32): Likewise.
58213         [C99-based-standards] (SCNd32): Likewise.
58214         [C99-based-standards] (SCNi32): Likewise.
58215         [C99-based-standards] (SCNo32): Likewise.
58216         [C99-based-standards] (SCNu32): Likewise.
58217         [C99-based-standards] (SCNx32): Likewise.
58218         [C99-based-standards] (PRIdLEAST32): Likewise.
58219         [C99-based-standards] (PRIiLEAST32): Likewise.
58220         [C99-based-standards] (PRIoLEAST32): Likewise.
58221         [C99-based-standards] (PRIuLEAST32): Likewise.
58222         [C99-based-standards] (PRIxLEAST32): Likewise.
58223         [C99-based-standards] (PRIXLEAST32): Likewise.
58224         [C99-based-standards] (SCNdLEAST32): Likewise.
58225         [C99-based-standards] (SCNiLEAST32): Likewise.
58226         [C99-based-standards] (SCNoLEAST32): Likewise.
58227         [C99-based-standards] (SCNuLEAST32): Likewise.
58228         [C99-based-standards] (SCNxLEAST32): Likewise.
58229         [C99-based-standards] (PRIdFAST32): Likewise.
58230         [C99-based-standards] (PRIiFAST32): Likewise.
58231         [C99-based-standards] (PRIoFAST32): Likewise.
58232         [C99-based-standards] (PRIuFAST32): Likewise.
58233         [C99-based-standards] (PRIxFAST32): Likewise.
58234         [C99-based-standards] (PRIXFAST32): Likewise.
58235         [C99-based-standards] (SCNdFAST32): Likewise.
58236         [C99-based-standards] (SCNiFAST32): Likewise.
58237         [C99-based-standards] (SCNoFAST32): Likewise.
58238         [C99-based-standards] (SCNuFAST32): Likewise.
58239         [C99-based-standards] (SCNxFAST32): Likewise.
58240         [C99-based-standards] (PRId64): Likewise.
58241         [C99-based-standards] (PRIi64): Likewise.
58242         [C99-based-standards] (PRIo64): Likewise.
58243         [C99-based-standards] (PRIu64): Likewise.
58244         [C99-based-standards] (PRIx64): Likewise.
58245         [C99-based-standards] (PRIX64): Likewise.
58246         [C99-based-standards] (SCNd64): Likewise.
58247         [C99-based-standards] (SCNi64): Likewise.
58248         [C99-based-standards] (SCNo64): Likewise.
58249         [C99-based-standards] (SCNu64): Likewise.
58250         [C99-based-standards] (SCNx64): Likewise.
58251         [C99-based-standards] (PRIdLEAST64): Likewise.
58252         [C99-based-standards] (PRIiLEAST64): Likewise.
58253         [C99-based-standards] (PRIoLEAST64): Likewise.
58254         [C99-based-standards] (PRIuLEAST64): Likewise.
58255         [C99-based-standards] (PRIxLEAST64): Likewise.
58256         [C99-based-standards] (PRIXLEAST64): Likewise.
58257         [C99-based-standards] (SCNdLEAST64): Likewise.
58258         [C99-based-standards] (SCNiLEAST64): Likewise.
58259         [C99-based-standards] (SCNoLEAST64): Likewise.
58260         [C99-based-standards] (SCNuLEAST64): Likewise.
58261         [C99-based-standards] (SCNxLEAST64): Likewise.
58262         [C99-based-standards] (PRIdFAST64): Likewise.
58263         [C99-based-standards] (PRIiFAST64): Likewise.
58264         [C99-based-standards] (PRIoFAST64): Likewise.
58265         [C99-based-standards] (PRIuFAST64): Likewise.
58266         [C99-based-standards] (PRIxFAST64): Likewise.
58267         [C99-based-standards] (PRIXFAST64): Likewise.
58268         [C99-based-standards] (SCNdFAST64): Likewise.
58269         [C99-based-standards] (SCNiFAST64): Likewise.
58270         [C99-based-standards] (SCNoFAST64): Likewise.
58271         [C99-based-standards] (SCNuFAST64): Likewise.
58272         [C99-based-standards] (SCNxFAST64): Likewise.
58273         [C99-based-standards] (PRIdMAX): Likewise.
58274         [C99-based-standards] (PRIiMAX): Likewise.
58275         [C99-based-standards] (PRIoMAX): Likewise.
58276         [C99-based-standards] (PRIuMAX): Likewise.
58277         [C99-based-standards] (PRIxMAX): Likewise.
58278         [C99-based-standards] (PRIXMAX): Likewise.
58279         [C99-based-standards] (SCNdMAX): Likewise.
58280         [C99-based-standards] (SCNiMAX): Likewise.
58281         [C99-based-standards] (SCNoMAX): Likewise.
58282         [C99-based-standards] (SCNuMAX): Likewise.
58283         [C99-based-standards] (SCNxMAX): Likewise.
58284         [C99-based-standards] (PRIdPTR): Likewise.
58285         [C99-based-standards] (PRIiPTR): Likewise.
58286         [C99-based-standards] (PRIoPTR): Likewise.
58287         [C99-based-standards] (PRIuPTR): Likewise.
58288         [C99-based-standards] (PRIxPTR): Likewise.
58289         [C99-based-standards] (PRIXPTR): Likewise.
58290         [C99-based-standards] (SCNdPTR): Likewise.
58291         [C99-based-standards] (SCNiPTR): Likewise.
58292         [C99-based-standards] (SCNoPTR): Likewise.
58293         [C99-based-standards] (SCNuPTR): Likewise.
58294         [C99-based-standards] (SCNxPTR): Likewise.
58295         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58296         allow.
58297         * conform/data/stdint.h-data: Update comments to clarify
58298         requirements.
58299         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58300         type.
58301         [C99-based standards] (INT8_MAX): Likewise.
58302         [C99-based standards] (INT16_MIN): Likewise.
58303         [C99-based standards] (INT16_MAX): Likewise.
58304         [C99-based standards] (INT32_MIN): Likewise.
58305         [C99-based standards] (INT32_MAX): Likewise.
58306         [C99-based standards] (INT64_MIN): Likewise.
58307         [C99-based standards] (INT64_MAX): Likewise.
58308         [C99-based standards] (UINT8_MAX): Likewise.
58309         [C99-based standards] (UINT16_MAX): Likewise.
58310         [C99-based standards] (UINT32_MAX): Likewise.
58311         [C99-based standards] (UINT64_MAX): Likewise.
58312         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58313         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58314         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58315         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58316         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58317         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58318         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58319         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58320         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58321         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58322         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58323         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58324         [C99-based standards] (INT_FAST8_MIN): Likewise.
58325         [C99-based standards] (INT_FAST8_MAX): Likewise.
58326         [C99-based standards] (INT_FAST16_MIN): Likewise.
58327         [C99-based standards] (INT_FAST16_MAX): Likewise.
58328         [C99-based standards] (INT_FAST32_MIN): Likewise.
58329         [C99-based standards] (INT_FAST32_MAX): Likewise.
58330         [C99-based standards] (INT_FAST64_MIN): Likewise.
58331         [C99-based standards] (INT_FAST64_MAX): Likewise.
58332         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58333         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58334         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58335         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58336         [C99-based standards] (INTPTR_MIN): Likewise.
58337         [C99-based standards] (INTPTR_MAX): Likewise.
58338         [C99-based standards] (UINTPTR_MAX): Likewise.
58339         [C99-based standards] (INTMAX_MIN): Likewise.
58340         [C99-based standards] (INTMAX_MAX): Likewise.
58341         [C99-based standards] (UINTMAX_MAX): Likewise.
58342         [C99-based standards] (PTRDIFF_MIN): Likewise.
58343         [C99-based standards] (PTRDIFF_MAX): Likewise.
58344         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58345         [C99-based standards] (SIZE_MAX): Likewise.
58346         [C99-based standards] (WCHAR_MAX): Likewise.
58347         [C99-based standards] (WINT_MAX): Likewise.
58348         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58349         constraint on value.
58350         [C99-based standards] (WCHAR_MIN): Likewise.
58351         [C99-based standards] (WINT_MIN): Likewise.
58352         [C99-based standards] (*_t): Allow.
58353         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58354         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58355         Include math.h-data and complex.h-data.  Remove all expectations
58356         of math.h and complex.h contents.
58357         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58358         at end of line.
58359         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58360         (struct tm): Expect tag.
58361         [C99-based-standards] (wcstof): Expect function.
58362         [C99-based-standards] (wcstold): Likewise.
58363         [C99-based-standards] (wcstoll): Likewise.
58364         [C99-based-standards] (wcstoull): Likewise.
58365         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58366         macro-int-constant.  Specify type.
58367         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58368         constraint on value.
58369         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58370         Specify type.
58371         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58372         Specify value.
58373         [ISO C standards]: Do not allow headers.
58374         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58375         wcs[abcdefghijklmnopqrstuvwxyz]*.
58376         [ISO C standards] (*_t): Do not allow.
58377         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58378         Expect function.
58379         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58380         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58381         Specify type.
58382         [ISO C standards]: Do not allow headers.
58383         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58384         is[abcdefghijklmnopqrstuvwxyz]*.
58385         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58386         to[abcdefghijklmnopqrstuvwxyz]*.
58387         [ISO C standards] (*_t): Do not allow.
58388         * conform/data/stdalign.h-data: New file.
58389         * conform/data/stdbool.h-data: Likewise.
58390         * conform/data/stdnoreturn.h-data: Likewise.
58392 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58394         [BZ #14815]
58395         * manual/filesys.texi (Directory Entries): Typo fix.
58396         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58398 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58400         * elf/elf.h (EM_AARCH64): New macro.
58401         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58402         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58403         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58404         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58405         (R_AARCH64_TLSDESC): Likewise.
58406         (NT_ARM_TLS): Likewise.
58407         (NT_ARM_HW_BREAK): Likewise.
58408         (NT_ARM_HW_WATCH): Likewise.
58410 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58412         [BZ #14811]
58413         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58414         (__ieee754_powl): Saturate nonzero exponents with absolute value
58415         below 0x1p-79 to +/- 0x1p-79.
58416         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58417         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58418         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58419         nonzero exponents with absolute value below 0x1p-32 to +/-
58420         0x1p-32.
58421         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58422         (__ieee754_powl): Saturate nonzero exponents with absolute value
58423         below 0x1p-79 to +/- 0x1p-79.
58424         * math/libm-test.inc (pow_test): Add more tests.
58426 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58428         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58429         _dl_s390_cap_flags with kernel. Increase string length.
58430         (_dl_s390_platforms): Add z196 and zEC12.
58432 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58434         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58435         Change XOPEN21K to XOPEN2K.
58437 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58439         * string/memmove.c: Use memcpy when possible.
58441 2012-11-06  Andreas Jaeger  <aj@suse.de>
58443         * po/eo.po: Update from translation team.
58445 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58447         [BZ #14793]
58448         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58449         exponent and small x and y exponents, scale x or y up.  Increase
58450         by 2 the exponent used in scaling up.
58451         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58452         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58453         * math/libm-test.inc (fma_test): Add more tests.
58454         (fma_test_towardzero): Likewise.
58455         (fma_test_downward): Likewise.
58456         (fma_test_upward): Likewise.
58458 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58460         [BZ #14805]
58461         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58462         fenv_t *.
58464         [BZ #14801]
58465         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58466         namespace for names of struct fields.
58467         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58468         fenv_t fields.
58469         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58470         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58472 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58474         [BZ #3665]
58475         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58477 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58479         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58480         PTR_DEMANGLE.
58482         [BZ #5246]
58483         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58484         PTR_DEMANGLE.
58486 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58488         [BZ #14797]
58489         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58490         definitely overflow as x * y not x * y + z.
58491         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58492         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58493         * math/libm-test.inc (fma_test): Add more tests.
58494         (fma_test_towardzero): Likewise.
58495         (fma_test_downward): Likewise.
58496         (fma_test_upward): Likewise.
58498 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58500         [BZ #157]
58502         * include/stub-tag.h: Remove file.
58503         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58504         '#include' of it.
58505         * manual/maint.texi (Porting): Don't reference it.
58506         * Makerules ($(objpfx)stubs): Likewise.
58507         * dirent/closedir.c: Don't include <stub-tag.h>.
58508         * dirent/dirfd.c: Likewise.
58509         * dirent/fdopendir.c: Likewise.
58510         * dirent/getdents.c: Likewise.
58511         * dirent/getdents64.c: Likewise.
58512         * dirent/opendir.c: Likewise.
58513         * dirent/readdir.c: Likewise.
58514         * dirent/readdir64.c: Likewise.
58515         * dirent/readdir64_r.c: Likewise.
58516         * dirent/readdir_r.c: Likewise.
58517         * dirent/rewinddir.c: Likewise.
58518         * dirent/seekdir.c: Likewise.
58519         * dirent/telldir.c: Likewise.
58520         * gmon/profil.c: Likewise.
58521         * grp/setgroups.c: Likewise.
58522         * inet/if_index.c: Likewise.
58523         * io/access.c: Likewise.
58524         * io/chdir.c: Likewise.
58525         * io/chmod.c: Likewise.
58526         * io/chown.c: Likewise.
58527         * io/close.c: Likewise.
58528         * io/dup.c: Likewise.
58529         * io/dup2.c: Likewise.
58530         * io/dup3.c: Likewise.
58531         * io/euidaccess.c: Likewise.
58532         * io/faccessat.c: Likewise.
58533         * io/fchdir.c: Likewise.
58534         * io/fchmod.c: Likewise.
58535         * io/fchmodat.c: Likewise.
58536         * io/fchown.c: Likewise.
58537         * io/fchownat.c: Likewise.
58538         * io/fcntl.c: Likewise.
58539         * io/flock.c: Likewise.
58540         * io/fstatfs.c: Likewise.
58541         * io/fstatfs64.c: Likewise.
58542         * io/fstatvfs.c: Likewise.
58543         * io/fstatvfs64.c: Likewise.
58544         * io/futimens.c: Likewise.
58545         * io/fxstat.c: Likewise.
58546         * io/fxstat64.c: Likewise.
58547         * io/fxstatat.c: Likewise.
58548         * io/fxstatat64.c: Likewise.
58549         * io/getcwd.c: Likewise.
58550         * io/isatty.c: Likewise.
58551         * io/lchmod.c: Likewise.
58552         * io/lchown.c: Likewise.
58553         * io/link.c: Likewise.
58554         * io/linkat.c: Likewise.
58555         * io/lseek.c: Likewise.
58556         * io/lseek64.c: Likewise.
58557         * io/lxstat64.c: Likewise.
58558         * io/mkdir.c: Likewise.
58559         * io/mkdirat.c: Likewise.
58560         * io/mkfifo.c: Likewise.
58561         * io/mkfifoat.c: Likewise.
58562         * io/open.c: Likewise.
58563         * io/open64.c: Likewise.
58564         * io/openat.c: Likewise.
58565         * io/openat64.c: Likewise.
58566         * io/pipe.c: Likewise.
58567         * io/pipe2.c: Likewise.
58568         * io/poll.c: Likewise.
58569         * io/posix_fadvise.c: Likewise.
58570         * io/posix_fadvise64.c: Likewise.
58571         * io/posix_fallocate.c: Likewise.
58572         * io/posix_fallocate64.c: Likewise.
58573         * io/read.c: Likewise.
58574         * io/readlink.c: Likewise.
58575         * io/readlinkat.c: Likewise.
58576         * io/rmdir.c: Likewise.
58577         * io/sendfile.c: Likewise.
58578         * io/sendfile64.c: Likewise.
58579         * io/statfs.c: Likewise.
58580         * io/statfs64.c: Likewise.
58581         * io/statvfs.c: Likewise.
58582         * io/statvfs64.c: Likewise.
58583         * io/symlink.c: Likewise.
58584         * io/symlinkat.c: Likewise.
58585         * io/ttyname.c: Likewise.
58586         * io/ttyname_r.c: Likewise.
58587         * io/umask.c: Likewise.
58588         * io/unlink.c: Likewise.
58589         * io/unlinkat.c: Likewise.
58590         * io/utime.c: Likewise.
58591         * io/utimensat.c: Likewise.
58592         * io/write.c: Likewise.
58593         * io/xmknod.c: Likewise.
58594         * io/xmknodat.c: Likewise.
58595         * io/xstat.c: Likewise.
58596         * io/xstat64.c: Likewise.
58597         * login/getpt.c: Likewise.
58598         * login/grantpt.c: Likewise.
58599         * login/unlockpt.c: Likewise.
58600         * math/e_acoshl.c: Likewise.
58601         * math/e_acosl.c: Likewise.
58602         * math/e_asinl.c: Likewise.
58603         * math/e_atan2l.c: Likewise.
58604         * math/e_atanhl.c: Likewise.
58605         * math/e_coshl.c: Likewise.
58606         * math/e_expl.c: Likewise.
58607         * math/e_fmodl.c: Likewise.
58608         * math/e_gammal_r.c: Likewise.
58609         * math/e_hypotl.c: Likewise.
58610         * math/e_j0l.c: Likewise.
58611         * math/e_j1l.c: Likewise.
58612         * math/e_jnl.c: Likewise.
58613         * math/e_lgammal_r.c: Likewise.
58614         * math/e_log10l.c: Likewise.
58615         * math/e_log2l.c: Likewise.
58616         * math/e_logl.c: Likewise.
58617         * math/e_powl.c: Likewise.
58618         * math/e_rem_pio2l.c: Likewise.
58619         * math/e_sinhl.c: Likewise.
58620         * math/e_sqrtl.c: Likewise.
58621         * math/fclrexcpt.c: Likewise.
58622         * math/fedisblxcpt.c: Likewise.
58623         * math/feenablxcpt.c: Likewise.
58624         * math/fegetenv.c: Likewise.
58625         * math/fegetexcept.c: Likewise.
58626         * math/fegetround.c: Likewise.
58627         * math/feholdexcpt.c: Likewise.
58628         * math/fesetenv.c: Likewise.
58629         * math/fesetround.c: Likewise.
58630         * math/feupdateenv.c: Likewise.
58631         * math/fgetexcptflg.c: Likewise.
58632         * math/fraiseexcpt.c: Likewise.
58633         * math/fsetexcptflg.c: Likewise.
58634         * math/ftestexcept.c: Likewise.
58635         * math/k_cosl.c: Likewise.
58636         * math/k_rem_pio2l.c: Likewise.
58637         * math/k_sinl.c: Likewise.
58638         * math/k_tanl.c: Likewise.
58639         * math/s_asinhl.c: Likewise.
58640         * math/s_atanl.c: Likewise.
58641         * math/s_cbrtl.c: Likewise.
58642         * math/s_erfl.c: Likewise.
58643         * math/s_expm1l.c: Likewise.
58644         * math/s_log1pl.c: Likewise.
58645         * math/s_tanhl.c: Likewise.
58646         * misc/acct.c: Likewise.
58647         * misc/brk.c: Likewise.
58648         * misc/chflags.c: Likewise.
58649         * misc/chroot.c: Likewise.
58650         * misc/fchflags.c: Likewise.
58651         * misc/fgetxattr.c: Likewise.
58652         * misc/flistxattr.c: Likewise.
58653         * misc/fremovexattr.c: Likewise.
58654         * misc/fsetxattr.c: Likewise.
58655         * misc/fsync.c: Likewise.
58656         * misc/ftruncate.c: Likewise.
58657         * misc/futimes.c: Likewise.
58658         * misc/futimesat.c: Likewise.
58659         * misc/getdomain.c: Likewise.
58660         * misc/getdtsz.c: Likewise.
58661         * misc/gethostid.c: Likewise.
58662         * misc/gethostname.c: Likewise.
58663         * misc/getloadavg.c: Likewise.
58664         * misc/getpagesize.c: Likewise.
58665         * misc/getsysstats.c: Likewise.
58666         * misc/getxattr.c: Likewise.
58667         * misc/gtty.c: Likewise.
58668         * misc/ioctl.c: Likewise.
58669         * misc/lgetxattr.c: Likewise.
58670         * misc/listxattr.c: Likewise.
58671         * misc/llistxattr.c: Likewise.
58672         * misc/lremovexattr.c: Likewise.
58673         * misc/lsetxattr.c: Likewise.
58674         * misc/lutimes.c: Likewise.
58675         * misc/madvise.c: Likewise.
58676         * misc/mincore.c: Likewise.
58677         * misc/mlock.c: Likewise.
58678         * misc/mlockall.c: Likewise.
58679         * misc/mmap.c: Likewise.
58680         * misc/mprotect.c: Likewise.
58681         * misc/msync.c: Likewise.
58682         * misc/munlock.c: Likewise.
58683         * misc/munlockall.c: Likewise.
58684         * misc/munmap.c: Likewise.
58685         * misc/preadv.c: Likewise.
58686         * misc/preadv64.c: Likewise.
58687         * misc/ptrace.c: Likewise.
58688         * misc/pwritev.c: Likewise.
58689         * misc/pwritev64.c: Likewise.
58690         * misc/readv.c: Likewise.
58691         * misc/reboot.c: Likewise.
58692         * misc/remap_file_pages.c: Likewise.
58693         * misc/removexattr.c: Likewise.
58694         * misc/revoke.c: Likewise.
58695         * misc/select.c: Likewise.
58696         * misc/setdomain.c: Likewise.
58697         * misc/setegid.c: Likewise.
58698         * misc/seteuid.c: Likewise.
58699         * misc/sethostid.c: Likewise.
58700         * misc/sethostname.c: Likewise.
58701         * misc/setregid.c: Likewise.
58702         * misc/setreuid.c: Likewise.
58703         * misc/setxattr.c: Likewise.
58704         * misc/sstk.c: Likewise.
58705         * misc/stty.c: Likewise.
58706         * misc/swapoff.c: Likewise.
58707         * misc/swapon.c: Likewise.
58708         * misc/sync.c: Likewise.
58709         * misc/syncfs.c: Likewise.
58710         * misc/syscall.c: Likewise.
58711         * misc/truncate.c: Likewise.
58712         * misc/ualarm.c: Likewise.
58713         * misc/usleep.c: Likewise.
58714         * misc/ustat.c: Likewise.
58715         * misc/utimes.c: Likewise.
58716         * misc/vhangup.c: Likewise.
58717         * misc/writev.c: Likewise.
58718         * posix/_exit.c: Likewise.
58719         * posix/alarm.c: Likewise.
58720         * posix/execve.c: Likewise.
58721         * posix/fexecve.c: Likewise.
58722         * posix/fork.c: Likewise.
58723         * posix/fpathconf.c: Likewise.
58724         * posix/getaddrinfo.c: Likewise.
58725         * posix/getegid.c: Likewise.
58726         * posix/geteuid.c: Likewise.
58727         * posix/getgid.c: Likewise.
58728         * posix/getgroups.c: Likewise.
58729         * posix/getlogin.c: Likewise.
58730         * posix/getlogin_r.c: Likewise.
58731         * posix/getpgid.c: Likewise.
58732         * posix/getpid.c: Likewise.
58733         * posix/getppid.c: Likewise.
58734         * posix/getresgid.c: Likewise.
58735         * posix/getresuid.c: Likewise.
58736         * posix/getsid.c: Likewise.
58737         * posix/getuid.c: Likewise.
58738         * posix/glob64.c: Likewise.
58739         * posix/nanosleep.c: Likewise.
58740         * posix/pathconf.c: Likewise.
58741         * posix/pause.c: Likewise.
58742         * posix/posix_madvise.c: Likewise.
58743         * posix/pread.c: Likewise.
58744         * posix/pread64.c: Likewise.
58745         * posix/pwrite.c: Likewise.
58746         * posix/pwrite64.c: Likewise.
58747         * posix/sched_getaffinity.c: Likewise.
58748         * posix/sched_getp.c: Likewise.
58749         * posix/sched_gets.c: Likewise.
58750         * posix/sched_primax.c: Likewise.
58751         * posix/sched_primin.c: Likewise.
58752         * posix/sched_rr_gi.c: Likewise.
58753         * posix/sched_setaffinity.c: Likewise.
58754         * posix/sched_setp.c: Likewise.
58755         * posix/sched_sets.c: Likewise.
58756         * posix/sched_yield.c: Likewise.
58757         * posix/setgid.c: Likewise.
58758         * posix/setlogin.c: Likewise.
58759         * posix/setpgid.c: Likewise.
58760         * posix/setresgid.c: Likewise.
58761         * posix/setresuid.c: Likewise.
58762         * posix/setsid.c: Likewise.
58763         * posix/setuid.c: Likewise.
58764         * posix/sleep.c: Likewise.
58765         * posix/spawni.c: Likewise.
58766         * posix/sysconf.c: Likewise.
58767         * posix/times.c: Likewise.
58768         * posix/wait.c: Likewise.
58769         * posix/wait3.c: Likewise.
58770         * posix/wait4.c: Likewise.
58771         * posix/waitpid.c: Likewise.
58772         * resolv/gai_sigqueue.c: Likewise.
58773         * resource/getpriority.c: Likewise.
58774         * resource/getrlimit.c: Likewise.
58775         * resource/getrusage.c: Likewise.
58776         * resource/nice.c: Likewise.
58777         * resource/setpriority.c: Likewise.
58778         * resource/setrlimit.c: Likewise.
58779         * resource/ulimit.c: Likewise.
58780         * rt/aio_cancel.c: Likewise.
58781         * rt/aio_fsync.c: Likewise.
58782         * rt/aio_read.c: Likewise.
58783         * rt/aio_sigqueue.c: Likewise.
58784         * rt/aio_suspend.c: Likewise.
58785         * rt/aio_write.c: Likewise.
58786         * rt/clock_getres.c: Likewise.
58787         * rt/clock_gettime.c: Likewise.
58788         * rt/clock_nanosleep.c: Likewise.
58789         * rt/clock_settime.c: Likewise.
58790         * rt/lio_listio.c: Likewise.
58791         * rt/mq_close.c: Likewise.
58792         * rt/mq_getattr.c: Likewise.
58793         * rt/mq_notify.c: Likewise.
58794         * rt/mq_open.c: Likewise.
58795         * rt/mq_receive.c: Likewise.
58796         * rt/mq_send.c: Likewise.
58797         * rt/mq_setattr.c: Likewise.
58798         * rt/mq_timedreceive.c: Likewise.
58799         * rt/mq_timedsend.c: Likewise.
58800         * rt/mq_unlink.c: Likewise.
58801         * rt/shm_open.c: Likewise.
58802         * rt/shm_unlink.c: Likewise.
58803         * rt/timer_create.c: Likewise.
58804         * rt/timer_delete.c: Likewise.
58805         * rt/timer_getoverr.c: Likewise.
58806         * rt/timer_gettime.c: Likewise.
58807         * rt/timer_settime.c: Likewise.
58808         * setjmp/__longjmp.c: Likewise.
58809         * setjmp/setjmp.c: Likewise.
58810         * signal/kill.c: Likewise.
58811         * signal/killpg.c: Likewise.
58812         * signal/raise.c: Likewise.
58813         * signal/sigaction.c: Likewise.
58814         * signal/sigaltstack.c: Likewise.
58815         * signal/sigblock.c: Likewise.
58816         * signal/sigignore.c: Likewise.
58817         * signal/sigintr.c: Likewise.
58818         * signal/signal.c: Likewise.
58819         * signal/sigpause.c: Likewise.
58820         * signal/sigpending.c: Likewise.
58821         * signal/sigqueue.c: Likewise.
58822         * signal/sigreturn.c: Likewise.
58823         * signal/sigset.c: Likewise.
58824         * signal/sigsetmask.c: Likewise.
58825         * signal/sigstack.c: Likewise.
58826         * signal/sigsuspend.c: Likewise.
58827         * signal/sigtimedwait.c: Likewise.
58828         * signal/sigvec.c: Likewise.
58829         * signal/sigwait.c: Likewise.
58830         * signal/sigwaitinfo.c: Likewise.
58831         * signal/sysv_signal.c: Likewise.
58832         * socket/accept.c: Likewise.
58833         * socket/accept4.c: Likewise.
58834         * socket/bind.c: Likewise.
58835         * socket/connect.c: Likewise.
58836         * socket/getpeername.c: Likewise.
58837         * socket/getsockname.c: Likewise.
58838         * socket/getsockopt.c: Likewise.
58839         * socket/isfdtype.c: Likewise.
58840         * socket/listen.c: Likewise.
58841         * socket/recv.c: Likewise.
58842         * socket/recvfrom.c: Likewise.
58843         * socket/recvmsg.c: Likewise.
58844         * socket/send.c: Likewise.
58845         * socket/sendmsg.c: Likewise.
58846         * socket/sendto.c: Likewise.
58847         * socket/setsockopt.c: Likewise.
58848         * socket/shutdown.c: Likewise.
58849         * socket/sockatmark.c: Likewise.
58850         * socket/socket.c: Likewise.
58851         * socket/socketpair.c: Likewise.
58852         * stdio-common/ctermid.c: Likewise.
58853         * stdio-common/cuserid.c: Likewise.
58854         * stdio-common/remove.c: Likewise.
58855         * stdio-common/rename.c: Likewise.
58856         * stdio-common/renameat.c: Likewise.
58857         * stdio-common/tempname.c: Likewise.
58858         * stdlib/getcontext.c: Likewise.
58859         * stdlib/makecontext.c: Likewise.
58860         * stdlib/setcontext.c: Likewise.
58861         * stdlib/swapcontext.c: Likewise.
58862         * stdlib/system.c: Likewise.
58863         * streams/fattach.c: Likewise.
58864         * streams/fdetach.c: Likewise.
58865         * streams/getmsg.c: Likewise.
58866         * streams/getpmsg.c: Likewise.
58867         * streams/putmsg.c: Likewise.
58868         * streams/putpmsg.c: Likewise.
58869         * sysdeps/unix/bsd/getpt.c: Likewise.
58870         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58871         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58872         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58874         Likewise.
58875         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58876         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58877         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58878         * sysvipc/msgctl.c: Likewise.
58879         * sysvipc/msgget.c: Likewise.
58880         * sysvipc/msgrcv.c: Likewise.
58881         * sysvipc/msgsnd.c: Likewise.
58882         * sysvipc/semctl.c: Likewise.
58883         * sysvipc/semget.c: Likewise.
58884         * sysvipc/semop.c: Likewise.
58885         * sysvipc/semtimedop.c: Likewise.
58886         * sysvipc/shmat.c: Likewise.
58887         * sysvipc/shmctl.c: Likewise.
58888         * sysvipc/shmdt.c: Likewise.
58889         * sysvipc/shmget.c: Likewise.
58890         * termios/tcdrain.c: Likewise.
58891         * termios/tcflow.c: Likewise.
58892         * termios/tcflush.c: Likewise.
58893         * termios/tcgetattr.c: Likewise.
58894         * termios/tcgetpgrp.c: Likewise.
58895         * termios/tcsendbrk.c: Likewise.
58896         * termios/tcsetattr.c: Likewise.
58897         * termios/tcsetpgrp.c: Likewise.
58898         * time/adjtime.c: Likewise.
58899         * time/clock.c: Likewise.
58900         * time/getitimer.c: Likewise.
58901         * time/gettimeofday.c: Likewise.
58902         * time/setitimer.c: Likewise.
58903         * time/settimeofday.c: Likewise.
58904         * time/stime.c: Likewise.
58905         * time/time.c: Likewise.
58907 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58909         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58910         /usr/old/bin.
58912         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58913         instead of spaces.
58914         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58916 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58918         [BZ #14796]
58919         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58920         FE_TONEAREST before applying Dekker multiplication and Knuth
58921         addition.  Clear inexact exceptions and check for exact zero
58922         results afterwards.
58923         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58924         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58925         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58926         * math/libm-test.inc (fma_test): Add more tests.
58927         (fma_test_towardzero): Likewise.
58928         (fma_test_downward): Likewise.
58929         (fma_test_upward): Likewise.
58930         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58931         function.
58932         (libc_fesetround): New macro.
58933         (libc_fesetroundf): Likewise.
58934         (libc_fesetroundl): Likewise.
58935         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58936         function.
58937         (libc_fesetround_387): Likewise.
58938         (libc_fesetroundf): New macro.
58939         (libc_fesetround): Likewise.
58940         (libc_fesetroundl): Likewise.
58941         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58942         function.
58943         (libc_fesetroundf): New macro.
58944         (libc_fesetround): Likewise.
58945         (libc_fesetroundl): Likewise.
58946         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58947         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58948         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58949         libm_hidden_ver.
58950         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58951         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58952         libm_hidden_def.
58953         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58954         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58955         libm_hidden_ver.
58956         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58957         libm_hidden_def.
58959         [BZ #3439]
58960         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58961         integer constant usable in #if and use that to give value to enum
58962         constant.
58963         (FE_DIVBYZERO): Likewise.
58964         (FE_UNDERFLOW): Likewise.
58965         (FE_OVERFLOW): Likewise.
58966         (FE_INVALID): Likewise.
58967         (FE_INVALID_SNAN): Likewise.
58968         (FE_INVALID_ISI): Likewise.
58969         (FE_INVALID_IDI): Likewise.
58970         (FE_INVALID_ZDZ): Likewise.
58971         (FE_INVALID_IMZ): Likewise.
58972         (FE_INVALID_COMPARE): Likewise.
58973         (FE_INVALID_SOFTWARE): Likewise.
58974         (FE_INVALID_SQRT): Likewise.
58975         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58976         (FE_TONEAREST): Likewise.
58977         (FE_TOWARDZERO): Likewise.
58978         (FE_UPWARD): Likewise.
58979         (FE_DOWNWARD): Likewise.
58980         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58981         (FE_DIVBYZERO): Likewise.
58982         (FE_OVERFLOW): Likewise.
58983         (FE_UNDERFLOW): Likewise.
58984         (FE_INEXACT): Likewise.
58985         (FE_TONEAREST): Likewise.
58986         (FE_DOWNWARD): Likewise.
58987         (FE_UPWARD): Likewise.
58988         (FE_TOWARDZERO): Likewise.
58989         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58990         (FE_UNDERFLOW): Likewise.
58991         (FE_OVERFLOW): Likewise.
58992         (FE_DIVBYZERO): Likewise.
58993         (FE_INVALID): Likewise.
58994         (FE_TONEAREST): Likewise.
58995         (FE_TOWARDZERO): Likewise.
58996         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58997         (FE_OVERFLOW): Likewise.
58998         (FE_UNDERFLOW): Likewise.
58999         (FE_DIVBYZERO): Likewise.
59000         (FE_INEXACT): Likewise.
59001         (FE_TONEAREST): Likewise.
59002         (FE_TOWARDZERO): Likewise.
59003         (FE_UPWARD): Likewise.
59004         (FE_DOWNWARD): Likewise.
59005         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59006         (FE_DIVBYZERO): Likewise.
59007         (FE_OVERFLOW): Likewise.
59008         (FE_UNDERFLOW): Likewise.
59009         (FE_INEXACT): Likewise.
59010         (FE_TONEAREST): Likewise.
59011         (FE_DOWNWARD): Likewise.
59012         (FE_UPWARD): Likewise.
59013         (FE_TOWARDZERO): Likewise.
59015 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59017         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59019 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59021         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59022         commands.  Quote $PWD.
59023         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59024         -x" by "export".
59025         (remove_newlines): Remove.
59027 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59029         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59030         * stdlib/stdlib.h (atof): Moved to ...
59031         * include/bits/stdlib-float.h: Here.  New file.
59032         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59033         * stdlib/bits/stdlib-float.h: New file.
59034         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59035         -mno-sse -mno-mmx.
59036         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59037         <xmmintrin.h>.
59039 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59041         * conform/conformtest.pl (@headers): Add fenv.h.
59042         * conform/data/fenv.h-data: New file.
59043         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59044         include of <math/fenv.h>.
59046         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59047         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59048         && !UNIX98].  Enables tests for XOPEN2K8.
59049         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59050         POSIX2008]: Likewise.
59052         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59053         (struct rusage): Do not expect type or its members.
59055         [BZ #3439]
59056         * math/math.h (FP_NAN): Define macro to integer constant usable in
59057         #if and use that to give value to enum constant.
59058         (FP_INFINITE): Likewise.
59059         (FP_ZERO): Likewise.
59060         (FP_SUBNORMAL): Likewise.
59061         (FP_NORMAL): Likewise.
59063 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59065         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59066         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59067         arguments.
59069 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59071         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59072         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59073         autoconf-time if not.
59074         * configure.in: Remove AC_PREREQ.
59076 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59078         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59079         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59080         of the internal implementation.
59082 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59084         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59085         except include of <misc/sys/syslog.h>.
59087 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59090         function returns with a NULL context exit with zero.
59092 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59094         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59096 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59098         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59099         (run_program_cmd): This.
59100         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59101         (tst_langinfo): New variable.  Use it.
59103 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59105         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59106         floating point opcodes.
59108 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59110         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59111         variable.
59113         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59115         * sysdeps/mach/hurd/powerpc: Remove directory.
59116         * sysdeps/mach/powerpc: Likewise.
59118 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59120         * scripts/check-local-headers.sh: Ignore c++ headers.
59122 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59124         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59125         __libc_cleanup_region_start argument.
59127 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59129         [BZ #14784]
59130         [BZ #14785]
59131         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59132         x * y using scaling, not as x * y + z.
59133         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59134         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59135         * math/libm-test.inc (fma_test): Add more tests.
59136         (fma_test_towardzero): Likewise.
59137         (fma_test_downward): Likewise.
59138         (fma_test_upward): Likewise.
59140 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59142         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59144 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59146         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59147         New variable.
59149 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59151         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59153 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59156         Fix sort order.
59157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59158         Likewise.
59160 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59163         Fix the order of the list for glibc 2.17.
59164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59165         Likewise.
59167 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59171 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59173         [BZ #14610]
59174         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59175         for low part of x being zero before using __atanl (y).
59176         * math/libm-test.inc (atan2_test): Add another test.
59178         * manual/install.texi (Configuring and compiling): Document
59179         general use of test-wrapper and test-wrapper-env.
59180         * INSTALL: Regenerated.
59182         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59183         (__fma): Do not extract and scale down low bits on after-rounding
59184         systems when result rounded to normal precision would have normal
59185         exponent.
59186         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59187         (__fmal): Do not extract and scale down low bits on after-rounding
59188         systems when result rounded to normal precision would have normal
59189         exponent.
59190         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59191         (__fmal): Do not extract and scale down low bits on after-rounding
59192         systems when result rounded to normal precision would have normal
59193         exponent.
59194         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59195         macro.
59196         (fma_test): Add more tests.
59197         (fma_test_towardzero): Likewise.
59198         (fma_test_downward): Likewise.
59199         (fma_test_upward): Likewise.
59201 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59203         * sysdeps/i386/tininess.h: Renamed to ...
59204         * sysdeps/x86/tininess.h: This.
59205         * sysdeps/x86_64/tininess.h: Removed.
59207 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59209         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59210         input.  Use $(build-program-cmd).
59211         ($(objpfx)tst-array1-static.out): Likewise.
59212         ($(objpfx)tst-array2.out): Likewise.
59213         ($(objpfx)tst-array3.out): Likewise.
59214         ($(objpfx)tst-array4.out): Likewise.
59215         ($(objpfx)tst-array5.out): Likewise.
59216         ($(objpfx)tst-array5-static.out): Likewise.
59218 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59220         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59221         if defined.
59223         * nss/nsswitch.h (nss_interface_function): Provide new
59224         macro for use with NSS functions.
59225         * grp/initgroups.c: Use new macro.
59226         * nss/getXXbyYY.c: Likewise.
59227         * nss/getXXbyYY_r.c: Likewise.
59228         * nss/getXXent.c: Likewise.
59229         * nss/getXXent_r.c: Likewise.
59230         * sysdeps/posix/getaddrinfo.c: Likewise.
59232 2012-10-30  Andreas Jaeger  <aj@suse.de>
59234         * po/ru.po: Update Russion translation from translation project.
59236 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59238         [BZ #14152]
59239         [BZ #14783]
59240         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59241         result and shift together with sticky bit instead of replicating
59242         round-to-nearest rounding.
59243         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59244         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59245         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59246         missing underflow exceptions.
59247         (fma_test_towardzero): Add more tests.
59248         (fma_test_downward): Likewise.
59249         (fma_test_upward): Likewise.
59251         [BZ #14047]
59252         * sysdeps/generic/tininess.h: New file.
59253         * sysdeps/i386/tininess.h: Likewise.
59254         * sysdeps/sh/tininess.h: Likewise.
59255         * sysdeps/x86_64/tininess.h: Likewise.
59256         * stdlib/tst-strtod-underflow.c: Likewise.
59257         * stdlib/tst-tininess.c: Likewise.
59258         * stdlib/strtod_l.c: Include <tininess.h>.
59259         (round_and_return): Do not set errno for exact underflow cases.
59260         Force an underflow exception when setting errno for underflow.
59261         Determine underflow based on rounding to normal precision if
59262         TININESS_AFTER_ROUNDING.
59263         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59264         ERANGE for exact underflow cases.
59265         * stdlib/Makefile (tests): Add tst-tininess and
59266         tst-strtod-underflow.
59267         ($(objpfx)tst-tininess): Use $(link-libm).
59268         ($(objpfx)tst-strtod-underflow): Likewise.
59270 2012-10-30  Andreas Jaeger  <aj@suse.de>
59272         [BZ#14767]
59273         * elf/Makefile (tests): Remove conditional for have-initfini-array
59274         since this is now always required and the variable does not exist
59275         anymore.
59276         (tests-static): Likewise.
59277         (modules-names): Likewise.
59279         * po/eo.po: Add Esperanto translation from translation project.
59281         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59282         merged with constructor/destructor.
59283         (init_array): Likewise.
59284         * elf/tst-array2dep.c (fini_array): Likewise.
59285         (init_array): Likewise.
59287 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59289         * manual/message.texi: Delete @cartouche tags.
59291 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59293         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59294         EOPNOTSUPP.
59295         * sysdeps/mach/hurd/fsync.c: Likewise.
59297         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59298         [_POSIX_REALTIME_SIGNALS]: Change condition to
59299         [_POSIX_REALTIME_SIGNALS > 0].
59301 2012-10-27  Andreas Jaeger  <aj@suse.de>
59303         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59304         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59305         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59306         [__WORDSIZE != 64]: Likewise.
59308 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59310         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59311         *  iconvdata/tst-tables.sh: Likewise.
59313 2012-10-25  David S. Miller  <davem@davemloft.net>
59315         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59316         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59317         of strtoull.
59319         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59320         ifunc-impl-list.c
59321         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59322         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59323         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59324         file.
59326 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59328         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59329         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59330         __getdirentries.
59332 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59333             Jim Blandy  <jimb@codesourcery.com>
59335         * scripts/cross-test-ssh.sh: New file.
59336         * manual/install.texi (Configuring and compiling): Document use of
59337         cross-test-ssh.sh.
59338         * INSTALL: Regenerated.
59340 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59342         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59343         EOPNOTSUPP.
59345 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59347         * Makeconfig (run-program-prefix): Fix comment.
59349 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59350             Jim Blandy  <jimb@codesourcery.com>
59352         * Makeconfig (test-wrapper): New variable,
59353         (test-wrapper-env): Likewise.
59354         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59355         (run-built-tests): Define to yes.
59356         (run-program-prefix): Use $(test-wrapper).
59357         (built-program-cmd): Likewise.
59358         * Rules (make-test-out): Use $(test-wrapper-env) and
59359         $(host-built-program-cmd).
59360         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59361         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59362         tst-pathopt.sh.
59363         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59364         $(test-wrapper-env) to tst-rtld-load-self.sh.
59365         ($(objpfx)order2.out): Use $(test-wrapper).
59366         ($(objpfx)tst-initorder.out): Likewise.
59367         ($(objpfx)tst-initorder2.out): Likewise.
59368         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59369         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59370         (test_wrapper_env): New variable.  Use it to run ld.so.
59371         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59372         Use it to run ld.so.
59373         (test_wrapper_env): Likewise.
59374         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59375         $(test-wrapper) to run-iconv-test.sh.
59376         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59377         (ICONV): Use $test_wrapper.
59378         * posix/Makefile ($(objpfx)globtest.out): Pass
59379         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59380         globtest.sh, not $(run-program-prefix).
59381         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59382         (test_wrapper): Likewise.
59383         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59384         set together with run_via_rtld_prefix.
59385         (run_program_prefix): Define in terms of test_wrapper and
59386         run_via_rtld_prefix.
59388 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59390         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59391         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59392         Targets removed.
59394         [BZ #14743]
59395         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59396         Declare __clock_getres, __clock_gettime, __clock_settime,
59397         __clock_nanosleep, and __clock_getcpuclockid.
59398         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59399         Remove librt_hidden_def (clock_gettime).
59400         * sysdeps/unix/clock_gettime.c: Likewise.
59401         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59402         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59403         * rt/clock_getres.c: Define __clock_getres as an alias.
59404         * sysdeps/posix/clock_getres.c: Likewise.
59405         * rt/clock_settime.c: Define __clock_settime as an alias.
59406         * sysdeps/unix/clock_settime.c: Likewise.
59407         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59408         * sysdeps/unix/clock_nanosleep.c: Likewise.
59409         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59410         * rt/clock-compat.c: New file.
59411         * rt/Makefile (librt-routines): Add clock-compat and move
59412         $(clock-routines) to ...
59413         (routines): ... here, new variable.
59414         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59415         Don't add get_clockfreq here.
59416         * rt/Versions (libc: GLIBC_2.17): New version set.
59417         Add clock_* symbols here.
59418         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59419         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59420         (GLIBC_2.17): Add clock_* symbols.
59421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59423         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59425         Likewise.
59426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59427         Likewise.
59428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59432         * NEWS: Mention the move.
59434         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59435         Use __open, __read, __close rather than their public counterparts.
59436         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59437         (__get_clockfreq_via_cpuinfo): Likewise.
59438         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59439         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59441         * config.h.in (HAVE_IFUNC): New #undef.
59442         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59443         was successful.
59444         * configure: Regenerated.
59446 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59448         * configure.in: Move READELF check to start of file.
59449         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59450         libc_cv_asm_gnu_indirect_function in the process.
59451         * configure: Regenerated.
59453 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59455         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59456         send the output to /dev/null.
59457         (libc_cv_cc_with_libunwind): Likewise.
59458         (libc_cv_as_noexecstack): Likewise.
59459         * configure: Regenerate.
59461 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59463         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59465         * posix/globtest.sh (TMPDIR): Do not set.
59466         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59467         (testout): Likewise.
59469 2012-10-24  Andreas Jaeger  <aj@suse.de>
59471         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59472         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59473         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59474         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59475         posix_fadvise64, posix_fallocate64.
59477         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59478         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59479         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59480         Likewise.
59481         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59482         Likewise.
59483         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59485         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59486         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59487         <bits/fcntl-linux.h>.
59488         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59490         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59491         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59492         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59493         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59494         [__WORDSIZE != 64]: Likewise.
59496 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59498         * Makeconfig (run-built-tests): New variable.
59499         * Rules [$(cross-compiling) = yes]: Change condition to
59500         [$(run-built-tests) = no].
59501         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59502         to [$(run-built-tests) = yes].
59503         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59504         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59505         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59506         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59507         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59508         * io/Makefile [$(cross-compiling) = no]: Likewise.
59509         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59510         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59511         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59512         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59513         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59514         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59515         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59516         * string/Makefile [$(cross-compiling) = no]: Likewise.
59518         * posix/Makefile ($(objpfx)globtest.out): Pass
59519         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59520         $(rtld-installed-name).
59521         * posix/globtest.sh (elf_objpfx): Remove variable.
59522         (rtld_installed_name): Likewise.
59523         (library_path): Likewise.
59524         (run_program_prefix): New variable.  Use for running globtest
59525         binary.
59527 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59528             Joseph Myers  <joseph@codesourcery.com>
59530         * Makeconfig (host-built-program-cmd): New variable.
59531         * elf/Makefile (tst-stackguard1-ARGS): Use
59532         $(host-built-program-cmd).
59533         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59534         (tst-spawn-ARGS): Likewise.
59535         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59537 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59538             Jim Blandy  <jimb@codesourcery.com>
59540         * Makeconfig (run-via-rtld-prefix): New variable.
59541         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59542         (built-program-cmd): Likewise.
59544 2012-10-22  Andreas Jaeger  <aj@suse.de>
59546         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59547         __O_RSYNC if it exists, otherwise to O_SYNC.
59549 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59550             Joseph Myers  <joseph@codesourcery.com>
59552         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59553         /dev/null.
59554         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59555         from /dev/null
59556         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59557         /dev/null.
59559 2012-10-22  Andreas Jaeger  <aj@suse.de>
59561         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59562         Define always.
59563         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59565         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59566         bits/fcntl-linux.h.
59568         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59569         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59571         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59572         to __O_LARGEFILE.
59573         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59574         to __O_LARGEFILE.
59576 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59577             Joseph Myers  <joseph@codesourcery.com>
59579         * config.make.in (NM): New variable.
59581 2012-10-21  Andreas Jaeger  <aj@suse.de>
59583         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59584         definitions and declarations that are provided by
59585         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59587 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59589         [BZ #14683]
59590         * elf/Makefile (tests-static): Add tst-leaks1-static.
59591         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59592         ($(objpfx)tst-leaks1-static): New rule.
59593         ($(objpfx)tst-leaks1-static-mem): Likewise.
59594         (tst-leaks1-static-ENV): New macro.
59595         * elf/dl-open.c (dl_open_worker): Check the main application
59596         only if SHARED is defined.
59597         * elf/tst-leaks1-static.c: New file.
59599 2012-10-20  Andreas Jaeger  <aj@suse.de>
59601         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59602         generic values for Linux.
59603         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59604         and declarations that are provided by <bits/fcntl-linux.h> and
59605         include <bits/fcntl-linux.h>.
59606         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59607         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59609 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59611         * io/fcntl.h: Move include of <bits/types.h> to the top and
59612         include it unconditionally.
59614 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59616         * wcsmbs/Makefile (tests-ifunc): New variable.
59617         (tests): Add $(tests-ifunc).
59618         * wcsmbs/test-wcschr-ifunc.c: New file.
59619         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59620         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59621         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59622         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59623         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59625         * string/Makefile (tests-ifunc): New variable.
59626         (tests): Add $(tests-ifunc).
59627         * string/test-memccpy.c (TEST_NAME): New macro.
59628         * string/test-memchr.c (TEST_NAME): Likewise.
59629         * string/test-memcmp.c (TEST_NAME): Likewise.
59630         * string/test-memcpy.c (TEST_NAME): Likewise.
59631         * string/test-memmem.c (TEST_NAME): Likewise.
59632         * string/test-memmove.c (TEST_NAME): Likewise.
59633         * string/test-memset.c (TEST_NAME): Likewise.
59634         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59635         * string/test-stpcpy.c (TEST_NAME): Likewise.
59636         * string/test-stpncpy.c (TEST_NAME): Likewise.
59637         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59638         * string/test-strcasestr.c (TEST_NAME): Likewise.
59639         * string/test-strcat.c (TEST_NAME): Likewise.
59640         * string/test-strchr.c (TEST_NAME): Likewise.
59641         * string/test-strcmp.c(TEST_NAME): Likewise.
59642         * string/test-strcpy.c (TEST_NAME): Likewise.
59643         * string/test-strcspn.c (TEST_NAME): Likewise.
59644         * string/test-strlen.c (TEST_NAME): Likewise.
59645         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59646         * string/test-strncmp.c (TEST_NAME): Likewise.
59647         * string/test-strncpy.c (TEST_NAME): Likewise.
59648         * string/test-strnlen.c (TEST_NAME): Likewise.
59649         * string/test-strpbrk.c (TEST_NAME): Likewise.
59650         * string/test-strrchr.c (TEST_NAME): Likewise.
59651         * string/test-strspn.c (TEST_NAME): Likewise.
59652         * string/test-strstr.c (TEST_NAME): Likewise.
59653         * string/test-bcopy-ifunc.c: New file.
59654         * string/test-bzero-ifunc.c: Likewise.
59655         * string/test-memccpy-ifunc.c: Likewise.
59656         * string/test-memchr-ifunc.c: Likewise.
59657         * string/test-memcmp-ifunc.c: Likewise.
59658         * string/test-memcpy-ifunc.c: Likewise.
59659         * string/test-memmem-ifunc.c: Likewise.
59660         * string/test-memmove-ifunc.c: Likewise.
59661         * string/test-mempcpy-ifunc.c: Likewise.
59662         * string/test-memset-ifunc.c: Likewise.
59663         * string/test-rawmemchr-ifunc.c: Likewise.
59664         * string/test-stpcpy-ifunc.c: Likewise.
59665         * string/test-stpncpy-ifunc.c: Likewise.
59666         * string/test-strcasecmp-ifunc.c: Likewise.
59667         * string/test-strcasestr-ifunc.c: Likewise.
59668         * string/test-strcat-ifunc.c: Likewise.
59669         * string/test-strchr-ifunc.c: Likewise.
59670         * string/test-strchrnul-ifunc.c: Likewise.
59671         * string/test-strcmp-ifunc.c: Likewise.
59672         * string/test-strcpy-ifunc.c: Likewise.
59673         * string/test-strcspn-ifunc.c: Likewise.
59674         * string/test-strlen-ifunc.c: Likewise.
59675         * string/test-strncasecmp-ifunc.c: Likewise.
59676         * string/test-strncat-ifunc.c: Likewise.
59677         * string/test-strncmp-ifunc.c: Likewise.
59678         * string/test-strncpy-ifunc.c: Likewise.
59679         * string/test-strnlen-ifunc.c: Likewise.
59680         * string/test-strpbrk-ifunc.c: Likewise.
59681         * string/test-strrchr-ifunc.c: Likewise.
59682         * string/test-strspn-ifunc.c: Likewise.
59683         * string/test-strstr-ifunc.c: Likewise.
59685         * debug/Makefile (tests-ifunc): New variable.
59686         (tests): Add $(tests-ifunc).
59687         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59688         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59689         * debug/test-stpcpy_chk-ifunc.c: New file.
59690         * debug/test-strcpy_chk-ifunc.c: Likewise.
59692 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59694         [BZ #13601]
59695         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59696         header is not read in.
59698 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59700         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59701         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59702         directly.  Pass built executable to script as
59703         $(built-program-cmd).
59704         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59705         $testprogram without using LD_LIBRARY_PATH and $ldso.
59707         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59708         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59709         $(rtld-installed-name).
59710         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59711         (rtld_installed_name): Likewise.
59712         (library_path): Likewise.
59713         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59714         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59715         $(run-program-prefix) to tst-tables.sh.
59716         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59717         it to run tst-table-from and tst-table-to.
59718         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59719         Pass it to tst-table.sh.
59720         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59721         $(run-program-prefix) to tst-gettext.sh.
59722         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59723         tst-translit.sh.
59724         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59725         tst-gettext2.sh.
59726         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59727         to run tst-gettext.
59728         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59729         to run tst-gettext2.
59730         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59731         to run tst-translit.
59732         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59733         $(run-program-prefix) to tst-mtrace.sh.
59734         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59735         to run tst-mtrace.
59736         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59737         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59738         $(rtld-installed-name).
59739         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59740         (rtld_installed_name): Likewise.
59741         (run_program_prefix): New variable.  Use it to run wordexp-test.
59743         * Makeconfig (ARCH): Remove all definitions.
59744         (machine): Likewise.
59745         [ARCH]: Remove conditional code.
59746         [!objdir]: Give error.
59747         [!objdir] (objpfx): Remove.
59748         [!objdir] (common-objpfx): Likewise.
59749         [!objdir] (common-objdir): Likewise.
59750         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59751         AC_CONFIG_FILES call.
59752         * configure: Regenerated.
59754         [BZ #13888]
59755         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59756         or TMPDIR.
59757         (testout): Likewise.
59759         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59760         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59761         $(rtld-installed-name).
59762         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59763         (rtld_installed_name): Likwise.
59764         (runit): Remove function.
59765         (run_getconf): New variable,  Use it for running getconf binary.
59767 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59769         [BZ #14716]
59770         * string/test-memmem.c (check_result): New function.
59771         (do_one_test): Use it.
59772         (check1): New function.
59773         (test_main): Use it.
59775 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59777         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59779 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59781         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59782         (_G_LSEEK64): Likewise.
59783         (_G_MMAP64): Likewise.
59784         (_G_FSTAT64): Likewise.
59785         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59786         (_G_LSEEK64): Likewise.
59787         (_G_MMAP64): Likewise.
59788         (_G_FSTAT64): Likewise.
59789         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59790         unconditional.  Call __mmap64 directly.
59791         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59792         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59793         __lseek64 directly.
59794         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59795         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59796         __mmap64 directly.
59797         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59798         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59799         __lseek64 directly.
59800         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59801         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59802         __lseek64 directly.
59803         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59804         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59805         __lseek64 directly.
59806         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59807         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59808         __fxstat64 directly.
59809         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59810         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59811         unconditional.
59812         (freopen64) [!_G_OPEN64]: Remove conditional code.
59813         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59814         unconditional.
59815         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59816         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59817         unconditional.
59818         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59819         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59820         unconditional.
59821         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59822         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59823         unconditional.
59824         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59825         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59826         unconditional.
59827         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59828         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59829         unconditional.
59830         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59831         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59832         unconditional.
59833         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59835 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59837         [BZ #12140]
59838         * manual/memory.texi (Malloc Tunable Parameters): Add note
59839         about free list pointers overwriting some perturb bytes.
59840         Wording suggested by Roland McGrath.
59842 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59844         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59845         (lgamma_test): Likewise.
59846         (tgamma_test): Likewise.
59848 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59850         [BZ #14700]
59851         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59852         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59854 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59856         * NEWS: Mention BZ #14716.
59857         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59858         when removing AVAILABLE1_USES_J macro.
59860 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59862         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59863         (__bswap_64): __uint64_t for unsigned 64-bit int.
59865 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59867         * include/string.h (memmem): Declare libc hidden alias.
59868         * string/memmem.c (memmem): Define libc hidden alias.
59869         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59870         __read, __close instead of open, read, close.
59872 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59874         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59875         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59876         global and hidden.
59877         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59878         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59879         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59880         Likewise.
59881         (__rawmemchr_sse2): Likewise.
59882         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59883         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59884         (__strchr_sse2): Likewise.
59885         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59886         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59887         (__strcasecmp_sse2): Likewise.
59888         (__strncasecmp_sse2): Likewise.
59889         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59890         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59891         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59892         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59893         (__strrchr_sse2): Likewise.
59894         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59895         ifunc-impl-list.c.
59896         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59897         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59898         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59899         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59900         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59901         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59902         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59903         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59904         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59905         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59906         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59907         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59908         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59909         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59910         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59911         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59912         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59913         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59914         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59915         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59916         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59917         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59918         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59919         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59920         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59921         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59922         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59923         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59924         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59925         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59927         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59928         global and hidden.
59929         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59930         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59931         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59932         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59933         Likewise.
59934         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59935         Likewise.
59936         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59937         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59938         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59939         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59940         ifunc-impl-list.c.
59941         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59942         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59943         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59944         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59945         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59946         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59947         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59948         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59949         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59950         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59951         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59952         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59953         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59954         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59955         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59956         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59957         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59958         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59959         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59960         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59961         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59962         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59963         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59964         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59965         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59966         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59967         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59968         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59969         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59970         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59971         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59972         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59973         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59974         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59975         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59976         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59977         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59978         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59979         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59980         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59981         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59983         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59984         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59985         * include/ifunc-impl-list.h: New file.
59986         * misc/ifunc-impl-list.c: Likewise.
59987         * misc/Makefile (routines): Add ifunc-impl-list.
59988         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59989         * string/test-string.h: Include <ifunc-impl-list.h>.
59990         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59991         TEST_NAME]: New variables.
59992         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59993         are defined.
59994         (test_init): Call __libc_ifunc_impl_list to initialize
59995         func_list if TEST_IFUNC and TEST_NAME are defined.
59997         * string/Makefile (strop-tests): Add bcopy and bzero.
59998         * string/test-bcopy.c: New file.
59999         * string/test-bzero.c: Likewise.
60000         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60001         defined.
60002         * string/test-memset.c: Support bzero test if TEST_BZERO is
60003         defined.
60004         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60005         __libc_memmove.
60006         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60007         __libc_memset.
60008         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60009         of memset.
60011 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60013         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60014         * configure: Regenerated.
60016         * Makeconfig (+link-static-before-libc): Don't include
60017         $(link-static-libc).
60019         * libio/libio.h (_IO_pos_t): Remove.
60021 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60023         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60024         McGrath.
60026 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60028         * crypt/crypt-entry.c: Include fips-private.h.
60029         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60030         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60031         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60032         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60034 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60036         * crypt/crypt-private.h: Include stdbool.h.
60037         (_ufc_setup_salt_r): Return bool.
60038         * crypt/crypt-entry.c: Include errno.h.
60039         (__crypt_r): Return NULL with EINVAL for bad salt.
60040         * crypt/crypt_util.c (bad_for_salt): New.
60041         (_ufc_setup_salt_r): Check that salt is long enough and within
60042         the specified alphabet.
60043         * crypt/badsalttest.c: New file.
60044         * crypt/Makefile (tests): Add it.
60045         ($(objpfx)badsalttest): New.
60047 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60049         * NEWS: Add entry for BZ #14602.
60051 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60053         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60054         type-generic.
60055         * math/libm-test.inc: Update comment listing what functions and
60056         macros are tested.
60057         (isgreater_test): New function.
60058         (isgreaterequal_test): Likewise.
60059         (isless_test): Likewise.
60060         (islessequal_test): Likewise.
60061         (islessgreater_test): Likewise.
60062         (isunordered_test): Likewise.
60063         (main): Call the new functions.
60065 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60067         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60068         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60069         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60070         * sysdeps/i386/configure: Regenerated.
60071         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60072         * sysdeps/mach/configure: Regenerated.
60073         * sysdeps/mach/hurd/configure: Regenerated.
60074         * sysdeps/powerpc/configure: Regenerated.
60075         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60076         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60077         * sysdeps/s390/s390-32/configure: Regenerated.
60078         * sysdeps/s390/s390-64/configure: Regenerated.
60079         * sysdeps/sh/configure: Regenerated.
60080         * sysdeps/sparc/configure: Regenerated.
60081         * sysdeps/unix/sysv/linux/configure: Regenerated.
60082         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60083         * sysdeps/x86_64/configure: Regenerated.
60085         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60086         defined.  Don't check if MAP is NULL.
60088 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60090         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60091         (_G_stat64): Likewise.
60092         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60093         (_G_stat64): Likewise.
60094         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60095         instead of struct _G_stat64.
60096         * libio/fileops.c (mmap_remap_check): Likewise.
60097         (decide_maybe_mmap): Likewise.
60098         (_IO_new_file_seekoff): Likewise.
60099         (_IO_file_stat): Likewise.
60100         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60101         _G_off64_t.
60102         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60103         instead of struct _G_stat64.
60104         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60106 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60108         [BZ #14602]
60109         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60110         Replace with ...
60111         (CHECK_EOL): New macro.
60112         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60113         CHECK_EOL.
60114         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60115         Replace with CHECK_EOL.
60116         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60117         Replace with CHECK_EOL.
60119 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60121         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60122         type-generic.
60123         * math/libm-test.inc: Update comment listing what functions and
60124         macros are tested.
60125         (finite_test): New function.
60126         (isinf_test): Likewise.
60127         (isnan_test): Likewise.
60128         (fpclassify_test): Test subnormal input.
60129         (isfinite_test): Likewise.
60130         (isnormal_test): Likewise.
60131         (main): Call the new functions.
60133 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60135         [BZ #14660]
60136         * Makerules (%.dynsym): Force C locale when running
60137         $(OBJDUMP) --dynamic-syms.
60139 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60141         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60142         <stdint.h>.
60144 2012-10-06  David S. Miller  <davem@davemloft.net>
60146         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60147         upper 32-bits of the length value in %o2 since we use branch-on-register
60148         tests which consider the entire 64-bit register.
60150 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60152         * string/test-strstr.c (check2): Add a test for page boundary.
60154 2012-10-05  David S. Miller  <davem@davemloft.net>
60156         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60157         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60158         file.
60159         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60160         sysdep_routines.
60161         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60162         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60163         and bzero when HWCAP_SPARC_CRYPTO is present.
60165 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60167         [BZ #14602]
60168         * string/test-strstr.c (check2): New function.
60169         (test_main): Call check2.
60171         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60172         and bug-strchr1.
60173         * string/bug-strcasestr1.c (do_test): Moved to ...
60174         * string/test-strcasestr.c (check1): Here.  New function.
60175         (do_one_test): Break out result checking code into ...
60176         (check_result): This.  New function.
60177         (do_one_test): Call check_result.
60178         (test_main): Call check1.
60179         * string/bug-strchr1.c (do_test): Moved to ...
60180         * string/test-strchr.c (check1): Here.  New function.
60181         (do_one_test): Break out result checking code into ...
60182         (check_result): This.  New function.
60183         (do_one_test): Call check_result.
60184         (test_main): Call check1.
60185         * string/bug-strstr1.c (main): Moved to ...
60186         * string/test-strstr.c (check1): Here.  New function.
60187         (do_one_test): Break out result checking code into ...
60188         (check_result): This.  New function.
60189         (do_one_test): Call check_result.
60190         (test_main): Call check1.
60191         * string/bug-strcasestr1.c: Removed.
60192         * string/bug-strchr1.c: Likewise.
60193         * string/bug-strstr1.c: Likewise.
60195         * elf/Makefile (dl-routines): Add hwcaps.
60196         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60197         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60198         (_dl_important_hwcaps): Moved to ...
60199         * elf/dl-hwcaps.c: Here.  New file.
60200         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60202         [BZ #14557]
60203         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60204         if IS_IN_rtld isn't defined.
60206         * elf/dl-support.c (_dl_sysinfo_map): New.
60207         Include "get-dynamic-info.h" and "setup-vdso.h".
60208         (_dl_non_dynamic_init): Call setup_vdso.
60209         * elf/dynamic-link.h: Don't include <assert.h>.
60210         (elf_get_dynamic_info): Moved to ...
60211         * elf/get-dynamic-info.h: Here.  New file.
60212         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60213         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60214         * elf/setup-vdso.h: Here.  New file.
60215         * elf/rtld.c: Include "setup-vdso.h".
60216         (dl_main): Call setup_vdso.
60218 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60220         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60221         creal in comment listing functions tested.  List finite, isinf,
60222         isnan, isless, islessequal, isgreater, isgreaterequal,
60223         islessgreater, isunordered, lgamma_r and pow10 as functions and
60224         macros not tested.  Mention which functions not tested are aliases
60225         for other functions.  Fix typo.  Note that signs of NaNs are not
60226         tested.
60228         * scripts/config.guess: Update from config.git.
60229         * scripts/config.sub: Likewise.
60231 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60233         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60234         * misc/madvise.c (madvise): Renamed to __madvise.
60235         Make madvise a weak alias.
60236         * include/sys/mman.h: Declare __madvise.
60237         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60238         * sysdeps/unix/syscalls.list
60239         (madvise): Make __madvise the strong name, and madvise a weak alias.
60240         * sysdeps/unix/sysv/linux/syscalls.list
60241         (madvise, mmap): Remove redundant entries.
60242         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60243         * malloc/malloc.c (mtrim): Likewise.
60244         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60246 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60248         * sysdeps/mach/hurd/dl-cache.c: File removed.
60249         * config.h.in (USE_LDCONFIG): New #undef.
60250         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60251         * configure: Regenerated.
60252         * elf/Makefile (dl-routines): Add dl-cache only under
60253         [$(use-ldconfig) = yes].
60254         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60255         cache on [USE_LDCONFIG].
60256         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60257         [USE_LDCONFIG].
60258         * elf/rtld.c (dl_main): Likewise.
60260 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60262         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60263         _SC_LEVEL4_CACHE_LINESIZE.
60265 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60267         * sysdeps/unix/bsd/confstr.h: File removed.
60269 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60271         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60272         sys/sdt-config.h.
60274 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60276         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60277         Make 'mapoff' field ElfW(Off) rather than off_t.
60279 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60281         * nscd/Makefile: Remove nscd-cflags and all its users.
60282         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60283         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60285         [BZ #10631]
60286         * malloc.c (malloc_printerr): Clarify error message.
60288 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60290         [BZ #14648]
60291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60292         Set bit_FMA_Usable if FMA is supported.
60293         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60294         macro.
60295         (bit_FMA4_Usable): Updated.
60296         (index_FMA_Usable): New macro.
60297         (CPUID_FMA): Likewise.
60298         (HAS_FMA): Defined with bit_FMA_Usable.
60300 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60302         * bits/types.h (__swblk_t): Type removed.
60303         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60304         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60305         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60306         (__SWBLK_T_TYPE): Likewise.
60307         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60308         (__SWBLK_T_TYPE): Likewise.
60309         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60310         (__SWBLK_T_TYPE): Likewise.
60311         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60312         (__SWBLK_T_TYPE): Likewise.
60314 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60315             Honza Horak <hhorak@redhat.com>
60317         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60318         (xdr_mapname): Use YPMAXMAP as maxsize.
60319         (xdr_peername): Use YPMAXPEER as maxsize.
60320         (xdr_keydat): Use YPAXRECORD as maxsize.
60321         (xdr_valdat): Use YPMAXRECORD as maxsize.
60323 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60325         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60327         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60328         * csu/init-first.c: ... here.
60329         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60330         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60331         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60332         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60333         * sysdeps/i386/init-first.c: File removed.
60334         * sysdeps/sh/init-first.c: File removed.
60336 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60338         [BZ #14645]
60339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60340         if x * y might underflow to zero and z is zero.
60341         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60342         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60343         * math/libm-test.inc (min_subnorm_value): New variable.
60344         (fma_test): Add more tests.
60345         (fma_test_towardzero): Likewise.
60346         (fma_test_downward): Likewise.
60347         (fma_test_upward): Likewise.
60348         (initialize): Set min_subnorm_value.
60350 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60352         [BZ #14638]
60353         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60354         0 + 0.
60355         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60356         mode for addition resulting in exact zero.
60357         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60358         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60359         exact 0 + 0.
60360         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60361         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60362         * math/libm-test.inc (fma_test): Add more tests.
60363         (fma_test_towardzero): New function.
60364         (fma_test_downward): Likewise.
60365         (fma_test_upward): Likewise.
60366         (main): Call the new functions.
60368 2012-09-28  David S. Miller  <davem@davemloft.net>
60370         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60372 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60374         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60375         instead of SIGALRM.
60377         * sysdeps/gnu/_G_config.h: Moved to ...
60378         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60379         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60380         * sysdeps/generic/_G_config.h: ... here.
60382         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60384         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60386         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60387         Conditionalize target on [libnss_test1.so-version].
60389         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60391         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60392         (elfobjdir): Move out of conditionals.
60394         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60395         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60396         (__nss_lookup_function): Conditionalize label remove_from_tree on
60397         [!DO_STATIC_NSS || SHARED], matching its only use.
60399 2012-09-28  David S. Miller  <davem@davemloft.net>
60401         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60402         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60403         file.
60404         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60405         sysdep_routines.
60406         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60407         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60408         when HWCAP_SPARC_CRYPTO is present.
60410 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60412         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60414 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60416         [BZ #6530]
60417         * stdio-common/vfprintf.c (process_string_arg): Revert
60418         2000-07-22 change.
60420 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60422         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60423         for testcase.
60424         * stdio-common/tst-sprintf.c: Include <locale.h>
60425         (main): Test sprintf's handling of incomplete multibyte
60426         characters.
60428 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60430         * elf/dl-runtime.c (VERSYMIDX): Removed.
60431         * elf/dl-version.c (VERSYMIDX): Likewise.
60432         * elf/do-rel.h (VERSYMIDX): Likewise.
60433         (VALIDX): Likewise.
60434         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60435         * elf/rtld.c (VALIDX): Likewise.
60436         (ADDRIDX): Likewise.
60437         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60438         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60439         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60440         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60441         (VALIDX): Likewise.
60442         (ADDRIDX): Likewise.
60444 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60446         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60448 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60450         [BZ #11438]
60451         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60452         to global scope.
60453         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60454         addresses are in the same scope as 192.0.2/24.
60455         * posix/gai.conf: Document new scope table defaults.
60457 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60459         [BZ #5298]
60460         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60461         for ftell.  Compute offsets from write pointers instead.
60462         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60464 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60466         [BZ #14543]
60467         * libio/Makefile (tests): New test case tst-fseek.
60468         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60469         combination works in wide mode.
60470         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60471         state when the external buffer state changes.
60473 2012-09-27  David S. Miller  <davem@davemloft.net>
60475         [BZ #14376]
60476         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60477         pass reloc->r_addend in as the 'high' argument to
60478         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60482 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60484         * rt/tst-aio2.c: Include <pthread.h>.
60485         * rt/tst-aio3.c: Likewise.
60487 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60489         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60491 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60493         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60494         contents on [SHARED].
60496 2012-09-26  Marek Polacek  <polacek@redhat.com>
60498         [BZ #14530]
60499         [BZ #13741]
60500         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60501         for C++ and GCC <4.3 as well as for non GCC compilers.
60503 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60505         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60507 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60509         * Makefile.in (all, install): Declare with .PHONY.
60510         Reported by Michael Hope <michael.hope@linaro.org>.
60512 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60514         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60515         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60516         system header.
60517         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60518         Likewise.
60519         (sydep_routines): Add the new and the internal functions.
60520         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60521         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60523         (GLIBC_2.17): Add the new function.
60524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60525         (GLIBC_2.17): Likewise.
60526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60527         (GLIBC_2.17): Likewise.
60528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60529         (GLIBC_2.17): Likewise.
60530         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60532 2012-09-25  Alan Modra  <amodra@gmail.com>
60534         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60535         Add release barrier before setting once_control to say
60536         initialisation is done.  Add hints on lwarx.  Use macro in
60537         place of isync.
60538         (clear_once_control): Add release barrier.
60540 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60542         [BZ #13629]
60543         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60544         specially.
60545         * math/s_clog10.c (__clog10): Likewise.
60546         * math/s_clog10f.c (__clog10f): Likewise.
60547         * math/s_clog10l.c (__clog10l): Likewise.
60548         * math/s_clogf.c (__clogf): Likewise.
60549         * math/s_clogl.c (__clogl): Likewise.
60550         * math/Makefile (libm-calls): Add x2y2m1.
60551         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60552         (__x2y2m1): Likewise.
60553         (__x2y2m1l): Likewise.
60554         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60555         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60556         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60557         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60558         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60559         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60560         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60561         * sysdeps/i386/fpu/libm-test-ulps: Update.
60562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60564         [BZ #14621]
60565         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60566         int as type of variable DEPTH.
60567         (glob): Use size_t instead of int as type of variables NEWCOUNT
60568         and OLD_PATHC.
60570 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60572         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60573         Add s_sincosf-sse2.
60574         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60575         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60576         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60577         macros for using routine as __sincosf_ia32.
60578         Use macro for function declaration and weak_alias.
60579         * sysdeps/i386/fpu/libm-test-ulps: Update.
60581         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60582         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60584         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60585         subnormal argument.
60586         * math/s_cexpf.c (__cexpf): Likewise.
60587         * math/s_csinf.c (__csinf): Likewise.
60588         * math/s_csinhf.c (__csinhf): Likewise.
60589         * math/s_ctanf.c (__ctanf): Likewise.
60590         * math/s_ctanhf.c (__ctanhf): Likewise.
60591         * math/s_ccosh.c (__ccoshf): Likewise.
60592         * math/s_cexp.c (__cexpl): Likewise.
60593         * math/s_csin.c (__csin): Likewise.
60594         * math/s_csinh.c (__csinh): Likewise.
60595         * math/s_ctan.c (__ctan): Likewise.
60596         * math/s_ctanh.c (ctanh): Likewise.
60597         * math/s_ccoshl.c (__ccoshl): Likewise.
60598         * math/s_cexpl.c (__cexpl): Likewise.
60599         * math/s_csinl.c (__csinl): Likewise.
60600         * math/s_csinhl.c (__csinhl): Likewise.
60601         * math/s_ctanl.c (__ctanl): Likewise.
60602         * math/s_ctanhl.c (__ctanhl): Likewise.
60604 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60606         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60607         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60608         (_IO_off_t): Define to __off_t, not _G_off_t.
60609         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60610         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60611         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60612         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60613         type of __dummy and __dummy2 fields.
60614         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60615         (_G_ssize_t): Likewise.
60616         (_G_off_t): Likewise.
60617         (_G_pid_t): Likewise.
60618         (_G_uid_t): Likewise.
60619         (_G_wchar_t): Likewise.
60620         (_G_wint_t): Likewise.
60621         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60622         (_G_ssize_t): Likewise.
60623         (_G_off_t): Likewise.
60624         (_G_pid_t): Likewise.
60625         (_G_uid_t): Likewise.
60626         (_G_wchar_t): Likewise.
60627         (_G_wint_t): Likewise.
60628         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60629         (_G_ssize_t): Likewise.
60630         (_G_off_t): Likewise.
60631         (_G_pid_t): Likewise.
60632         (_G_uid_t): Likewise.
60633         (_G_wchar_t): Likewise.
60634         (_G_wint_t): Likewise.
60636 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60638         * malloc/arena.c: Include malloc-sysdep.h.
60639         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60640         is sufficient to shrink the heap or an unmap is needed.
60641         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60642         new function check_may_shrink_heap.
60643         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60644         new function check_may_shrink_heap.
60646 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60648         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60649         comments.
60651 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60653         * catgets/test-gencat.sh: Add "set -e".
60654         * elf/tst-pathopt.sh: Likewise.
60655         * grp/tst_fgetgrent.sh: Likewise.
60656         * iconvdata/run-iconv-test.sh: Likewise.
60657         * intl/tst-gettext.sh: Likewise.
60658         * intl/tst-gettext2.sh: Likewise.
60659         * intl/tst-gettext4.sh: Likewise.
60660         * intl/tst-gettext6.sh: Likewise.
60661         * intl/tst-translit.sh: Likewise.
60662         * io/ftwtest-sh: Likewise.
60663         * libio/test-freopen.sh: Likewise.
60664         * malloc/tst-mtrace.sh: Likewise.
60665         * posix/globtest.sh: Likewise.
60666         * posix/tst-getconf.sh: Likewise.
60667         * posix/wordexp-tst.sh: Likewise.
60668         * stdio-common/tst-printf.sh: Likewise.
60669         * stdio-common/tst-unbputc.sh: Likewise.
60670         * stdlib/tst-fmtmsg.sh: Likewise.
60671         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60672         * catgets/Makefile: Do not specify -e option when running
60673         testsuite shell scripts.
60674         * elf/Makefile: Likewise.
60675         * grp/Makefile: Likewise.
60676         * iconvdata/Makefile: Likewise.
60677         * intl/Makefile: Likewise.
60678         * io/Makefile: Likewise.
60679         * libio/Makefile: Likewise.
60680         * malloc/Makefile: Likewise.
60681         * posix/Makefile: Likewise.
60682         * stdio-common/Makefile: Likewise.
60683         * stdlib/Makefile: Likewise.
60684         * sysdeps/x86_64/Makefile: Likewise.
60686         * io/ftwtest-sh: Add copyright header.
60687         * posix/globtest.sh: Likewise.
60688         * posix/tst-getconf.sh: Likewise.
60689         * posix/wordexp-tst.sh: Likewise.
60690         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60692 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60694         [BZ #13679]
60695         * Makeconfig (+link): Defined as $(+link-static) if
60696         $(build-shared) isn't yes.
60697         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60698         isn't yes.
60699         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60701         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60703         [BZ #14562]
60704         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60705         new chunk size with MALLOC_ALIGN_MASK.
60707 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60709         [BZ #5044]
60710         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60711         <rounding-mode.h>.
60712         (__printf_fphex): Determine rounding using get_rounding_mode and
60713         round_away.
60714         * stdio-common/tst-printf-round.c (struct hex_test): New
60715         structure.
60716         (hex_tests): New variable.
60717         (test_hex_in_one_mode): New function.
60718         (do_test): Also run tests for hex float output.
60720 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60722         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60723         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60724         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60725         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60726         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60727         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60728         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60729         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60731 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60733         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60734         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60735         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60736         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60738 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60740         [BZ #14579]
60741         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60742         mode only.
60743         * elf/tst-rtld-load-self.sh: New test.
60744         * elf/Makefile: Run it.
60746 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60748         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60749         (tst-writev-ENV): Remove.
60750         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60752 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60754         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60756 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60758         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60759         unconditional.
60760         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60761         Likewise.
60762         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60763         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60764         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60765         Likewise.
60767 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60769         [BZ #14587]
60770         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60771         * config.make.in (have-cpp-asm-debuginfo): Removed.
60772         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60773         * configure: Regenerated.
60775 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60777         [BZ #5044]
60778         * stdio-common/printf_fp.c: Include <stdbool.h> and
60779         <rounding-mode.h>.
60780         (___printf_fp): Determine rounding using get_rounding_mode and
60781         round_away.
60782         * stdio-common/tst-printf-round.c: New file.
60783         * stdio-common/Makefile (tests): Add tst-printf-round.
60784         (link-libm): New variable.
60785         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60787 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60789         [BZ #14576]
60790         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60791         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60792         Likewise.
60793         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60794         Likewise.
60796 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60798         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60799         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60800         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60801         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60803 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60805         [BZ #14518]
60806         * include/rounding-mode.h: New file.
60807         * sysdeps/generic/get-rounding-mode.h: Likewise.
60808         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60809         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60810         (MAX_VALUE): New macro.
60811         (MIN_VALUE): Likewise.
60812         (overflow_value): New function.
60813         (underflow_value): Likewise.
60814         (round_and_return): Use overflow_value and underflow_value to
60815         determine return values in overflow and underflow cases.  Use
60816         round_away to determine rounding depending on rounding mode.
60817         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60818         determine return values in overflow and underflow cases.
60819         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60820         (struct test_results): New structure.
60821         (struct test): Use struct test_results to store expected results
60822         for all rounding modes.
60823         (TEST): Include expected results for all rounding modes.
60824         (test_in_one_mode): New function.
60825         (do_test): Use test_in_one_mode to compute and check results.
60826         Check results for all rounding modes.
60827         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60828         $(link-libm).
60830 2012-12-09  Allan McRae  <allan@archlinux.org>
60832         * sysdeps/i386/fpu/libm-test-ulps: Update
60834 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60836         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60837         (_G_int32_t): Likewise.
60838         (_G_uint16_t): Likewise.
60839         (_G_uint32_t): Likewise.
60840         (_G_HAVE_BOOL): Likewise.
60841         (_G_HAVE_ATEXIT): Likewise.
60842         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60843         (_G_HAVE_IO_FILE_OPEN): Likewise.
60844         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60845         (_G_int32_t): Likewise.
60846         (_G_uint16_t): Likewise.
60847         (_G_uint32_t): Likewise.
60848         (_G_HAVE_BOOL): Likewise.
60849         (_G_HAVE_ATEXIT): Likewise.
60850         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60851         (_G_HAVE_IO_FILE_OPEN): Likewise.
60852         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60853         (_G_int32_t): Likewise.
60854         (_G_uint16_t): Likewise.
60855         (_G_uint32_t): Likewise.
60856         (_G_HAVE_BOOL): Likewise.
60857         (_G_HAVE_ATEXIT): Likewise.
60858         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60859         (_G_HAVE_IO_FILE_OPEN): Likewise.
60861 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60863         * csu/libc-tls.c: Update copyright years.
60865 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60867         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60868         [!_G_USING_THUNKS]: Remove conditional code.
60869         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60870         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60872         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60873         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60874         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60875         (_G_VTABLE_LABEL_PREFIX): Likewise.
60876         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60877         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60878         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60879         (_G_VTABLE_LABEL_PREFIX): Likewise.
60880         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60881         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60882         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60883         (_G_VTABLE_LABEL_PREFIX): Likewise.
60884         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60886 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60888         * libio/Makefile: Include ../Makeconfig before tests.
60889         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60890         only if $(build-shared) is yes.
60892         * iconv/gconv_db.c: Update copyright years.
60894 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60896         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60897         unwind info if defined PIC. Fix special cases description.
60898         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60900         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60901         DP_HI_MASK entry.
60902         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60904 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60906         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60908         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60909         is NULL.
60911         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60912         (LDLIBS-tst-chk4): This.
60913         (LDFLAGS-tst-chk5): Renamed to ...
60914         (LDLIBS-tst-chk5): This.
60915         (LDFLAGS-tst-chk6): Renamed to ...
60916         (LDLIBS-tst-chk6): This.
60917         (LDFLAGS-tst-lfschk4): Renamed to ...
60918         (LDLIBS-tst-lfschk4): This.
60919         (LDFLAGS-tst-lfschk5): Renamed to ...
60920         (LDLIBS-tst-lfschk5): This.
60921         (LDFLAGS-tst-lfschk6): Renamed to ...
60922         (LDLIBS-tst-lfschk6): This.
60924         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60925         on $(common-objpfx)soversions.mk.
60927 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60929         [BZ #10014]
60930         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60931         example host name.
60933 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60935         * malloc/arena.c (arena_get_retry): New function that gets
60936         another arena for the caller to try its request on.
60937         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60938         current arena cannot fulfill the request.
60939         (__libc_memalign): Likewise.
60940         (__libc_memalign): Likewise.
60941         (__libc_pvalloc): Likewise.
60942         (__libc_calloc): Likewise.
60944 2012-09-05  John Tobey  <john.tobey@gmail.com>
60946         [BZ #13542]
60947         * manual/arith.texi (Operations on Complex): Fix description
60948         of carg branch cut.
60950 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60952         [BZ #10014]
60953         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60954         host name.
60956         [BZ #10038]
60957         * manual/memory.texi (Memory): Make order of menu items match
60958         order of sections.
60960 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60962         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60963         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60964         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60966 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60968         * csu/libc-tls.c (static_dtv): Renamed to ...
60969         (_dl_static_dtv): This.  Make it global.
60970         (_dl_initial_dtv): Removed.
60971         (__libc_setup_tls): Updated.
60972         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60973         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60974         DL_INITIAL_DTV.
60976 2012-09-06  Petr Machata  <pmachata@redhat.com>
60978         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60979         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60980         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60981         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60983 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60985         [BZ #14545]
60986         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60987         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60988         freeing dtv[-1].
60990 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60992         [BZ #14544]
60993         * Makeconfig (link-static-before-libc): Replace $(+prector)
60994         with $(+prectorT).
60995         (link-static-after-libc): Replace $(+postctor) with
60996         $(+postctorT).
60997         (link-bounded): Replace $(+prector)/$(+postctor) with
60998         $(+prectorT)/$(+postctorT).
60999         (+prectorT): New macro.
61000         (+postctorT): Likewise.
61002 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61004         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61005         (round_str): Handle values above the maximum for IBM long double
61006         as inexact.
61007         * stdlib/tst-strtod-round.c (tests): Regenerated.
61009 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61011         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61012         assembler flag.
61013         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61014         zarch_nohighgprs around the zarch optimized routines.
61015         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61016         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61017         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61018         for zarch.
61020 2012-09-05  David S. Miller  <davem@davemloft.net>
61022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61024         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61025         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61026         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61027         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61028         entries.
61030 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61032         * malloc/arena.c: Fold copyright years.
61033         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61035 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61037         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61039 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61041         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61043 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61045         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61046         change internal state upon failure.
61048 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61050         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61051         * malloc/memusage.c (mmap): Likewise.
61052         (mmap64, mremap): Likewise.  Adjust name in comment.
61054 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61056         * libio/fileops.c: Fix typos in comments.
61057         * libio/oldfileops.c: Likewise.
61058         * libio/wfileops.c: Likewise.
61060 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61062         [BZ #1349]
61063         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61064         (tst-malloc-usable-ENV): Set environment for test case.
61065         * malloc/hooks.c (malloc_check_get_size): New function to get
61066         requested size.
61067         * malloc/malloc.c (musable): Use malloc_check_get_size.
61068         * malloc/tst-malloc-usable.c: New test case.
61070 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61072         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61074 2012-09-05  Allan McRae  <allan@archlinux.org>
61076         [BZ #13966]
61077         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61078         determine header location.
61079         * configure: Regenerated.
61081 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61083         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61084         float format.
61085         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61086         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61087         format.
61088         (test): Regenerate.
61090 2012-09-04  David S. Miller  <davem@davemloft.net>
61092         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61093         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61094         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61096 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61098         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61099         failures.
61101         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61103 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61105         [BZ #9914]
61106         * libio/iogetdelim.c: Include <limits.h>.
61107         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61108         + len + 1 would overflow.
61110 2012-09-03  Andreas Jaeger  <aj@suse.de>
61112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61113         * sysdeps/i386/fpu/libm-test-ulps: Update.
61115 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61117         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61118         Add s_sinf-sse2, s_conf-sse2.
61120         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61121         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61122         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61123         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61125         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61126         for using routine as __sinf_ia32.
61127         Use macro for function declaration and weak_alias.
61128         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61129         for using routine as __cosf_ia32.
61130         Use macro for function declaration and weak_alias.
61132         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61133         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61135         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61136         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61137         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61139         * math/libm-test.inc (cos_test): Add more test cases.
61140         (sin_test): Likewise.
61141         (sincos_test): Likewise.
61143 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61145         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61146         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61147         hidden.
61148         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61150 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61152         [BZ #14538]
61153         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61154         first element of the GOT.
61155         (elf_machine_load_address): Return the difference between
61156         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61158 2012-09-01  Allan McRae  <allan@archlinux.org>
61160         [BZ #13412]
61161         * configure.in (AWK): Require gawk version 3.0 or later.
61162         * configure: Regenerated.
61164 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61166         * sysdeps/unix/sysv/linux/kernel-features.h
61167         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61168         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61169         [__NR_clock_getres]: Make code unconditional.
61170         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61171         (clock_getcpuclockid): Remove code left unreachable by removal of
61172         conditionals.
61173         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61174         code unconditional.
61175         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61176         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61177         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61178         Make code unconditional.
61179         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61180         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61181         * sysdeps/unix/sysv/linux/clock_settime.c
61182         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61183         conditional code.
61184         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61185         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61187 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61189         [BZ #14476]
61190         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61191         scripts/test-installation.pl.
61193         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61194         and $ld_so_version if it is set.
61196 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61198         [BZ #14516]
61199         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61200         failure if reading from procfs failed.
61201         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61203 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61205         * sysdeps/unix/sysv/linux/kernel-features.h
61206         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61207         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61208         Remove conditional code.
61209         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61210         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61211         Remove conditional code.
61212         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61213         * sysdeps/unix/sysv/linux/i386/fxstat.c
61214         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61215         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61216         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61217         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61218         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61219         * sysdeps/unix/sysv/linux/i386/lxstat.c
61220         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61221         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61222         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61223         Remove conditional code.
61224         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61225         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61226         Remove conditional code.
61227         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61228         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61229         <kernel-features.h>.
61230         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61231         Remove.
61232         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61233         Remove conditional code.
61234         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61235         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61236         Remove conditional.
61238 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61240         [BZ #5400]
61241         * NEWS: Add fixed bug number.
61243 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61245         [BZ #14519]
61246         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61247         underflowing exponent in case of negative sign.
61248         * stdlib/tst-strtod-round-data: Add more tests.
61249         * stdlib/tst-strtod-round.c (tests): Regenerated.
61251         [BZ #3479]
61252         * stdlib/strtod_l.c (NDIG): Remove.
61253         (HEXNDIG): Likewise.
61254         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61255         smallest representable value.
61256         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61257         lie within an exact representation of 1/2 ulp of the result.
61258         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61259         unconditionally.
61260         (TENS_P9_IDX): Define unconditionally.
61261         (TENS_P9_SIZE): Likewise.
61262         (TENS_P10_IDX): Likewise.
61263         (TENS_P10_SIZE): Likewise.
61264         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61265         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61266         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61267         entries for 10^2^13 and 10^2^14.
61268         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61269         (TENS_P13_IDX): Define.
61270         (TENS_P13_SIZE): Likewise.
61271         (TENS_P14_IDX): Likewise.
61272         (TENS_P14_SIZE): Likewise.
61273         (_fpioconst_pow10): Change array size to
61274         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61275         unconditional.
61276         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61277         1024]: Add entries for 10^2^13 and 10^2^14.
61278         [LAST_POW10 > _LAST_POW10]: Remove #error.
61279         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61280         (_fpioconst_pow10): Change array size to
61281         FPIOCONST_POW10_ARRAY_SIZE.
61282         * stdlib/gen-fpioconst.c: New file.
61283         * stdlib/gen-tst-strtod-round.c: Likewise.
61284         * stdlib/tst-strtod-round-data: Likewise.
61285         * stdlib/tst-strtod-round.c: Likewise.
61286         * stdlib/Makefile (tests): Add tst-strtod-round.
61288         [BZ #14459]
61289         * stdlib/strtod_l.c: Include <stdint.h>.
61290         (NDEBUG): Do not define.
61291         (round_and_return): Change EXPONENT parameter to type intmax_t.
61292         Rearrange calculations to avoid internal overflow possibilities.
61293         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61294         Rearrange calculations to avoid internal overflow possibilities.
61295         Assert that number fits inside MPNSIZE limbs.
61296         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61297         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61298         calculations and add assertions to avoid internal overflow
61299         possibilities.  Add casts to avoid signed/unsigned operations.
61300         * stdlib/tst-strtod-overflow.c: New file.
61301         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61303 2012-08-25  Marek Polacek  <polacek@redhat.com>
61305         * time/time.h: Fix some typos in comments.
61307 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61309         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61310         * posix/tst-rfc3484-2.c: Likewise.
61311         * posix/tst-rfc3484-3.c: Likewise.
61313 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61315         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61316         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61318 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61320         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61321         #include of fxstatat64.c.
61323 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61325         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61326         * shadow/getspent_r.c: Likewise.
61327         * shadow/getspnam.c: Likewise.
61328         * shadow/getspnam_r.c: Likewise.
61329         * gshadow/getsgent.c: Likewise.
61330         * gshadow/getsgent_r.c: Likewise.
61331         * gshadow/getsgnam.c: Likewise.
61332         * gshadow/getsgnam_r.c: Likewise.
61333         * inet/getnetbyad.c: Likewise.
61334         * inet/getnetbyad_r.c: Likewise.
61335         * inet/getnetbynm.c: Likewise.
61336         * inet/getnetbynm_r.c: Likewise.
61337         * inet/getnetent.c: Likewise.
61338         * inet/getnetent_r.c: Likewise.
61339         * inet/getproto.c: Likewise.
61340         * inet/getproto_r.c: Likewise.
61341         * inet/getprtent.c: Likewise.
61342         * inet/getprtent_r.c: Likewise.
61343         * inet/getprtname.c: Likewise.
61344         * inet/getprtname_r.c: Likewise.
61345         * inet/getrpcbyname.c: Likewise.
61346         * inet/getrpcbyname_r.c: Likewise.
61347         * inet/getrpcbynumber.c: Likewise.
61348         * inet/getrpcbynumber_r.c: Likewise.
61349         * inet/getrpcent.c: Likewise.
61350         * inet/getrpcent_r.c: Likewise.
61351         * inet/getaliasent.c: Likewise.
61352         * inet/getaliasent_r.c: Likewise.
61353         * inet/getaliasname.c: Likewise.
61354         * inet/getaliasname_r.c: Likewise.
61355         * nscd/getgrgid_r.c: Likewise.
61356         * nscd/getgrnam_r.c: Likewise.
61357         * nscd/gethstbyad_r.c: Likewise.
61358         * nscd/gethstbynm3_r.c: Likewise.
61359         * nscd/getpwnam_r.c: Likewise.
61360         * nscd/getpwuid_r.c: Likewise.
61361         * nscd/getsrvbynm_r.c: Likewise.
61362         * nscd/getsrvbypt_r.c: Likewise.
61363         * nscd/gai.c: Likewise.
61365         * configure.in (build_nscd): New substituted variable, set
61366         by --disable-build-nscd and defaults to $use_nscd.
61367         * configure: Regenerated.
61368         * config.make.in (build-nscd): New substituted variable.
61369         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61370         Change conditional to require [$(build-nscd) = yes] as well.
61371         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61373         [BZ# 13696]
61374         * configure.in (use_nscd): New substituted variable, set by
61375         --disable-nscd.  If enabled, define USE_NSCD.
61376         * configure: Regenerated.
61377         * config.h.in: Add USE_NSCD.
61378         * config.make.in (use-nscd): New substituted variable.
61379         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61380         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61381         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61382         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61383         (CFLAGS-getgrnam_r.c): Likewise.
61384         (CFLAGS-initgroups.c): Likewise.
61385         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61386         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61387         Variables removed.
61388         * inet/getnetgrent_r.c
61389         (nscd_setnetgrent): New function, broken out of ...
61390         (setnetgrent): ... here.  Call it.
61391         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61392         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61393         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61394         * nscd/Makefile (routines, aux): Move definitions after include of
61395         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61396         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61397         Conditionalize on [USE_NSCD].
61398         (is_nscd, nscd_init_cb): Likewise.
61399         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61400         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61401         * nss/nss_db/db-init.c: Likewise.
61402         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61403         [USE_NSCD].
61404         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61405         (make_request): Use it.
61406         (cache_valid_p): New function.
61407         (__check_pf): Use it.
61408         * NEWS: Add item for --disable-nscd.
61410 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61412         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61413         to support sed >= 4.2.1-20-ga9bf076.
61414         * configure: Regenerated.
61416 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61418         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61419         Conditionalize whole body on [IREL].
61421 2012-08-22  Jeff Law <law@redhat.com>
61423         [BZ #14505]
61424         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61425         if the family is PF_UNSPEC.
61427 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61429         * Makerules (lib-version): Rename from V.
61430         (install-lib-nosubdir): Change V to lib-version.
61432 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61434         [BZ #14252]
61435         * powerpc32/power6/wcschr.c: New file.
61436         * powerpc32/power6/wcscpy.c: New file.
61437         * powerpc32/power6/wcsrchr.c: New file.
61438         * powerpc64/power6/wcschr.c: New file.
61439         * powerpc64/power6/wcscpy.c: New file.
61440         * powerpc64/power6/wcsrchr.c: New file.
61442 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61444         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61445         (two_way_short_needle): Use it.
61446         * string/strstr.c (AVAILABLE1_USES_J): Define.
61447         * string/strcasestr.c: Likewise.
61449         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61450         array references.
61451         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61453         [BZ #11607]
61454         * NEWS: Add an entry.
61455         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61456         define their defaults.
61457         (two_way_short_needle): Detect end-of-string on-the-fly.
61458         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61459         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61460         * string/bug-strcasestr1.c: New test.
61461         * string/Makefile: Run it.
61463 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61465         [BZ #11607]
61466         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61467         the first character.
61469 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61471         * csu/elf-init.c (__libc_csu_irel): Function removed.
61472         * csu/libc-start.c (apply_irel): New function.
61473         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61475 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61477         * sysdeps/unix/sysv/linux/kernel-features.h
61478         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61479         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61480         <kernel-features.h>.
61481         [__NR_fadvise64_64]: Make code unconditional.
61482         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61483         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61484         !__NR_fadvise64_64)]: Likewise.
61485         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61486         !__NR_fadvise64_64))]: Likewise.
61487         [__NR_fadvise64]: Make code unconditional.
61488         [!__NR_fadvise64]: Remove conditional code.
61489         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61490         <kernel-features.h>.
61491         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61492         unconditional.
61493         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61494         conditional code.
61495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61496         not include <kernel-features.h>.
61497         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61498         unconditional.
61499         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61500         conditional code.
61501         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61502         include <kernel-features.h>.
61503         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61504         unconditional.
61505         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61506         conditional code.
61508 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61510         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61511         slight instruction rearrangements per scrollpipe analysis.
61512         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61514 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61516         * manual/syslog.texi (syslog; vsyslog, closelog):
61517         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61518         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61520         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61521         DSOCAPS to match condition on defining it.
61523 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61525         * sysdeps/unix/sysv/linux/kernel-features.h
61526         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61528         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61529         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61531         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61532         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61534         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61535         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61537         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61538         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61540         * sysdeps/unix/sysv/linux/kernel-features.h
61541         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61542         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61543         unconditional.
61544         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61545         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61546         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61547         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61548         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61549         Make code unconditional.
61550         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61551         (__mmap64) [!__NR_mmap2]: Likewise.
61552         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61553         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61554         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61555         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61556         [__NR_mmap2]: Make code unconditional.
61557         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61558         (__mmap64) [!__NR_mmap2]: Likewise.
61560 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61562         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61564 2012-08-18  Andreas Jaeger  <aj@suse.de>
61566         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61568 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61570         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61571         * include/unistd.h (__have_sock_cloexec): Likewise.
61572         (__have_pipe2): Likewise.
61573         (__have_dup3): Likewise.
61575 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61577         [BZ #9685]
61578         * include/unistd.h (__have_pipe2): Change define into an extern int.
61579         (__have_dup3): Likewise.
61580         * socket/have_sock_cloexec.c: Include fcntl.h.
61581         (__have_pipe2): New variable.
61582         (__have_dup3): Likewise.
61584 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61586         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61588 2012-08-17  Marek Polacek  <polacek@redhat.com>
61590         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61591         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61593 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61595         * configure.in: Add AC_SUBST for sysheaders.
61596         * configure: Regenerated.
61597         * config.make.in (sysheaders): New substituted variable.
61599         * sysdeps/unix/mkfifo.c: Moved ...
61600         * sysdeps/posix/mkfifo.c: ... here.
61601         * sysdeps/unix/mkfifoat.c: Moved ...
61602         * sysdeps/posix/mkfifoat.c: ... here.
61604         * sysdeps/unix/utime.c: Moved ...
61605         * sysdeps/posix/utime.c: ... here.
61607         * sysdeps/unix/time.c: Moved ...
61608         * sysdeps/posix/time.c: ... here.
61609         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61610         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61612         * sysdeps/unix/nice.c: Moved ...
61613         * sysdeps/posix/nice.c: ... here.
61615         * sysdeps/unix/alarm.c: Moved ...
61616         * sysdeps/posix/alarm.c: ... here.
61618         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61620 2012-08-17  Jeff Law <law@redhat.com>
61622         * intl/Makefile (codeset_mo): New variable.
61623         ($(codeset_mo)): New target.
61624         (tst-codeset.out): Depend on that.  Remove explicit rule.
61625         (tst-gettext3.out, tst-gettext5.out): Likewise.
61626         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61627         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61628         * intl/tst-codeset.sh: Remove.
61629         * intl/tst-gettext3.sh: Likewise.
61630         * intl/tst-gettext5.sh: Likewise.
61632 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61634         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61635         * sysdeps/unix/syscalls.list: ... here.
61637         * sysdeps/posix/getaddrinfo.c
61638         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61639         (gaiconf_init, gaiconf_reload): Use them.
61640         [!_STATBUF_ST_NSEC]
61641         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61642         Define using time_t rather than struct timespec.
61644         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61645         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61646         Macros removed.
61647         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61648         [!NO_THREADS].
61649         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61650         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61651         Likewise.
61653         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61654         __libc_cleanup_push argument.
61656         * bits/param.h: New file.
61657         * misc/sys/param.h: New file.
61658         * include/sys/param.h: New file.
61659         * misc/Makefile (headers): Add bits/param.h.
61660         * sysdeps/generic/sys/param.h: File removed.
61661         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61662         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61663         * sysdeps/mach/hurd/bits/param.h: New file.
61664         * sysdeps/mach/hurd/sys/param.h: File removed.
61666         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61667         last change.
61669         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61670         [_IO_MTSAFE_IO].
61671         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61672         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61673         New macros.
61675         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61676         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61677         rather than -D_IO_MTSAFE_IO conditionally.
61678         * stdio-common/Makefile (CPPFLAGS): Likewise.
61679         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61680         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61681         Use $(libio-mtsafe).
61682         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61683         of -D_IO_MTSAFE_IO.
61684         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61685         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61686         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61687         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61688         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61689         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61690         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61691         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61692         (CFLAGS-fread_u_chk.c): Likewise.
61693         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61694         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61695         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61696         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61697         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61698         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61699         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61700         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61701         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61703         * libio/Makefile: Test [$(libc-reentrant) = yes]
61704         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61706         * Makeconfig
61707         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61708         * sysdeps/pthread/configure: File removed.
61709         * sysdeps/pthread/Makeconfig: New file.
61710         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61711         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61713 2012-08-16  Gary Benson  <gbenson@redhat.com>
61715         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61716         unmapping the first object in a namespace.
61718 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61720         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61721         (__internal_setnetgrent): ... this.  Add internal_function to
61722         definition.  Add libc_hidden_def.
61723         (setnetgrent): Update caller.
61724         (internal_endnetgrent): Renamed to ...
61725         (__internal_endnetgrent): ... this.  Add internal_function to
61726         definition.  Add libc_hidden_def.
61727         (endnetgrent): Update caller.
61728         (internal_getnetgrent_r): Renamed to ...
61729         (__internal_getnetgrent_r): ... this.  Add internal_function to
61730         definition.  Add libc_hidden_def.
61731         (__getnetgrent_r): Update caller.
61732         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61734 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61736         * stdlib/longlong.h: Update from GCC.
61738 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61740         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61741         on _QL, which is set by umul_ppmm but never used.
61742         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61743         variables, which are set by GMP macros but never used.
61744         * stdio-common/_itowa.c (_itowa): Likewise.
61745         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61746         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61748 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61750         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61751         struct La_sh_regs is not constant.
61752         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61753         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61754         and struct La_sparc64_regs are not constant.
61756 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61758         * sysdeps/unix/sysv/linux/kernel-features.h
61759         (__ASSUME_POSIX_TIMERS): Remove.
61760         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61761         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61762         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61763         Make code unconditional.
61764         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61765         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61766         Make code unconditional.
61767         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61768         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61769         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61770         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61771         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61772         Make code unconditional.
61773         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61774         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61775         (__libc_missing_posix_timers): Remove.
61777 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61779         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61780         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61782         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61784         * elf/dl-sym.c: Include <stdlib.h>.
61786         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61787         constants, which avoids warnings in 32-bit builds.
61789         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61790         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61792         * misc/lseek.c: File moved to ...
61793         * io/lseek.c: ... here.
61795         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61797         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61798         shifting LEN more than 31 bits at once.
61800 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61802         [BZ #14195]
61803         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61804         segmentation fault for a case of two empty input strings.
61805         * string/test-strncasecmp.c (check1): Renamed to...
61806         (bz12205): ...this.
61807         (bz14195): Add new testcase for two empty input strings and N > 0.
61808         (test_main): Call new testcase, adapt for renamed function.
61810 2012-08-15  Andreas Jaeger  <aj@suse.de>
61812         [BZ #14090]
61813         * crypt/md5test2.c: New test, based on test supplied by Serge
61814         Belyshev <belyshev@depni.sinp.msu.ru>.
61815         * crypt/Makefile (xtests): Add md5test-giant..
61816         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61818 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61820         [BZ #14090]
61821         * crypt/md5.c (md5_process_block): Don't assume the buffer
61822         length is less than 2**32.
61823         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61824         length is less than 2**64.
61826 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61828         * string/str-two-way.h: Include <sys/param.h>.
61829         (MAX): Macro removed.
61831         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61832         Move #define and #undef of memmove to just before and after
61833         including <string.h>.
61835         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61836         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61837         and after including <string.h>.  Move declarations of
61838         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61839         to before #include "string/memmove.c".
61841         * include/dirent.h: Declare __getdirentries.
61843         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61844         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61846 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61848         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61849         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61850         * sysdeps/i386/configure: Regenerated.
61851         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61852         STABS_CURRENT_FILE, and STABS_FUN.
61853         (END): Remove call to STABS_FUN_END.
61854         (STABS_CURRENT_FILE1): Delete.
61855         (STABS_CURRENT_FILE): Likewise.
61856         (STABS_FUN): Likewise.
61857         (STABS_FUN_END): Likewise.
61858         (STABS_FUN2): Likewise.
61859         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61860         * sysdeps/x86_64/configure: Regenerated.
61862 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61864         * elf/dl-open.c: Include <atomic.h>.
61865         * elf/dl-lookup.c: Likewise.
61867 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61869         * sysdeps/unix/sysv/linux/kernel-features.h
61870         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61871         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61872         unconditionally.
61873         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61874         unconditionally.
61875         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61876         condition on __ASSUME_CLONE_THREAD_FLAGS.
61878 2012-08-14  Andreas Jaeger  <aj@suse.de>
61880         * sysdeps/i386/fpu/libm-test-ulps: Update.
61882 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61884         * include/atomic.h (atomic_exchange_and_add): Split into ...
61885         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61886         New atomic macros.
61888 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61892 2012-08-13  Jeff Law <law@redhat.com>
61894         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61895         null byte in the output string.
61897 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61899         * sysdeps/unix/sysv/linux/kernel-features.h
61900         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61901         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61902         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61903         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61904         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61905         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61906         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61908 2012-08-09  Jeff Law <law@redhat.com>
61910         [BZ #13939]
61911         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61912         When avoid_arena is set, don't retry in the that arena.  Pick the
61913         next one, whatever it might be.
61914         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61915         (arena_lock): Pass in new parameter to arena_get2.
61916         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61917         arena_get2.
61918         (__libc_malloc): Unify retrying after main arena failure with
61919         __libc_memalign version.
61920         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61922 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61924         [BZ #14166]
61925         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61926         to __redirect_strstr.
61927         (__strstr_sse42): Use typeof __redirect_strstr.
61928         (__strstr_ia32): Likewise.
61929         (__libc_strstr): New prototype.
61930         (strstr): Renamed to ...
61931         (__libc_strstr): This.
61932         (strstr): New strong alias of __libc_strstr.
61933         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61934         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61935         __redirect_time.
61936         Include <time.h>.
61937         (__libc_time): New prototype.
61938         (time_ifunc): Replace time with __libc_time.
61939         (time): New strong alias and hidden definition of __libc_time.
61940         (__GI_time): Remove strong alias.
61941         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61942         Include <stddef.h>.
61943         (memmove): Redefined to __redirect_memmove.
61944         (__memmove_sse2): Use typeof __redirect_memmove.
61945         (__memmove_ssse3): Likewise.
61946         (__memmove_ssse3_back): Likewise.
61947         (__libc_memmove): New prototype.
61948         (memmove): Renamed to ...
61949         (__libc_memmove): This.
61950         (memmove): New strong alias of __libc_memmove.
61952 2012-08-08  Mark Salter  <msalter@redhat.com>
61954         * elf/elf.h
61955         (R_MN10300_TLS_GD): Define.
61956         (R_MN10300_TLS_LD): Likewise.
61957         (R_MN10300_TLS_LDO): Likewise.
61958         (R_MN10300_TLS_GOTIE): Likewise.
61959         (R_MN10300_TLS_IE): Likewise.
61960         (R_MN10300_TLS_LE): Likewise.
61961         (R_MN10300_TLS_DTPMOD): Likewise.
61962         (R_MN10300_TLS_DTPOFF): Likewise.
61963         (R_MN10300_TLS_TPOFF): Likewise.
61964         (R_MN10300_SYM_DIFF): Likewise.
61965         (R_MN10300_ALIGN): Likewise.
61966         (R_MN10300_NUM): Update.
61968 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61970         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61971         Remove.
61973 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61975         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61977         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61978         sysdeps/unix -> sysdeps/posix move.
61979         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61981 2012-08-07      Allan McRae     <allan@archlinux.org>
61983         [BZ #14303]
61984         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61985         (SUNOS_CPP): Likewise.
61986         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61987         not found.
61988         (open_input): Call CPP using execvp.
61990 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61992         * sysdeps/unix/sysv/linux/kernel-features.h
61993         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61994         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61995         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61996         (__ASSUME_WAITID_SYSCALL): Likewise.
61997         * sysdeps/unix/sysv/linux/dl-execstack.c
61998         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61999         code unconditional.
62000         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62001         conditional code.
62002         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62003         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62004         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62005         code.
62006         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62007         unconditional.
62008         [__ASSUME_WAITID_SYSCALL]: Likewise.
62009         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62011 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62013         * sysdeps/unix/closedir.c: Renamed to ...
62014         * sysdeps/posix/closedir.c: ... here.
62015         * sysdeps/unix/dirfd.c: Renamed to ...
62016         * sysdeps/posix/dirfd.c: ... here.
62017         * sysdeps/unix/dirstream.h: Renamed to ...
62018         * sysdeps/posix/dirstream.h: ... here.
62019         * sysdeps/unix/fdopendir.c: Renamed to ...
62020         * sysdeps/posix/fdopendir.c: ... here.
62021         * sysdeps/unix/opendir.c: Renamed to ...
62022         * sysdeps/posix/opendir.c: ... here.
62023         * sysdeps/unix/readdir.c: Renamed to ...
62024         * sysdeps/posix/readdir.c: ... here.
62025         * sysdeps/unix/readdir_r.c: Renamed to ...
62026         * sysdeps/posix/readdir_r.c: ... here.
62027         * sysdeps/unix/rewinddir.c: Renamed to ...
62028         * sysdeps/posix/rewinddir.c: ... here.
62029         * sysdeps/unix/seekdir.c: Renamed to ...
62030         * sysdeps/posix/seekdir.c: ... here.
62031         * sysdeps/unix/telldir.c: Renamed to ...
62032         * sysdeps/posix/telldir.c: ... here.
62033         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62034         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62035         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62036         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62038         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62039         * bits/fcntl.h: ... here.
62041         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62042         not 0.
62043         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62044         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62045         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62046         (struct flock): Move l_start, l_len to the beginning.
62047         Use __pid_t for l_pid.
62048         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62049         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62050         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62051         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62052         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62053         [__USE_LARGEFILE64] (struct flock64): New type.
62054         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62056         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62057         * bits/dirent.h: ... here.
62059         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62060         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62062 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62064         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62065         Change from 2.6.0 to 2.6.16.
62066         * sysdeps/unix/sysv/linux/configure: Regenerated.
62067         * sysdeps/unix/sysv/linux/kernel-features.h
62068         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62069         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62070         version.
62071         (__ASSUME_UTIMES): Likewise.
62072         (__ASSUME_CLONE_STOPPED): Remove.
62073         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62074         architectures, not kernel version.
62075         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62076         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62077         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62078         (__ASSUME_WAITID_SYSCALL): Likewise.
62079         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62080         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62081         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62082         refer to older versions.
62084 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62086         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62087         Define alphasort64 as an alias.
62088         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62089         Define versionsort64 as an alias.
62090         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62091         Define scandir64 as an alias.
62092         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62093         Define scandirat64 as an alias.
62094         * dirent/alphasort64.c (alphasort64):
62095         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62096         * dirent/versionsort64.c: Likewise.
62097         * dirent/scandir64.c: Likewise.
62098         * dirent/scandirat64.c: Likewise.
62099         * sysdeps/wordsize-64/alphasort.c: File removed.
62100         * sysdeps/wordsize-64/alphasort64.c: File removed.
62101         * sysdeps/wordsize-64/scandir.c: File removed.
62102         * sysdeps/wordsize-64/scandir64.c: File removed.
62103         * sysdeps/wordsize-64/scandirat.c: File removed.
62104         * sysdeps/wordsize-64/scandirat64.c: File removed.
62105         * sysdeps/wordsize-64/versionsort.c: File removed.
62106         * sysdeps/wordsize-64/versionsort64.c: File removed.
62107         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62108         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62109         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62110         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62111         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62112         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62113         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62114         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62116         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62117         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62118         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62119         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62120         [defined __arch64__ || defined __sparcv9]
62121         (__INO_T_MATCHES_INO64_T): New macro.
62122         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62123         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62124         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62125         * sysdeps/unix/sysv/linux/bits/dirent.h
62126         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62127         (_DIRENT_MATCHES_DIRENT64): New macro.
62129         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62130         Define lockf64 as an alias.
62131         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62132         Define fseeko64 as an alias.
62133         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62134         Define ftello64 as an alias.
62135         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62136         Define _IO_fgetpos64 and fgetpos64 as aliases.
62137         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62138         Define _IO_fsetpos64 and fsetpos64 as aliases.
62139         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62140         Conditionalize body on this.
62141         * libio/fseeko64.c: Likewise.
62142         * libio/ftello64.c: Likewise.
62143         * libio/iofgetpos64.c: Likewise.
62144         * libio/iofsetpos64.c: Likewise.
62145         * sysdeps/wordsize-64/lockf.c: File removed.
62146         * sysdeps/wordsize-64/lockf64.c: File removed.
62147         * sysdeps/wordsize-64/fseeko.c: File removed.
62148         * sysdeps/wordsize-64/fseeko64.c: File removed.
62149         * sysdeps/wordsize-64/ftello.c: File removed.
62150         * sysdeps/wordsize-64/ftello64.c: File removed.
62151         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62152         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62153         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62154         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62155         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62156         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62157         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62158         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62159         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62160         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62161         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62162         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62163         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62164         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62166         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62167         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62168         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62169         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62170         [defined __arch64__ || defined __sparcv9]
62171         (__OFF_T_MATCHES_OFF64_T): New macro.
62172         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62173         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62174         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62175         (__OFF_T_MATCHES_OFF64_T): New macro.
62177 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62179         * stdlib/secure-getenv.c (__secure_getenv): Replace
62180         GLIBC_2_16 with GLIBC_2_17.
62182 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62184         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62185         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62187 2012-08-03  David S. Miller  <davem@davemloft.net>
62189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62191 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62193         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62194         Remove.
62195         (__ASSUME_CORRECT_SI_PID): Likewise.
62196         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62197         (__ASSUME_TMPFS_NAME): Likewise.
62198         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62199         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62200         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62201         (HAVE_AUX_SECURE): Make definition unconditional.
62202         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62203         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62205 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62207         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62208         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62209         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62210         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62211         __eloop_threshold instead of SYMLOOP_MAX.
62213         * sysdeps/generic/eloop-threshold.h: New file.
62214         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62215         of MAXSYMLINKS.
62216         * elf/chroot_canon.c (chroot_canon): Likewise.
62218 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62220         [BZ #13717]
62221         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62222         Change to 2.6.0 everywhere.
62223         * sysdeps/unix/sysv/linux/configure: Regenerated.
62224         * sysdeps/unix/sysv/linux/kernel-features.h
62225         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62226         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62227         kernel versions.
62228         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62229         (__ASSUME_FUTEX_REQUEUE): Remove.
62230         (__ASSUME_STATFS64): Define unconditionally.
62231         (__ASSUME_AT_SECURE): Likewise.
62232         (__ASSUME_CORRECT_SI_PID): Likewise.
62233         (__ASSUME_TGKILL): Define without depending on kernel version for
62234         i386.
62235         (__ASSUME_UTIMES): Likewise.
62236         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62237         kernel version.
62238         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62239         (__ASSUME_TMPFS_NAME): Likewise.
62240         * README: Update reference to Linux kernel versions.
62242 2012-08-02  Marek Polacek  <polacek@redhat.com>
62244         [BZ# 14150]
62245         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62246         libc_cv_asm_type_prefix with %.
62247         * configure: Regenerated.
62248         * include/libc-symbols.h: Remove comment about
62249         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62250         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62251         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62252         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62253         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62254         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62255         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62256         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62257         * elf/tst-unique2mod1.c: Likewise.
62258         * elf/tst-unique1mod2.c: Likewise.
62259         * elf/tst-unique1mod1.c: Likewise.
62260         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62261         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62262         Replace ASM_TYPE_DIRECTIVE with .type.
62263         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62264         * sysdeps/i386/sysdep.h: Likewise.
62265         * sysdeps/x86_64/sysdep.h: Likewise.
62266         * sysdeps/sh/sysdep.h: Likewise.
62267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62268         Do not define ASM_TYPE_DIRECTIVE.
62269         * sysdeps/powerpc/sysdep.h: Likewise.
62270         * sysdeps/powerpc/powerpc32/sysdep.h:
62271         Replace ASM_TYPE_DIRECTIVE with .type.
62272         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62273         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62274         * sysdeps/i386/fpu/e_powf.S: Likewise.
62275         * sysdeps/i386/fpu/e_expl.S: Likewise.
62276         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62277         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62278         * sysdeps/i386/fpu/e_pow.S: Likewise.
62279         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62280         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62281         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62282         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62283         * sysdeps/i386/fpu/e_log2.S: Likewise.
62284         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62285         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62286         * sysdeps/i386/fpu/e_powl.S: Likewise.
62287         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62288         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62289         * sysdeps/i386/fpu/e_logl.S: Likewise.
62290         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62291         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62292         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62293         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62294         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62295         * sysdeps/i386/fpu/e_log.S: Likewise.
62296         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62297         * sysdeps/i386/fpu/e_logf.S: Likewise.
62298         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62299         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62300         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62301         * sysdeps/i386/fpu/e_log10.S: Likewise.
62302         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62303         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62304         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62305         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62306         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62307         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62308         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62309         * sysdeps/i386/i686/strtok.S: Likewise.
62310         * sysdeps/i386/i386-mcount.S: Likewise.
62311         * sysdeps/i386/strtok.S: Likewise.
62312         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62313         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62314         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62315         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62316         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62317         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62318         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62319         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62320         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62321         * sysdeps/x86_64/_mcount.S: Likewise.
62322         * sysdeps/x86_64/strtok.S: Likewise.
62323         * sysdeps/sh/_mcount.S: Likewise.
62325 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62327         * libio/iofopen.c: Include <fcntl.h>.
62328         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62329         (_IO_fopen64, fopen64): Define as aliases.
62330         * libio/iofopen64.c: Include <fcntl.h>.
62331         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62332         Conditionalize body on this.
62333         * sysdeps/wordsize-64/iofopen.c: File removed.
62334         * sysdeps/wordsize-64/iofopen64.c: File removed.
62336 2012-08-01  Marek Polacek  <polacek@redhat.com>
62338         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62339         Use dlfcn directly instead of a variable.
62340         (binfmt-subdir): Do not define.
62341         (dlfcn): Likewise.
62343 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62345         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62346         Remove all definitions.
62347         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62348         <kernel-features.h>.
62349         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62350         (miss_F_GETOWN_EX): Remove all definitions.
62351         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62352         macro definition.
62353         [!__ASSUME_FCNTL64]: Remove conditional code.
62354         [__ASSUME_FCNTL64]: Make code unconditional.
62355         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62356         <kernel-features.h>.
62357         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62358         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62359         (lockf64) [__NR_fcntl64]: Make code unconditional.
62360         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62362         * sysdeps/unix/sysv/linux/kernel-features.h
62363         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62364         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62365         Make code unconditional.
62366         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62367         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62369         [__NR_vfork]: Make code unconditional.
62370         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62371         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62373         [__NR_vfork]: Make code unconditional.
62374         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62375         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62377 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62379         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62380         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62382         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62383         Define mkstemp64 as an alias.
62384         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62385         Define mkstemps64 as an alias.
62386         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62387         Define mkostemp64 as an alias.
62388         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62389         Define mkostemps64 as an alias.
62390         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62391         Conditionalize body on this.
62392         * misc/mkostemp64.c: Likewise.
62393         * misc/mkostemps64.c: Likewise.
62394         * misc/mkstemps64.c: Likewise.
62395         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62396         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62397         * sysdeps/wordsize-64/mkostemp.c: File removed.
62398         * sysdeps/wordsize-64/mkstemp.c: File removed.
62399         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62400         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62401         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62402         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62404         [BZ #14138]
62405         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62406         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62407         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62408         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62410         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62411         compat_symbol macros from <shlib-compat.h> rather than the underlying
62412         default_symbol_version and symbol_version macros, so that DEFAULT
62413         lines in shlib-versions are respected.
62414         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62416 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62418         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62419         Declare with warn_unused_result.
62420         (setgid, setregid, setegid, setresgid): Likewise.
62421         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62422         Likewise.
62423         * WUR-REPORT: Remove set*id functions.
62425 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62427         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62429 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62431         [BZ #10191]
62432         * include/sys/socket.h (__libc_accept, __libc_accept4):
62433         Add attribute_hidden.
62434         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62436         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62437         use of PTR_MANGLE.
62438         * inet/getnetgrent_r.c (setup): Likewise.
62440         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62442 2012-07-31  David S. Miller  <davem@davemloft.net>
62444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62446 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62448         [BZ #13629]
62449         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62450         value between 1.0 and 2.0 and smaller part has absolute value less
62451         than 1.0.
62452         * math/s_clog10.c (__clog10): Likewise.
62453         * math/s_clog10f.c (__clog10f): Likewise.
62454         * math/s_clog10l.c (__clog10l): Likewise.
62455         * math/s_clogf.c (__clogf): Likewise.
62456         * math/s_clogl.c (__clogl): Likewise.
62457         * math/libm-test.inc (clog_test): Add more tests.
62458         (clog10_test): Likewise.
62459         * sysdeps/i386/fpu/libm-test-ulps: Update.
62460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62462 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62464         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62465         Exit with zero in case no suitable GID is found, and write a
62466         message to standard error.
62468 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62470         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62471         rather than to 1.
62472         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62473         (MAXPATHLEN): Removed.
62474         (NOGROUP, NODEV): New macros.
62475         (setbit, clrbit, isset, isclr): New macros.
62476         (howmany, roundup, powerof2): New macros.
62477         (DEV_BSIZE): New macro.
62479         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62480         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62482         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62483         definition on [!__NO_LONG_DOUBLE_MATH].
62485         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62486         PTR_MANGLE and PTR_DEMANGLE.
62488         * socket/accept4.c (accept4): Rename to __libc_accept4.
62489         Define accept4 as a weak alias.
62491         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62492         on [_DIRENT_HAVE_D_TYPE].
62493         * io/ftw.c (ftw_dir): Likewise.
62495         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62497         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62499         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62500         Use the BSD numbers rather than the arbitrary ones we had.
62501         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62502         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62503         (SIGXCPU, SIGXFSZ): New macros.
62504         (_NSIG): Now 32.
62506         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62507         initializer on [_LIBC_REENTRANT].
62509         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62510         definitions inside [_POSIX_MAPPED_FILES].
62512         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62514         * dirent/opendir.c: Include <fcntl.h>.
62516         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62517         (__libc_getspecific): Likewise.
62518         (__libc_key_create): Likewise.
62520         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62521         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62522         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62523         (tmpfile64): Define as alias.
62524         * sysdeps/wordsize-64/tmpfile.c: File removed.
62525         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62526         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62527         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62529         * stdio-common/vfscanf.c: Include <stdbool.h>.
62530         * nss/makedb.c: Likewise.
62531         * stdio-common/_i18n_number.h: Likewise.
62532         * argp/argp-help.c: Likewise.
62533         * posix/wordexp.c: Likewise.
62534         * sysdeps/posix/spawni.c: Likewise.
62535         * nss/nss_files/files-initgroups.c: Likewise.
62536         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62537         * nss/nss_files/files-initgroups.c: Likewise.
62538         * nss/nss_db/db-netgrp.c: Likewise.
62539         * nss/nss_db/db-initgroups.c: Likewise.
62540         * io/fchmodat.c: Include <sys/stat.h>.
62542         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62543         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62545         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62546         [HAVE_MMAP].
62548         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62549         Add multiple inclusion protection.
62551 2012-07-27  David S. Miller  <davem@davemloft.net>
62553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62555 2012-07-27  Gary Benson  <gbenson@redhat.com>
62557         [BZ #14298]
62558         * elf/rtld.c: Include <stap-probe.h>.
62559         (dl_main): Added static probes "init_start" and "init_complete".
62560         * elf/dl-load.c: Include <stap-probe.h>.
62561         (lose): Take new parameter "nsid".
62562         Added static probe "map_failed".
62563         (_dl_map_object_from_fd): Pass namespace id to lose.
62564         Added static probe "map_start".
62565         (open_verify): Pass namespace id to lose.
62566         * elf/dl-open.c: Include <stap-probe.h>.
62567         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62568         and "reloc_complete".
62569         * elf/dl-close.c: Include <stap-probe.h>.
62570         (_dl_close_worker): Added static probes "unmap_start" and
62571         "unmap_complete".
62572         * elf/rtld-debugger-interface.txt: New file documenting the above.
62574 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62576         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62577         rather than a string variable.
62578         * sunrpc/rpc_main.c (h_output): Likewise.
62579         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62581 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62583         * inet/check_native.c: New file.
62585 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62587         [BZ #13629]
62588         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62589         if larger part has absolute value 1.0.
62590         * math/s_clog10.c (__clog10): Likewise.
62591         * math/s_clog10f.c (__clog10f): Likewise.
62592         * math/s_clog10l.c (__clog10l): Likewise.
62593         * math/s_clogf.c (__clogf): Likewise.
62594         * math/s_clogl.c (__clogl): Likewise.
62595         * math/libm-test.inc (clog_test): Add more tests.
62596         (clog10_test): Likewise.
62597         * sysdeps/i386/fpu/libm-test-ulps: Update.
62598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62600         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62601         (pltexit): Likewise.
62602         (La_regs): Likewise.
62603         (La_retval): Likewise.
62604         (int_retval): Likewise.
62605         Update #error for removed macros to refer only to definitions in
62606         tst-audit.h.
62607         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62608         macro.
62609         (pltexit): Likewise.
62610         (La_regs): Likewise.
62611         (La_retval): Likewise.
62612         (int_retval): Likewise.
62613         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62614         macro.
62615         (pltexit): Likewise.
62616         (La_regs): Likewise.
62617         (La_retval): Likewise.
62618         (int_retval): Likewise.
62619         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62620         macro.
62621         (pltexit): Likewise.
62622         (La_regs): Likewise.
62623         (La_retval): Likewise.
62624         (int_retval): Likewise.
62625         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62626         macro.
62627         (pltexit): Likewise.
62628         (La_regs): Likewise.
62629         (La_retval): Likewise.
62630         (int_retval): Likewise.
62631         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62632         macro.
62633         (pltexit): Likewise.
62634         (La_regs): Likewise.
62635         (La_retval): Likewise.
62636         (int_retval): Likewise.
62637         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62638         macro.
62639         (pltexit): Likewise.
62640         (La_regs): Likewise.
62641         (La_retval): Likewise.
62642         (int_retval): Likewise.
62643         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62644         macro definitions in tst-audit.h.
62645         * sysdeps/i386/tst-audit.h: New file.
62646         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62647         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62648         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62649         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62650         * sysdeps/sh/tst-audit.h: Likewise.
62651         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62652         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62653         * sysdeps/x86_64/tst-audit.h: Likewise.
62655 2012-07-26  Andreas Jaeger  <aj@suse.de>
62657         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62658         ptrace.
62660         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62661         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62662         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62663         PTRACE_O_MASK.
62664         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62665         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62666         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62668         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62669         value.
62671         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62672         _sigsys.
62673         (si_call_addr, si_syscall, si_arch): Define new macro.
62674         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62675         _sigsys.
62676         (si_call_addr, si_syscall, si_arch): Define new marcro.
62677         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62678         _sigsys.
62679         (si_call_addr, si_syscall, si_arch): Define new macro.
62680         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62681         _sigsys.
62682         (si_call_addr, si_syscall, si_arch): Define new macro.
62684 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62686         [BZ #13717]
62687         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62688         Change to 2.4.21 where previously 2.4.1.
62689         * sysdeps/unix/sysv/linux/configure: Regenerated.
62690         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62691         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62692         Linux kernel version.
62693         (__ASSUME_STD_AUXV): Remove.
62694         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62695         kernel version.
62696         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62697         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62698         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62699         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62700         (__ASSUME_NETLINK_SUPPORT): Likewise.
62701         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62702         (__no_netlink_support): Remove conditional definition.
62703         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62704         Remove.
62705         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62706         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62707         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62708         (if_nameindex_ioctl): Remove.
62709         (if_nameindex_netlink): Do not handle __no_netlink_support.
62710         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62711         code.
62712         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62713         Remove conditional code.
62714         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62715         code.
62716         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62717         unconditional.
62718         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62719         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62720         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62721         Remove.
62722         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62723         [!__ASSUME_STD_AUXV]: Remove conditional code.
62724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62725         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62726         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62728         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62729         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62730         code.
62731         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62733         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62734         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62735         conditional code.
62736         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62738         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62739         code.
62740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62741         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62742         conditional code.
62743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62744         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62745         code unconditional.
62746         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62747         conditional code.
62748         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62749         unconditional.
62750         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62751         conditional code.
62752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62753         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62754         unconditional.
62755         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62756         conditional code.
62757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62758         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62759         code unconditional.
62760         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62761         conditional code.
62762         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62763         unconditional.
62764         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62765         conditional code.
62766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62767         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62768         code unconditional.
62769         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62770         conditional code.
62771         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62772         unconditional.
62773         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62774         conditional code.
62776 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62778         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62779         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62780         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62781         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62782         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62783         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62784         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62785         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62786         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62787         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62788         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62789         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62790         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62791         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62792         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62793         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62794         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62795         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62796         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62797         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62798         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62799         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62800         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62802 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62804         * Versions.def: Add GLIBC_2.17.
62805         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62806         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62807         Introduce __libc_secure_getenv.
62808         * stdlib/Versions (2.17): Add secure_getenv
62809         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62810         * stdlib/secure-getenv.c: Rename __secure_getenv to
62811         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62812         symbol __secure_getenv for GLIBC_2.0.
62813         * stdlib/tst-secure-getenv.c: New.
62814         * stdlib/Makefile (tests): Add testcase.
62815         * manual/startup.texi (Environment Access): Document
62816         secure_getenv.
62817         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62818         __libc_secure_getenv.
62819         * inet/ruserpass.c (ruserpass): Likewise.
62820         * malloc/mtrace.c (mtrace): Likewise.
62821         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62822         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62823         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62824         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62825         HAVE_SECURE_GETENV.
62826         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62827         __secure_getenv to __libc_secure_getenv.
62828         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62830         Likewise.
62831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62832         Likewise.
62833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62835         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62841 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62843         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62844         (struct La_i86_retval): Likewise.
62845         (struct La_x86_64_regs): Likewise.
62846         (struct La_x86_64_retval): Likewise.
62847         (struct La_x32_regs): Likewise.
62848         (struct La_x32_retval): Likewise.
62849         (struct La_ppc32_regs): Likewise.
62850         (struct La_ppc32_retval): Likewise.
62851         (struct La_ppc64_regs): Likewise.
62852         (struct La_ppc64_retval): Likewise.
62853         (struct La_sh_regs): Likewise.
62854         (struct La_sh_retval): Likewise.
62855         (struct La_s390_32_regs): Likewise.
62856         (struct La_s390_32_retval): Likewise.
62857         (struct La_s390_64_regs): Likewise.
62858         (struct La_s390_64_retval): Likewise.
62859         (struct La_sparc32_regs): Likewise.
62860         (struct La_sparc32_retval): Likewise.
62861         (struct La_sparc64_regs): Likewise.
62862         (struct La_sparc64_retval): Likewise.
62863         (struct audit_ifaces): Remove architecture-specific pltenter and
62864         pltexit members.
62865         * sysdeps/i386/ldsodefs.h: New file.
62866         * sysdeps/powerpc/ldsodefs.h: Likewise.
62867         * sysdeps/s390/ldsodefs.h: Likewise.
62868         * sysdeps/sh/ldsodefs.h: Likewise.
62869         * sysdeps/sparc/ldsodefs.h: Likewise.
62870         * sysdeps/x86_64/ldsodefs.h: Likewise.
62872 2012-07-25  Marek Polacek  <polacek@redhat.com>
62874         [BZ #6808]
62875         * math/libm-test.inc (yn_test): Add another test.
62876         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62877         to ERANGE when the result is +-Inf.
62878         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62879         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62880         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62881         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62883 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62885         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62886         equal to 0.
62887         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62888         clock_t.
62889         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62891 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62893         * configure.in <sysdeps resolving>: Correct printing
62894         Implies_before.
62895         * configure: Regenerate.
62897 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62899         * math/w_ilogb.c: Include <limits.h>.
62900         * math/w_ilogbl.c: Likewise.
62902 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62904         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62905         va_copy.  Document allowing for unavailable va_copy only as
62906         pre-C99 compatibility.
62907         * manual/string.texi (Copying and Concatenation): Use va_copy
62908         instead of __va_copy in concat example.
62910 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62912         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62913         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62914         it if not null.
62916         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62917         with O_NOLINK passed to __file_name_lookup.
62919         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62920         with O_NOLINK passed to __file_name_lookup.
62922         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62923         negative N or less than NGIDS.
62925         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62926         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62927         enough.  Use memcpy instead of strncpy.
62929 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62931         * elf/Makefile (check-data): Remove.
62932         (localplt.data): New vpath directive.
62933         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62934         instead of $(check-data).
62935         * scripts/data/localplt-generic.data: Move to ...
62936         * sysdeps/generic/localplt.data: ... here.
62937         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62938         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62939         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62941         ... here.
62942         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62944         ... here.
62945         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62947         ... here.
62948         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62950         ... here.
62951         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62953         ... here.
62954         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62956         ... here.
62958 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62960         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62961         PPC32 and PPC64 files.
62962         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62963         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62965 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62967         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62968         __makecontext_ret to ...
62969         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62970         ... here and call exit if uc_link is NULL.  New file.
62971         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62972         __makecontext_ret.S.
62973         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62974         __makecontext_ret to ...
62975         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62976         ... here and call exit if uc_link is NULL.  New file.
62977         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62978         __makecontext_ret.S.
62980 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62982         * elf/elf.h (R_390_IRELATIVE): New definition.
62983         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62984         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62985         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62986         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62987         (elf_machine_lazy_rel): Likewise.
62988         * sysdeps/s390/dl-irel.h: New file.
62989         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62990         * sysdeps/s390/s390-64/memset.S: New asm code.
62991         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62992         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62993         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62994         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62995         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62996         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62997         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62998         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62999         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63000         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63001         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63002         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63003         * sysdeps/s390/s390-32/memset.S: New asm code.
63004         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63006 2012-07-17  Marek Polacek  <polacek@redhat.com>
63008         [BZ #14349]
63009         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63010         * sysdeps/s390/s390-64/configure.in: Likewise.
63011         * sysdeps/sparc/configure.in: Likewise.
63012         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63013         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63014         * sysdeps/i386/configure.in: Likewise.
63015         * sysdeps/x86_64/configure.in: Likewise.
63016         * sysdeps/sh/configure.in: Likewise.
63017         * sysdeps/s390/s390-32/configure: Regenerated.
63018         * sysdeps/s390/s390-64/configure: Likewise.
63019         * sysdeps/x86_64/configure: Likewise.
63020         * sysdeps/sh/configure: Likewise.
63021         * sysdeps/powerpc/powerpc64/configure: Likewise.
63022         * sysdeps/powerpc/powerpc32/configure: Likewise.
63023         * sysdeps/sparc/configure: Likwise.
63024         * sysdeps/i386/configure: Likewise.
63026         * elf/dl-open.c: Comment fixes.
63028 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63030         * Makefile [CXX] (check-data): Remove.
63031         [CXX] (c++-types.data): New vpath directive.
63032         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63033         vpath.  Do not allow for C++ type data being missing.
63034         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63035         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63036         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63037         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63038         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63039         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63040         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63042         ... here.
63043         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63045         ... here.
63046         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63048         ... here.
63049         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63051         ... here.
63052         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63054         ... here.
63055         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63057         ... here.
63058         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63060         ... here.
63061         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63064         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63065         definitions to architecture-specific files.
63066         (TLS_IE): Likewise.
63067         (TLS_LD): Likewise.
63068         (TLS_GD): Likewise.
63069         * sysdeps/i386/tls-macros.h: New file.
63070         * sysdeps/powerpc/tls-macros.h: Likewise.
63071         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63072         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63073         * sysdeps/sh/tls-macros.h: Likewise.
63074         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63075         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63076         * sysdeps/x86_64/tls-macros.h: Likewise.
63078 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63080         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63081         zero value for regular exit case.
63083         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63084         (__start_context): Preserve zero value for regular exit case.
63086 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63087             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63089         * manual/setjmp.texi (setcontext): Clarify normal process
63090         termination when uc_link is the null pointer.
63091         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63092         exit call.
63094 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63096         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63097         preprocessor.  Test for each exception mask separately.
63099 2012-07-16  Andreas Jaeger  <aj@suse.de>
63101         * po/ru.po: Update from translation team.
63103 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63105         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63106         equal to 0.
63107         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63108         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63109         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63110         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63111         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63113 2012-07-13  Andreas Jaeger  <aj@suse.de>
63115         * po/fr.po: Update from translation team.
63117 2012-07-12  Marek Polacek  <polacek@redhat.com>
63119         [BZ #14173]
63120         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63121         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63122         loop condition.
63124 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63126         [BZ #13717]
63127         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63128         Change to 2.4.1 where previously 2.4.0.
63129         * sysdeps/unix/sysv/linux/configure: Regenerated.
63130         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63131         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63132         version.
63133         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63134         (__ASSUME_AT_CLKTCK): Remove.
63135         (__ASSUME_AT_PAGESIZE): Likewise.
63136         (__ASSUME_AT_XID): Likewise.
63137         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63138         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63139         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63140         unconditionally.
63141         (HAVE_AUX_PAGESIZE): Likewise.
63142         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63143         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63144         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63146 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63148         [BZ #14307]
63149         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63150         the temporary buffer used to invoke __gethostbyname2_r,
63151         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63152         host_data / struct gaih_addrtuple.
63153         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63154         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63155         header file nss/nsswitch.h.
63156         * nss/nsswitch.h (global scope): Add definition of implementation
63157         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63158         resolv/nss_dns/dns-host.c).
63160 2012-07-11  Andreas Jaeger  <aj@suse.de>
63162         * po/fr.po: Update from translation team.
63164         * po/sv.po: Update from translation team
63165         * po/fr.po: Another update from translation team.
63167 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63169         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63170         for subnormals or multiply small sinh result by itself.
63171         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63174 2012-07-11  David S. Miller  <davem@davemloft.net>
63176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63178 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63180         [BZ #14347]
63181         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63182         (INTERNAL_MARK): Shift it here.
63184 2012-07-10  Marek Polacek  <polacek@redhat.com>
63186         [BZ #14151]
63187         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63188         libc_cv_asm_global_directive with .globl.
63189         * configure: Regenerated.
63190         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63191         with .globl.
63192         * sysdeps/i386/configure: Regenerated.
63193         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63194         with .globl.
63195         * sysdeps/x86_64/configure: Regenerated.
63196         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63197         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63198         * elf/tst-unique2mod2.c: Likewise.
63199         * elf/tst-unique2mod1.c: Likewise.
63200         * elf/tst-unique1mod2.c: Likewise.
63201         * elf/tst-unique1mod1.c: Likewise.
63202         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63203         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63204         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63205         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63206         * sysdeps/mach/sysdep.h: Likewise.
63207         * sysdeps/i386/sysdep.h: Likewise.
63208         * sysdeps/i386/i386-mcount.S: Likewise.
63209         * sysdeps/x86_64/_mcount.S: Likewise.
63210         * sysdeps/x86_64/sysdep.h: Likewise.
63211         * sysdeps/sh/_mcount.S: Likewise.
63212         * sysdeps/sh/sysdep.h: Likewise.
63213         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63214         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63215         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63216         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63217         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63218         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63219         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63220         * locale/localeinfo.h: Likewise.
63221         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63222         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63224 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63226         [BZ #14336]
63227         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63228         system".
63229         * manual/message.texi (The Uniforum approach): Likewise.
63230         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63231         (glibc iconv Implementation): Likewise.
63233 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63235         [BZ #14337]
63236         * math/s_clog.c (__clog): Avoid scaling a value down where that
63237         could result in underflow.
63238         * math/s_clog10.c (__clog10): Likewise.
63239         * math/s_clog10f.c (__clog10f): Likewise.
63240         * math/s_clog10l.c (__clog10l): Likewise.
63241         * math/s_clogf.c (__clogf): Likewise.
63242         * math/s_clogl.c (__clogl): Likewise.
63243         * math/libm-test.inc (clog_test): Add more tests.
63244         (clog10_test): Likewise.
63245         * sysdeps/i386/fpu/libm-test-ulps: Update.
63246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63248 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63250         [BZ #14283]
63251         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63252         by 7 not 8 to examine high bit of fractional part.
63254         [BZ #14042]
63255         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63256         for call to __mcount_internal.
63257         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63258         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63259         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63261 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63263         [BZ #14154]
63264         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63265         approximation for values within 0x1p-13f of an odd multiple of
63266         pi/4.
63267         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63268         exception.  Add more tests.
63269         * sysdeps/i386/fpu/libm-test-ulps: Update.
63271         [BZ #6778]
63272         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63273         inputs and return -1 for them.  Do not check for +Inf in case not
63274         reachable for +Inf.
63275         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63276         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63277         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63278         and return -1 for them.  Do not check for +Inf in case not
63279         reachable for +Inf.
63280         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63281         define.
63282         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63283         and return -1 for them.  Do not check for +Inf in case not
63284         reachable for +Inf.
63285         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63286         spurious underflow.
63287         * sysdeps/i386/fpu/libm-test-ulps: Update.
63288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63290 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63292         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63294 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63296         [BZ #14157]
63297         [BZ #14331]
63298         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63299         could result in spurious underflow.  Scale down values above
63300         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63301         * math/s_csqrtf.c (__csqrtf): Likewise.
63302         * math/s_csqrtl.c (__csqrtl): Likewise.
63303         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63304         spurious underflow.
63305         * sysdeps/i386/fpu/libm-test-ulps: Update.
63306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63308 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63310         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63311         xopen-msg.sed.
63312         * catgets/xopen-msg.awk: New file.
63313         * catgets/xopen-msg.sed: Removed.
63315         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63316         po2text.sed.
63317         * intl/po2test.awk: New file.
63318         * intl/po2test.sed: Removed.
63320 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63322         [BZ #14328]
63323         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63324         or multiply small sinh result by itself.
63325         * math/s_ctanf.c (__ctanf): Likewise.
63326         * math/s_ctanh.c (__ctanh): Likewise.
63327         * math/s_ctanhf.c (__ctanhf): Likewise.
63328         * math/s_ctanhl.c (__ctanhl): Likewise.
63329         * math/s_ctanl.c (__ctanl): Likewise.
63330         * math/libm-test.inc (ctan_test_tonearest): New function.
63331         (ctan_test_towardzero): Likewise.
63332         (ctan_test_downward): Likewise.
63333         (ctan_test_upward): Likewise.
63334         (ctanh_test_tonearest): Likewise.
63335         (ctanh_test_towardzero): Likewise.
63336         (ctanh_test_downward): Likewise.
63337         (ctanh_test_upward): Likewise.
63338         (main): Call these new functions.
63339         * sysdeps/i386/fpu/libm-test-ulps: Update.
63340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63342 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63344         * .gitignore: Delete /ports entry.
63346 2012-07-03  Andreas Jaeger  <aj@suse.de>
63348         * po/bg.po: Update from translation team.
63349         * po/cs.po: Likewise.
63350         * po/de.po: Likewise.
63351         * po/hr.po: Likewise.
63352         * po/nl.pl: Likewise.
63353         * po/pl.po: Likewise.
63354         * po/vi.po: Likewise.
63356 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63358         * Makeconfig [!+link] (+link-before-libc): New variable.
63359         [!+link] (+link-after-libc): Likewise.
63360         [!+link] (+link-tests): Likewise.
63361         [!+link] (+link): Define in terms of $(+link-before-libc) and
63362         $(+link-after-libc).
63363         [!+link-static] (+link-static-before-libc): New variable.
63364         [!+link-static] (+link-static-after-libc): Likewise.
63365         [!+link-static] (+link-static-tests): Likewise.
63366         [!+link-static] (+link-static): Define in terms of
63367         $(+link-static-before-libc) and $(+link-static-after-libc).
63368         [build-shared] (link-libc-before-gnulib): New variable.
63369         [build-shared] (link-libc-tests): Likewise.
63370         [build-shared] (link-libc): Define in terms of
63371         $(link-libc-before-gnulib).
63372         [!build-shared] (link-libc-tests): New variable.
63373         (link-libc-static-tests): New variable.
63374         [!gnulib] (gnulib-arch): New variable.
63375         [!gnulib] (gnulib-tests): Likewise.
63376         [!gnulib] (static-gnulib-arch): Likewise.
63377         [!gnulib] (static-gnulib-tests): Likewise.
63378         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63379         Define with "=" instead of ":=".
63380         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63381         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63382         * Rules (binaries-all-notests): New variable.
63383         (binaries-all-tests): Likewise.
63384         (binaries-static-notests): Likewise.
63385         (binaries-static-tests): Likewise.
63386         (binaries-all): Define using $(binaries-all-notests) and
63387         $(binaries-all-tests).
63388         (binaries-static): Define using $(binaries-static-notests) and
63389         $(binaries-static-tests).
63390         (binaries-shared-tests): New variable.
63391         (binaries-shared-notests): Likewise.
63392         (binaries-shared): Remove variable.
63393         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63394         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63395         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63396         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63397         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63398         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63399         * elf/Makefile (sln-modules): New variable.
63400         (extra-objs): Add $(sln-modules:=.o).
63401         (ldconfig-modules): Add static-stubs.
63402         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63403         * elf/static-stubs.c: New file.
63405         [BZ #14283]
63406         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63407         by 7 not 8 to examine high bit of fractional part.  Use volatile
63408         variables when splitting into final array of floats if
63409         __FLT_EVAL_METHOD__ != 0.
63410         * math/libm-test.inc (cos_test): Add another test.
63411         (sin_test): Likewise.
63412         * sysdeps/i386/fpu/libm-test-ulps: Update.
63414         [BZ #14273]
63415         * math/libm-test.inc (cosh_test): Add more tests.
63417         * version.h (RELEASE): Set to "development".
63418         (VERSION): Set to "2.16.90".
63420 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63422         * NEWS: Update copyright. Remove last-updated date.
63423         Mention math library bug fixes and timezone data changes.
63424         * README: Mention GNU/Hurd, x32, and HPPA support status.
63426 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63428         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63430 2012-06-27  Andreas Jaeger  <aj@suse.de>
63432         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63434 2012-06-25  Andreas Jaeger  <aj@suse.de>
63436         * sysdeps/s390/fpu/libm-test-ulps: Update.
63438 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63439             Thomas Schwinge  <thomas@codesourcery.com>
63441         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63442         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63443         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63444         fanotify_mark.
63446 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63448         * sysdeps/mach/start.c: Remove file.
63449         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63450         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63451         * sysdeps/sh/init-first.c: Likewise.
63453         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63454         registers for frame unwinding purposes, add CFI directives.
63455         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63456         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63457         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63458         Likewise.
63460         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63461         __fortify_fail returning.
63462         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63464         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63465         sysdeps/sh/____longjmp_chk.S.
63466         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63467         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63468         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63469         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63471         * sysdeps/sh/abort-instr.h: New file.
63472         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63473         process in case exit returns.
63475         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63476         initialize the GOT register before use.
63478         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63479         calculation of ARGC > 4.
63481         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63482         meaningful names to some local labels.
63484 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63485             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63487         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63488         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63489         (__arch_compare_and_exchange_val_16_acq): Likewise.
63490         (__arch_compare_and_exchange_val_32_acq): Likewise.
63491         (atomic_exchange_and_add): Fix gUSA sequence.
63492         (atomic_add): Likewise.
63493         (atomic_add_negative): Likewise.
63494         (atomic_add_zero): Likewise.
63495         (atomic_bit_test_set): Likewise.
63497 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63499         [BZ #13579]
63500         * include/link.h (struct link_map): Add l_free_initfini.
63501         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63502         l_initfini.
63503         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63504         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63505         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63506         set.
63508 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63510         * configure.in: Use AC_LANG_SOURCE.
63511         * configure: Regenerate.
63513 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63515         * configure.in (libc_cv_localstatedir): New substituted variable.
63516         * configure: Regenerated.
63517         * config.make.in (localstatedir): New variable, substituted from
63518         libc_cv_localstatedir.
63519         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63520         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63521         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63522         * sysdeps/gnu/configure: Regenerated.
63524 2012-06-21  Jeff Law  <law@redhat.com>
63526         [BZ #14277]
63527         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63528         free.  Simplify list management for _LIBC case.
63530 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63532         [BZ #14273]
63533         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63534         Clear sign bit of 64-bit integer value before comparing against
63535         overflow value.
63537         * sysdeps/mach/configure: Regenerated.
63539 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63541         [BZ #14278]
63542         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63544 2012-06-21  Jeff Law  <law@redhat.com>
63546         [BZ #13882]
63547         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63548         uint16_t for elements in the "seen" array to avoid char overflows.
63549         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63550         * elf/dl-open.c (dl_open_worker): Likewise.
63552 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63554         * scripts/list-sources.sh: Scan PORTS for translations.
63555         * po/libc.pot: Regenerated.
63557 2012-06-21  Andreas Jaeger  <aj@suse.de>
63559         [BZ #12194]
63560         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63561         warning.
63562         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63563         * bits/byteswap-16.h (__bswap_16): Likewise.
63564         * bits/byteswap.h (__bswap_constant_16): Likewise.
63566 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63568         [BZ #14117]
63569         * sysdeps/i386/fpu_control.h: Removed.
63570         * sysdeps/x86_64/fpu_control.h: Moved to ...
63571         * sysdeps/x86/fpu_control.h: Here.
63573         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63574         (_FPU_SETCW): Likewise.
63576 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63578         [BZ #14117]
63579         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63580         * sysdeps/x86/fpu/bits/mathinline.h: This.
63581         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63583         [BZ #14050]
63584         [BZ #14117]
63585         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63586         functions if __x86_64__ is defined.
63588 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63590         * string/endian.h: Add !__ASSEMBLER__ condition for including
63591         conversion interfaces.
63593 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63595         [BZ #14241]
63596         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63597         of ABS(x) in calculating zero to negative powers other than odd
63598         integers.
63599         * math/libm-test.inc (pow_test): Add more tests.
63601 2012-06-15  Andreas Jaeger  <aj@suse.de>
63603         * manual/contrib.texi (Contributors): Update entry of Liubov
63604         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63605         Machado Filho.
63607 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63609         * string/string.h: Add __wur to GNU version of strerror_r.
63611 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63613         [BZ #14229]
63614         * string/Makefile (tests): Add tst-strtok_r.
63615         * string/tst-strtok_r.c: New file.
63616         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63617         RAX_LP/RDX_LP on SAVE_PTR.
63619 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63621         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63623 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63625         * libm_test.inc (csqrt_test): Allow more spurious underflow
63626         exceptions.
63627         (j0_test): Likewise.
63628         (j1_test): Likewise.
63629         (y0_test): Likewise.
63630         (y1_test): Likewise.
63632 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63634         * po/Makefile (libc.pot): Use UTF-8 charset.
63636 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63638         [BZ #14210]
63639         Suppress sign-conversion warning from FD_SET.
63640         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63641         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63642         not unsigned long int.
63643         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63645 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63647         [BZ #14050]
63648         [BZ #14117]
63649         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63650         __extern_always_inline instead of __extern_inline.
63651         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63652         (__signbit): Likewise.
63653         (__signbitl): Support C++ namespace.
63654         (lrintf): New inline function.
63655         (lrint): Likewise.
63656         (llrintf): Likewise.
63657         (llrint): Likewise.
63658         (fmaxf): Likewise.
63659         (fmax): Likewise.
63660         (fminf): Likewise.
63661         (fmin): Likewise.
63662         (rint): Likewise.
63663         (rintf): Likewise.
63664         (ceil): Likewise.
63665         (ceilf): Likewise.
63666         (floor): Likewise.
63667         (floorf): Likewise.
63668         (nearbyint): Likewise.
63669         (nearbyintf): Likewise.
63671 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63673         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63674         non-default versions.
63676 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63678         [BZ #14218]
63679         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63681 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63683         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63684         (FE_UPWARD, FE_DOWNWARD): Don't define.
63685         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63686         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63688         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63689         reading it.
63690         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63691         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63693 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63695         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63696         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63697         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63698         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63700 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63702         [BZ #14117]
63703         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63704         * sysdeps/i386/fpu/Implies: New file.
63705         * sysdeps/x86_64/fpu/Implies: Likewise.
63706         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63707         * sysdeps/x86/fpu/bits/fenv.h: This.
63709         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63710         __SSE_MATH__.
63712 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63714         [BZ #14134]
63715         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63716         character 0xffff that matches the last element of the
63717         conversion table.
63719 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63721         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63722         fmodl commit.
63724 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63726         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63727         values higher than 25.6283.
63729 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63731         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63732         subnormal exponent extraction and add some __builtin_expect.
63733         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63734         Fix for subnormal mantissa calculation.
63736 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63738         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63739         cpu2 is -1 and errno is not ENOSYS.
63741 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63743         [BZ #14117]
63744         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63745         * sysdeps/x86/bits/string.h: This.
63746         * sysdeps/x86_64/bits/string.h: Removed.
63748         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63749         if not compiling for x86-64, but compiling for >= i486.
63751         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63752         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63754         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63755         New macro from Linux kernel 3.4.0.
63756         (FP_XSTATE_MAGIC2): Likewise.
63757         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63758         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63759         (struct _fpx_sw_bytes): New struct.
63760         (struct _xsave_hdr): Likewise.
63761         (struct _ymmh_state): Likewise.
63762         (struct _xstate): Likewise.
63764         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63765         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63766         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63767         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63768         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63769         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63771         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63772         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63773         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63774         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63775         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63776         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63778 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63780         [BZ #13743]
63781         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63782         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63783         (sysdep_headers): Include sys/platform/ppc.h.
63784         * sysdeps/powerpc/test-gettimebase.c: Test for
63785         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63786         * manual/Makefile (appendices): Include platform.texi.
63787         * manual/contrib.texi (Contributors): Update @node pointers.
63788         * manual/maint.texi (Maintenance): Likewise.
63789         (Platform): New node.
63790         * manual/platform.texi: New file.  Document the new features.
63792 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63793             Jakub Jelinek  <jakub@redhat.com>
63795         [BZ #14188]
63796         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63797         where __builtin_expect is unavailable.
63799 2012-06-03  David S. Miller  <davem@davemloft.net>
63801         * stdlib/longlong.h: Updated from GCC.
63803 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63805         [BZ #14042]
63806         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63807         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63808         __mcount_internal.
63809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63810         (GLIBC_2.16): Likewise.
63812 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63814         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63816 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63819         (default-abi): New variable.
63820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63821         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63822         variable.
63823         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63824         Likewise.
63825         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63826         Likewise.
63827         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63828         Likewise.
63830         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63831         definition.  Document in comment.
63833 2012-06-01  David S. Miller  <davem@davemloft.net>
63835         * stdlib/longlong.h: Updated from GCC.
63837 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63839         [BZ #14117]
63840         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63841         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63842         sys/debugreg.h sys/io.h here.
63843         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63844         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63845         sys/io.h.
63846         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63847         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63848         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63849         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63850         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63851         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63853         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63854         Define only if __x86_64__ is defined.
63856 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63858         [BZ #14048]
63859         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63860         Use int64_t for variable i.
63861         * math/libm-test.inc (fmod_test): Add more tests.
63863         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63864         z computation is not scheduled after fetestexcept.
63865         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63866         Use math_force_eval instead of asm to ensure calculation scheduled
63867         before exception test.
63868         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63869         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63871 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63874         computation is not scheduled after fetestexcept.
63876 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63878         [BZ #14117]
63879         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63880         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63882 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63884         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63885         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63887 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63889         [BZ #14117]
63890         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63891         <bits/wordsize.h>.
63892         (__WCHAR_MIN): Support __WORDSIZE == 64.
63893         (__WCHAR_MAX): Likewise.
63895         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63896         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63898         [BZ #14183]
63899         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63900         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63902         [BZ #14117]
63903         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63904         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63906         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63907         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63909         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63910         Defined to 1 if __x86_64__ isn't defined.
63911         (_STAT_VER_LINUX_OLD): New.
63912         (st_atime): Remove duplicate.
63913         (st_mtime): Likewise.
63914         (st_ctime): Likewise.
63916 2012-05-31  David S. Miller  <davem@davemloft.net>
63918         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63919         entries.
63921 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63923         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63924         gen-libm-test.pl.
63926         [BZ #14132]
63927         * elf/dl-reloc.c: Include <_itoa.h>.
63928         (_dl_reloc_bad_type): Remove use of INTUSE.
63929         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63930         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63931         * stdio-common/psiginfo.c (psiginfo): Likewise.
63932         * stdio-common/psignal.c (psignal): Likewise.
63933         * string/strsignal.c (strsignal): Likewise.
63934         * include/signal.h (_sys_siglist): Declare hidden proto.
63935         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63936         INTVARDEF with libc_hidden_data_def.
63937         * stdio-common/itoa-udigits.c: Likewise.
63938         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63939         (_itoa_lower_digits_internal): Remove declaration.
63940         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63941         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63942         (_sys_sigabbrev_internal): Remove aliases.
63943         (_sys_siglist): Define hidden alias.
63945 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63947         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63948         bits/sysctl.h.
63950 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63952         [BZ #14117]
63953         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63954         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63956         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63957         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63958         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63959         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63960         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63961         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63963         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63964         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63965         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63967         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63968         with __addr.
63969         (insw): Likewise.
63970         (insl): Likewise.
63971         (outsb): Likewise.
63972         (outsw): Likewise.
63973         (outsl): Likewise.
63975         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63976         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63977         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63979         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63980         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63981         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63982         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63983         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63984         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63986         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63987         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63989         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63990         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63992         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63993         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63994         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63996         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63997         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63998         to ...
63999         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64001         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64002         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64003         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64005         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64006         for x86-64.
64007         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64009 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64011         * math/math.h (M_El): Use two more decimal places.
64012         (M_LOG2El): Likewise.
64013         (M_LOG10El): Likewise.
64014         (M_LN2l): Likewise.
64015         (M_LN10l): Likewise.
64016         (M_PIl): Likewise.
64017         (M_PI_2l): Likewise.
64018         (M_PI_4l): Likewise.
64019         (M_1_PIl): Likewise.
64020         (M_2_PIl): Likewise.
64021         (M_2_SQRTPIl): Likewise.
64022         (M_SQRT2l): Likewise.
64023         (M_SQRT1_2l): Likewise.
64025 2012-05-31  David S. Miller  <davem@davemloft.net>
64027         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64028         values between float registers.
64029         * sysdeps/sparc/sparc64/memset.S: Likewise.
64030         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64032 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64034         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64035         -D_FORTIFY_SOURCE=1.
64036         (CPPFLAGS-tst-longjmp_chk.c): Define.
64037         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64038         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64039         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64040         CFLAGS-tst-wchar-h.c.
64042 2012-05-31  Marek Polacek  <polacek@redhat.com>
64044         [BZ #14132]
64045         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64046         __endmntent_internal): Remove declaration.
64047         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64048         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64049         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64051 2012-05-30  David S. Miller  <davem@davemloft.net>
64053         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64054         (___Q_simulate_exceptions): Use real FP ops rather than writing
64055         into the %fsr.
64056         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64057         Likewise.
64059 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64061         [BZ #14117]
64062         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64063         * sysdeps/x86/bits/xtitypes.h: This.
64065         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64066         * sysdeps/x86/bits/wordsize.h: This.
64068         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64069         * sysdeps/x86/bits/huge_vall.h: This.
64071         * sysdeps/i386/bits/select.h: Removed.
64072         * sysdeps/x86_64/bits/select.h: Renamed to ...
64073         * sysdeps/x86/bits/select.h: This.
64075         * sysdeps/i386/bits/setjmp.h: Removed.
64076         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64077         * sysdeps/x86/bits/setjmp.h: This.
64079         * sysdeps/i386/bits/mathdef.h: Removed.
64080         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64081         * sysdeps/x86/bits/mathdef.h: This.
64083 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64085         [BZ #14132]
64086         * include/sys/socket.h (__connect_internal)
64087         (__libc_sa_len_internal): Remove declaration.
64088         (__connect, __libc_sa_len): Declare hidden_proto.
64089         (SA_LEN): Remove use of INTUSE.
64090         * socket/connect.c: Add libc_hidden_def.
64091         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64092         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64093         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64094         alias.
64095         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64096         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64097         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64098         of adding _internal alias.
64100 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64102         [BZ #14117]
64103         * sysdeps/i386/bits/link.h: Removed.
64104         * sysdeps/i386/bits/linkmap.h: Likewise.
64105         * sysdeps/x86_64/bits/link.h: Renamed to ...
64106         * sysdeps/x86/bits/link.h: This.
64107         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64108         * sysdeps/x86/bits/linkmap.h: This.
64110         * sysdeps/i386/bits/endian.h: Removed.
64111         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64112         * sysdeps/x86/bits/endian.h: This.
64114         * sysdeps/i386/bits/byteswap.h: Removed.
64115         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64116         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64117         * sysdeps/x86/bits/byteswap.h: This.
64118         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64119         * sysdeps/x86/bits/byteswap-16.h: This.
64120         * sysdeps/i386/Implies: Add x86.
64121         * sysdeps/x86_64/Implies: Likewise.
64123 2012-05-30  David S. Miller  <davem@davemloft.net>
64125         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64126         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64127         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64128         (FP_TRAPPING_EXCEPTIONS): Define.
64129         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64130         (FP_TRAPPING_EXCEPTIONS): Define.
64131         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64132         subnormals only when inexact has been signalled or underflow
64133         exceptions are enabled.
64134         (_FP_PACK_CANONICAL): Likewise.
64136 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64138         [BZ #14183]
64139         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64140         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64142 2012-05-30  Richard Henderson  <rth@twiddle.net>
64144         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64145         with #ifndef NOT_IN_libc.
64147         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64148         marked to avoid plt entry.
64150 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64152         [BZ #14112]
64153         * Makeconfig (default-abi): New macro.
64154         (abi-includes): Likewise.
64155         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64156         $(abi-$(default-abi)-lib-soname) for soname if defined.
64157         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64158         abi-variants.
64159         * Makefile (installed-stubs): Likewise.
64160         * include/stubs-biarch.h: Removed.
64161         * scripts/lib-names.awk: Only handle one library at a time.
64162         * scripts/soversions.awk: Remove WORDSIZE support.
64163         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64164         entries.
64165         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64166         Removed.
64167         (syscall-list-default-condition): Likewise.
64168         (syscall-list-default-condition): Likewise.
64169         (syscall-list-includes): Likewise.
64170         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64171         syscall-list-* with abi-*.  Handle undefined abi-variants.
64172         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64173         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64174         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64175         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64176         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64177         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64178         Removed.
64179         (syscall-list-32-options): Likewise.
64180         (syscall-list-32-condition): Likewise.
64181         (syscall-list-64-options): Likewise.
64182         (syscall-list-64-condition): Likewise.
64183         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64184         macro.
64185         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64186         Renamed to ...
64187         (abi-*): This.
64188         (abi-64-ld-soname): New macro.
64189         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64190         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64191         Renamed to ...
64192         (abi-*): This.
64193         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64194         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64196 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64198         * sysdeps/unix/sysv/linux/kernel-features.h
64199         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64200         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64201         include <kernel-features.h>.
64202         [!__NR_ftruncate64]: Remove conditional code.
64203         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64204         [__NR_ftruncate64]: Make code unconditional.
64205         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64206         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64207         include <kernel-features.h>.
64208         [!__NR_ftruncate64]: Remove conditional code.
64209         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64210         [__NR_ftruncate64]: Make code unconditional.
64211         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64213         include <kernel-features.h>.
64214         [!__NR_ftruncate64]: Remove conditional code.
64215         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64216         [__NR_ftruncate64]: Make code unconditional.
64217         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64219         include <kernel-features.h>.
64220         [!__NR_ftruncate64]: Remove conditional code.
64221         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64222         [__NR_ftruncate64]: Make code unconditional.
64223         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64225         * configure.in (libc_cv_fpie): Weaken to a compile test using
64226         LIBC_TRY_CC_OPTION.
64227         * configure: Regenerated.
64229 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64235         Refreshed.
64236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64242         Refreshed.
64244 2012-05-27  David S. Miller  <davem@davemloft.net>
64246         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64247         (___Q_zero): New.
64248         (__Q_simulate_exceptions): Return void.  Change to simulate
64249         exceptions by writing into the %fsr.
64250         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64251         (__Qp_handle_exceptions): Likewise.
64252         (numbers): Delete.
64253         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64254         __Qp_handle_exceptions.
64255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64256         __Qp_handle_exceptions.
64257         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64258         as unused and give dummy FP_RND_NEAREST initializer.
64259         (FP_INHIBIT_RESULTS): Define.
64260         (___Q_simulate_exceptions): Update declaration.
64261         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64262         formatting.
64263         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64264         as unused and give dummy FP_RND_NEAREST initializer.
64265         (__Qp_handle_exceptions): Update declaration.
64266         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64267         formatting.
64269 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64271         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64272         the temporary FPU control word.
64273         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64274         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64275         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64276         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64277         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64278         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64279         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64280         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64281         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64282         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64283         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64285 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64287         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64288         fields.
64290 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64292         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64293         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64294         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64295         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64296         Likewise.
64297         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64298         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64299         Likewise.
64301 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64303         * po/h.po: Update from translation team.
64305 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64307         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64309         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64310         handling of denormals.
64311         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64312         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64313         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64314         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64315         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64316         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64317         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64318         Likewise.
64320 2012-05-26  Marek Polacek  <polacek@redhat.com>
64322         [BZ #14152]
64323         * math/libm-test.inc (fma_test): Don't always expect underflow
64324         exception.
64326 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64328         [BZ #12416]
64329         * elf/tst-execstack.c: Include stackinfo.h.
64330         (do_test): Adjust test case to ensure that pthread_getattr_np
64331         behaviour remains the same after marking stack executable.
64333 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64335         * sysdeps/unix/sysv/linux/kernel-features.h
64336         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64337         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64338         kernel-features.h.
64339         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64340         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64341         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64342         kernel-features.h.
64343         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64344         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64346 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64348         * configure.in: Define the default includes to being none.
64349         * configure: Regenerated.
64351 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64353         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64354         * sysdeps/x86_64/setjmp.S: Likewise.
64355         * sysdeps/i386/bsd-setjmp.S: Likewise.
64356         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64357         * sysdeps/i386/setjmp.S: Likewise.
64358         * sysdeps/i386/__longjmp.S: Likewise.
64359         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64360         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64362         * include/stap-probe.h: New file.
64363         * configure.in: Handle --enable-systemtap.
64364         * configure: Regenerated.
64365         * config.h.in (USE_STAP_PROBE): New #undef.
64366         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64367         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64368         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64370 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64372         [BZ #13717]
64373         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64374         to 2.4.0 where earlier.
64375         * sysdeps/unix/sysv/linux/configure: Regenerated.
64376         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64377         <kernel-features.h>.
64378         [__ASSUME_32BITUIDS]: Make code unconditional.
64379         [!__ASSUME_32BITUIDS]: Remove conditional code.
64380         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64381         <kernel-features.h>.
64382         [__ASSUME_32BITUIDS]: Make code unconditional.
64383         [!__ASSUME_32BITUIDS]: Remove conditional code.
64384         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64385         [__ASSUME_32BITUIDS]: Make code unconditional.
64386         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64387         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
64388         <kernel-features.h>.
64389         [__ASSUME_32BITUIDS]: Make code unconditional.
64390         [!__ASSUME_32BITUIDS]: Remove conditional code.
64391         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
64392         <kernel-features.h>.
64393         [__ASSUME_32BITUIDS]: Make code unconditional.
64394         [!__ASSUME_32BITUIDS]: Remove conditional code.
64395         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
64396         <kernel-features.h>.
64397         [__ASSUME_32BITUIDS]: Make code unconditional.
64398         [!__ASSUME_32BITUIDS]: Remove conditional code.
64399         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64400         <kernel-features.h>.
64401         [__ASSUME_32BITUIDS]: Make code unconditional.
64402         [!__ASSUME_32BITUIDS]: Remove conditional code.
64403         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64404         <kernel-features.h>.
64405         [__ASSUME_32BITUIDS]: Make code unconditional.
64406         [!__ASSUME_32BITUIDS]: Remove conditional code.
64407         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64408         <kernel-features.h>.
64409         [__ASSUME_32BITUIDS]: Make code unconditional.
64410         [!__ASSUME_32BITUIDS]: Remove conditional code.
64411         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64412         <kernel-features.h>.
64413         [__ASSUME_32BITUIDS]: Make code unconditional.
64414         [!__ASSUME_32BITUIDS]: Remove conditional code.
64415         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64416         <kernel-features.h>.
64417         [__ASSUME_32BITUIDS]: Make code unconditional.
64418         [!__ASSUME_32BITUIDS]: Remove conditional code.
64419         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64420         <kernel-features.h>.
64421         [__ASSUME_32BITUIDS]: Make code unconditional.
64422         [!__ASSUME_32BITUIDS]: Remove conditional code.
64423         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64424         <kernel-features.h>.
64425         [__ASSUME_32BITUIDS]: Make code unconditional.
64426         [!__ASSUME_32BITUIDS]: Remove conditional code.
64427         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64428         <kernel-features.h>.
64429         [__NR_setresgid] (__setresgid): Do not declare.
64430         [__ASSUME_32BITUIDS]: Make code unconditional.
64431         [!__ASSUME_32BITUIDS]: Remove conditional code.
64432         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64433         <kernel-features.h>.
64434         [__NR_setresuid] (__setresuid): Do not declare.
64435         [__ASSUME_32BITUIDS]: Make code unconditional.
64436         [!__ASSUME_32BITUIDS]: Remove conditional code.
64437         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64438         <kernel-features.h>.
64439         [__ASSUME_32BITUIDS]: Make code unconditional.
64440         [!__ASSUME_32BITUIDS]: Remove conditional code.
64441         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64442         <kernel-features.h>.
64443         [__ASSUME_32BITUIDS]: Make code unconditional.
64444         [!__ASSUME_32BITUIDS]: Remove conditional code.
64445         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64446         <kernel-features.h>.
64447         [__ASSUME_32BITUIDS]: Make code unconditional.
64448         [!__ASSUME_32BITUIDS]: Remove conditional code.
64449         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
64450         <kernel-features.h>.
64451         [__ASSUME_32BITUIDS]: Make code unconditional.
64452         [!__ASSUME_32BITUIDS]: Remove conditional code.
64453         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64454         <kernel-features.h>.
64455         [__ASSUME_32BITUIDS]: Make code unconditional.
64456         [!__ASSUME_32BITUIDS]: Remove conditional code.
64457         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64458         <kernel-features.h>.
64459         [__ASSUME_32BITUIDS]: Make code unconditional.
64460         [!__ASSUME_32BITUIDS]: Remove conditional code.
64461         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64462         <kernel-features.h>.
64463         [__ASSUME_32BITUIDS]: Make code unconditional.
64464         [!__ASSUME_32BITUIDS]: Remove conditional code.
64465         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64466         <kernel-features.h>.
64467         [__ASSUME_32BITUIDS]: Make code unconditional.
64468         [!__ASSUME_32BITUIDS]: Remove conditional code.
64469         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64470         <kernel-features.h>.
64471         [__ASSUME_32BITUIDS]: Make code unconditional.
64472         [!__ASSUME_32BITUIDS]: Remove conditional code.
64473         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64474         <kernel-features.h>.
64475         [__ASSUME_32BITUIDS]: Make code unconditional.
64476         [!__ASSUME_32BITUIDS]: Remove conditional code.
64477         * sysdeps/unix/sysv/linux/kernel-features.h
64478         (__ASSUME_SETRESUID_SYSCALL): Remove.
64479         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64480         (__ASSUME_32BITUIDS): Likewise.
64481         (__ASSUME_LDT_WORKS): Likewise.
64482         (__ASSUME_O_DIRECTORY): Likewise.
64483         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64484         architecture but not kernel version.
64485         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64486         (__ASSUME_MMAP2_SYSCALL): Likewise.
64487         (__ASSUME_STAT64_SYSCALL): Likewise.
64488         (__ASSUME_IPC64): Likewise.
64489         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64490         <kernel-features.h>.
64491         [__ASSUME_32BITUIDS]: Make code unconditional.
64492         [!__ASSUME_32BITUIDS]: Remove conditional code.
64493         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64494         <kernel-features.h>.
64495         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64496         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64497         132096]: Remove conditional code.
64498         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64499         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64500         <kernel-features.h>.
64501         [__ASSUME_32BITUIDS]: Make code unconditional.
64502         [!__ASSUME_32BITUIDS]: Remove conditional code.
64503         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64504         <kernel-features.h>.
64505         [__ASSUME_32BITUIDS]: Make code unconditional.
64506         [!__ASSUME_32BITUIDS]: Remove conditional code.
64507         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64508         <kernel-features.h>.
64509         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64510         unconditional.
64511         (__setresgid): Do not declare.
64512         [__ASSUME_32BITUIDS]: Make code unconditional.
64513         [!__ASSUME_32BITUIDS]: Remove conditional code.
64514         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64515         <kernel-features.h>.
64516         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64517         unconditional.
64518         (__setresuid): Do not declare.
64519         [__ASSUME_32BITUIDS]: Make code unconditional.
64520         [!__ASSUME_32BITUIDS]: Remove conditional code.
64521         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
64526         <kernel-features.h>.
64527         [__ASSUME_32BITUIDS]: Make code unconditional.
64528         [!__ASSUME_32BITUIDS]: Remove conditional code.
64530 2012-05-25  Richard Henderson  <rth@twiddle.net>
64532         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64533         dl_hwcap to ifunc resolver.
64534         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64535         elf_ifunc_invoke.
64536         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64537         dl_hwcap to ifunc resolver.
64538         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64540 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64542         [BZ #14153]
64543         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64544         for |x| <= 2**-26, not 2**-57.
64545         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64546         exception.
64548 2012-05-24  Jeff Law  <law@redhat.com>
64550         * stdio-common/Makefile (tests): Add bug25.
64551         * stdio-common/bug25.c: New test.
64553 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64555         [BZ #13576]
64556         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64557         multiple of MALLOC_ALIGNMENT in size.
64558         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64560 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64562         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64563         Require >= 256.
64564         (FILENAME_MAX): Use macro-int-constant.
64565         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64566         (_IOFBF): Use macro-int-constant.
64567         (_IOLBF): Likewise.
64568         (_IONBF): Likewise.
64569         (SEEK_CUR): Likewise.
64570         (SEEK_END): Likewise.
64571         (SEEK_SET): Likewise.
64572         (TMP_MAX): Likewise.
64573         (EOF): Use macro-int-constant.  Require < 0.
64574         (NULL): Use macro-constant.  Require == 0.
64575         (stdin): Require type to be FILE *.
64576         (stdout): Likewise.
64577         (stderr): Likewise.
64578         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64579         macro-int-constant.
64580         (EXIT_SUCCESS): Likewise.
64581         (NULL): Use macro-constant.  Require == 0.
64582         (RAND_MAX): Use macro-int-constant.
64583         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64584         [C99-based standards] (strtof): Require function.
64585         [C99-based standards] (strtold): Likewise.
64586         [C99-based standards] (strtoll): Likewise.
64587         [C99-based standards] (strtoull): Likewise.
64588         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64589         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64590         [ISO || ISO99 || ISO11] (math.h): Likewise.
64591         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64592         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64593         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64595 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64597         [BZ #14132]
64598         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64599         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64600         * intl/dgettext.c (DCGETTEXT): Likewise.
64601         * intl/gettext.c (DCGETTEXT): Likewise.
64602         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64603         * posix/regex_internal.h (gettext): Likewise.
64604         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64605         Remove declaration.
64606         * include/argz.h (__argz_count_internal)
64607         (__argz_stringify_internal): Remove declaration.
64608         (__argz_count, __argz_stringify): Declare hidden proto.
64609         * intl/dcgettext.c: Remove use of INTDEF.
64610         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64611         * string/argz-stringify.c: Likewise.
64612         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64613         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64614         Declare hidden proto.
64615         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64616         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64617         Declare hidden proto.
64618         * include/stdio.h (__asprintf_internal): Don't declare.
64619         (__asprintf): Don't define as macro.  Declare hidden proto.
64620         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64621         (__fsetlocking): Declare hidden proto.
64622         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64623         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64624         hidden proto.
64625         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64626         (_IO_setlinebuf): Remove use of INTUSE.
64627         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64628         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64629         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64630         Remove declaration.
64631         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64632         (_IO_do_flush): Remove use of INTUSE.
64633         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64634         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64635         (_IO_adjust_column, _IO_least_wmarker)
64636         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64637         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64638         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64639         (_IO_default_doallocate, _IO_wdefault_doallocate)
64640         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64641         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64642         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64643         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64644         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64645         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64646         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64647         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64648         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64649         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64650         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64651         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64652         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64653         proto.
64654         (_IO_flush_all_internal, _IO_adjust_column_internal)
64655         (_IO_default_uflow_internal, _IO_default_finish_internal)
64656         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64657         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64658         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64659         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64660         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64661         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64662         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64663         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64664         (_IO_file_close_internal, _IO_file_close_it_internal)
64665         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64666         (_IO_file_init_internal, _IO_file_attach_internal)
64667         (_IO_file_fopen_internal, _IO_file_read_internal)
64668         (_IO_file_sync_internal, _IO_file_seek_internal)
64669         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64670         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64671         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64672         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64673         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64674         (_IO_list_all_internal, _IO_link_in_internal)
64675         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64676         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64677         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64678         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64679         (_IO_do_write_internal, _IO_padn_internal)
64680         (_IO_getline_info_internal, _IO_getline_internal)
64681         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64682         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64683         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64684         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64685         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64686         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64687         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64688         with libc_hidden_ver, remove use of INTUSE.
64689         * libio/genops.c: Likewise.
64690         * libio/freopen.c: Likewise.
64691         * libio/freopen64.c: Likewise.
64692         * libio/iofclose.c: Likewise.
64693         * libio/iofdopen.c: Likewise.
64694         * libio/iofflush.c: Likewise.
64695         * libio/iofflush_u.c: Likewise.
64696         * libio/iofgets.c: Likewise.
64697         * libio/iofgets_u.c: Likewise.
64698         * libio/iofopen.c: Likewise.
64699         * libio/iofopncook.c: Likewise.
64700         * libio/iofread.c: Likewise.
64701         * libio/iofread_u.c: Likewise.
64702         * libio/ioftell.c: Likewise.
64703         * libio/iofwrite.c: Likewise.
64704         * libio/iogetline.c: Likewise.
64705         * libio/iogets.c: Likewise.
64706         * libio/iogetwline.c: Likewise.
64707         * libio/iopadn.c: Likewise.
64708         * libio/iopopen.c: Likewise.
64709         * libio/ioseekoff.c: Likewise.
64710         * libio/ioseekpos.c: Likewise.
64711         * libio/iosetbuffer.c: Likewise.
64712         * libio/iosetvbuf.c: Likewise.
64713         * libio/ioungetc.c: Likewise.
64714         * libio/ioungetwc.c: Likewise.
64715         * libio/iovdprintf.c: Likewise.
64716         * libio/iovsprintf.c: Likewise.
64717         * libio/iovsscanf.c: Likewise.
64718         * libio/memstream.c: Likewise.
64719         * libio/obprintf.c: Likewise.
64720         * libio/oldfileops.c: Likewise.
64721         * libio/oldiofclose.c: Likewise.
64722         * libio/oldiofdopen.c: Likewise.
64723         * libio/oldiofopen.c: Likewise.
64724         * libio/oldiopopen.c: Likewise.
64725         * libio/oldstdfiles.c: Likewise.
64726         * libio/putc.c: Likewise.
64727         * libio/setbuf.c: Likewise.
64728         * libio/setlinebuf.c: Likewise.
64729         * libio/stdfiles.c: Likewise.
64730         * libio/strops.c: Likewise.
64731         * libio/vasprintf.c: Likewise.
64732         * libio/vscanf.c: Likewise.
64733         * libio/vsnprintf.c: Likewise.
64734         * libio/vswprintf.c: Likewise.
64735         * libio/wfiledoalloc.c: Likewise.
64736         * libio/wfileops.c: Likewise.
64737         * libio/wgenops.c: Likewise.
64738         * libio/wmemstream.c: Likewise.
64739         * libio/wstrops.c: Likewise.
64740         * libio/__fpurge.c: Likewise.
64741         * libio/__fsetlocking.c: Likewise.
64742         * assert/assert.c: Likewise.
64743         * debug/fgets_chk.c: Likewise.
64744         * debug/fgets_u_chk.c: Likewise.
64745         * debug/fread_chk.c: Likewise.
64746         * debug/fread_u_chk.c: Likewise.
64747         * debug/gets_chk.c: Likewise.
64748         * debug/obprintf_chk.c: Likewise.
64749         * debug/vasprintf_chk.c: Likewise.
64750         * debug/vdprintf_chk.c: Likewise.
64751         * debug/vsnprintf_chk.c: Likewise.
64752         * debug/vsprintf_chk.c: Likewise.
64753         * malloc/mtrace.c: Likewise.
64754         * misc/error.c: Likewise.
64755         * misc/syslog.c: Likewise.
64756         * stdio-common/asprintf.c: Likewise.
64757         * stdio-common/fxprintf.c: Likewise.
64758         * stdio-common/getw.c: Likewise.
64759         * stdio-common/isoc99_fscanf.c: Likewise.
64760         * stdio-common/isoc99_scanf.c: Likewise.
64761         * stdio-common/isoc99_vfscanf.c: Likewise.
64762         * stdio-common/isoc99_vscanf.c: Likewise.
64763         * stdio-common/isoc99_vsscanf.c: Likewise.
64764         * stdio-common/printf-prs.c: Likewise.
64765         * stdio-common/printf_fp.c: Likewise.
64766         * stdio-common/printf_fphex.c: Likewise.
64767         * stdio-common/printf_size.c: Likewise.
64768         * stdio-common/putw.c: Likewise.
64769         * stdio-common/scanf.c: Likewise.
64770         * stdio-common/sprintf.c: Likewise.
64771         * stdio-common/tmpfile.c: Likewise.
64772         * stdio-common/vfprintf.c: Likewise.
64773         * stdio-common/vfscanf.c: Likewise.
64774         * stdlib/strfmon_l.c: Likewise.
64775         * sunrpc/openchild.c: Likewise.
64776         * sunrpc/xdr_stdio.c: Likewise.
64777         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64778         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64780 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64782         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64784         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64785         in the third column, to generate for the shared library an IFUNC
64786         that uses _dl_vdso_vsym.
64787         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64788         * Makeconfig (object-suffixes-noshared): New variable.
64790         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64791         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64792         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64793         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64795         [BZ #14132]
64796         * include/sys/time.h (__gettimeofday): Remove macro.
64797         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64798         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64799         Remove INTDEF.
64800         (__gettimeofday): Add libc_hidden_def.
64801         (gettimeofday): Add libc_hidden_weak.
64802         * sysdeps/mach/gettimeofday.c: Likewise.
64803         * sysdeps/posix/gettimeofday.c: Likewise.
64804         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64805         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64806         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64807         (__gettimeofday_internal): Remove strong_alias.
64808         (__gettimeofday): Add libc_hidden_def.
64809         (gettimeofday): Add libc_hidden_weak.
64810         * sysdeps/unix/syscalls.list (gettimeofday):
64811         Remove __gettimeofday_internal alias.
64813 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64814             H.J. Lu  <hongjiu.lu@intel.com>
64816         [BZ #12495]
64817         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64818         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64819         (largebin_index_32_big): New.
64820         (largebin_index): Use it for 16-byte alignment.
64821         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64822         correction with front_misalign.
64824 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64828         Likewise.
64829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64830         Likewise.
64831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64832         Likewise.
64833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64834         Likewise.
64835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64836         Likewise.
64837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64838         Likewise.
64839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64840         Likewise.
64841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64842         Likewise.
64843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64844         Likewise.
64845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64846         Likewise.
64847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64848         Likewise.
64849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64850         Likewise.
64852         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64853         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64855 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64857         [BZ #10846]
64858         [BZ #14036]
64859         * math/libm-test.inc (exp_test): Add test from bug 14036.
64860         (pow_test): Add test from bug 10846.
64862         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64863         and other flags.
64864         (special_function): Do not include flags in test name.
64865         (parse_args): Likewise.
64866         * sysdeps/i386/fpu/libm-test-ulps: Update.
64867         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64868         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64869         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64872         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64873         exceptions.
64874         * math/libm-test.inc ("Philosophy"): Update comment about
64875         exception testing.
64876         (UNDERFLOW_EXCEPTION): New macro.
64877         (UNDERFLOW_EXCEPTION_OK): Likewise.
64878         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64879         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64880         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64881         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64882         (INVALID_EXCEPTION_OK): Update value.
64883         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64884         (OVERFLOW_EXCEPTION_OK): Likewise.
64885         (IGNORE_ZERO_INF_SIGN): Likewise.
64886         (test_exceptions): Handle underflow exceptions.
64887         (acos_test): Update for underflow exception expectations.
64888         (cexp_test): Likewise.
64889         (clog_test): Likewise.
64890         (clog10_test): Likewise.
64891         (csqrt_test): Likewise.
64892         (ctan_test): Likewise.
64893         (ctanh_test): Likewise.
64894         (exp_test): Likewise.
64895         (exp10_test): Likewise.
64896         (exp2_test): Likewise.
64897         (expm1_test): Likewise.
64898         (fma_test): Likewise.
64899         (j0_test): Likewise.
64900         (jn_test): Likewise.
64901         (nexttoward_test): Likewise.
64902         (pow_test): Likewise.
64903         (scalbn_test): Likewise.
64904         (scalbln_test): Likewise.
64905         (tan_test): Likewise.
64906         (y1_test): Likewise.
64907         * sysdeps/i386/fpu/libm-test-ulps: Update.
64908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64910 2012-05-23  David S. Miller  <davem@davemloft.net>
64912         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64913         (__libc_sigaction): Remove unused local variables.
64915 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64917         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64919 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64921         mktime: avoid signed integer overflow
64922         * time/mktime.c (__mktime_internal): Do not mishandle the case
64923         where diff == INT_MIN.
64925         mktime: simplify computation of average
64926         * time/mktime.c (ranged_convert): Use new time_t_avg function
64927         instead of rolling our own (probably-slower) code.
64929         mktime: do not assume signed right shift propagates sign bit
64930         * time/mktime.c (isdst_differ): New static function.
64931         (__mktime_internal): No need to normalize tm_isdst now.
64932         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64933         tm_isdst values.
64935         mktime: merge another wrapv change from gnulib
64936         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64937         from some compilers.
64939         mktime: remove incorrect attempt at unusual arithmetics
64940         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64941         The code didn't really work on such machines anyway.
64942         (TYPE_MINIMUM): Assume two's complement.
64943         (twos_complement_arithmetic): Verify that long_int and time_t
64944         are two's complement (or unsigned, in the latter case).
64946         mktime: check signed shifts on long_int and time_t, too
64947         * time/mktime.c (SHR): Check that shifts work as desired
64948         on the types long_int and time_t too, as SHR is used on
64949         such types.
64951         mktime: do not assume 'long' is wide enough
64952         * time/mktime.c (verify): Move decl up.
64953         (long_int): New type.
64954         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64955         to remove assumption in the code that 'long' is wide enough to
64956         store year values.  This assumption is not true on x32 and on
64957         some non-glibc platforms.
64959         mktime: merge wrapv change from gnulib
64960         * time/mktime.c (WRAPV): New macro.
64961         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64962         (guess_time_tm, __mktime_internal): Do not assume that signed
64963         integer overflow wraps around; modern compilers generate code
64964         where this assumption is no longer valid.
64966 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64968         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64969         Replace "jmp L(pseudo_end)" with "ret".
64970         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64971         Likewise.
64973 2012-05-23  Andreas Jaeger  <aj@suse.de>
64975         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64976         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64978 2012-05-23  Andreas Jaeger  <aj@suse.de>
64979             Maximilian Attems  <max@stro.at>
64981         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64982         New macros.
64984 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64986         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64987         code so that pseudo_end is just ret and the stack pointer is
64988         correct also for static library in error case.
64990 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64992         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64993         move to syscalls.list.
64994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64999         * manual/install.texi (Running make install): Do not mention Linux
65000         kernel version for which pt_chown is not needed.
65001         (Linux): Do not mention problems with nscd with 2.0 kernels.
65002         * INSTALL: Regenerated.
65004 2012-05-23  Andreas Jaeger  <aj@suse.de>
65006         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65007         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65008         macro.
65009         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65010         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65011         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65012         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65013         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65014         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65015         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65016         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65017         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65018         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65019         * sysdeps/unix/sysv/linux/bits/in.h
65020         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65022 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65024         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65025         (PREPARE_VERSION): Just use assert instead, it will be elided
65026         under [NDEBUG] anyway.
65028 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65030         * sysdeps/unix/sysv/linux/Makefile: Include
65031         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65032         (sysdep_routines): Remove sysctl.
65033         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65034         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65035         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65036         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65037         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65039 2012-05-22  Andreas Jaeger  <aj@suse.de>
65041         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65042         that pseudo_end is just ret and the stack pointer is correct also
65043         for static library in error case.
65045 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65047         [BZ #14122]
65048         * nss/nsswitch.c (defconfig_entries): New variable.
65049         (__nss_database_lookup): Don't leak defconfig entries.
65050         (nss_parse_service_list): Don't leak on error paths.
65051         (free_database_entries): New function.
65052         (free_defconfig): New function.
65053         (free_mem): Move common code to free_database_entries.
65055 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65057         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65058         Add arch_prctl.
65059         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65061         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65062         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65063         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65064         New macro.
65065         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65066         (INTERNAL_SYSCALL_TYPES): Likewise.
65067         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65068         (LOAD_REGS_TYPES_[1-6]): Likewise.
65069         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65070         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65072 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65074         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65075         copysignl for GLIBC_2_0.
65076         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65077         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65078         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65079         logbl for GLIBC_2_0.
65080         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65081         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65083 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65085         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65086         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65088         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65089         Use "neg %eax".
65091         * time/mktime.c: Update copyright years.
65093 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65095         mktime: merge comment-quoting-style change from gnulib
65096         * time/mktime.c: Quote 'like this' in comments.
65097         The GNU coding standards suggest that we no longer quote `like this',
65098         as "`" and "'" are typically rendered asymmetrically nowadays.
65099         The typical gnulib style is to quote 'like this' when quoting
65100         code, and "like this" when quoting English.
65102         * time/mktime.c (compile-command): Add "-I.".
65104         mktime: merge mktime-internal.h change from gnulib
65105         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65107         mktime: merge time_r change from gnulib
65108         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65110         mktime: merge DEBUG change from gnulib
65111         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65112         case system <time.h> has a #define.
65114         mktime: merge <sys/types.h> change from gnulib
65115         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65116         since <time.t> is now guaranteed to define time_t.
65118         mktime: merge HAVE_CONFIG_H change from gnulib
65119         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65121 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65123         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65124         Use "neg %eax".
65126         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65127         __rlim_t cast.
65128         (struct rusage): Use anonymous union to pad each field to
65129         __syscall_slong_t.
65131 2012-05-21  David S. Miller  <davem@davemloft.net>
65133         * Makefules (o-iterator): Remove .s cases.
65134         (compile-command.s): Delete.
65135         (COMPILE.s): Delete.
65136         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65138 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65140         * configure.in (libc_cv_predef_stack_protector): Only consider
65141         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65142         * configure: Regenerated.
65144 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65147         New macro.  Use R*LP on int and pointer.
65148         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65149         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65150         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65151         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65153         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65154         [__WORDSIZE_TIME64_COMPAT32] instead of
65155         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65156         (struct utmp): Likewise.
65157         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65158         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65159         Renamed to ...
65160         (__WORDSIZE_TIME64_COMPAT32): This.
65161         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65162         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65163         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65164         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65165         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65166         (__WORDSIZE_TIME64_COMPAT32): New macro.
65168 2012-05-21  Andreas Jaeger  <aj@suse.de>
65170         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65171         only if [SHARED]. Add prototype for __wcschr_ia32.
65173 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65175         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65176         of %rbp unmolested in the jmp_buf while mangling the low bits.
65177         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65178         unmolested high bits of %rbp while demangling the low bits.
65179         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65181 2012-05-21  Andreas Jaeger  <aj@suse.de>
65183         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65184         * sunrpc/svc_simple.c: Use it for registerrpc.
65185         * sunrpc/xcrypt.c: Use it for passwd2des.
65187         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65189 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65191         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65192         Don't define if [__SYSCALL_WORDSIZE != 32].
65193         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65194         New macro.
65196 2012-05-21  Bruno Haible  <bruno@clisp.org>
65197             Andreas Jaeger  <aj@suse.de>
65199         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65200         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65201         inptr and inend for must_buffer_ch.
65202         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65203         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65204         * stdio-common/Makefile (tests): Remove bug15.
65205         (bug15-ENV): Remove macro.
65206         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65207         anymore.
65209 2012-05-19  Andreas Jaeger  <aj@suse.de>
65210             Roland McGrath  <roland@hack.frob.com>
65212         * manual/contrib.texi: Completely rewritten. It contains now an
65213         alphabetical list of contributors and their contributions.
65215 2012-05-21  Richard Henderson  <rth@twiddle.net>
65217         * misc/getauxval.c (__getauxval): Use unsigned long int.
65218         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65219         (getauxval): Use unsigned long int.
65221 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65223         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65225 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65227         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65228         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65229         __alignof__ (long double).
65231 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65235 2012-05-20  Richard Henderson  <rth@twiddle.net>
65237         * misc/getauxval.c: New file.
65238         * misc/sys/auxv.h: New file.
65239         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65240         (routines): Add getauxval.
65241         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65242         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65243         * elf/dl-sysdep.c (_dl_auxv): Remove.
65244         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65245         * elf/dl-support.c (_dl_auxv): New variable.
65246         (_dl_aux_init): Initialize it.
65247         * manual/startup.texi (Auxiliary Vector): New node.
65248         * sysdeps/generic/bits/hwcap.h: New file.
65249         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65250         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65251         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65252         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65253         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65254         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65256         Update.
65257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65260         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65262         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65266 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65270 2012-05-19  David S. Miller  <davem@davemloft.net>
65272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65274 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65276         [BZ #14123]
65277         * math/s_ccosh.c: Include <float.h>
65278         (__ccosh): Avoid internal overflow calculating sinh and cosh
65279         values before multiplying by sin and cos values.
65280         * math/s_ccoshf.c: Likewise.
65281         * math/s_ccoshl.c: Likewise.
65282         * math/s_csin.c: Likewise.
65283         * math/s_csinf.c: Likewise.
65284         * math/s_csinl.c: Likewise.
65285         * math/s_csinh.c: Likewise.
65286         * math/s_csinhf.c: Likewise.
65287         * math/s_csinhl.c: Likewise.
65288         * math/libm-test.inc (ccos_test): Add more tests.
65289         (ccosh_test): Likewise.
65290         (csin_test): Likewise.
65291         (csinh_test): Likewise.
65292         * sysdeps/i386/fpu/libm-test-ulps: Update.
65293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65295 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65297         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65298         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65300         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65302 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65304         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65305         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65306         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65307         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65308         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65309         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65310         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65311         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65312         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65313         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65314         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65315         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65316         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65317         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65318         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65319         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65320         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65321         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65322         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65323         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65324         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65325         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65326         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65327         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65328         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65329         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65330         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65331         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65332         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65333         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65334         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65336 2012-05-18  Andreas Jaeger  <aj@suse.de>
65338         * csu/.gitignore: Delete.
65340 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65342         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65343         (timex): Use __syscall_slong_t.
65345 2012-05-18  Andreas Jaeger  <aj@suse.de>
65346             Carlos O'Donell  <carlos_odonell@mentor.com>
65348         * manual/install.texi (Configuring and compiling): Update
65349         description about files modified in the source directory.
65350         * INSTALL: Regenerated.
65352 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65354         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65355         value.  Use "or" to set return value to -1.
65356         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65357         negate return value.
65359 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65361         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65362         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65363         failure if the compiler has Graphite support disabled.
65364         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65365         Likewise.
65366         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65367         (CFLAGS-memmove.c): Likewise.
65368         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65369         Likewise.
65371 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65373         * sysdeps/x86_64/x32/_itoa.h: New file.
65375         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65376         getdents system call only if kernel and user dirents have the
65377         same d_ino and d_off.
65379         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65380         LLONG_MAX != LONG_MAX.
65381         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65382         (_fitoa_word): Likewise.
65384         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65385         years.
65386         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65387         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65388         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65390         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65391         include <bits/wordsize.h>.  Check __x86_64__ instead of
65392         __WORDSIZE.
65393         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65394         if __x86_64__ is defined.  Use anonymous union on fpstate.
65396         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65397         anonymous union.
65399 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65401         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65402         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65403         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65404         Refer to _rtld_local_ro instead of _rtld_global_ro.
65405         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65406         Likewise.
65407         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65408         Likewise.
65409         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65410         Likewise.
65411         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65412         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65413         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65415         [BZ #10882]
65416         * sysdeps/powerpc/powerpc32/dl-machine.c
65417         (__elf_machine_runtime_setup) [PROF]: Don't reference
65418         _dl_prof_resolve.
65420 2012-05-18  Andreas Jaeger  <aj@suse.de>
65422         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65423         function only available for GCCs before 3.4 since GCC 3.4
65424         introduced a builtin.
65425         (lrint): Likewise.
65426         (llrintf): Likewise.
65427         (llrint): Likewise.
65428         (fmaxf): Likewise.
65429         (fmax): Likewise.
65430         (fminf): Likewise.
65431         (fmin): Likewise.
65432         (rint): Likewise.
65433         (rintf): Likewise.
65434         (nearbyint): Likewise.
65435         (nearbyintf): Likewise.
65436         (ceil): Likewise.
65437         (ceilf): Likewise.
65438         (floor): Likewise.
65439         (floorf): Likewise.
65441 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65443         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65444         on both fields and cast pointer to __syscall_ulong_t.
65446         * bits/types.h (__fsword_t): New type.
65447         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65448         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65449         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65450         (__FSWORD_T_TYPE): Likewise.
65451         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65452         (__FSWORD_T_TYPE): Likewise.
65453         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65454         (__FSWORD_T_TYPE): Likewise.
65455         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65456         (__FSWORD_T_TYPE): Likewise.
65457         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65458         __SWORD_TYPE with __fsword_t.
65459         (statfs64): Likewise.
65461 2012-05-17  David S. Miller  <davem@davemloft.net>
65463         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65465 2012-05-17  Andreas Jaeger  <aj@suse.de>
65467         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65468         warning.
65470 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65472         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65474 2012-05-17  Andreas Jaeger  <aj@suse.de>
65476         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65477         when it is used.
65479 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65481         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65483 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65485         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65486         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65488 2012-05-17  Andreas Jaeger  <aj@suse.de>
65489             Carlos O'Donell  <carlos_odonell@mentor.com>
65491         [BZ #14059]
65492         * sysdeps/x86_64/multiarch/init-arch.h
65493         (bit_YMM_Usable): Rename to...
65494         (bit_AVX_Usable): ... this.
65495         (bit_FMA4_Usable): New macro.
65496         (bit_XMM_state): New macro.
65497         (bit_YMM_state): New macro.
65498         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65499         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65500         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65501         (CPUID_OSXSAVE): New macro.
65502         (CPUID_AVX): New macro.
65503         (CPUID_FMA4): New macro.
65504         (index_YMM_Usable): Rename to...
65505         (index_AVX_Usable): ... this.
65506         (HAS_AVX): Use HAS_ARCH_FEATURE.
65507         (HAS_FMA4): Likewise.
65508         (HAS_YMM_USABLE): Remove.
65509         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65510         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65511         are present.
65512         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65513         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65514         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65515         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65516         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65518 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65520         * math/libm-test.c: Support platforms without multiple rounding modes.
65521         * math/bug-nextafter.c: Support platforms without FP exceptions.
65522         * math/bug-nexttoward.c: Likewise.
65523         * math/test-fenv.c: Likewise.
65524         * math/test-misc.c: Likewise.
65525         * stdlib/bug-getcontext.c: Likewise.
65527 2012-05-17  Andreas Jaeger  <aj@suse.de>
65529         * manual/examples/search.c (critter_cmp): Change signature to
65530         avoid warnings.
65531         * manual/string.texi (Collation Functions): Likewise.
65533 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65535         * bits/types.h: Fold copyright years.
65536         * bits/typesizes.h: Likewise.
65537         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65538         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65539         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65540         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65541         * time/time.h: Likewise.
65543 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65545         [BZ #208]
65546         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65547         in instead of returning them.  Return void.
65548         (__libc_mallinfo): Accumulate over all arenas.
65549         (__malloc_stats): Adjust for change in int_mallinfo interface.
65551 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65553         [BZ #10375]
65554         * configure.in (NM): Add AC_CHECK_TOOL for it.
65555         (libc_extra_cflags): New substituted variable.
65556         Check for -fstack-protector being used implicitly.
65557         * configure: Regenerated.
65558         * config.make.in (config-extra-cflags): New variable,
65559         gets @libc_extra_cflags@.
65560         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65562         [BZ #10375]
65563         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65564         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65565         * configure: Regenerated.
65566         * config.make.in (CPPUNDEFS): New substituted variable.
65567         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65568         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65569         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65571 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65573         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65574         (mq_attr): Use __syscall_slong_t.
65576 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65578         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65579         Check __x86_64__ instead of __WORDSIZE.
65580         (_STAT_VER_LINUX): Likewise.
65581         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65582         __syscall_ulong_t and __syscall_slong_t.
65583         (stat64): Likewise.
65585 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65587         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65589 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65591         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65593 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65595         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65596         __syscall_ulong_t.
65598         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65599         include <bits/wordsize.h>.  Check __x86_64__ instead of
65600         __WORDSIZE.
65601         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65602         defined.
65603         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65605         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65606         include <bits/wordsize.h>.  Check __x86_64__ instead of
65607         __WORDSIZE.
65608         (user_regs_struct): Use "__extension__ unsigned long long"
65609         instead of "unsigned long" if __x86_64__ is defined.
65610         (user): Likewise.  Pad after pointer field if __ILP32__ is
65611         defined.
65613 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65615         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65616         versions 5 to 9.
65617         * configure: Regenerated.
65618         * manual/install.texi (texinfo): Increase version requirement to
65619         4.5 or later.
65620         * INSTALL: Regenerated.
65622         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65624 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65626         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65628         * sysdeps/x86_64/x32/ffs.c: New file.
65630         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65631         __syscall_ulong_t.
65632         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65633         defined.  Use __syscall_ulong_t.
65634         (shminfo): Use __syscall_ulong_t.
65635         (shm_info): Likewise.
65637         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65638         __syscall_ulong_t.
65640         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65641         <bits/wordsize.h>.
65642         (msgqnum_t): Use __syscall_ulong_t.
65643         (msglen_t): Likewise.
65644         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65645         __syscall_ulong_t.
65647         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65648         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65650         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65652         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65653         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65655         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65656         __syscall_slong_t.
65658         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65659         include <bits/wordsize.h>.  Check __x86_64__ instead of
65660         __WORDSIZE.
65662         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65663         "unsigned long long int" if __x86_64__ is defined.
65664         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65666         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65667         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65668         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65670         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65671         <stdint.h>.
65672         (GET_PC): Cast to uintptr_t first.
65673         (GET_FRAME): Likewise.
65674         (GET_STACK): Likewise.
65676         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65677         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65678         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65679         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65680         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65681         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65682         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65683         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65684         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65685         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65686         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65687         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65688         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65689         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65690         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65691         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65692         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65693         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65694         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65695         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65696         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65697         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65698         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65699         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65700         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65701         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65702         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65703         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65704         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65706 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65708         * Makerules (+depfiles): Also collect depfiles from .oS in
65709         $(extra-objs).
65710         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65711         .oS, $(libnldbl-routines)).
65713         * Makerules (native-compile-mkdep-flags): Define.
65714         * sunrpc/Makefile (extra-objs): Add $(addprefix
65715         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65716         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65717         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65718         calling $(make-target-directory).
65720 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65722         * bits/types.h (__snseconds_t): Removed.
65723         * time/time.h (struct timespec): Replace __snseconds_t with
65724         __syscall_slong_t.
65725         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65726         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65727         Likewise.
65728         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65729         (__SNSECONDS_T_TYPE): Likewise.
65730         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65731         (__SNSECONDS_T_TYPE): Likewise.
65732         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65733         (__SNSECONDS_T_TYPE): Likewise.
65735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65737         * sysdeps/mach/hurd/bits/typesizes.h
65738         (__SYSCALL_SLONG_TYPE): New macro.
65739         (__SYSCALL_ULONG_TYPE): Likewise.
65741 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65743         * bits/types.h (__syscall_slong_t): New type.
65744         (__syscall_ulong_t): Likewise.
65746         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65747         (__SYSCALL_ULONG_TYPE): Likewise.
65748         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65749         (__SYSCALL_SLONG_TYPE): Likewise.
65750         (__SYSCALL_ULONG_TYPE): Likewise.
65751         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65752         (__SYSCALL_SLONG_TYPE): Likewise.
65753         (__SYSCALL_ULONG_TYPE): Likewise.
65754         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65755         (__SYSCALL_SLONG_TYPE): Likewise.
65756         (__SYSCALL_ULONG_TYPE): Likewise.
65758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65760         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65761         Add sigaltstack-offsets.sym.
65762         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65763         <sigaltstack-offsets.h>.
65764         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65765         longjmp_msg pointer.
65766         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65767         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65768         signal stack.
65769         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65771 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65773         * elf/stackguard-macros.h: Remove file.
65774         * sysdeps/generic/stackguard-macros.h: New file.
65775         * sysdeps/i386/stackguard-macros.h: Likewise.
65776         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65777         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65778         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65779         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65780         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65781         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65782         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65783         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65784         <elf/stackguard-macros.h>.
65786         [BZ #14109]
65787         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65788         __aligned__ in attribute.
65789         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65790         (gregset_t): Likewise.
65792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65794         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65795         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65796         * sysdeps/x86_64/x32/Implies-after: New file.
65798 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65800         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65801         and access return value for _dl_profile_fixup.  Use R10_LP to
65802         load frame size.
65804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65806         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65808 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65810         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65811         * sysdeps/x86_64/x32/sysdep.h: New file.
65813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65815         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65816         * sysdeps/x86_64/setjmp.S: Likewise.
65818 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65820         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65821         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65822         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65823         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65824         remove unused global constant.
65826 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65828         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65829         include of <not-cancel.h>.
65831 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65833         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65835 2012-05-15  Jeff Law  <law@redhat.com>
65836             Andreas Jaeger  <aj@suse.de>
65838         [BZ #13594]
65839         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65840         out from...
65841         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65842         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65843         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65844         code changing __hst_map_handle.map.
65846 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65848         * configure.in (sysnames): Look for Implies-before and Implies-after
65849         files.
65850         * configure: Regenerated.
65852 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65854         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65855         8-byte data alignment with LP_SIZE alignment.
65857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65859         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65860         into R10_LP.
65862 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65864         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65868         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65869         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65870         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65871         Likewise.
65872         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65876         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65877         (stackinfo_sub_sp): Likewise.
65879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65881         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65882         RAX_LP.
65884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65886         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65887         into R*_LP.
65889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65891         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65892         sizes into R*_LP.
65894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65896         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65900         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65901         into R11_LP and load __x86_64_shared_cache_size_half into
65902         R8_LP.
65904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65906         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65907         R8_LP.
65909 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65911         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65912         logb for POWER7.
65913         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65914         logbf for POWER7.
65915         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65916         logbl for POWER7.
65917         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65918         powerpc32/power7/fpu/s_logb.c via #include.
65919         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65920         powerpc32/power7/fpu/s_logbf.c via #include.
65921         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65922         powerpc32/power7/fpu/s_logbl.c via #include.
65924 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65926         * README.libm: Remove file.
65928 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65930         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65931         count for x32.  Use R*_LP and omit operand-size suffix.
65933 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65935         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65936         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65937         * sysdeps/x86_64/x32/shlib-versions: New file.
65939 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65941         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65942         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65943         Use _dl_fatal_printf instead.
65945 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65947         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65948         set if not set by the user.  Do not allow for being unset.
65949         * sysdeps/unix/sysv/linux/configure: Regenerated.
65951 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65953         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65954         the `q' suffix from lea and replace .quad with ASM_ADDR.
65956 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65958         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65959         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65960         instead of $17.
65961         (PTR_DEMANGLE): Likewise.
65963 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65965         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65966         (LP_OP): Likewise.
65967         (ASM_ADDR): Likewise.
65968         (RAX_LP): Likewise.
65969         (RBP_LP): Likewise.
65970         (RBX_LP): Likewise.
65971         (RCX_LP): Likewise.
65972         (RDI_LP): Likewise.
65973         (RSI_LP): Likewise.
65974         (RSP_LP): Likewise.
65975         (R8_LP): Likewise.
65976         (R9_LP): Likewise.
65977         (R10_LP): Likewise.
65978         (R10_LP): Likewise.
65979         (R11_LP): Likewise.
65980         (R12_LP): Likewise.
65981         (R13_LP): Likewise.
65982         (R14_LP): Likewise.
65983         (R15_LP): Likewise.
65985 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65987         * sysdeps/x86_64/x32/dl-machine.h: New file.
65989 2012-05-14  Andreas Jaeger  <aj@suse.de>
65991         * manual/Makefile (subdir): Remove export of subdir.
65992         (all): Remove target.
65993         (.PHONY): Remove all from list.
65994         (mkinstalldirs): Remove.
65995         (.PHONY): Remove installdirs from list.
65996         ($(inst_infodir)/libc.info): Use make-target-directory.
65997         (installdirs): Remove.
65998         (subdir_%): Remove.
65999         (glibc-targets): Remove.
66000         (lib): Remove.
66001         (stubs): Remove.
66002         ($(objpfx)stubs ../po/manual.pot): Remove.
66003         ($(objpfx)stamp%): Remove.
66004         (make-target-directory): Remove.
66005         (subdir_install): Remove.
66006         (routines): Remove.
66007         (aux): Remove.
66008         (sources): Remove.
66009         (objects): Remove.
66010         (headers): Remove.
66012         [BZ #13750]
66013         * manual/.gitignore: Remove, it's not needed anymore.
66014         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66015         all files in it.
66016         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66017         directory.
66018         (texis): Renamed to $(objpfx)texis.
66019         (texis-path): New, contains path to generated files.
66020         (chapters.%): Use texis-path for complete path, add extra argument
66021         libc-texinfo.sh.
66022         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66023         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66024         (summary,texi, stamp-summary): Use complete path of
66025         files. Generate files in build dir.
66026         (dir-add.texi): Build in build dir.
66027         (libm-err.texi,stamp-libm-err): Likewise.
66028         (version.texi, stamp-version): Likewise.
66029         (.%c.texi): Likewise.
66030         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66031         (mostlyclean): Remove target.
66032         (realclean): Remove target.
66033         (generated): Add new variable with contents from mostlyclean and
66034         realclean, remove entries duplicated in common-mostlyclean, add
66035         stamp-libm-err and stamp-version.
66036         (generated-dirs): Add libc directory.
66037         ($(inst_infodir)/libc.info): Install files from build dir.
66039         * manual/install.texi (Configuring and compiling): Adjust since
66040         the info files are not part of the tar ball anymore.
66042 2012-05-14  Andreas Jaeger  <aj@suse.de>
66044         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66045         variable.
66047 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66049         [BZ #13717]
66050         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66051         to 2.2.0 where earlier.
66052         * sysdeps/unix/sysv/linux/configure: Regenerated.
66053         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66054         Remove conditional code.
66055         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66056         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66057         Remove conditional code.
66058         [!__NR_lchown]: Likewise.
66059         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66060         [__NR_lchown]: Likewise.
66061         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66062         comment referencing __ASSUME_LCHOWN_SYSCALL.
66063         * sysdeps/unix/sysv/linux/i386/sigaction.c
66064         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66065         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66066         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66067         Remove conditional code.
66068         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66069         (__protocol_available): Remove #if 0 code.
66070         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66071         conditional code.
66072         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66073         * sysdeps/unix/sysv/linux/kernel-features.h
66074         (__ASSUME_GETCWD_SYSCALL): Don't define.
66075         (__ASSUME_REALTIME_SIGNALS): Likewise.
66076         (__ASSUME_PREAD_SYSCALL): Likewise.
66077         (__ASSUME_PWRITE_SYSCALL): Likewise.
66078         (__ASSUME_POLL_SYSCALL): Likewise.
66079         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66080         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66081         non-SPARC.
66082         (__ASSUME_SIOCGIFNAME): Don't define.
66083         (__ASSUME_MSG_NOSIGNAL): Likewise.
66084         (__ASSUME_SENDFILE): Define unconditionally.
66085         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66086         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66087         conditional code.
66088         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66089         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66090         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66091         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66092         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66093         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66094         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66096         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66097         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66099         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66100         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66102         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66103         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66105         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66106         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66108         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66109         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66111         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66112         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66114         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66115         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66117         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66118         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66119         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66120         Remove conditional code.
66121         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66122         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66123         Remove conditional code.
66124         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66125         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66126         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66127         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66128         Remove conditional code.
66129         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66130         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66131         Remove conditional code.
66132         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66133         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66134         Remove conditional code.
66135         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66136         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66137         Remove conditional code.
66138         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66139         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66140         Remove conditional code.
66141         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66142         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66143         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66144         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66145         * sysdeps/unix/sysv/linux/sigaction.c
66146         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66147         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66148         * sysdeps/unix/sysv/linux/sigpending.c
66149         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66150         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66151         * sysdeps/unix/sysv/linux/sigprocmask.c
66152         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66153         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66154         * sysdeps/unix/sysv/linux/sigsuspend.c
66155         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66156         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66157         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66158         (__libc_missing_rt_sigs): Remove.
66159         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66160         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66161         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66162         Remove conditional code.
66163         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66164         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66165         return 1.
66166         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66167         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66168         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66169         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66171 2012-05-14  Andreas Jaeger  <aj@suse.de>
66173         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66174         it's not used in glibc.
66175         (__coshm1): Likewise.
66176         (__acosh1p): Likewise.
66177         (__sgn): Likewise.
66179         * manual/string.texi (Copying and Concatenation): Add missing
66180         variable in concat example.
66181         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66183 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66185         [BZ #14103]
66186         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66187         __builtin_clzl with __builtin_clzll.
66189 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66191         [BZ #14104]
66192         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66193         libc_freeres_ptr.
66195 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66197         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66198         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66199         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66200         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66202 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66204         * NEWS: Update ia64 info.
66206 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66208         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66209         used as bcopy.
66211 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66213         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66214         * sysdeps/unix/syscalls.list (dup3): Likewise.
66215         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66216         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66218 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66220         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66221         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66223 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66225         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66226         thread pointer.
66227         (TLS_IE): Use mov/add instead of movq/addq to load thread
66228         pointer.
66229         (TLS_GD_PREFIX): New.
66230         (TLS_GD): Use it.
66232 2012-05-11  David S. Miller  <davem@davemloft.net>
66234         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66235         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66236         (_FPU_SETCW): Likewise.
66238 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66240         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66241         is 32-byte aligned.
66243 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66245         [BZ #11837]
66246         * iconvdata/gb18030.c: Update tables.
66247         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66248         characters specially.
66249         (BODY for TO_LOOP): Add encoding of missing ranges.
66251 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66253         [BZ #13673]
66254         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66255         * sysdeps/mach/hurd/dup3.c: Likewise.
66256         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66257         * sysdeps/powerpc/memmove.c:: Likewise.
66259 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66261         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66262         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66264 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66266         * elf/elf.h (R_X86_64_RELATIVE64): New.
66267         (R_X86_64_NUM): Updated.
66268         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66269         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66270         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66271         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66272         tst-quad1pie tst-quad2pie
66273         (modules-names): Add tst-quadmod1 tst-quadmod2.
66274         ($(objpfx)tst-quad1): New dependency.
66275         ($(objpfx)tst-quad2): Likewise.
66276         ($(objpfx)tst-quad1pie): Likewise.
66277         ($(objpfx)tst-quad2pie): Likewise.
66278         * sysdeps/x86_64/tst-quad1.c: New file.
66279         * sysdeps/x86_64/tst-quad1pie.c: New file.
66280         * sysdeps/x86_64/tst-quad2.c: Likewise.
66281         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66282         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66283         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66284         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66285         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66287 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66289         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66290         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66291         * streams/stropts.h (t_scalar_t): Define type.
66293         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66294         (_PATH_PRESERVE): Set to "/var/lib".
66295         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66297         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66298         instead of int.
66300         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66301         if __dir_mkfile succeeded.
66303         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66304         checking for _hurd_dtablesize.  Unlock it right after having
66305         finished _hurd_dtable allocation.
66307 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66309         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66310         * sysdeps/mach/hurd/configure: Regenerated.
66311         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66312         special-casing to...
66313         * sysdeps/gnu/configure.in: ... this new file.
66314         * sysdeps/unix/sysv/linux/configure: Regenerated.
66315         * sysdeps/gnu/configure: New generated file.
66317         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66318         for Linux: use nsec instead of usec, as well as:
66319         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66320         members of type struct timespec.
66321         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66322         New macros.
66323         (struct stat64): Likewise.
66324         (_STATBUF_ST_NSEC): New macro.
66325         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66327         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66328         __strtoul_internal rather than strtoul.
66330 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66332         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66333         and reject them.
66335 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66337         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66338         which preserves existing values.
66339         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66341 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66343         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66344         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66345         greater than FD_SETSIZE.
66347 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66349         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66350         allocated, call __vm_protect to finish enabling the existing space, and
66351         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66352         allocate the remainder.
66354 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66356         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66357         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66361         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66362         sysdeps/mach/hurd/readlink.c.
66364         * posix/tst-sysconf.c (posix_options): Only use
66365         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66366         _POSIX_SYNCHRONIZED_IO when they are defined
66367         * sysdeps/mach/hurd/bits/posix_opt.h:
66368         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66369         (_XOPEN_REALTIME): Undefine macro.
66370         (_XOPEN_REALTIME_THREADS): Undefine macro.
66371         (_XOPEN_SHM): Undefine macro.
66372         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66373         macro to -1.
66374         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66375         macro to -1.
66376         (_POSIX_ASYNC_IO): Undefine macro.
66377         (_POSIX_PRIORITIZED_IO): Undefine macro.
66378         (_POSIX_SPIN_LOCKS): Define macro to -1.
66380         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66381         SA_NODEFER, SA_RESETHAND.
66382         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66383         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66384         F_DUPFD_CLOEXEC.
66386 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66388         * elf/Makefile (pldd-modules): Define unconditionally.
66390 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66392         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66394 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66396         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66397         Return ENOENT when name is empty.
66398         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66400 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66402         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66404         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66406 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66408         Fix mlock in all cases except non-readable pages.
66409         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66410         instead of VM_PROT_ALL as parameter to __vm_wire function.
66412         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66413         (__mkdir): When path is `/', just fail with EEXIST.
66414         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66416 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66418         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66419         <sys/uio.h> (for writev).
66420         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66421         and <sys/param.h> (for MIN).
66423 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66425         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66426         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66427         if interrupted.
66429 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66431         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66432         Depend on against $(link-rpcuserlibs).
66434 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66436         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66437         (__libc_stack_end): Do not use attribute_relro.
66438         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66439         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66440         to libthread-provided value.
66441         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66442         attribute_relro.
66444 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66446         [BZ #3748]
66447         * bits/libc-lock.h (__libc_once_get): New macro.
66448         * sysdeps/mach/bits/libc-lock.h: Likewise.
66449         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66450         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66451         instead of using implementation details.
66453         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66454         * libio/freopen.c: Likewise.
66455         * libio/freopen64.c: Likewise.
66456         * misc/syslog.c: Likewise.
66457         * nscd/connections.c: Likewise.
66458         * nscd/netgroupcache.c: Likewise.
66459         * sysdeps/posix/getcwd.c: Likewise.
66461 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66463         * math/w_ilogbf.c: Add #include <limits.h>.
66465 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66467         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66468         path instead of returning without unlocking.
66470         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66471         immediate-write ioctls.
66472         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66474 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66476         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66477         __builtin_frame_address instead of making assumptions about the
66478         location of the return address relative to DATA.  Force early load of
66479         the return address.
66480         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66481         __builtin_frame_address.
66483         dup3 for GNU Hurd.
66484         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66485         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66486         implement dup3 and do some further code clean-ups.
66487         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66488         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66490 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66492         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66494         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66495         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66496         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66497         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66498         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66499         d->port.lock.
66501         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66502         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66503         when handler == SIG_ERR, not when handler != SIG_ERR.
66505 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66507         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66508         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66509         definitions.
66511         accept4 for GNU Hurd.
66512         * include/sys/socket.h (__libc_accept4): New prototype.
66513         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66514         to implement __libc_accept4.
66515         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66516         __libc_accept4.
66517         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66519         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66520         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66521         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66522         signal-defines.sym.
66524 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66526         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66528 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66530         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66531         assertion on O_CLOEXEC flag.
66532         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66533         * hurd/intern-fd.c: Likewise.
66534         * hurd/port2fd.c: Likewise.
66536 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66538         [BZ #3906]
66539         * bits/in.h (IPV6_PKTINFO): Define new macro.
66540         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66542 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66544         [BZ #13954]
66545         [BZ #13955]
66546         [BZ #13956]
66547         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66548         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66549         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66550         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66551         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66552         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66553         * math/libm-test.inc (logb_test) : Additional logb tests.
66555 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66556             Andreas Jaeger  <aj@suse.de>
66558         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66559         * configure: Regenerated.
66560         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66561         * config.make.in (link-obsolete-rpc): New substituted variable.
66562         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66563         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66564         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66565         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66566         so that libc.a contains the symbols.
66567         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66568         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66569         * sunrpc/auth_none.c: Likewise.
66570         * sunrpc/auth_unix.c: Likewise.
66571         * sunrpc/authdes_prot.c: Likewise.
66572         * sunrpc/authuxprot.c: Likewise.
66573         * sunrpc/clnt_gen.c: Likewise.
66574         * sunrpc/clnt_perr.c: Likewise.
66575         * sunrpc/clnt_raw.c: Likewise.
66576         * sunrpc/clnt_simp.c: Likewise.
66577         * sunrpc/clnt_tcp.c: Likewise.
66578         * sunrpc/clnt_udp.c: Likewise.
66579         * sunrpc/clnt_unix.c: Likewise.
66580         * sunrpc/des_crypt.c: Likewise.
66581         * sunrpc/des_soft.c: Likewise.
66582         * sunrpc/get_myaddr.c: Likewise.
66583         * sunrpc/key_call.c: Likewise.
66584         * sunrpc/key_prot.c: Likewise.
66585         * sunrpc/netname.c: Likewise.
66586         * sunrpc/pm_getmaps.c: Likewise.
66587         * sunrpc/pm_getport.c: Likewise.
66588         * sunrpc/pmap_clnt.c: Likewise.
66589         * sunrpc/pmap_prot.c: Likewise.
66590         * sunrpc/pmap_prot2.c: Likewise.
66591         * sunrpc/pmap_rmt.c: Likewise.
66592         * sunrpc/publickey.c: Likewise.
66593         * sunrpc/rpc_cmsg.c: Likewise.
66594         * sunrpc/rpc_common.c: Likewise.
66595         * sunrpc/rpc_dtable.c: Likewise.
66596         * sunrpc/rpc_prot.c: Likewise.
66597         * sunrpc/rpc_thread.c: Likewise.
66598         * sunrpc/rtime.c: Likewise.
66599         * sunrpc/svc.c: Likewise.
66600         * sunrpc/svc_auth.c: Likewise.
66601         * sunrpc/svc_raw.c: Likewise.
66602         * sunrpc/svc_run.c: Likewise.
66603         * sunrpc/svc_tcp.c: Likewise.
66604         * sunrpc/svc_udp.c: Likewise.
66605         * sunrpc/svc_unix.c: Likewise.
66606         * sunrpc/svcauth_des.c: Likewise.
66607         * sunrpc/xcrypt.c: Likewise.
66608         * sunrpc/xdr.c: Likewise.
66609         * sunrpc/xdr_array.c: Likewise.
66610         * sunrpc/xdr_float.c: Likewise.
66611         * sunrpc/xdr_intXX_t.c: Likewise.
66612         * sunrpc/xdr_mem.c: Likewise.
66613         * sunrpc/xdr_rec.c: Likewise.
66614         * sunrpc/xdr_ref.c: Likewise.
66615         * sunrpc/xdr_sizeof.c: Likewise.
66616         * sunrpc/xdr_stdio.c: Likewise.
66618 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66620         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66621         change.  Update copyright years.
66623 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66625         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66627 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66628             Joseph Myers  <joseph@codesourcery.com>
66629             Paul Pluzhnikov  <ppluzhnikov@google.com>
66631         [BZ #14012]
66632         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66633         requiring rpcgen.
66634         [cross-compiling] (extra-libs): Likewise.
66635         [cross-compiling] (extra-libs-others): Likewise.
66636         [cross-compiling] (librpcsvc-routines): Likewise.
66637         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66638         [cross-compiling] (omit-deps): Likewise.
66639         (sunrpc-CPPFLAGS): New variable.
66640         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66641         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66642         (cross-rpcgen-objs): New variable.
66643         (extra-objs): Append $(cross-rpcgen-objs).
66644         ($(cross-rpcgen-objs)): New rule.
66645         ($(objpfx)cross-rpcgen): Likewise.
66646         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66647         comment.
66648         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66649         ($(objpfx)x%.stmp): Likewise.
66650         * sunrpc/proto.h [IS_IN_build] (_): Define.
66651         [IS_IN_build] (_libc_intl_domainname): Likewise.
66653 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66655         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66656         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66657         and R_X86_64_TPOFF64.
66659 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66661         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66662         sysdeps/unix/sysv/syscalls.list.
66663         (stime): Likewise.
66664         (utime): Likewise.
66665         * sysdeps/unix/sysv/syscalls.list: Remove file.
66667 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66669         [BZ #3440]
66670         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66671         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66672         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66673         (__LC_IDENTIFICATION): Make these macros useful in #if
66674         expressions, as required by C99.
66676 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66678         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66679         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66680         after this.
66682 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66684         * stdlib/longlong.h: Updated from GCC.
66686 2012-05-09  Andreas Jaeger  <aj@suse.de>
66688         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66689         default is first entry.
66690         (run_mode): Set type.
66691         (main): Remove informal message about syslog.
66692         (options): Fix typo.
66694         [BZ #14053]
66695         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66696         to asm.
66697         (lrint): Likewise.
66698         (llrintf): Likewise.
66699         (llrint): Likewise.
66700         (rint): Likewise.
66701         (rintf): Likewise.
66702         (nearbyint): Likewise.
66703         (nearbyintf): Likewise.
66705 2012-05-09  Andreas Jaeger  <aj@suse.de>
66706             Pedro Alves  <palves@redhat.com>
66708         * nscd/nscd.c (run_mode): Use enum.
66709         (main): Cleanup coding style issue.
66711 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66712             Andreas Jaeger  <aj@suse.de>
66714         * nscd/nscd.c (go_background): Replaced with...
66715         (run_mode): ... this.
66716         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66717         (options): Add -F --foreground.
66718         (main): Implement it.
66719         (parse_opt): Parse it.
66721 2012-05-09  Andreas Jaeger  <aj@suse.de>
66723         [BZ #14083]
66724         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66725         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66726         -Wconversion warning.
66727         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66728         Likewise.
66730 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66732         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66733         == 0.
66734         (LC_ALL): Use macro-int-constant.
66735         (LC_COLLATE): Likewise.
66736         (LC_CTYPE): Likewise.
66737         (LC_MESSAGES): Likewise.
66738         (LC_MONETARY): Likewise.
66739         (LC_NUMERIC): Likewise.
66740         (LC_TIME): Likewise.
66741         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66742         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66743         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66744         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66745         Specify type.
66746         [C99-based standards] (float_t): Expect type.
66747         [C99-based standards] (double_t): Expect type.
66748         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66749         type.
66750         [C99-based standards] (HUGE_VALL): Likewise.
66751         [C99-based standards] (INFINITY): Likewise.
66752         [C99-based standards] (NAN): Likewise.
66753         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66754         [C99-based standards] (FP_NAN): Likewise.
66755         [C99-based standards] (FP_NORMAL): Likewise.
66756         [C99-based standards] (FP_SUBNORMAL): Likewise.
66757         [C99-based standards] (FP_ZERO): Likewise.
66758         [C99-based standards] (FP_FAST_FMA): Use
66759         optional-macro-int-constant.  Specify type.  Require == 1.
66760         [C99-based standards] (FP_FAST_FMAF): Likewise.
66761         [C99-based standards] (FP_FAST_FMAL): Likewise.
66762         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66763         [C99-based standards] (FP_ILOGBNAN): Likewise.
66764         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66765         Specify type.
66766         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66767         [C99-based standards] (math_errhandling): Specify type.
66768         [ISO99 || ISO11] (signgam): Do not allow.
66769         [non-C99-based standards] (copysignf): Do not allow.
66770         [non-C99-based standards] (exp2f): Likewise.
66771         [non-C99-based standards] (log2f): Likewise.
66772         [non-C99-based standards] (modff): Allow.
66773         [non-C99-based standards] (erff): Do not allow.
66774         [non-C99-based standards] (erfcf): Likewise.
66775         [non-C99-based standards] (gammaf): Likewise.
66776         [non-C99-based standards] (hypotf): Likewise.
66777         [non-C99-based standards] (j0f): Likewise.
66778         [non-C99-based standards] (j1f): Likewise.
66779         [non-C99-based standards] (jnf): Likewise.
66780         [non-C99-based standards] (lgammaf): Likewise.
66781         [non-C99-based standards] (tgammaf): Likewise.
66782         [non-C99-based standards] (y0f): Likewise.
66783         [non-C99-based standards] (y1f): Likewise.
66784         [non-C99-based standards] (ynf): Likewise.
66785         [non-C99-based standards] (isnanf): Likewise.
66786         [non-C99-based standards] (acoshf): Likewise.
66787         [non-C99-based standards] (asinhf): Likewise.
66788         [non-C99-based standards] (atanhf): Likewise.
66789         [non-C99-based standards] (cbrtf): Likewise.
66790         [non-C99-based standards] (expm1f): Likewise.
66791         [non-C99-based standards] (ilogbf): Likewise.
66792         [non-C99-based standards] (log1pf): Likewise.
66793         [non-C99-based standards] (logbf): Likewise.
66794         [non-C99-based standards] (nextafterf): Likewise.
66795         [non-C99-based standards] (remainderf): Likewise.
66796         [non-C99-based standards] (rintf): Likewise.
66797         [non-C99-based standards] (scalbf): Likewise.
66798         [non-C99-based standards] (copysignl): Likewise.
66799         [non-C99-based standards] (exp2l): Likewise.
66800         [non-C99-based standards] (log2l): Likewise.
66801         [non-C99-based standards] (modfl): Allow.
66802         [non-C99-based standards] (erfl): Do not allow.
66803         [non-C99-based standards] (erfcl): Likewise.
66804         [non-C99-based standards] (gammal): Likewise.
66805         [non-C99-based standards] (hypotl): Likewise.
66806         [non-C99-based standards] (j0l): Likewise.
66807         [non-C99-based standards] (j1l): Likewise.
66808         [non-C99-based standards] (jnl): Likewise.
66809         [non-C99-based standards] (lgammal): Likewise.
66810         [non-C99-based standards] (tgammal): Likewise.
66811         [non-C99-based standards] (y0l): Likewise.
66812         [non-C99-based standards] (y1l): Likewise.
66813         [non-C99-based standards] (ynl): Likewise.
66814         [non-C99-based standards] (isnanl): Likewise.
66815         [non-C99-based standards] (acoshl): Likewise.
66816         [non-C99-based standards] (asinhl): Likewise.
66817         [non-C99-based standards] (atanhl): Likewise.
66818         [non-C99-based standards] (cbrtl): Likewise.
66819         [non-C99-based standards] (expm1l): Likewise.
66820         [non-C99-based standards] (ilogbl): Likewise.
66821         [non-C99-based standards] (log1pl): Likewise.
66822         [non-C99-based standards] (logbl): Likewise.
66823         [non-C99-based standards] (nextafterl): Likewise.
66824         [non-C99-based standards] (remainderl): Likewise.
66825         [non-C99-based standards] (rintl): Likewise.
66826         [non-C99-based standards] (scalbl): Likewise.
66827         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66828         [non-C99-based standards] (FP_*): Do not allow.
66829         [C99-based standards] (FP_*): Change to
66830         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66831         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66832         allow.
66833         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66834         (SIG_ERR): Likewise.
66835         [X/Open-based standards] (SIG_HOLD): Likewise.
66836         (SIG_IGN): Likewise.
66837         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66838         positive value.
66839         (SIGFPE): Likewise.
66840         (SIGILL): Likewise.
66841         (SIGINT): Likewise.
66842         (SIGSEGV): Likewise.
66843         (SIGTER): Likewise.
66844         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66845         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66846         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66847         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66848         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66849         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66850         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66851         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66852         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66853         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66854         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66855         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66856         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66857         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66858         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66859         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66860         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66861         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66862         [X/Open-based standards] (SIGTRAP): Likewise.
66863         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66864         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66865         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66866         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66867         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66868         allow.
66870 2012-05-08  Ian Wienand  <ianw@vmware.com>
66872         [BZ #14080]
66873         * time/tzset.c (__tzset_parse_tz): Update default rules for
66874         daylight time changes in the Energy Policy Act of 2005.
66876 2012-05-09  Andreas Jaeger  <aj@suse.de>
66878         [BZ #13983]
66879         * elf/ldconfig.c (parse_conf): Change string to make clear that
66880         ldconfig only issued a warning if ld.so.conf does not exist.
66882 2012-05-08  David S. Miller  <davem@davemloft.net>
66884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66885         movxtod instead of popping the value on the stack.
66887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66889 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66891         * config.h.in: Add HAVE_ARM_PCS_VFP.
66893 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66895         [BZ #13979]
66896         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66897         checking but the checks are disabled for any reason.
66899 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66901         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66902         and ELF64_R_TYPE with ELFW(R_TYPE).
66904 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66906         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66907         (ulimit): Likewise.
66909         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66910         (settimeofday): Likewise.
66912 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66914         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66915         a struct th_u2 inside the union, and move tu_block/tu_code into
66916         a new th_u3 union of tu_block/tu_code inside of that.  Move
66917         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66918         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66919         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66920         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66921         (th_stuff): Change to th_u1.tu_stuff.
66922         (th_data): Define.
66923         (th_msg): Change to th_u1.th_u2.tu_data.
66925 2012-05-07  David S. Miller  <davem@davemloft.net>
66927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66929         [BZ #14074]
66930         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66931         (SETUP_PIC_REG): Use it.
66932         (SETUP_PIC_REG_LEAF): Use it.
66934 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66936         [BZ #13885]
66937         [BZ #13923]
66938         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66939         USE_AS_EXPM1L.
66940         (EXPL_FINITE): Likewise.
66941         (FLDLOG): Likewise.
66942         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66943         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66944         e_expl.S.
66945         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66946         USE_AS_EXPM1L.
66947         (EXPL_FINITE): Likewise.
66948         (FLDLOG): Likewise.
66949         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66950         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66951         e_expl.S.
66952         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66953         test of -max_value argument for long double.
66954         * sysdeps/i386/fpu/libm-test-ulps: Update.
66955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66957 2012-05-06  David S. Miller  <davem@davemloft.net>
66959         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66960         quad soft-float symbols whose references which are compiler
66961         generated.
66962         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66964 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66966         [BZ #13884]
66967         [BZ #13914]
66968         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66969         USE_AS_EXP10L.
66970         (EXPL_FINITE): Likewise.
66971         (FLDLOG): Likewise.
66972         (c0): Likewise.
66973         (c1): Likewise.
66974         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66975         Adjust comments for base varying.
66976         (__expl_finite): Change alias to EXPL_FINITE.
66977         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66978         e_expl.S.
66979         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66980         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66981         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66982         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66983         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66984         USE_AS_EXP10L.
66985         (EXPL_FINITE): Likewise.
66986         (FLDLOG): Likewise.
66987         (c0): Likewise.
66988         (c1): Likewise.
66989         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66990         Adjust comments for base varying.
66991         (__expl_finite): Change alias to EXPL_FINITE.
66992         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66993         tests for bugs.
66994         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66996         [BZ #14064]
66997         * math/libm-test.inc (check_float_internal): Correct ulp
66998         calculation for subnormal expected results.
67000 2012-05-06  Andreas Jaeger  <aj@suse.de>
67002         * Makeconfig (+math-flags): New, set to -frounding-math.
67003         (+cflags): Add +math-flags so that all of glibc gets compiled with
67004         it.
67006         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67008 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67010         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67011         Disable one test.
67013         [BZ #13787]
67014         [BZ #13922]
67015         [BZ #14036]
67016         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67017         (__ieee754_expl): Allow for and saturate large arguments.
67018         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67019         (u_threshold): Likewise.
67020         (__exp): Call __ieee754_exp before checking for overflow and
67021         underflow.
67022         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67023         (u_threshold): Likewise.
67024         (__expf): Call __ieee754_expf before checking for overflow and
67025         underflow.
67026         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67027         (u_threshold): Likewise.
67028         (__expl): Call __ieee754_expl before checking for overflow and
67029         underflow.
67030         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67031         (__ieee754_expl): Allow for and saturate large arguments.
67032         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67033         missing overflow exception on overflow.
67034         (expm1_test): Do not allow missing overflow exception on overflow.
67036         * sysdeps/i386/fpu/e_expl.c: Move to ...
67037         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67038         rather than using inline asm.
67039         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67040         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67041         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67043         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67044         (nice): Likewise.
67045         (poll): Likewise.
67046         (signal): Likewise.
67047         (time): Likewise.
67048         (times): Likewise.
67050 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67052         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67053         sysdeps/unix/common/syscalls.list.
67054         (fchmod): Likewise.
67055         (fchown): Likewise.
67056         (ftruncate): Likewise.
67057         (getrusage): Likewise.
67058         (gettimeofday): Likewise.
67059         (setpgid): Likewise.
67060         (setregid): Likewise.
67061         (setreuid): Likewise.
67062         (sigaction): Likewise.
67063         (truncate): Likewise.
67064         (vhangup): Likewise.
67065         * sysdeps/unix/common/syscalls.list: Remove file.
67066         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67067         * sysdeps/unix/sysv/linux/Implies: Likewise.
67069 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67071         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67073         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67074         Moved to ...
67075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67076         Here.
67077         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67078         to ...
67079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67080         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67081         to ...
67082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67083         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67084         to ...
67085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67086         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67087         to ...
67088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67089         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67090         to ...
67091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67092         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67093         to ...
67094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67095         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67096         to ...
67097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67098         Here.
67099         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67100         to ...
67101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67102         Here.
67103         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67104         to ...
67105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67106         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67107         Moved to ...
67108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67109         Here.
67110         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67111         to ...
67112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67114 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67116         * sysdeps/unix/common/bits/dirent.h: Remove file.
67117         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67119         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67120         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67121         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67122         * sysdeps/unix/bsd/isatty.c: Likewise.
67123         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67124         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67125         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67127 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67129         [BZ #13563]
67130         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67131         long double comparison inaccuracies.
67132         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67135 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67137         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67138         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67140 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67142         [BZ #14049]
67143         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67144         nonzero digits before rounding a hex value.
67145         * stdlib/tst-strtod.c (tests): Add another test.
67147 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67149         * sysdeps/s390/fpu/libm-test-ulps: Update.
67151 2012-05-03  Andreas Jaeger  <aj@suse.de>
67153         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67154         does not get optimized out.
67155         (malloc_opt_barrier): New.
67157 2012-05-03  Andreas Jaeger  <aj@suse.de>
67158             Roland McGrath  <roland@hack.frob.com>
67160         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67161         intermediate file deletion.
67162         (generated): Add .symlist files.
67164 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67166         [BZ #13775]
67167         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67168         Redirect under this condition.
67169         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67170         [__USE_GNU] (__dprintf_chk): Not under this condition.
67171         [__USE_GNU] (__vdprintf_chk): Likewise.
67172         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67173         under this condition.
67174         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67175         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67176         [__USE_XOPEN2K8] (vdprintf): Likewise.
67177         [__USE_GNU] (__dprintf_chk): Not under this condition.
67178         [__USE_GNU] (__vdprintf_chk): Likewise.
67179         [__USE_GNU] (dprintf): Likewise.
67180         [__USE_GNU] (vdprintf): Likewise.
67182 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67184         * elf/Makefile (common-generated): Set this instead of generated for
67185         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67186         $(all-built-dso)-derived lists.
67188 2012-05-03  Andreas Jaeger  <aj@suse.de>
67190         * sysdeps/i386/fpu/libm-test-ulps: Update.
67192         * FAQ: Removed.
67193         * FAQ.in: Likewise.
67194         * scripts/gen-FAQ.pl: Likewise.
67195         * manual/install.texi (Installation): Point to online location of
67196         FAQ.
67197         * Makefile (files-for-dist): Remove FAQ.
67198         (FAQ): Remove.
67200 2012-05-02  Allan McRae  <allan@archlinux.org>
67202         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67203         (LDFLAGS-reldepmod5.so): Likewise.
67204         (LDFLAGS-reldep6mod1.so): Likewise.
67205         (LDFLAGS-reldep6mod4.so): Likewise.
67206         (LDFLAGS-reldep8mod3.so): Likewise.
67207         (LDFLAGS-unload4mod1.so): Likewise.
67208         (LDFLAGS-unload4mod2.so): Likewise.
67209         (LDFLAGS-tst-initorder): Likewise.
67210         (LDFLAGS-tst-initordera2.so): Likewise.
67211         (LDFLAGS-tst-initordera3.so): Likewise.
67212         (LDFLAGS-tst-initordera4.so): Likewise.
67213         (LDFLAGS-tst-initorderb2.so): Likewise.
67214         (LDFLAGS-noload): Likewise.
67215         (LDFLAGS-next): Likewise.
67216         (LDFLAGS-order2mod1.so): Likewise.
67217         (LDFLAGS-order2mod2.so): Likewise.
67218         (LDFLAGS-tst-initorder2): Likewise.
67219         (LDFLAGS-tst-initorder2a.so): Likewise.
67220         (LDFLAGS-tst-initorder2b.so): Likewise.
67221         (LDFLAGS-tst-initorder2c.so): Likewise.
67222         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67224 2012-05-02  David S. Miller  <davem@davemloft.net>
67226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67228 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67230         [BZ #14055]
67231         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67233 2012-05-02  Andreas Jaeger  <aj@suse.de>
67235         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67236         since we manipulate rounding mode.
67237         (CPPFLAGS-test-idouble.c): Likewise.
67238         (CPPFLAGS-test-ifloat.c): Likewise.
67239         (CFLAGS-test-ldouble.c): Likewise.
67240         (CFLAGS-test-double.c): Likewise.
67241         (CFLAGS-test-float.c): Likewise.
67242         (CFLAGS-test-misc.c): Likewise.
67243         (CFLAGS-test-test-fenv.c): Likewise.
67245 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67247         [BZ #2550]
67248         [BZ #2570]
67249         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67250         comparisons to determine direction to adjust input.
67252 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67254         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67255         output to the target.
67257         * scripts/localplt.awk: New file.
67258         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67259         (check-localplt-CFLAGS): Variable removed.
67260         ($(all-built-dso:=.jmprel)): New static pattern rule.
67261         (generated): Add those targets.
67262         (localplt-built-dso): New variable.
67263         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67265         * elf/check-localplt.c: File removed.
67267         * scripts/check-execstack.awk: New file.
67268         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67269         (check-execstack-CFLAGS): Variable removed.
67270         ($(objpfx)check-execstack.h): Target removed.
67271         ($(objpfx)execstack-default): New target.
67272         (generated): Add that instead of check-execstack.h.
67273         ($(all-built-dso:=.phdr)): New static pattern rule.
67274         (generated): Add those targets.
67275         * elf/check-execstack.c: File removed.
67277         * scripts/check-textrel.awk: New file.
67278         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67279         (check-textrel-CFLAGS): Variable removed.
67280         (all-built-dso): Use := to define.o
67281         ($(all-built-dso:=.dyn)): New static pattern rule.
67282         (generated): Add those targets.
67283         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67284         * config.make.in (READELF): New substituted variable.
67285         * elf/check-textrel.c: File removed.
67287 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67289         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67290         allow.
67291         * conform/data/ctype.h-data [C99-based standards] (isblank):
67292         Expect function.
67293         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67294         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67295         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67296         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67297         Specify type.  Require positive value.
67298         (EILSEQ): Likewise.
67299         (ERANGE): Likewise.
67300         [ISO || POSIX] (EILSEQ): Do not expect.
67301         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67302         Specify type.  Require positive value.
67303         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67304         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67305         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67306         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67307         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67308         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67309         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67310         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67311         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67312         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67313         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67314         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67315         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67316         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67317         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67318         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67319         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67320         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67321         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67322         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67323         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67324         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67325         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67326         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67327         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67328         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67329         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67330         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67331         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67332         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67333         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67334         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67335         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67336         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67337         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67338         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67339         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67340         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67341         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67342         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67343         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67344         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67345         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67346         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67347         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67348         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67349         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67350         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67351         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67352         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67353         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67354         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67355         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67356         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67357         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67358         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67359         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67360         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67361         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67362         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67363         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67364         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67365         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67366         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67367         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67368         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67369         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67370         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67371         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67372         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67373         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67374         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67375         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67376         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67377         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67378         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67379         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67380         Require >= 2.
67381         (FLT_ROUNDS): Expect as macro, not constant.
67382         (FLT_MANT_DIG): Use macro-int-constant.
67383         (DBL_MANT_DIG): Likewise.
67384         (LDBL_MANT_DIG): Likewise.
67385         (FLT_DIG): Likewise.
67386         (DBL_DIG): Likewise.
67387         (LDBL_DIG): Likewise.
67388         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67389         (DBL_MIN_EXP): Likewise.
67390         (LDBL_MIN_EXP): Likewise.
67391         (FLT_MAX_EXP): Use macro-int-constant.
67392         (DBL_MAX_EXP): Likewise.
67393         (LDBL_MAX_EXP): Likewise.
67394         (FLT_MAX_10_EXP): Likewise.
67395         (DBL_MAX_10_EXP): Likewise.
67396         (LDBL_MAX_10_EXP): Likewise.
67397         (FLT_MAX): Use macro-constant.
67398         (DBL_MAX): Likewise.
67399         (LDBL_MAX): Likewise.
67400         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67401         (DBL_EPSILON): Likewise.
67402         (LDBL_EPSILON): Likewise.
67403         (FLT_MIN): Likewise.
67404         (DBL_MIN): Likewise.
67405         (LDBL_MIN): Likewise.
67406         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67407         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67408         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67409         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67410         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67411         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67412         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67413         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67414         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67415         [ISO11] (FLT_TRUE_MIN): Likewise.
67416         [ISO11] (LDBL_TRUE_MIN): Likewise.
67417         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67418         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67419         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67420         (SCHAR_MAX): Likewise.
67421         (UCHAR_MAX): Likewise.
67422         (CHAR_MIN): Likewise.
67423         (CHAR_MAX): Likewise.
67424         (MB_LEN_MAX): Use macro-int-constant.
67425         (SHRT_MIN): Use macro-int-constant.  Specify type.
67426         (SHRT_MAX): Likewise.
67427         (USHRT_MAX): Likewise.
67428         (INT_MAX): Likewise.
67429         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67430         bound negative.
67431         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67432         bound with "U".
67433         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67434         bound with "L".
67435         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67436         bound negative.  Suffix upper bound with "L".
67437         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67438         bound with "UL".
67439         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67440         Specify type.
67441         [C99-based standards] (LLONG_MAX): Likewise.
67442         [C99-based standards] (ULLONG_MAX): Likewise.
67443         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67444         == 0.
67445         [ISO11] (max_align_t): Require type.
67446         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67448         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67449         from $CFLAGS, without defining away __attribute__ calls.
67450         (checknamespace): Use $CFLAGS_namespace.
67452         * conform/conformtest.pl (@keywords): Only include C99 keywords
67453         for standards based on C99 or C11.
67455         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67456         Disable tests.
67457         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67458         UNIX98]: Likewise.
67460         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67461         usability of symbols in #if.
67463         * conform/conformtest.pl: If macro or constant types start
67464         "promoted:", expect the symbol to be of the following type
67465         promoted by the integer promotions.
67467         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67468         in one place.  Also handle "macro-constant".
67470         * conform/conformtest.pl: Only accept expected macro values with
67471         "==".  Parse all "macro" lines in one place.
67472         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67474         * conform/conformtest.pl: Handle braced types on "constant" lines
67475         instead of handling "typed-constant".
67476         * conform/data/signal.h-data: Use "constant" instead of
67477         "typed-constant".
67479         * conform/conformtest.pl: Handle "optional-" at start of lines in
67480         one place rather than duplicating several cases.  Handle each
67481         format of "macro" line with initial "optional-".
67483         * conform/conformtest.pl: Only accept expected constant or
67484         optional-constant values with "==".  Parse all "constant" lines in
67485         one place.  Parse all "optional-constant" lines in one place.
67486         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67487         * conform/data/fmtmsg.h-data: Likewise.
67488         * conform/data/netinet/in.h-data: Likewise.
67489         * conform/data/tar.h-data: Likewise.
67490         * conform/data/limits.h-data: Use "==" form on "constant" and
67491         "optional-constant" lines.
67493         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67494         Use -std=c99 for XOPEN2K.
67495         (@knownproblems): Remove.
67496         (newtoken): Don't check %isknown.
67498         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67499         Do not expect macro.
67500         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67501         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67502         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67503         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67504         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67505         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67506         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67507         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67508         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67509         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67510         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67511         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67512         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67513         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67514         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67515         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67516         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67517         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67518         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67519         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67520         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67521         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67522         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67523         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67524         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67525         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67526         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67527         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67528         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67529         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67530         [XPG3] (acosh): Likewise.
67531         [XPG3] (asinh): Likewise.
67532         [XPG3] (atanh): Likewise.
67533         [XPG3] (cbrt): Likewise.
67534         [XPG3] (expm1): Likewise.
67535         [XPG3] (ilogb): Likewise.
67536         [XPG3] (log1p): Likewise.
67537         [XPG3] (logb): Likewise.
67538         [XPG3] (nextafter): Likewise.
67539         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67540         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67541         [XPG3] (remainder): Likewise.
67542         [XPG3] (rint): Likewise.
67543         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67544         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67545         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67546         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67547         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67548         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67549         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67550         [UNIX98 || XOPEN2K] (scalb): Expect.
67551         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67552         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67553         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67554         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67555         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67556         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67557         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67558         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67559         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67560         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67561         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67562         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67563         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67564         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67565         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67566         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67567         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67568         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67569         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67570         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67571         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67572         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67573         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67574         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67575         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67576         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67577         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67578         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67579         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67580         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67581         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67582         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67583         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67584         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67585         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67586         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67587         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67588         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67589         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67590         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67591         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67592         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67593         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67594         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67595         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67596         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67597         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67598         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67599         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67600         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67601         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67602         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67603         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67604         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67605         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67606         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67607         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67608         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67609         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67610         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67611         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67612         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67613         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67614         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67615         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67616         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67617         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67618         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67619         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67620         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67621         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67622         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67623         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67624         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67625         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67626         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67627         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67628         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67629         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67630         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67631         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67632         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67633         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67634         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67635         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67636         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67637         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67638         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67639         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67640         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67641         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67642         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67643         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67644         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67645         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67646         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67647         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67648         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67649         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67650         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67651         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67652         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67653         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67654         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67655         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67656         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67657         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67658         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67659         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67660         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67661         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67662         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67663         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67664         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67665         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67666         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67667         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67668         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67669         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67670         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67671         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67672         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67673         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67674         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67675         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67676         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67677         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67678         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67679         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67680         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67681         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67682         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67683         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67684         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67685         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67686         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67687         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67689         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67690         _XOPEN_SOURCE_EXTENDED for XPG4.
67692         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67694         * Makeconfig (localtime): Remove variable.
67695         (inst_localtime-file): Likewise.
67697 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67700         Update.
67701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67702         Update.
67703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67704         Update.
67705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67706         Update.
67707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67708         Update.
67709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67710         Update.
67711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67712         Update.
67713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67714         Update.
67715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67716         Update.
67718 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67720         [BZ #2550]
67721         [BZ #2570]
67722         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67723         comparisons to determine direction to adjust input.
67724         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67725         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67726         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67727         Likewise.
67728         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67729         Likewise.
67730         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67731         Likewise.
67732         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67733         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67734         Likewise.
67735         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67736         Likewise.
67737         * math/libm-test.inc (nexttoward_test): Add more tests.
67739 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67741         [BZ #14040]
67742         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67743         in version GLIBC_2.1, not GLIBC_2.0.
67744         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67745         Likewise.
67747 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67749         [BZ #13942]
67750         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67751         (1 - x) * (1 + x).
67752         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67753         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67754         * math/libm-test.inc (acos_test): Add more tests.
67755         (asin_test): Likewise.
67756         * sysdeps/i386/fpu/libm-test-ulps: Update.
67757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67759         [BZ #14034]
67760         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67761         of square root.
67762         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67763         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67764         * math/libm-test.inc (acos_test_tonearest): New function.
67765         (acos_test_towardzero): Likewise.
67766         (acos_test_downward): Likewise.
67767         (acos_test_upward): Likewise.
67768         (asin_test_tonearest): Likewise.
67769         (asin_test_towardzero): Likewise.
67770         (asin_test_downward): Likewise.
67771         (asin_test_upward): Likewise.
67772         (main): Call the new functions.
67773         * sysdeps/i386/fpu/libm-test-ulps: Update.
67774         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67776         [BZ #13884]
67777         [BZ #13924]
67778         * math/e_exp10.c: Include <float.h>.
67779         (__ieee754_exp10): Handle underflow here rather than multiplying
67780         large negative argument by M_LN10.
67781         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67782         of __ieee754_expf.
67783         * math/e_exp10l.c: Include <float.h>.
67784         (__ieee754_exp10l): Handle underflow here rather than multiplying
67785         large negative argument by M_LN10l.
67786         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67787         spurious overflow exception on underflow.
67789 2012-04-29  Marek Polacek  <polacek@redhat.com>
67791         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67792         (__fortify_function): New macro.
67793         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67794         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67795         __extern_always_inline.
67796         * libio/bits/stdio2.h: Likewise.
67797         * libio/bits/stdio.h: Likewise.
67798         * string/string.h: Likewise.
67799         * string/bits/string3.h: Likewise.
67800         * include/stdio.h: Likewise.
67801         * stdlib/bits/stdlib.h: Likewise.
67802         * stdlib/stdlib.h: Likewise.
67803         * rt/bits/mqueue2.h: Likewise.
67804         * rt/mqueue.h: Likewise.
67805         * posix/bits/unistd.h: Likewise.
67806         * posix/unistd.h: Likewise.
67807         * io/bits/poll2.h: Likewise.
67808         * io/bits/fcntl2.h: Likewise.
67809         * io/fcntl.h: Likewise.
67810         * io/sys/poll.h: Likewise.
67811         * misc/bits/syslog.h: Likewise.
67812         * misc/bits/syslog-ldbl.h: Likewise.
67813         * misc/sys/syslog.h: Likewise.
67814         * socket/bits/socket2.h: Likewise.
67815         * socket/sys/socket.h: Likewise.
67816         * debug/tst-chk1.c: Likewise.
67817         * wcsmbs/bits/wchar2.h: Likewise.
67818         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67819         * wcsmbs/wchar.h: Likewise.
67821 2012-04-29  Andreas Jaeger  <aj@suse.de>
67823         * Makerules (tests): Remove enable-check-abi protection.
67824         (check-abi-warn): Remove.
67825         (check-abi-%): Remove check-abi-warn usage.
67827         * configure.in: Remove check-abi configure option.
67828         * configure: Regenerated.
67829         * config.make.in (enable-check-abi): Remove.
67831 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67833         [BZ #14033]
67834         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67835         double functions to double *_finite functions.
67837         [BZ #13941]
67838         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67839         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67840         LDBL_MIN_EXP.
67841         * stdio-common/Makefile (tests): Add tst-sprintf3.
67842         * stdio-common/tst-sprintf3.c: New file.
67844         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67845         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67847 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67849         * conform/conformtest.pl: Remove duplicate typed-constant
67850         handling.
67852 2012-04-28  David S. Miller  <davem@davemloft.net>
67854         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67855         (check-abi-%): Remove AWK script prerequisite and explicit
67856         abilist directory.
67857         (check-abi): Rewrite to just diff the symlist with the abilist.
67858         (config-tls, config-abi-config): Delete, no longer used.
67859         (update-abi-%): Remove AWK script and explicit abilist directory.
67860         (update-abi): Rewrite to simply compare and conditionally copy the
67861         symlist and the sysdep abilist file.  Remove update-abi-config
67862         checks.
67863         * abilist/ld.abilist: Remove.
67864         * abilist/libBrokenLocale.abilist: Remove.
67865         * abilist/libanl.abilist: Remove.
67866         * abilist/libcrypt.abilist: Remove.
67867         * abilist/libdl.abilist: Remove.
67868         * abilist/librt.abilist: Remove.
67869         * abilist/libthread_db.abilist: Remove.
67870         * abilist/libutil.abilist: Remove.
67871         * scripts/extract-abilist.awk: Remove.
67872         * scripts/merge-abilist.awk: Remove.
67873         * sysdeps/generic/libcidn.abilist: New file.
67874         * sysdeps/generic/libnss_compat.abilist: New file.
67875         * sysdeps/generic/libnss_db.abilist: New file.
67876         * sysdeps/generic/libnss_dns.abilist: New file.
67877         * sysdeps/generic/libnss_files.abilist: New file.
67878         * sysdeps/generic/libnss_hesiod.abilist: New file.
67879         * sysdeps/generic/libnss_nis.abilist: New file.
67880         * sysdeps/generic/libnss_nisplus.abilist: New file.
67881         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67882         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67883         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67884         file.
67885         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67886         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67887         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67888         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67889         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67890         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67891         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67892         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67893         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67894         file.
67895         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67896         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67897         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67898         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67899         file.
67900         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67901         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67902         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67903         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67904         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67905         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67906         file.
67907         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67908         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67909         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67910         file.
67911         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67912         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67913         New file.
67914         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67915         New file.
67916         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67917         New file.
67918         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67919         New file.
67920         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67921         New file.
67922         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67923         New file.
67924         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67925         New file.
67926         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67927         New file.
67928         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67929         New file.
67930         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67931         New file.
67932         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67933         New file.
67934         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67935         New file.
67936         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67937         New file.
67938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67939         file.
67940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67941         New file.
67942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67943         New file.
67944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67945         file.
67946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67947         New file.
67948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67949         New file.
67950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67951         file.
67952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67953         New file.
67954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67955         New file.
67956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67957         New file.
67958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67959         New file.
67960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67961         New file.
67962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67963         New file.
67964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67966         file.
67967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67968         New file.
67969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67970         file.
67971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67972         file.
67973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67974         file.
67975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67976         file.
67977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67978         file.
67979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67980         New file.
67981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67982         file.
67983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67984         file.
67985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67986         New file.
67987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67988         file.
67989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67991         file.
67992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67993         New file.
67994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67995         file.
67996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67997         file.
67998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67999         file.
68000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68001         file.
68002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68003         file.
68004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68005         New file.
68006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68007         file.
68008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68009         file.
68010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68011         New file.
68012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68013         file.
68014         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68015         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68016         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68017         file.
68018         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68019         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68020         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68021         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68022         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68023         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68024         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68025         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68026         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68027         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68030         file.
68031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68032         New file.
68033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68034         file.
68035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68036         file.
68037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68038         file.
68039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68040         file.
68041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68042         file.
68043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68044         New file.
68045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68046         New file.
68047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68048         file.
68049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68050         New file.
68051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68052         file.
68053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68055         file.
68056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68057         New file.
68058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68059         file.
68060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68061         file.
68062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68063         file.
68064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68065         file.
68066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68067         file.
68068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68069         New file.
68070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68071         New file.
68072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68073         file.
68074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68075         New file.
68076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68077         file.
68079 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68081         * conform/conformtest.pl: Fix typo in handling typed-constant from
68082         allow-header.
68084 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68086         * README: Cut down references to pre-2.6 Linux kernels and
68087         Linuxthreads.  Update lists of configurations in libc and ports
68088         and sort alphabetically.  Say "or newer" with Linux kernel version
68089         requirements.
68091         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68093 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68095         [BZ #887]
68096         * math/libm-test.inc (logb_test_downward): New test to expose
68097         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68098         rounding mode.
68100 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68102         [BZ #14027]
68103         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68104         to be done.
68105         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68106         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68108 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68110         * sysdeps/unix/i386/brk.S: Remove file.
68111         * sysdeps/unix/i386/dl-brk.S: Likewise.
68112         * sysdeps/unix/i386/pipe.S: Likewise.
68113         * sysdeps/unix/i386/sigreturn.S: Likewise.
68114         * sysdeps/unix/i386/syscall.S: Likewise.
68115         * sysdeps/unix/i386/vfork.S: Likewise.
68116         * sysdeps/unix/i386/wait.S: Likewise.
68118         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68119         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68121         * configure.in (arm*-none*): Do not allow without
68122         --enable-hacker-mode.
68123         (netbsd*): Remove case setting base_os.
68124         (386bsd*): Likewise.
68125         (freebsd*): Likewise.
68126         (bsdi*): Likewise.
68127         (osf*): Likewise.
68128         (sunos*): Likewise.
68129         (ultrix*): Likewise.
68130         (newsos*): Likewise.
68131         (dynix*): Likewise.
68132         (*bsd*): Likewise.
68133         (sysv*): Likewise.
68134         (isc*): Likewise.
68135         (esix*): Likewise.
68136         (sco*): Likewise.
68137         (minix*): Likewise.
68138         (irix4*): Likewise.
68139         (irix6*): Likewise.
68140         (solaris[2-9]*): Likewise.
68141         (none): Likewise.
68142         * configure: Regenerated.
68144 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68146         [BZ #11521]
68147         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68148         overflow or cancellation in calculating denominator.
68149         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68150         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68151         down expression to avoid unexpected rounding in newer GCCs.
68152         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68154 2012-04-26  David S. Miller  <davem@davemloft.net>
68156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68157         long-double compat symbols.
68158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68172 2012-04-25  David S. Miller  <davem@davemloft.net>
68174         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68175         HWCAP_* values only after the memory barriers have been defined.
68176         (atomic_full_barrier): Define.
68177         (atomic_read_barrier): Define.
68178         (atomic_write_barrier): Define.
68180 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68182         * shlib-versions: Add libgcc_s version information.
68183         * sysdeps/generic/libgcc_s.h: Remove.
68184         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68185         libgcc_s.h.
68186         * sysdeps/gnu/unwind-resume.c: Likewise.
68187         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68189 2012-04-25  David S. Miller  <davem@davemloft.net>
68191         * sysdeps/unix/sparc/brk.S: Delete.
68192         * sysdeps/unix/sparc/dl-brk.S: Delete.
68193         * sysdeps/unix/sparc/pipe.S: Delete.
68194         * sysdeps/unix/sparc/sysdep.S: Delete.
68195         * sysdeps/unix/sparc/sysdep.h: Delete.
68196         * sysdeps/unix/sparc/vfork.S: Delete.
68197         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68198         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68199         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68200         (ret_ERRVAL, r0, r1, MOVE): Define.
68201         (JUMPTARGET): Remove.
68202         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68203         sysdeps/unix/sparc/sysdep.h
68204         (ENTRY, END): Remove.
68205         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68207 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68209         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68210         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68211         -DIS_IN_build.
68213         * timezone/README: Update upstream location and email address for
68214         tzcode and tzdata.
68215         * timezone/zdump.c: Update from tzcode 2012b.
68216         * timezone/zic.c: Likewise.
68218         * configure.in (libc_cv_as_needed): Remove test.
68219         * configure: Regenerated.
68220         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68221         conditional definition.
68222         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68223         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68224         * config.make.in (have-as-needed): Remove variable.
68226 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68227             Paul Pluzhnikov  <ppluzhnikov@google.com>
68229         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68230         strings correctly.
68232 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68234         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68235         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68236         * sysdeps/sh/strlen.S: Likewise.
68238 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68240         * sysdeps/unix/fork.S: Remove file.
68241         * sysdeps/unix/i386/fork.S: Likewise.
68242         * sysdeps/unix/sparc/fork.S: Likewise.
68244         * sysdeps/unix/system.c: Remove file.
68245         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68247         * sysdeps/unix/getegid.S: Remove file.
68248         * sysdeps/unix/geteuid.S: Likewise.
68250 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68252         * scripts/check-localplt.awk: New file.
68253         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68254         of diff.
68255         * scripts/data/localplt-generic.data: Add a comment.
68257         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68258         NODE when __dir_mkfile failed.
68259         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68260         Reported by Ludovic Courtès <ludo@gnu.org>.
68262 2012-04-24  Andreas Jaeger  <aj@suse.de>
68264         * Makerules (common-clean): Also remove gen-as-const-headers
68265         files.
68267 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68269         * Makerules (native-compile): Do not change working directory for
68270         build.  Use $(OUTPUT_OPTION) in command.
68271         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68273 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68275         [BZ #13886]
68276         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68277         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68278         * math/libm-test.inc (floor_test): Add more tests.
68279         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68281 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68283         * sysdeps/unix/getdents.c: Remove file.
68284         * sysdeps/unix/sysv/getdents.c: Likewise.
68285         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68287         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68288         sysdeps/unix/mman/syscalls.list.
68289         (mmap): Likewise.
68290         (mprotect): Likewise.
68291         (msync): Likewise.
68292         (munmap): Likewise.
68293         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68294         * sysdeps/unix/mman/syscalls.list: Remove.
68295         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68297         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68298         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68299         * configure: Regenerated.
68300         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68301         $(libgcc_s_suffix).
68302         * config.make.in (libgcc_s_suffix): Remove variable.
68304 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68306         * sysdeps/unix/sysv/gethostname.c: Move to ...
68307         * sysdeps/posix/gethostname.c: ... here.
68309         * sysdeps/unix/execve.S: Remove file.
68311         * sysdeps/unix/_exit.S: Remove file.
68313 2012-04-23  Andreas Jaeger  <aj@suse.de>
68315         [BZ #13739]
68316         * manual/Makefile: Remove make dist support, there's no
68317         need for a stand-alone documentation tar ball.
68318         (TEXI2DVI): Define always, it's not in Makeconfig.
68319         (dist): Removed.
68320         (tar-it): Removed.
68321         (edition): Removed.
68322         (glibc-doc-$(edition).tar): Removed
68323         (%.Z): Removed.
68324         (%.gz): Removed.
68325         (%.uu): Removed.
68326         (ETAGS): Remove, it's in Makeconfig.
68327         (move-if-change): Remove, it's in Makeconfig.
68329 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68331         [BZ #13970]
68332         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68333         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68334         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68335         (strtod_l, strtof_l, strtold_l): Remove __wur.
68336         It is not necessarily an error to ignore strtol's return value.
68337         One can reliably look at the stored endptr to decide whether
68338         the number had valid syntax.
68340 2012-04-21  Andreas Jaeger  <aj@suse.de>
68342         [BZ #13739]
68343         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68345 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68347         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68348         * sysdeps/unix/sysv/Versions: Remove file.
68350 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68352         [BZ #13927]
68353         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68355 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68357         [BZ #7064]
68358         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68359         version from __vm86.
68361 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68363         * sysdeps/unix/common/lxstat.c: Remove file.
68364         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68366         * sysdeps/unix/sysv/Makefile: Remove file.
68368         * sysdeps/unix/sysv/direct.h: Remove file.
68370         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68371         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68372         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68373         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68374         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68375         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68376         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68378         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68380         * sysdeps/unix/xmknod.c: Remove file.
68381         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68383         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68385         * sysdeps/unix/sysv/i386/time.S: Remove file.
68387         * sysdeps/unix/fxstat.c: Remove file.
68388         * sysdeps/unix/xstat.c: Likewise.
68389         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68391         * sysdeps/unix/sysv/sigaction.c: Remove file.
68393         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68394         (sysdep_headers): Remove variable.
68395         [termio.h not in sysdep_headers] (generated): Likewise.
68396         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68397         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68398         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68399         * sysdeps/unix/sysv/tcflow.c: Likewise.
68400         * sysdeps/unix/sysv/tcflush.c: Likewise.
68401         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68402         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68403         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68404         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68405         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68407         * sysdeps/unix/siglist.c: Remove file.
68409         * sysdeps/unix/getppid.S: Remove file.
68411         * sysdeps/unix/mkdir.c: Remove file.
68412         * sysdeps/unix/rmdir.c: Likewise.
68414 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68416         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68417         ERR_MAX value.
68418         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68419         errlist-compat value.
68421 2012-04-18  David S. Miller  <davem@davemloft.net>
68423         * sysdeps/generic/memcopy.h (reg_char): Delete.
68424         * debug/strcat_chk.c: Use char, not reg_char.
68425         * debug/strcpy_chk.c: Likewise.
68426         * debug/strncat_chk.c: Likewise.
68427         * debug/strncpy_chk.c: Likewise.
68428         * string/memchr.c: Likewise.
68429         * string/memrchr.c: Likewise.
68430         * string/rawmemchr.c: Likewise.
68431         * string/strcat.c: Likewise.
68432         * string/strchr.c: Likewise.
68433         * string/strchrnul.c: Likewise.
68434         * string/strcmp.c: Likewise.
68435         * string/strcpy.c: Likewise.
68436         * string/strncat.c: Likewise.
68437         * string/strncmp.c: Likewise.
68438         * string/strncpy.c: Likewise.
68440 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68442         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68443         __builtin_memcopy is called when src and dest ranges are known to not
68444         overlap.
68446 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68448         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68449         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68450         fwd_align_merge macro call.
68451         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68452         bwd_align_merge macro call.
68453         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68455 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68457         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68458         bwd_align_merge macros.
68459         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68460         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68461         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68463 2012-04-18  David S. Miller  <davem@davemloft.net>
68465         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68467 2012-04-18  Andreas Jaeger  <aj@suse.de>
68469         [BZ# 6794]
68470         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68471         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68472         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68474         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68475         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68476         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68478         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68479         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68480         Adjust for changed ldbl-128 files.
68482         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68483         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68484         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68486 2012-04-17  David S. Miller  <davem@davemloft.net>
68488         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68490 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68492         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68493         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68494         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68495         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68496         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68497         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68499 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68501         [BZ #6794]
68502         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68503         * math/libm-test.inc: Add ilogb errno and exception tests.
68504         * math/w_ilogb.c: New file: ilogb wrapper.
68505         * math/w_ilogbf.c: New file: ilogbf wrapper.
68506         * math/w_ilogbl.c: New file: ilogbl wrapper.
68507         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68508         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68509         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68510         exception being thrown with 0.0 as argument.
68511         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68512         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68513         exception being thrown with 0.0 as argument.
68514         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68515         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68516         exception being thrown with 0.0 as argument.
68517         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68518         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68519         exception being thrown with 0.0 as argument.
68520         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68521         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68522         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68523         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68524         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68525         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68526         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68527         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68528         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68530 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68532         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68533         with altivec.
68535 2012-04-16  Marek Polacek  <polacek@redhat.com>
68537         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68539 2012-04-16  Marek Polacek  <polacek@redhat.com>
68541         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68542         operands of fdivp instruction.
68544 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68546         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68547         * elf/tst-auditmod3b.c: Likewise.
68548         * elf/tst-auditmod4b.c: Likewise.
68549         * elf/tst-auditmod5b.c: Likewise.
68550         * elf/tst-auditmod6b.c: Likewise.
68551         * elf/tst-auditmod6c.c: Likewise.
68552         * elf/tst-auditmod7b.c: Likewise.
68553         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68554         * sysdeps/x86_64/preconfigure.in: Likewise.
68555         * sysdeps/x86_64/preconfigure: Regenerated.
68557 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68559         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68560         __ILP32__.
68562 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68564         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68565         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68567 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68569         [BZ #13973]
68570         * locale/iso-639.def: Fix gl language name. Spotted by
68571         Yaron Shahrabani.
68573 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68575         [BZ #2074]
68576         * libio/libio.h (__io_write_fn): Update comment.
68578 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68580         [BZ #2074]
68581         * stdio.texi (Hook Functions): The user provided writer function
68582         is not allowed to return -1.
68584 2012-04-11  David S. Miller  <davem@davemloft.net>
68586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68588 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68590         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68591         Add a leading slash to rtkaio.
68593 2012-04-11  Jim Meyering  <meyering@redhat.com>
68595         [BZ #11959]
68596         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68597         It is not necessarily an error to ignore fwrite's return
68598         value.  One can reliably use ferror to test for errors after
68599         the fact.
68601 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68603         * bits/types.h (__snseconds_t): New type.
68604         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68606         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68607         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68608         (__SNSECONDS_T_TYPE): Likewise.
68609         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68610         (__SNSECONDS_T_TYPE): Likewise.
68611         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68612         (__SNSECONDS_T_TYPE): Likewise.
68614 2012-04-10  Andreas Jaeger  <aj@suse.de>
68616         [BZ #2636]
68617         * manual/time.texi (Processor Time): Return type of times is
68618         elapsed real time since an arbitrary point in the past.
68619         (CPU Time): Move CLK_TCK from here...
68620         (Processor Time): ...to here.  Correct description.
68621         * manual/conf.texi (Constants for Sysconf): Correct description of
68622         _SC_CLK_TCK.
68624 2012-04-10  David S. Miller  <davem@davemloft.net>
68626         [BZ #13967]
68627         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68628         where the is a gap between DT_REL(A) and DT_JMPREL.
68630 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68632         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68633         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68634         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68636 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68638         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68639         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68640         (dl_main): Handle --inhibit-cache.
68641         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68642         _dl_inhibit_cache.
68643         * elf/dl-load.c (_dl_map_object): Use it.
68644         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68646 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68648         [BZ #13872]
68649         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68650         (__ieee754_powl): Saturate large exponents rather than testing for
68651         overflow of y*log2(x).
68652         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68653         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68654         exceptions.
68656         [BZ #11521]
68657         * math/s_ctan.c: Include <float.h>.
68658         (__ctan): Avoid internal overflow or cancellation in calculating
68659         denominator.
68660         * math/s_ctanf.c: Likewise.
68661         * math/s_ctanl.c: Likewise.
68662         * math/s_ctanh.c: Likewise.
68663         * math/s_ctanhf.c: Likewise.
68664         * math/s_ctanhl.c: Likewise.
68665         * math/libm-test.inc (ctan_test): Add more tests.
68666         (ctanh_test): Likewise.
68667         * sysdeps/i386/fpu/libm-test-ulps: Update.
68668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68670 2012-04-09  Andreas Jaeger  <aj@suse.de>
68672         [BZ #6894]
68673         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68674         is an optional BSD extension.
68676         [BZ #10254]
68677         * manual/stdio.texi (Opening Streams): Document additional fopen
68678         parameters.
68680 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68682         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68683         %eax without telling the compiler.
68685 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68687         [BZ # 13963]
68688         * manual/install.texi: Use sourceware.org.
68690 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68692         [BZ #13873]
68693         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68694         (__ieee754_pow): Generate overflow and underflow using huge*huge
68695         and tiny*tiny rather than just returning constant infinity or zero
68696         for large exponents.
68697         * math/libm-test.inc (pow_test): Require overflow exceptions for
68698         applicable cases of large exponents.
68700         [BZ #706]
68701         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68702         (__ieee754_pow): Use iterative multiplication algorithm only for
68703         integer exponents with absolute value below 1024.  Check for odd
68704         integer exponents when using algorithm for real exponents.
68705         * math/libm-test.inc (pow_test): Add more tests.
68706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68708 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68710         [BZ #13705]
68711         * math/libm-test.inc (exp_test): Do not allow overflow exception
68712         on underflow test.
68714 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68716         [BZ #13705]
68717         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68718         instead of __kernel_standard_f.
68720 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68722         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68723         * sysdeps/x86_64/memset_chk.S: Likewise.
68725 2012-04-08  Andreas Jaeger  <aj@suse.de>
68727         [BZ #10153]
68728         * manual/startup.texi (Environment Access): Describe return value
68729         for putenv and setenv.
68731         [BZ #6895]
68732         * manual/filesys.texi (Directory Entries): Add description for
68733         DT_LNK.
68735         [BZ #6890]
68736         * manual/filesys.texi (Directory Entries): Clarify that it's file
68737         system not operating system in the description of DT_UNKNOWN.
68739         [BZ #6578]
68740         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68742 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68744         [BZ #6649]
68745         * manual/llio.texi (Opening and Closing Files): Add cross
68746         reference to explain mode argument.
68748 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68750         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68751         * sysdeps/x86_64/memset_chk.S: Likewise.
68753 2012-04-07  David S. Miller  <davem@davemloft.net>
68755         * elf/elf.h (R_SPARC_WDISP10): Define.
68756         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68757         R_SPARC_SIZE32.
68758         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68759         R_SPARC_SIZE64 and R_SPARC_H34.
68761 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68763         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68764         conditions and remove no longer applicable assertion.
68766 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68768         * bits/byteswap.h: Include <features.h>.
68769         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68770         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68772 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68774         * bits/byteswap.h (__bswap_16): Removed.
68775         Include <bits/byteswap-16.h> to get __bswap_16.
68776         * sysdeps/i386/bits/byteswap.h: Likewise.
68777         * sysdeps/s390/bits/byteswap.h: Likewise.
68778         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68779         * bits/byteswap-16.h: New file.
68780         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68781         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68782         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68783         * string/Makefile (headers): Add bits/byteswap-16.h.
68785 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68787         [BZ #13895]
68788         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68789         extra indirection.
68790         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68791         * nss/tst-nss-static.c: New.
68793 2012-04-06  Robert Millan  <rmh@gnu.org>
68795         [BZ #6486]
68796         * manual/llio.texi (File Position Primitive): lseek
68797         refers to WHENCE when it really means OFFSET.
68799 2012-04-06  Andreas Jaeger  <aj@suse.de>
68801         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68802         strncmp declarations.
68804         * abilist/libc.abilist: Add __poll and __ppoll.
68806 2012-04-05  David S. Miller  <davem@davemloft.net>
68808         * scripts/check-local-headers.sh: Accept a host triplet in the
68809         path matched by the exclude regexp.
68811         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68812         definition.
68813         * sysdeps/powerpc/powerpc32/dl-machine.h
68814         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68815         * sysdeps/s390/s390-32/dl-machine.h
68816         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68817         * sysdeps/sparc/sparc32/dl-machine.h
68818         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68819         * sysdeps/sparc/sparc64/dl-machine.h
68820         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68822         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68823         lazy binding.
68824         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68825         undefined symbol errors.
68827         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68828         DT_NEEDED entries.
68830 2012-04-05  Michael Matz  <matz@suse.de>
68832         [BZ #13592]
68833         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68835 2012-04-05  Andreas Jaeger  <aj@suse.de>
68837         [BZ #13908]
68838         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68839         comment.
68841 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68843         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68844         which ROUND is no valid rounding mode.
68846 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68848         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68849         read again.
68850         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68852 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68854         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68855         an exception using FPU order intentionally.
68857 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68859         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68860         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68861         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68862         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68864 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68866         [BZ #12340]
68867         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68868         EINVAL when BUFLEN is too smal.
68870 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68872         [BZ #13553]
68873         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68874         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68876 2012-04-03  Andreas Jaeger  <aj@suse.de>
68878         [BZ #13938]
68879         * manual/setjmp.texi (System V contexts): Fix sentence.
68881         [BZ #13926]
68882         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68883         New macro for this case.
68884         [!__GNUC__] (__bswap_64): New inline function for this case.
68885         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68886         * bits/byteswap.h: Likewise.
68887         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68888         ull, guard with __GLIBC_HAVE_LONG_LONG.
68890         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68891         __GLIBC_HAVE_LONG_LONG.
68893         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68894         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68896 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68898         [BZ #13691]
68899         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68900         inptr and inend, rather than using last_ch.
68902 2012-04-02  David S. Miller  <davem@davemloft.net>
68904         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68905         * stdio-common/printf-parse.h (read_int): Change return type to
68906         'int', return -1 on INT_MAX overflow.
68907         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68908         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68909         overflows INT_MAX.  Check for overflow of in-format-string precision
68910         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68911         SIZE_MAX not INT_MAX for integer overflow test.
68912         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68913         skip the construct in the format string but do not record anything.
68914         * stdio-common/bug22.c: Adjust to test both width/prevision
68915         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68916         explicitly for proper errno values.
68918 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68920         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68921         CHAR_MAX.
68922         * string/test-strcmp.c [! WIDE]: Likewise.
68923         * time/tst-mktime2.c: Likewise for INT_MAX.
68924         * string/test-string.h: #include <sys/param.h> for MIN.
68926         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68927         * sysdeps/i386/init-first.c (init): Likewise.
68928         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68929         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68930         * sysdeps/sh/init-first.c (init): Likewise.
68932 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68934         * po/ru.po: Update from translation team.
68935         * po/vi.po: Likewise.
68937 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68939         * resolv/nss_dns/dns-host.c: Merge copyright years.
68941 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68943         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68944         Optimize memcpy with prefetch if
68945         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68946         src, dst pointers have unequal 16 byte alignments.
68948 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68950         [BZ #13928]
68951         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68952         from a CNAME entry and return the minimum ttl for the query.
68953         (gaih_getanswer_slice): Likewise.
68955 2012-03-30  Jeff Law  <law@redhat.com>
68957         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68958         due to long keys.
68959         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68960         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68962         * resolv/nss_dns/dns-host.c: Update copyright year.
68964 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68966         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68967         requests to save a system call.  Fix check that all bytes are sent.
68969         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68970         comments for sendmmsg.
68972 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68974         [BZ #13691]
68975         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68976         with only 1 character between 0x0041 and 0x01b0.
68977         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68978         * wcsmbs/tst-mbsnrtowcs.c: New file.
68980 2012-03-29  David S. Miller  <davem@davemloft.net>
68982         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68983         small copies by hand.
68985 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68987         [BZ #13761]
68988         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68989         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68990         group memberships.
68992 2012-03-28  David S. Miller  <davem@davemloft.net>
68994         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68995         that branches into memcpy.
68996         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68997         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68998         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68999         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69000         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69001         bits.
69002         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69003         implementation too.
69004         * sysdeps/sparc/mempcpy.S: New file.
69006         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69007         the IFUNC routine in the libc case.
69008         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69010         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69011         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69012         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69013         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69014         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69015         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69016         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69017         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69019         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69020         loop to 256 bytes instead of 64 bytes and fix test signedness.
69022         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69023         * sysdeps/sparc/sparc32/Makefile: rather than here...
69024         * sysdeps/sparc/sparc64/Makefile: and here.
69026 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69028         * malloc/mallocbug.c: Avoid warnings about unused variables.
69030 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69032         [BZ #13760]
69033         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69034         in the right place. Discard and retry query if response is
69035         larger than input buffer size.
69037 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69039         [BZ #369]
69040         [BZ #2678]
69041         [BZ #3866]
69042         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69043         x for large integer exponent.
69044         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69045         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69046         sign of result as needed afterwards.
69047         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69048         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69049         result for underflowing pow the same as for overflow.
69050         (__kernel_standard_l): Handle powl overflow and underflow here
69051         rather than calling __kernel_standard.
69052         * math/libm-test.inc (pow_test): Add more tests.
69054         [BZ #3868]
69055         [BZ #13879]
69056         [BZ #13910]
69057         [BZ #13911]
69058         [BZ #13912]
69059         [BZ #13913]
69060         [BZ #13915]
69061         [BZ #13916]
69062         [BZ #13917]
69063         [BZ #13918]
69064         [BZ #13919]
69065         [BZ #13920]
69066         [BZ #13921]
69067         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69068         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69069         (__kernel_standard_l): New function.
69070         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69071         __kernel_standard.
69072         * math/w_acosl.c (__acosl): Likewise.
69073         * math/w_asinl.c (__asinl): Likewise.
69074         * math/w_atan2l.c (__atan2l): Likewise.
69075         * math/w_atanhl.c (__atanhl): Likewise.
69076         * math/w_coshl.c (__coshl): Likewise.
69077         * math/w_exp10l.c (__exp10l): Likewise.
69078         * math/w_exp2l.c (__exp2l): Likewise.
69079         * math/w_fmodl.c (__fmodl): Likewise.
69080         * math/w_hypotl.c (__hypotl): Likewise.
69081         * math/w_j0l.c (__j0l, __y0l): Likewise.
69082         * math/w_j1l.c (__j1l, __y1l): Likewise.
69083         * math/w_jnl.c (__jnl, __ynl): Likewise.
69084         * math/w_lgammal.c (__lgammal): Likewise.
69085         * math/w_log10l.c (__log10l): Likewise.
69086         * math/w_log2l.c (__log2l): Likewise.
69087         * math/w_logl.c (__logl): Likewise.
69088         * math/w_powl.c (__powl): Likewise.
69089         * math/w_remainderl.c (__remainderl): Likewise.
69090         * math/w_scalbl.c (sysv_scalbl): Likewise.
69091         * math/w_sinhl.c (__sinhl): Likewise.
69092         * math/w_sqrtl.c (__sqrtl): Likewise.
69093         * math/w_tgammal.c (__tgammal): Likewise.
69094         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69095         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69096         * math/libm-test.inc (acos_test): Add more tests.
69097         (acosh_test): Likewise.
69098         (asin_test): Likewise.
69099         (atanh_test): Likewise.
69100         (exp_test): Likewise.
69101         (exp10_test): Likewise.
69102         (exp2_test): Likewise.
69103         (expm1_test): Likewise.
69104         (lgamma_test): Likewise.
69105         (log_test): Likewise.
69106         (log10_test): Likewise.
69107         (log1p_test): Likewise.
69108         (log2_test): Likewise.
69109         (pow_test): Do not allow some spurious overflow exceptions.
69110         (sqrt_test): Add more tests.
69111         (tgamma_test): Likewise.
69112         (y0_test): Likewise.
69113         (y1_test): Likewise.
69114         (yn_test): Likewise.
69116 2012-03-27  Anton Blanchard  <anton@samba.org>
69118         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69119         MAP_HUGETLB.
69120         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69121         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69122         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69124 2012-03-27  David S. Miller  <davem@davemloft.net>
69126         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69128         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69129         have-as-vis3 check.
69131 2012-03-27  Andreas Jaeger  <aj@suse.de>
69133         * sysdeps/x86_64/elf/configure.in: Moved to ...
69134         * sysdeps/x86_64/configure.in: ... here.
69135         * sysdeps/x86_64/elf/start.S: Moved to ...
69136         * sysdeps/x86_64/start.S: ... here.
69137         * sysdeps/x86_64/elf/configure: Delete.
69139         * sysdeps/x86_64/configure.in: Merge contents from
69140         sysdeps/i386/configure.in (without i686 check).
69142         * sysdeps/i386/elf/Versions: Merge into ...
69143         * sysdeps/i386/Versions: ... this.
69144         * sysdeps/i386/elf/Versions: Delete file.
69145         * sysdeps/i386/elf/start.S: Moved to ...
69146         * sysdeps/i386/start.S: ...here.
69147         * sysdeps/i386/elf/configure.in: Merge into...
69148         * sysdeps/i386/configure.in: ...here.
69149         * sysdeps/i386/elf/configure.in: Delete file.
69150         * sysdeps/i386/elf/configure: Delete file.
69152         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69153         * debug/backtracesyms.c: ... here.
69154         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69155         * debug/backtracesymsfd.c: ... here.
69156         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69157         * sysdeps/generic/ifunc-sel.h: ... here.
69159         * sysdeps/unix/i386/start.c: Delete file.
69160         * sysdeps/unix/sparc/start.c: Delete file.
69161         * sysdeps/unix/start.c: Delete file.
69163         * sysdeps/sh/elf/configure.in: Moved to ...
69164         * sysdeps/sh/configure.in: ... here.
69165         * sysdeps/sh/elf/start.S: Moved to ...
69166         * sysdeps/sh/start.S: ... here.
69167         * sysdeps/sh/elf/configure: Delete file.
69169         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69170         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69171         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69172         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69173         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69174         * sysdeps/powerpc/powerpc64/start.S: here.
69175         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69176         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69177         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69178         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69179         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69181         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69182         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69183         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69184         * sysdeps/powerpc/powerpc32/start.S: ... here.
69185         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69186         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69187         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69189         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69190         * sysdeps/powerpc/ifunc-sel.h: ... here.
69191         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69192         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69194         * sysdeps/sparc/elf/configure.in: Moved to ...
69195         * sysdeps/sparc/configure.in: ... here.
69196         * sysdeps/sparc/elf/configure: Delete file.
69197         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69198         * sysdeps/sparc/sparc32/start.S: ... here.
69199         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69200         * sysdeps/sparc/sparc64/start.S: ... here.
69201         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69202         * sysdeps/sparc/sparc32/Makefile: ... this.
69203         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69204         * sysdeps/sparc/sparc64/Makefile: ... this.
69206         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69207         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69208         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69209         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69210         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69211         * sysdeps/s390/s390-32/setjmp.S: ... here.
69212         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69213         * sysdeps/s390/s390-32/configure.in: ... here.
69214         * sysdeps/s390/s390-32/elf/configure: Delete file.
69215         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69216         * sysdeps/s390/s390-32/start.S: ... here.
69218         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69219         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69220         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69221         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69222         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69223         * sysdeps/s390/s390-64/setjmp.S: ... here.
69224         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69225         * sysdeps/s390/s390-64/configure.in: ... here
69226         * sysdeps/s390/s390-64/elf/configure: Delete file.
69227         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69228         * sysdeps/s390/s390-64/start.S: ... here.
69229         * sysdeps/s390/s390-64/elf/configure: Delete.
69231         * configure.in: Remove support for elf directories in sysdeps.
69233         * configure: Regenerated.
69234         * sysdeps/i386/configure: Regenerated.
69235         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69236         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69237         * sysdeps/s390/s390-32/configure: Regenerated.
69238         * sysdeps/s390/s390-64/configure: Regenerated.
69239         * sysdeps/sh/configure: Regenerated.
69240         * sysdeps/sparc/configure: Regenerated.
69241         * sysdeps/x86_64/configure: Regenerated.
69243 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69247         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69248         denormal result into account.
69250 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69252         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69253         Reported by Allan McRae <allan@archlinux.org>.
69255 2012-03-23  Jeff Law  <law@redhat.com>
69257         * nss/getnssent.c (__nss_getent): Fix typo.
69259 2012-03-23  David S. Miller  <davem@davemloft.net>
69261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69263 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69265         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69266         to pad to uint64_t for each field.
69267         (dl_tls_index): Replace unsigned long with uint64_t.
69269 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69270         Paul Pluzhnikov  <ppluzhnikov@google.com>
69272         [BZ #6528]
69273         * grp/Makefile (otherlibs): Don't set it.
69274         * inet/Makefile (otherlibs): Likewise.
69275         * login/Makefile (otherlibs): Likewise.
69276         * nscd/Makefile (otherlibs): Likewise.
69277         * posix/Makefile (otherlibs): Likewise.
69278         * pwd/Makefile (otherlibs): Likewise.
69279         * rt/Makefile (otherlibs): Likewise.
69280         * sunrpc/Makefile (otherlibs): Likewise.
69281         * nss/Makefile (otherlibs): Likewise.
69282         Add libnss_files to routines and static-only-routines.
69283         ($(objpfx)getent): Remove rule.
69284         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69285         static-only-routines.
69287 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69289         [BZ #13892]
69290         * math/s_cexp.c: Include <float.h>.
69291         (__cexp): Handle exp result overflowing not necessarily
69292         overflowing both real and imaginary parts of result.
69293         * math/s_cexpf.c: Likewise.
69294         * math/s_cexpl.c: Likewise.
69295         * math/libm-test.inc (cexp_test): Add more tests.
69296         * sysdeps/i386/fpu/libm-test-ulps: Update.
69297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69299 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69301         * include/link.h (ELFW): New macro.
69302         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69303         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69305 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69307         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69308         with uint64_t.
69310 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69312         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69313         declaration.
69314         (struct La_x32_retval): Likewise.
69316 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69318         * sysdeps/x86_64/preconfigure.in: New file.
69319         * sysdeps/x86_64/preconfigure: New generated file.
69321 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69323         [BZ #13824]
69324         * math/e_exp2l.c: Include <float.h>.
69325         (__ieee754_exp2l): Handle overflow and underflow cases
69326         separately.  Only pass fractional part of argument to
69327         __ieee754_expl.
69328         * math/libm-test.inc (exp2_test): Add more tests.
69330         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69331         negating x to take absolute value.
69332         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69333         Likewise.
69334         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69335         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69336         Likewise.
69337         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69338         computing low part if x was negated.
69339         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69341 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69343         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69344         la_x32_gnu_pltexit.
69345         (pltexit): Cast int_retval to ptrdiff_t.
69346         * elf/tst-auditmod3b.c: Likewise.
69347         * elf/tst-auditmod4b.c: Likewise.
69348         * elf/tst-auditmod5b.c: Likewise.
69349         * elf/tst-auditmod6b.c: Likewise.
69350         * elf/tst-auditmod6c.c: Likewise.
69351         * elf/tst-auditmod7b.c: Likewise.
69353         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69354         and x32_gnu_pltexit.
69356         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69357         __ELF_NATIVE_CLASS.
69358         (La_x32_regs): New macro.
69359         (La_x32_retval): Likewise.
69360         (la_x32_gnu_pltenter): New function prototype.
69361         (la_x32_gnu_pltexit): Likewise.
69363 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69365         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69366         exponent.
69368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69370         * configure.in (libc_cv_cc_nofma): Check for option to disable
69371         generation of FMA instructions.
69372         * configure: Regenerate.
69373         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69374         * sysdeps/ieee754/dbl-64/Makefile: New file.
69375         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69376         Remove brandred-fma4.
69377         (CFLAGS-brandred-fma4.c): Remove.
69378         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69379         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69380         define.
69381         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69382         define.
69384 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69386         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69387         LLONG_MAX != LONG_MAX.
69388         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69389         (_fitoa_word): Likewise.
69390         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69391         LLONG_MAX != LONG_MAX.
69392         * stdio-common/_itowa.h: Include <_itoa.h>.
69393         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69394         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69395         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69396         only if not defined.
69397         (_ITOA_WORD_TYPE): Likewise.
69398         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69399         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69401 2012-03-21  David S. Miller  <davem@davemloft.net>
69403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69405 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69407         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69408         of x86_64 when setting libc_cv_slibdir, libdir and
69409         libc_cv_localedir.
69410         * sysdeps/unix/sysv/linux/configure: Regenerated.
69412 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69414         * manual/lang.texi (Old Varargs): Remove section.
69415         (How Variadic): Update menu.
69416         (va_start): Do not mention varargs.h.
69418 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69419             Joseph Myers  <joseph@codesourcery.com>
69421         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69422         link test.
69423         * configure: Regenerated.
69425 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69427         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69428         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69429         conformtest.pl
69431 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69433         * NOTES: Remove.
69434         * Makefile (files-for-dist): Remove NOTES.
69435         (NOTES): Remove rule.
69436         * README: Don't refer to NOTES.
69437         * manual/creature.texi: Don't include macros.texi.
69438         * manual/intro.texi (creature.texi): Remove comment referring to
69439         NOTES.
69441         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69442         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69443         * configure: Regenerated.
69444         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69445         LIBC_TRY_CC_OPTION.
69446         (libc_cv_as_i686): Likewise.
69447         (libc_cv_cc_avx): Likewise.
69448         (libc_cv_cc_sse2avx): Likewise.
69449         (libc_cv_cc_fma4): Likewise.
69450         (libc_cv_cc_novzeroupper): Likewise.
69451         * sysdeps/i386/configure: Regenerated.
69453         [BZ #13883]
69454         * sysdeps/i386/fpu/s_cexp.S: Remove.
69455         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69456         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69457         * math/libm-test.inc (cexp_test): Add more tests.
69458         * sysdeps/i386/fpu/libm-test-ulps: Update.
69459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69461 2012-03-21  Allan McRae  <allan@archlinux.org>
69463         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69465 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69467         [BZ #13871]
69468         * math/w_exp2.c: Do not include <float.h>.
69469         (o_threshold, u_threshold): Remove.
69470         (__exp2): Calculate result before checking finiteness and calling
69471         __kernel_standard.
69472         * math/w_exp2f.c: Likewise.
69473         * math/w_exp2l.c: Likewise.
69474         * math/libm-test.inc (exp2_test): Require overflow exception for
69475         1e6 input.
69477         [BZ #3866]
69478         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69479         range of signed 64-bit integers before using fistpll.  Remove
69480         checks for whether integers fit in mantissa bits.
69481         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69482         the range of signed 32-bit integers before using fistpl.  Remove
69483         checks for whether integers fit in mantissa bits.
69484         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69485         (__ieee754_powl): Test for y outside the range of signed 64-bit
69486         integers before using fistpll.  Reduce 64-bit values to 63-bit
69487         ones as needed.
69488         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69489         divide-by-zero is raised for zero to large negative powers.
69490         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69491         (__ieee754_powl): Test for y outside the range of signed 64-bit
69492         integers before using fistpll.  Reduce 64-bit values to 63-bit
69493         ones as needed.
69494         * math/libm-test.inc (pow_test): Add more tests.
69496 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69498         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69499         <stdio-common/_itoa.h>.
69500         * debug/segfault.c: Likewise.
69501         * elf/dl-cache.c: Likewise.
69502         * elf/dl-minimal.c: Likewise.
69503         * elf/dl-misc.c: Likewise.
69504         * elf/dl-sysdep.c: Likewise.
69505         * elf/dl-version.c: Likewise.
69506         * elf/rtld.c: Likewise.
69507         * hurd/hurdsock.c: Likewise.
69508         * hurd/lookup-retry.c: Likewise.
69509         * malloc/malloc.c: Likewise.
69510         * malloc/mtrace.c: Likewise.
69511         * nscd/nscd_getgr_r.c: Likewise.
69512         * nscd/nscd_getpw_r.c: Likewise.
69513         * nscd/nscd_getserv_r.c: Likewise.
69514         * posix/getopt_init.c: Likewise.
69515         * posix/wordexp.c: Likewise.
69516         * stdio-common/_itoa.c: Likewise.
69517         * stdio-common/printf_fphex.c: Likewise.
69518         * stdio-common/vfprintf.c: Likewise.
69519         * string/_strerror.c: Likewise.
69520         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69521         * sysdeps/i386/i686/hp-timing.h: Likewise.
69522         * sysdeps/mach/_strerror.c: Likewise.
69523         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69524         * sysdeps/mach/hurd/sethostid.c: Likewise.
69525         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69526         * sysdeps/mach/xpg-strerror.c: Likewise.
69527         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69528         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69529         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69530         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69531         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69532         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69533         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69534         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69535         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69536         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69537         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69538         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69539         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69540         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69541         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69542         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69543         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69544         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69545         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69546         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69547         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69549         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69551         * stdio-common/_itoa.h: Moved to ...
69552         * sysdeps/generic/_itoa.h: Here.
69554         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69556         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69557         instead of "_itoa.h" and "_itowa.h".
69558         * stdio-common/vfprintf.: Likewise.
69560 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69562         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69563         <bits/wordsize.h>.
69564         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69565         (__signbit): Likwise.
69566         (llrintf): Likwise.
69567         (llrint): Likwise.
69569 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69571         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69572         __WORDSIZE != 64.
69574 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69576         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69577         OVERFLOW_EXCEPTION_OK.
69578         * math/libm-test.inc ("Philosophy"): Update comment about
69579         exception testing.
69580         (OVERFLOW_EXCEPTION): Define.
69581         (OVERFLOW_EXCEPTION_OK): Likewise.
69582         (INVALID_EXCEPTION_OK): Renumber.
69583         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69584         (IGNORE_ZERO_INF_SIGN): Likewise.
69585         (test_exceptions): Handle FE_OVERFLOW.
69586         (exp10_test): Expect overflow exceptions.
69587         (exp2_test): Likewise.
69588         (expm1_test): Likewise.
69589         (nextafter_test): Likewise.
69590         (pow_test): Likewise.
69591         (scalbn_test): Likewise.
69592         (scalbln_test): Likewise.
69594 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69596         * sysdeps/x86_64/bits/atomic.h
69597         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69598         64bit integer.
69599         (atomic_exchange_acq): Likewise.
69600         (__arch_exchange_and_add_body): Likewise.
69601         (__arch_add_body): Likewise.
69602         (atomic_add_negative): Likewise.
69603         (atomic_add_zero): Likewise.
69605 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69607         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69608         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69610 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69612         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69613         Check __x86_64__ instead of __WORDSIZE.
69615 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69617         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69619 2012-03-19  David S. Miller  <davem@davemloft.net>
69621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69623         * sysdeps/sparc/fpu/fenv_private.h: New file.
69624         * sysdeps/sparc/fpu/math_private.h: Use it.
69625         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69626         Remove.
69627         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69628         (libc_feholdexcept_setroundl): Remove.
69629         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69630         Remove.
69631         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69632         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69634 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69636         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69637         int64_t instead of long int.
69638         (INSERT_WORDS64): Likwise.
69640 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69642         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69643         _Unwind_GetCFA return to _Unwind_Ptr first.
69645 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69647         [BZ #13629]
69648         * math/s_clog.c: Include <float.h>.
69649         (__clog): Scale large or subnormal inputs.
69650         * math/s_clogf.c: Likewise.
69651         * math/s_clogl.c: Likewise.
69652         * math/s_clog10.c: Include <float.h>.
69653         (M_LOG10_2): Define.
69654         (__clog10): Scale large or subnormal inputs.
69655         * math/s_clog10f.c: Likewise.
69656         * math/s_clog10l.c: Likewise.
69657         * math/libm-test.inc (clog_test): Add more tests.
69658         (clog10_test): Likewise.
69659         * sysdeps/i386/fpu/libm-test-ulps: Update.
69660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69662         [BZ #11451]
69663         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69664         x and y.
69665         * math/libm-test.inc (atan2_test): Add another test.
69667         * Makerules (common-objdir-compile): Remove.
69668         * sysdeps/unix/Makefile (config-generated): Do not add
69669         $(unix-generated) to variable.
69670         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69671         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69672         Remove rule.
69673         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69674         Likewise.
69675         [generic bits/local_lim.h] (before-compile): Do not append to
69676         variable.
69677         [generic bits/local_lim.h] (common-generated): Likewise.
69678         [generic sys/param.h] (before-compile): Do not append to variable.
69679         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69680         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69681         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69682         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69683         include.
69684         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69685         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69686         [generic sys/param.h] ($(addprefix
69687         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69688         [generic sys/param.h] (common-generated): Do not append to
69689         variable.
69690         [generic sys/param.h] (sysdep_headers): Likewise.
69691         [generic bits/errno.h] (before-compile): Do not append to
69692         variable.
69693         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69694         rule.
69695         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69696         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69697         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69698         [generic bits/errno.h] (common-generated): Do not append to
69699         variable.
69700         [generic bits/ioctls.h] (before-compile): Do not append to
69701         variable.
69702         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69703         rule.
69704         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69705         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69706         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69707         rule.
69708         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69709         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69710         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69711         [generic bits/ioctls.h] (common-generated): Do not append to
69712         variable.
69713         [generic sys/syscall.h] (syscall.h): Remove variable.
69714         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69715         rule.
69716         [generic sys/syscall.h] (before-compile): Do not append to
69717         variable.
69718         [generic sys/syscall.h] (common-generated): Likewise.
69719         * sysdeps/unix/errnos-tmpl.c: Remove file.
69720         * sysdeps/unix/errnos.awk: Likewise.
69721         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69722         * sysdeps/unix/ioctls.awk: Likewise.
69723         * sysdeps/unix/mk-local_lim.c: Likewise.
69724         * sysdeps/unix/snarf-ioctls: Likewise.
69726 2012-03-19  Richard Henderson  <rth@twiddle.net>
69728         * sysdeps/i386/fpu/fenv_private.h: New file.
69729         * sysdeps/i386/fpu/math_private.h: Use it.
69730         (math_opt_barrier, math_force_eval): Remove.
69731         (libc_feholdexcept_setround_53bit): Remove.
69732         (libc_feupdateenv_53bit): Remove.
69733         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69734         (math_opt_barrier, math_force_eval): Remove.
69735         (libc_feholdexcept): Remove.
69736         (libc_feholdexcept_setround): Remove.
69737         (libc_fetestexcept, libc_fesetenv): Remove.
69738         (libc_feupdateenv_test): Remove.
69739         (libc_feupdateenv, libc_feholdsetround): Remove.
69740         (libc_feresetround): Remove.
69742         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69743         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69745         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69746         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69747         (libc_feupdateenv_testl): New.
69748         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69749         (libc_feupdateenv_testf): New.
69750         (libc_feupdateenv): Use libc_feupdateenv_test.
69751         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69752         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69754         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69755         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69756         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69757         (libc_feresetround_noex): New.
69758         (libc_feresetround_noexf): New.
69759         (libc_feresetround_noexl): New.
69760         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69761         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69762         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69763         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69764         SET_RESTORE_ROUND.
69765         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69766         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69767         (__cos): Likewise.
69768         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69769         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69770         SET_RESTORE_ROUND_NOEX.
69771         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69772         SET_RESTORE_ROUND_NOEXF.
69773         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69774         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69775         (libc_feholdsetroundf): New.
69776         (libc_feresetround, libc_feresetroundf): New.
69778         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69779         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69780         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69782         * sysdeps/generic/math_private.h: Include <fenv.h>.
69783         (default_libc_feholdexcept): New.
69784         (default_libc_feholdexcept_setround): New.
69785         (default_libc_fesetenv, default_libc_feupdateenv): New.
69786         (libc_feholdexcept): Only define if undefined.
69787         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69788         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69789         (libc_feholdexcept_setroundl): Likewise.
69790         (libc_feholdexcept_setround_53bit): Likewise.
69791         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69792         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69793         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69794         (libc_feupdateenv_53bit): Likewise.
69795         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69796         (libc_feholdexcept): Convert from macro to inline function.
69797         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69798         (libc_fesetenv, libc_feupdateenv): Likewise.
69800         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69801         not previously defined.
69802         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69803         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69804         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69805         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69806         * sysdeps/ieee754/flt-32/math_private.h: New file.
69807         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69808         math_private.h below SET_FLOAT_WORD.
69809         (__isnan, __isinf_ns, __finite): Remove.
69810         (__isnanf, __isinf_nsf, __finitef): Remove.
69812 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69816 2012-03-17  David S. Miller  <davem@davemloft.net>
69818         [BZ #6471]
69819         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69820         for 2.16.
69822 2012-03-16  David S. Miller  <davem@davemloft.net>
69824         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69825         warnings.
69827         [BZ #6471]
69828         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69829         properly.
69830         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69831         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69832         sysdep_routines when subdir is sysvipc.
69833         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69834         __getshmlba helper.
69836         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69838 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69840         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69841         [__LP64__].
69843 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69845         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69846         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69847         (__lround): Renamed to ...
69848         (__llround): This.  Replace long int with long long int.
69849         Define lround functions as aliases of llround functions.
69850         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69852 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69854         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69855         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69856         adresses to uintptr_t.  Replace "long int" and "unsigned long
69857         int" with "greg_t" on va_arg.
69859 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69861         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69862         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69864         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69865         Move e_machine check before EI_CLASS check.  Handle x32
69866         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69867         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69868         SKIP_EM_IA_64 and include
69869         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69871         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69872         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69873         (add_system_dir): New macro.
69875         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69876         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69878 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69880         [BZ #2551]
69881         [BZ #2552]
69882         [BZ #2553]
69883         [BZ #2554]
69884         [BZ #2562]
69885         [BZ #2563]
69886         [BZ #2565]
69887         [BZ #2566]
69888         [BZ #2576]
69889         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69890         (y0): Likewise.
69891         * math/w_j0f.c (j0f): Likewise.
69892         (y0f): Likewise.
69893         * math/w_j0l.c (__j0l): Likewise.
69894         (__y0l): Likewise.
69895         * math/w_j1.c (j1): Likewise.
69896         (y1): Likewise.
69897         * math/w_j1f.c (j1f): Likewise.
69898         (y1f): Likewise.
69899         * math/w_j1l.c (__j1l): Likewise.
69900         (__y1l): Likewise.
69901         * math/w_jn.c (jn): Likewise.
69902         (yn): Likewise.
69903         * math/w_jnf.c (jnf): Likewise.
69904         (ynf): Likewise.
69905         * math/w_jnl.c (__jnl): Likewise.
69906         (__ynl): Likewise.
69907         * math/libm-test.inc (j0_test): Add more tests.
69908         (j1_test): Likewise.
69909         (jn_test): Likewise.  Add trailing semicolon to existing test.
69910         (y0_test): Likewise.
69911         (y1_test): Likewise.
69912         * sysdeps/i386/fpu/libm-test-ulps: Update.
69913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69915         [BZ #13851]
69916         [BZ #13854]
69917         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69918         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69919         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69920         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69921         (__tanl): Set errno for infinite argument.
69922         * sysdeps/i386/fpu/mptan.c: Remove.
69923         * sysdeps/i386/fpu/s_tan.S: Likewise.
69924         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69925         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69926         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69927         * math/libm-test.inc (tan_test): Add more tests and enable more
69928         tests for double and long double.
69929         * sysdeps/i386/fpu/libm-test-ulps: Update.
69930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69932 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69934         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69935         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69937 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69939         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69940         * configure.in: Use it for both main tree and add-ons.
69941         * configure: Regenerated.
69943 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69945         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69947 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69949         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69950         in comment.
69952         [BZ #13851]
69953         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69954         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69955         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69956         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69957         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69958         infinite argument.
69959         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69960         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69961         != 0 for prec == 2.
69962         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69963         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69964         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69965         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69966         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69967         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69968         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69969         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69970         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69971         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69972         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69973         * math/libm-test.inc (cos_test): Add more tests and enable more
69974         tests for long double.
69975         (sin_test): Likewise.
69976         (sincos_test): Likewise.
69977         * sysdeps/i386/fpu/libm-test-ulps: Update.
69978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69980 2012-03-16  David S. Miller  <davem@davemloft.net>
69982         * sysdeps/sparc/fpu/math_private.h: New file.
69984 2012-03-15  David S. Miller  <davem@davemloft.net>
69986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69987         file.
69988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69990         file.
69991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69992         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69993         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69994         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69995         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69996         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69997         sysdep routines.
69998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70000         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70001         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70003         * sysdeps/sparc/sparc-ifunc.h: New file.
70004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70005         sparc-ifunc.h
70006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70008         Likewise.
70009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70010         Likewise.
70011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70015         Likewise.
70016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70021         Likewise.
70022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70023         Likewise.
70024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70028         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70029         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70030         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70031         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70032         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70033         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70034         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70035         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70036         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70037         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70038         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70039         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70040         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70041         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70042         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70043         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70044         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70045         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70046         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70047         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70049 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70051         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70052         scaling.
70053         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70055 2012-03-15  Andreas Jaeger  <aj@suse.de>
70057         [BZ #13852]
70058         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70059         ieee754/flt-32 implementation for sin, cos and sincos.
70060         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70061         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70062         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70063         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70064         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70065         ieee754/flt-32 implementation for tan.
70067         * math/libm-test.inc (cos_test): Enable some large input tests for
70068         float as well
70069         (sin_test): Likewise.
70070         (sincos_test): Likewise.
70071         (tan_test): Add tests for large input.
70073         * sysdeps/i386/fpu/libm-test-ulps: Update.
70075 2012-03-15  Andreas Jaeger  <aj@suse.de>
70077         [BZ #13658]
70078         * math/libm-test.inc (cos_test): Add more test cases.
70079         (sin_test): Likewise.
70080         (sincos_test): Likewise.
70082 2012-03-15  Andreas Jaeger  <aj@suse.de>
70084         [BZ #13837]
70085         * math/libm-test.inc (cos_test): Add a test case for large input
70086         value.
70087         (sin_test): Likewise.
70088         (sincos_test): Likewise.
70090 2012-03-15  Andreas Jaeger  <aj@suse.de>
70091             Joseph Myers  <joseph@codesourcery.com>
70093         [BZ #13658]
70094         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70095         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70096         * sysdeps/i386/fpu/branred.c: Likewise.
70097         * sysdeps/i386/fpu/dosincos.c: Likewise.
70098         * sysdeps/i386/fpu/mpa.c: Likewise.
70099         * sysdeps/i386/fpu/s_cos.S: Likewise.
70100         * sysdeps/i386/fpu/s_sin.S: Likewise.
70101         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70102         * sysdeps/i386/fpu/sincos32.c: Likewise.
70104         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70105         Define.
70106         (libc_feupdateenv_53bit): Define.
70107         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70108         Define.
70109         (libc_feupdateenv_53bit): Define.
70111         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70112         53 bit (without extend i386 double precision).
70114         * math/libm-test.inc (sincos_test): Add tests for large input.
70115         (sin): Likewise.
70116         (cos): Likewise.
70118         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70120 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70124 2012-03-15  David S. Miller  <davem@davemloft.net>
70126         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70127         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70128         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70129         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70134         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70135         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70136         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70137         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70138         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70139         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70142         file.
70143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70145         file.
70146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70148         file.
70149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70151         file.
70152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70153         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70154         fmin/fmax sysdep routines.
70155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70157 2012-03-14  David S. Miller  <davem@davemloft.net>
70159         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70160         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70161         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70162         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70163         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70164         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70165         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70166         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70167         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70168         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70169         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70170         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70171         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70172         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70173         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70174         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70175         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70176         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70177         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70178         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70179         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70180         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70181         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70182         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70183         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70184         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70185         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70186         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70187         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70188         routines.
70189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70190         file.
70191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70193         file.
70194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70196         file.
70197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70199         file.
70200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70202         file.
70203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70205         file.
70206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70207         file.
70208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70209         file.
70210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70211         file.
70212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70213         New file.
70214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70215         file.
70216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70217         file.
70218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70220         file.
70221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70223         file.
70224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70226         file.
70227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70229         VIS3 routines.
70231         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70232         New file.
70234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70236         * sysdeps/sparc/configure.in: New file.
70237         * sysdeps/sparc/configure: Generate.
70238         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70239         * configure: Regenerate.
70240         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70241         * config.make.in (have-as-vis3): New.
70242         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70243         available use -Av9d instead of -Av9a.
70244         * sysdeps/sparc/sparc64/Makefile: Likewise.
70245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70247         New file.
70248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70249         file.
70250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70251         New file.
70252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70253         file.
70254         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70255         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70256         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70257         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70258         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70260         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70261         fzeros/fnegs to load 0x80000000 into a float register instead of
70262         using the stack.
70263         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70265 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70267         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70268         bits/syscall.h.
70269         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70270         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70271         ($(inst_includedir)/bits/syscall.h): Remove rule.
70272         ($(objpfx)bits/syscall.d): Include instead of
70273         $(objpfx)syscall-list.d.
70274         (generated): Change syscall-list.h and syscall-list.d to
70275         bits/syscall.h and bits/syscall.d.
70277 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70279         [BZ #13846]
70280         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70282 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70284         [BZ #13841]
70285         * math/s_csqrt.c: Include <float.h>.
70286         (__csqrt): Scale large or subnormal inputs.
70287         * math/s_csqrtf.c: Likewise.
70288         * math/s_csqrtl.c: Likewise.
70289         * math/libm-test.inc (csqrt_test): Add more tests.
70290         * sysdeps/i386/fpu/libm-test-ulps: Update.
70291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70293         [BZ #13840]
70294         * math/libm-test.inc (hypot_test): Add more tests.
70296 2012-03-13  David S. Miller  <davem@davemloft.net>
70298         [BZ #13840]
70299         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70300         double-precision for the calculation instead of scaling.
70302 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70304         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70305         manipulate bits before adding and subtracting TWO52[sx].
70306         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70307         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70308         Likewise.
70309         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70311 2012-03-13  David S. Miller  <davem@davemloft.net>
70313         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70314         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70315         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70316         rtld-global-offsets.h
70317         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70319         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70320         large parameters.
70322         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70324         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70325         'err' in the ifdef scope in which it is actually used.
70327         * nss/nss_db/db-init.c: Include string.h
70329 2012-03-12  David S. Miller  <davem@davemloft.net>
70331         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70332         masking out of the most significant byte of random value used.
70333         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70334         Fix coding style in previous change.
70336         * sysdeps/unix/sysv/linux/kernel-features.h
70337         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70338         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70339         expression.
70340         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70341         later.
70343 2012-03-11  David S. Miller  <davem@davemloft.net>
70345         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70346         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70347         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70348         for 'resultvar' otherwise things get truncated on 64-bit.
70350         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70351         Fix masking out of the most significant byte of random value used.
70353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70355 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70359 2012-03-09  David S. Miller  <davem@davemloft.net>
70361         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70362         variables with appropriate CPP guards.
70363         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70364         from the frame pointer, not the stack pointer.  Correct layout
70365         comments.  Fix test on resulting framesize and the management of
70366         the outregs buffer for pltexit.  Preserve floating point return
70367         values across _dl_call_pltexit call.
70368         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70369         framesize and the management of the outregs buffer for pltexit.
70370         Preserve floating point return values across _dl_call_pltexit
70371         call.
70372         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70373         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70374         (la_sparc64_gnu_pltexit): New functions.
70375         (print_exit): Fix format string for return register value.
70377 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70379         * sunrpc/Makefile (others): Add rpcgen.
70380         ($(objpfx)rpcgen): Remove special build rule and dependency on
70381         libc.
70382         * sunrpc/rpcgen.c: New file.
70384 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70386         [BZ #13673]
70387         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70388         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70389         * sysdeps/i386/crti.S: Likewise.
70390         * sysdeps/i386/crtn.S: Likewise.
70391         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70392         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70393         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70394         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70395         * sysdeps/sh/crti.S: Likewise.
70396         * sysdeps/sh/crtn.S: Likewise.
70397         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70399         [BZ #13673]
70400         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70401         with URL.
70402         * locale/programs/locfile-kw.gperf: Likewise.
70403         * locale/programs/charmap-kw.h: Regenerated.
70404         * locale/programs/locfile-kw.h: Likewise.
70406         [BZ #13673]
70407         * intl/plural.y: Replace FSF snail mail address with URL.
70408         * intl/plural.c: Regenerated.
70410 2012-03-09  Richard Henderson  <rth@twiddle.net>
70412         * include/math_private.h: Remove file.
70413         * math/math_private.h: Move file ...
70414         * sysdeps/generic/math_private.h: ... here.
70416         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70417         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70418         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70420         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70421         and <math_private.h>.
70422         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70423         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70424         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70425         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70426         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70427         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70428         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70429         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70430         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70431         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70432         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70433         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70434         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70435         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70436         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70437         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70438         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70439         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70440         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70441         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70442         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70443         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70444         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70445         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70446         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70447         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70448         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70449         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70450         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70451         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70452         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70453         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70454         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70455         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70456         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70457         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70458         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70459         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70460         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70461         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70462         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70463         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70464         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70465         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70466         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70467         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70468         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70469         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70470         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70471         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70472         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70473         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70474         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70475         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70476         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70477         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70478         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70479         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70480         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70481         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70482         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70483         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70484         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70485         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70486         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70487         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70488         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70489         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70490         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70491         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70492         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70493         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70494         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70495         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70496         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70497         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70498         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70499         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70500         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70501         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70502         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70503         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70504         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70505         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70506         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70507         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70508         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70509         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70510         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70511         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70512         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70513         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70514         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70515         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70516         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70517         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70518         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70519         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70520         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70521         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70522         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70523         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70524         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70525         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70526         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70527         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70528         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70529         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70530         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70531         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70532         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70533         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70534         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70535         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70536         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70537         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70538         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70539         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70540         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70541         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70542         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70543         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70544         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70545         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70546         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70547         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70548         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70549         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70550         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70551         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70552         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70553         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70554         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70555         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70556         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70557         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70558         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70559         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70560         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70561         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70562         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70563         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70564         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70565         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70566         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70567         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70568         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70569         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70570         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70571         * sysdeps/ieee754/k_standard.c: Likewise.
70572         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70573         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70574         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70575         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70576         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70577         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70578         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70579         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70580         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70581         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70582         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70583         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70584         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70585         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70586         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70587         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70588         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70589         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70590         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70591         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70592         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70593         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70594         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70595         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70596         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70597         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70598         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70599         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70600         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70601         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70602         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70603         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70604         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70605         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70606         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70607         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70608         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70609         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70610         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70611         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70612         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70613         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70614         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70615         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70616         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70617         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70618         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70619         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70620         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70621         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70622         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70623         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70624         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70625         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70626         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70627         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70628         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70629         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70630         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70631         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70632         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70633         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70634         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70635         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70636         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70637         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70638         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70639         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70640         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70641         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70642         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70643         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70644         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70645         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70646         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70647         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70648         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70649         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70650         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70651         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70652         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70653         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70654         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70655         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70656         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70657         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70658         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70659         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70660         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70661         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70662         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70663         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70664         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70665         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70666         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70667         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70668         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70669         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70670         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70671         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70672         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70673         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70674         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70675         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70676         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70677         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70678         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70679         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70680         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70681         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70682         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70683         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70684         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70685         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70686         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70687         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70688         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70689         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70690         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70691         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70692         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70693         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70694         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70695         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70696         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70697         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70698         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70699         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70700         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70701         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70702         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70703         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70704         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70705         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70706         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70707         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70708         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70709         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70710         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70711         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70712         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70713         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70714         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70715         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70716         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70717         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70718         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70719         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70720         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70721         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70722         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70723         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70724         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70725         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70726         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70727         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70728         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70729         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70730         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70731         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70732         * sysdeps/ieee754/s_lib_version.c: Likewise.
70733         * sysdeps/ieee754/s_matherr.c: Likewise.
70734         * sysdeps/ieee754/s_signgam.c: Likewise.
70735         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70736         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70737         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70738         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70739         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70740         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70741         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70742         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70743         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70744         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70745         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70746         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70747         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70748         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70749         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70750         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70751         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70752         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70753         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70754         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70755         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70757 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70759         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70760         * sunrpc/rpc_main.c: Likewise.
70761         * sunrpc/rpc_svcout.c: Likewise.
70763 2012-03-09  David S. Miller  <davem@davemloft.net>
70765         * include/math_private.h: New file.
70767 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70769         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70770         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70771         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70772         from <bits/socket_type.h>.
70773         (enum __socket_type): Don't define here.
70774         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70775         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70776         bits/socket_type.h.
70778         [BZ #13566]
70779         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70780         checking __USE_GNU.
70782         * Makerules ($(inst_includedir)/%.h): New rule.
70783         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70784         (install-others): Remove variable setting.
70785         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70787 2012-03-08  Richard Henderson  <rth@twiddle.net>
70789         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70790         from macro to inline function; merge with the
70791         !__LIBC_INTERNAL_MATH_INLINES version.
70792         (__ieee754_sqrtf): Likewise.
70794         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70795         to inline function.
70796         (__rintf, __floor, __floorf): Likewise.
70798         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70799         macro to inline function.
70800         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70802         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70803         not <math/math_private.h>.
70805 2012-03-08  David S. Miller  <davem@davemloft.net>
70807         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70808         copyright year.
70809         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70811 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70813         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70814         normalization.
70815         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70816         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70818 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70820         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70821         be defined individually, they must be defined as a block.  Define
70822         S for printing a string instead of hidint the different by using a
70823         macro for adding the 'l'.
70824         * stdio-common/tst-fphex-wide.c: Adjust.
70826 2012-03-07  Marek Polacek  <polacek@redhat.com>
70828         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70830 2012-03-08  Marek Polacek  <polacek@redhat.com>
70832         [BZ #13806]
70833         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70834         * stdio-common/tst-fphex.c: Define a few macros to make the
70835         test reusable.  Use them.
70836         * stdio-common/tst-fphex-wide.c: New file.
70838 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70840         [BZ #6911]
70841         * manual/macros.texi (gnusystems): New macro.
70842         (nongnusystems): Likewise.
70843         (gnulinuxhurdsystems): Likewise.
70844         (gnuhurdsystems): Likewise..
70845         (gnulinuxsystems): Likewise.
70846         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70847         variants of the GNU system, not "GNU system".
70848         * manual/conf.texi: Likewise.
70849         * manual/errno.texi: Likewise.  Update example of errno macro
70850         expansion.
70851         * manual/filesys.texi: Likewise.
70852         (getumask): Document as specific to GNU/Hurd.
70853         * manual/install.texi: Likewise.  Reword some references to
70854         GNU/Linux.
70855         * manual/intro.texi: Likewise.
70856         * manual/io.texi: Likewise.
70857         (File Name Portability): Detail which constraints are inapplicable
70858         to all GNU systems and which are only inapplicable to GNU/Hurd.
70859         * manual/job.texi: Likewise.
70860         * manual/llio.texi: Likewise.
70861         (O_NOCTTY): Document as present on GNU/Linux.
70862         * manual/maint.texi: Likewise.
70863         * manual/memory.texi: Likewise.
70864         * manual/pattern.texi: Likewise.
70865         * manual/pipe.texi: Likewise.
70866         * manual/process.texi: Likewise.
70867         * manual/resource.texi: Likewise.
70868         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70869         child on GNU/Hurd.
70870         * manual/setjmp.texi: Likewise.
70871         * manual/signal.texi: Likewise.
70872         * manual/startup.texi: Likewise.
70873         * manual/stdio.texi: Likewise.
70874         * manual/terminal.texi: Likewise.
70875         (ONLCR): Document as POSIX.
70876         (OXTABS): Document availability on GNU/Linux as XTABS.
70877         (ONOEOT): Document availability separately from other bits.
70878         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70879         * manual/time.texi: Likewise.
70880         * manual/users.texi: Likewise.
70881         * INSTALL: Regenerated.
70882         * sysdeps/gnu/errlist.c: Regenerated.
70884         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70885         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70886         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70887         puts.
70888         * configure: Regenerated.
70890 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70892         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70893         default includes instead of AC_HEADER_CHECK.
70894         * sysdeps/i386/configure: Regenerated.
70896         [BZ #10716]
70897         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70898         * math/s_cacoshf.c (__cacoshf): Likewise.
70899         * math/s_cacoshl.c (__cacoshl): Likewise.
70900         * math/s_casinh.c (__casinh): Set signs of result from argument.
70901         * math/s_casinhf.c (__casinhf): Likewise.
70902         * math/s_casinhl.c (__casinhl): Likewise.
70903         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70904         (casinh_test): Add more tests.
70905         * sysdeps/i386/fpu/libm-test-ulps: Update.
70906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70908 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70910         * po/zh_TW.po: Update from translation team.
70912         * login/Makefile (distribute): Remove variable.
70913         * catgets/Makefile: Likewise.
70914         * mach/Makefile: Likewise.
70915         * malloc/Makefile: Likewise.
70916         * misc/Makefile: Likewise.
70917         * iconv/Makefile: Likewise.
70918         * nscd/Makefile: Likewise.
70919         * hurd/Makefile: Likewise.
70920         * manual/Makefile: Likewise.
70921         * locale/Makefile: Likewise.
70922         * intl/Makefile: Likewise.
70923         * conform/Makefile: Likewise.
70924         * nss/Makefile: Likewise.
70925         * time/Makefile: Likewise.
70926         * soft-fp/Makefile: Likewise.
70927         * dirent/Makefile: Likewise.
70928         * gmon/Makefile: Likewise.
70929         * po/Makefile: Likewise.
70930         * rt/Makefile: Likewise.
70931         * socket/Makefile: Likewise.
70932         * math/Makefile: Likewise.
70933         * signal/Makefile: Likewise.
70934         * debug/Makefile: Likewise.
70935         * elf/Makefile: Likewise.
70936         * timezone/Makefile: Likewise.
70937         * stdlib/Makefile: Likewise.
70938         * iconvdata/Makefile: Likewise.
70939         * sunrpc/Makefile: Likewise.
70940         * io/Makefile: Likewise.
70941         * argp/Makefile: Likewise.
70942         * inet/Makefile: Likewise.
70943         * hesiod/Makefile: Likewise.
70944         * grp/Makefile: Likewise.
70945         * csu/Makefile: Likewise.
70946         * wctype/Makefile: Likewise.
70947         * crypt/Makefile: Likewise.
70948         * libio/Makefile: Likewise.
70949         * string/Makefile: Likewise.
70950         * nis/Makefile: Likewise.
70951         * resolv/Makefile: Likewise.
70952         * stdio-common/Makefile: Likewise.
70953         * wcsmbs/Makefile: Likewise.
70954         * dlfcn/Makefile: Likewise.
70955         * posix/Makefile: Likewise.
70957         [BZ #6959]
70958         * timezone/Makefile: Don't install timezone files, just the programs
70959         and scripts.
70961 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70963         * nss/databases.def: Add missing gshadow entry.
70965         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70967 2012-03-06  Marek Polacek  <polacek@redhat.com>
70969         [BZ #13726]
70970         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70971         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70972         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70973         * stdio-common/tst-long-dbl-fphex.c: New file.
70975 2012-03-06  David S. Miller  <davem@davemloft.net>
70977         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70978         (set_obp_int): New function.
70979         (get_obp_int): New function.
70980         (__get_clockfreq_via_dev_openprom): Likewise.
70981         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70982         Avoid unused variable warnings on 'val' and use builtin_expect.
70983         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70984         __builtin_expect.
70985         (INLINE_CLONE_SYSCALL): Likewise.
70987 2012-03-05  David S. Miller  <davem@davemloft.net>
70989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70991 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70995         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70996         only for |x| >= 40.
70997         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70999 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71001         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71002         Replace gettimeofday with __vdso_gettimeofday.
71004         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71005         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71006         __vdso_clock_gettime and __vdso_getcpu.
71008         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71009         time with __vdso_time.
71011 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71013         * manual/lang.texi (size_t): Note types to which size_t may be
71014         equivalent with the GNU C Library, but do not describe when
71015         differences between them are significant.
71017 2012-03-05  Andreas Jaeger  <aj@suse.de>
71019         * sysdeps/i386/fpu/libm-test-ulps: Update.
71021 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71023         [BZ #3976]
71024         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71025         (__ieee754_pow): Save and restore rounding mode and use
71026         round-to-nearest for main computations.
71027         * math/libm-test.inc (pow_test_tonearest): New function.
71028         (pow_test_towardzero): Likewise.
71029         (pow_test_downward): Likewise.
71030         (pow_test_upward): Likewise.
71031         (main): Call the new functions.
71032         * sysdeps/i386/fpu/libm-test-ulps: Update.
71033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71035         [BZ #3976]
71036         * math/libm-test.inc (cosh_test_tonearest): New function.
71037         (cosh_test_towardzero): Likewise.
71038         (cosh_test_downward): Likewise.
71039         (cosh_test_upward): Likewise.
71040         (sinh_test_tonearest): Likewise.
71041         (sinh_test_towardzero): Likewise.
71042         (sinh_test_downward): Likewise.
71043         (sinh_test_upward): Likewise.
71044         (main): Call the new functions.
71045         * sysdeps/i386/fpu/libm-test-ulps: Update.
71046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71048 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71050         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71051         default stack guard is set in last bytes.
71052         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71054 2012-03-05  Kees Cook  <keescook@chromium.org>
71056         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71058         [BZ #13656]
71059         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71060         possibly allocate from heap instead of stack.
71061         * stdio-common/bug-vfprintf-nargs.c: New file.
71062         * stdio-common/Makefile (tests): Add nargs overflow test.
71064 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71068 2012-03-03  Marek Polacek  <polacek@redhat.com>
71070         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71071         * math/math_private.h: Likewise.
71072         * stdlib/tst-strtod.c: Likewise.
71073         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71074         * sysdeps/x86_64/bits/atomic.h: Likewise.
71076 2012-03-02  David S. Miller  <davem@davemloft.net>
71078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71082         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71083         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71084         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71085         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71087 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71089         [BZ #13792]
71090         * manual/examples/README: New file, says the example source files
71091         can be used under GPL>=2.
71092         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71093         line containing just "*/".
71094         * manual/examples/add.c: Add copyright header (GPL>=2).
71095         * manual/examples/argp-ex1.c: Likewise.
71096         * manual/examples/argp-ex2.c: Likewise.
71097         * manual/examples/argp-ex3.c: Likewise.
71098         * manual/examples/argp-ex4.c: Likewise.
71099         * manual/examples/atexit.c: Likewise.
71100         * manual/examples/db.c: Likewise.
71101         * manual/examples/dir.c: Likewise.
71102         * manual/examples/dir2.c: Likewise.
71103         * manual/examples/execinfo.c: Likewise.
71104         * manual/examples/filecli.c: Likewise.
71105         * manual/examples/filesrv.c: Likewise.
71106         * manual/examples/fmtmsgexpl.c: Likewise.
71107         * manual/examples/genpass.c: Likewise.
71108         * manual/examples/inetcli.c: Likewise.
71109         * manual/examples/inetsrv.c: Likewise.
71110         * manual/examples/isockad.c: Likewise.
71111         * manual/examples/longopt.c: Likewise.
71112         * manual/examples/memopen.c: Likewise.
71113         * manual/examples/memstrm.c: Likewise.
71114         * manual/examples/mkfsock.c: Likewise.
71115         * manual/examples/mkisock.c: Likewise.
71116         * manual/examples/mygetpass.c: Likewise.
71117         * manual/examples/pipe.c: Likewise.
71118         * manual/examples/popen.c: Likewise.
71119         * manual/examples/rprintf.c: Likewise.
71120         * manual/examples/search.c: Likewise.
71121         * manual/examples/select.c: Likewise.
71122         * manual/examples/setjmp.c: Likewise.
71123         * manual/examples/sigh1.c: Likewise.
71124         * manual/examples/sigusr.c: Likewise.
71125         * manual/examples/stpcpy.c: Likewise.
71126         * manual/examples/strdupa.c: Likewise.
71127         * manual/examples/strftim.c: Likewise.
71128         * manual/examples/strncat.c: Likewise.
71129         * manual/examples/subopt.c: Likewise.
71130         * manual/examples/swapcontext.c: Likewise.
71131         * manual/examples/termios.c: Likewise.
71132         * manual/examples/testopt.c: Likewise.
71133         * manual/examples/testpass.c: Likewise.
71134         * manual/examples/timeval_subtract.c: Likewise.
71136         [BZ #13792]
71137         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71138         function to ...
71139         * manual/timeval_subtract.c.texi: ... here, new file.
71141 2012-03-02  David S. Miller  <davem@davemloft.net>
71143         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71145 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71147         [BZ #3976]
71148         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71149         (__sin): Save and restore rounding mode and use round-to-nearest
71150         for all computations.
71151         (__cos): Save and restore rounding mode and use round-to-nearest
71152         for all computations.
71153         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71154         <fenv.h>.
71155         (tan): Save and restore rounding mode and use round-to-nearest for
71156         all computations.
71157         * math/libm-test.inc (cos_test_tonearest): New function.
71158         (cos_test_towardzero): Likewise.
71159         (cos_test_downward): Likewise.
71160         (cos_test_upward): Likewise.
71161         (sin_test_tonearest): Likewise.
71162         (sin_test_towardzero): Likewise.
71163         (sin_test_downward): Likewise.
71164         (sin_test_upward): Likewise.
71165         (tan_test_tonearest): Likewise.
71166         (tan_test_towardzero): Likewise.
71167         (tan_test_downward): Likewise.
71168         (tan_test_upward): Likewise.
71169         (main): Call the new functions.
71170         * sysdeps/i386/fpu/libm-test-ulps: Update.
71171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71173         [BZ #10135]
71174         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71175         small n, then large n, before computing and testing k+n.
71176         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71177         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71178         Likewise.
71179         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71180         Likewise.
71181         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71182         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71183         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71184         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71185         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71186         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71187         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71188         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71189         * math/libm-test.inc (scalbn_test): Add more tests.
71190         (scalbln_test): Likewise.
71192         * manual/filesys.texi (mode_t): Describe constraints on size and
71193         signedness, not exact equivalence to a particular type.
71194         (ino_t): Likewise.
71195         (ino64_t): Likewise.
71196         (dev_t): Likewise.
71197         (nlink_t): Likewise.
71198         (blkcnt_t): Likewise.
71199         (blkcnt64_t): Likewise.
71200         * manual/llio.texi (off_t): Likewise.
71202         [BZ #3976]
71203         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71204         (__ieee754_exp): Save and restore rounding mode and use
71205         round-to-nearest for all computations.
71206         * math/libm-test.inc (exp_test_tonearest): New function.
71207         (exp_test_towardzero): Likewise.
71208         (exp_test_downward): Likewise.
71209         (exp_test_upward): Likewise.
71210         (main): Call the new functions.
71211         * sysdeps/i386/fpu/libm-test-ulps: Update.
71212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71214 2012-03-01  Chris Demetriou  <cgd@google.com>
71216         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71217         have predictable order.
71219 2012-03-01  David S. Miller  <davem@davemloft.net>
71221         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71223         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71224         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71225         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71226         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71228         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71229         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71230         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71232         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71233         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71234         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71235         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71236         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71240         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71241         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71242         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71244         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71245         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71246         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71247         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71248         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71249         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71250         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71251         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71252         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71253         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71254         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71255         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71256         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71257         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71258         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71259         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71260         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71261         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71262         * sysdeps/sparc/elf/configure: Regenerated.
71264 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71266         * configure.in (AS, LD): Require binutils 2.20 or later.
71267         * configure: Regenerated.
71268         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71269         as required minimum version.
71270         * INSTALL: Regenerated.
71272         [BZ #2541]
71273         [BZ #4108]
71274         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71275         before squaring exponent.
71276         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71277         bottom long double and 27 bits of top long double before squaring
71278         exponent.
71279         * math/libm-test.inc (erfc_test): Add more tests.
71280         * sysdeps/i386/fpu/libm-test-ulps: Update.
71281         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71284 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71286         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71287         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71288         containing bit-fields.
71289         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71290         * soft-fp/single.h (_FP_UNION_S): Likewise.
71291         * soft-fp/double.h (_FP_UNION_D): Likewise.
71293 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71295         [BZ #13786]
71296         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71297         not include ../strcmp.S.
71298         [USE_AS_STRNCASECMP_L]: Likewise.
71299         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71300         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71301         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71302         (__strncasecmp_l_ia32): Define as alias to
71303         __strncasecmp_l_nonascii.
71305         [BZ #5794]
71306         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71307         * sysdeps/i386/fpu/libm-test-ulps: Update.
71308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71310         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71313 2012-02-29  Jeff Law  <law@redhat.com>
71315         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71316         out of bounds read.
71318 2012-02-29  Marek Polacek  <polacek@redhat.com>
71320         [BZ #13706]
71321         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71322         * elf/Makefile: Add rules to run tst-unused-dep.out.
71324 2012-02-28  David S. Miller  <davem@davemloft.net>
71326         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71327         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71328         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71329         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71330         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71331         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71333 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71335         * math/libm-test.inc (llround_test): Move one test from
71336         lround_test.  Use TEST_f_L in moved test.
71337         (lround_test): Move misplaced test to llround_test.  Add testcase
71338         from bug 2561.
71340 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71342         * sysdeps/x86_64/fpu/e_expf.S: New file.
71343         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71345 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71347         [BZ #13637]
71348         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71349         of remain_len that may cause incomplete multi-byte character and
71350         false match.
71351         * posix/bug-regex33.c: New file.
71352         * posix/Makefile (tests): Add bug-regex33.
71354 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71356         * manual/macros.texi: New file.
71357         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71358         * manual/libc.texinfo: Include macros.texi.
71359         * manual/creatute.texi: Likewise.
71360         * manual/install.texi: Likewise.
71361         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71362         @glibcadj{} in references to the GNU C Library.
71363         * manual/charset.texi: Likewise.
71364         * manual/conf.texi: Likewise.
71365         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71366         when not using those macros.
71367         * manual/creature.texi: Likewise.
71368         * manual/crypt.texi: Likewise.
71369         * manual/errno.texi: Likewise.
71370         * manual/filesys.texi: Likewise.
71371         * manual/header.texi: Likewise.
71372         * manual/install.texi: Likewise.
71373         * manual/intro.texi: Likewise.
71374         * manual/io.texi: Likewise.
71375         * manual/job.texi: Likewise.
71376         * manual/lang.texi: Likewise.
71377         * manual/libc.texiinfo: Likewise.
71378         * manual/llio.texi: Likewise.
71379         * manual/locale.texi: Likewise.
71380         * manual/maint.texi: Likewise.
71381         * manual/math.texi: Likewise.
71382         * manual/memory.texi: Likewise.
71383         * manual/message.texi: Likewise.
71384         * manual/nss.texi: Likewise.
71385         * manual/pattern.texi: Likewise.
71386         * manual/process.texi: Likewise.
71387         * manual/resource.texi: Likewise.
71388         * manual/search.texi: Likewise.
71389         * manual/setjmp.texi: Likewise.
71390         * manual/signal.texi: Likewise.
71391         * manual/socket.texi: Likewise.
71392         * manual/startup.texi: Likewise.
71393         * manual/stdio.texi: Likewise.
71394         * manual/string.texi: Likewise.
71395         * manual/sysinfo.texi: Likewise.
71396         * manual/syslog.texi: Likewise.
71397         * manual/terminal.texi: Likewise.
71398         * manual/time.texi: Likewise.
71399         * manual/users.texi: Likewise.
71400         * INSTALL: Regenerated.
71401         * NOTES: Regenerated.
71402         * sysdeps/gnu/errlist.c: Regenerated.
71404 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71406         * include/dirent.h: Include <dirstream.h> before
71407         <dirent/dirent.h>.
71409 2012-02-28  David S. Miller  <davem@davemloft.net>
71411         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71412         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71413         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71414         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71416 2012-02-27  David S. Miller  <davem@davemloft.net>
71418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71420         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71421         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71424         frame pointer instead of stack pointer relative arg slot.
71425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71426         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71427         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71429 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71431         [BZ #3992]
71432         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71434 2012-02-27  David S. Miller  <davem@davemloft.net>
71436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71440         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71441         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71442         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71443         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71445 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71447         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71448         later.  Allow versions 5-9.
71449         * configure: Regenerated.
71450         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71451         required minimum version and 4.6 as recommended version.  Do not
71452         mention bugs in GCC 2.7 and 2.8.
71453         * INSTALL: Regenerated.
71455 2012-02-27  David S. Miller  <davem@davemloft.net>
71457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71461         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71462         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71463         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71464         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71466         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71467         manipulate bits before adding and subtracting TWO112[sx].
71468         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71470 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71472         [BZ #13775]
71473         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71474         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71475         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71476         being in POSIX, because they are in 1003.1-2008.
71478         * rt/tst-aio.c: Include <fcntl.h>.
71479         * rt/tst-aio7.c: Likewise.
71480         * rt/tst-aio64.c: Likewise.
71482         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71484 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71486         * manual/install.texi (--with-headers): Describe headers as
71487         interface headers, not private headers.
71488         (Specific advice for GNU/Linux systems): Describe use of headers
71489         from "make headers_install", not private headers from older
71490         kernels.
71491         * INSTALL: Regenerated.
71492         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71493         Change to 2.6.19.
71494         * sysdeps/unix/sysv/linux/configure: Regenerated.
71496         * manual/llio.texi (fclean): Remove documentation.
71498         * manual/Makefile (libc-texi-generated): New variable.  Include
71499         version.texi.
71500         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71501         $(libc-texi-generated), not duplicated list of files.
71502         (version.texi, stamp-version): New rules.
71503         (realclean): Remove $(libc-texi-generated), not individual files
71504         from that list.  Do not remove dir-add.texinfo.
71505         * manual/libc.texinfo: Comment out uses of edition numbers and
71506         references to printed manual.  Remove last-updated dates.
71507         (EDITION): Comment out.
71508         (ISBN): Likewise.
71509         (VERSION, UPDATED): Remove.
71510         (version.texi): Include.
71512 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71514         * sysdeps/posix/spawni.c: Include <signal.h>.
71515         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71516         * sysdeps/pthread/aio_fsync.c: Likewise.
71518 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71520         * conform/Makefile (tests): Run only when not cross-compiling and
71521         when fast-check is not defined.
71523         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71524         * conform/data/limits.h-data: Fixes for POSIX2008.
71525         * conform/run-conformtest.sh: Run all tests.
71526         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71527         headers.
71528         * include/bits/dlfcn.h: Likewise.
71529         * include/langinfo.h: Likewise.
71530         * include/monetary.h: Likewise.
71531         * include/sys/poll.h: Likewise.
71533         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71534         for __USE_GNU.
71535         * posix/spawn.h: Define __need_sigset_t.
71536         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71537         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71538         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71539         to get sigevent_t only.
71540         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71541         only for __USE_GNU.
71542         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71543         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71544         process_vm_writev only for __USE_GNU.
71545         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71547         * conform/Makefile: For now ignore errors from run-conformtest.
71548         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71549         POSIX to avoid namespace pollution.  Don't prepend headers.
71550         * conform/data/aio.h-data: Fixes for POSIX testing.
71551         * conform/data/fcntl.h-data: Likewise.
71552         * conform/data/glob.h-data: Likewise.
71553         * conform/data/grp.h-data: Likewise.
71554         * conform/data/pthread.h-data: Likewise.
71555         * conform/data/pwd.h-data: Likewise.
71556         * conform/data/signal.h-data: Likewise.
71557         * conform/data/spawn.h-data: Likewise.
71558         * conform/data/stdio.h-data: Likewise.
71559         * conform/data/stdlib.h-data: Likewise.
71560         * conform/data/stropts.h-data: Likewise.
71561         * conform/data/sys/mman.h-data: Likewise.
71562         * conform/data/sys/stat.h-data: Likewise.
71563         * conform/data/sys/types.h-data: Likewise.
71564         * conform/data/sys/wait.h-data: Likewise.
71565         * conform/data/time.h-data: Likewise.
71566         * conform/data/unistd.h-data: Likewise.
71567         * conform/data/utime.h-data: Likewise.
71569         * io/sys/stat.h: fchmod was always in POSIX.
71570         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71571         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71572         * rt/aio.h: Define __need_timespec before including <time.h>.
71573         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71574         struct.  Add forward declaration of pthread_attr_t and use it in
71575         sigevent.
71576         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71577         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71578         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71579         always remove CLK_TCK definition.
71581 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71583         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71585 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71587         * conform/run-conformtest.sh: New file.
71588         * conform/Makefile: Run run-conformtest for tests.
71589         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71590         support.
71592         * conform/data/uchar.h-data: New file.
71593         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71594         * conform/data/arpa/inet.h-data: Likewise.
71595         * conform/data/assert.h-data: Likewise.
71596         * conform/data/complex.h-data: Likewise.
71597         * conform/data/cpio.h-data: Likewise.
71598         * conform/data/ctype.h-data: Likewise.
71599         * conform/data/dirent.h-data: Likewise.
71600         * conform/data/dlfcn.h-data: Likewise.
71601         * conform/data/errno.h-data: Likewise.
71602         * conform/data/fcntl.h-data: Likewise.
71603         * conform/data/float.h-data: Likewise.
71604         * conform/data/fmtmsg.h-data: Likewise.
71605         * conform/data/fnmatch.h-data: Likewise.
71606         * conform/data/ftw.h-data: Likewise.
71607         * conform/data/glob.h-data: Likewise.
71608         * conform/data/grp.h-data: Likewise.
71609         * conform/data/iconv.h-data: Likewise.
71610         * conform/data/inttypes.h-data: Likewise.
71611         * conform/data/langinfo.h-data: Likewise.
71612         * conform/data/libgen.h-data: Likewise.
71613         * conform/data/limits.h-data: Likewise.
71614         * conform/data/locale.h-data: Likewise.
71615         * conform/data/math.h-data: Likewise.
71616         * conform/data/monetary.h-data: Likewise.
71617         * conform/data/mqueue.h-data: Likewise.
71618         * conform/data/ndbm.h-data: Likewise.
71619         * conform/data/net/if.h-data: Likewise.
71620         * conform/data/netdb.h-data: Likewise.
71621         * conform/data/netinet/in.h-data: Likewise.
71622         * conform/data/nl_types.h-data: Likewise.
71623         * conform/data/poll.h-data: Likewise.
71624         * conform/data/pthread.h-data: Likewise.
71625         * conform/data/pwd.h-data: Likewise.
71626         * conform/data/regex.h-data: Likewise.
71627         * conform/data/sched.h-data: Likewise.
71628         * conform/data/search.h-data: Likewise.
71629         * conform/data/semaphore.h-data: Likewise.
71630         * conform/data/setjmp.h-data: Likewise.
71631         * conform/data/signal.h-data: Likewise.
71632         * conform/data/spawn.h-data: Likewise.
71633         * conform/data/stdarg.h-data: Likewise.
71634         * conform/data/stdio.h-data: Likewise.
71635         * conform/data/stdlib.h-data: Likewise.
71636         * conform/data/string.h-data: Likewise.
71637         * conform/data/strings.h-data: Likewise.
71638         * conform/data/stropts.h-data: Likewise.
71639         * conform/data/sys/ipc.h-data: Likewise.
71640         * conform/data/sys/mman.h-data: Likewise.
71641         * conform/data/sys/msg.h-data: Likewise.
71642         * conform/data/sys/resource.h-data: Likewise.
71643         * conform/data/sys/select.h-data: Likewise.
71644         * conform/data/sys/sem.h-data: Likewise.
71645         * conform/data/sys/shm.h-data: Likewise.
71646         * conform/data/sys/socket.h-data: Likewise.
71647         * conform/data/sys/stat.h-data: Likewise.
71648         * conform/data/sys/statvfs.h-data: Likewise.
71649         * conform/data/sys/time.h-data: Likewise.
71650         * conform/data/sys/timeb.h-data: Likewise.
71651         * conform/data/sys/times.h-data: Likewise.
71652         * conform/data/sys/types.h-data: Likewise.
71653         * conform/data/sys/uio.h-data: Likewise.
71654         * conform/data/sys/un.h-data: Likewise.
71655         * conform/data/sys/utsname.h-data: Likewise.
71656         * conform/data/sys/wait.h-data: Likewise.
71657         * conform/data/syslog.h-data: Likewise.
71658         * conform/data/tar.h-data: Likewise.
71659         * conform/data/termios.h-data: Likewise.
71660         * conform/data/utime.h-data: Likewise.
71661         * conform/data/utmpx.h-data: Likewise.
71662         * conform/data/varargs.h-data: Likewise.
71663         * conform/data/wchar.h-data: Likewise.
71664         * conform/data/wctype.h-data: Likewise.
71665         * conform/data/wordexp.h-data: Likewise.
71667         * include/stropts.h: New file.
71668         * include/uchar.h: New file.
71669         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71670         * include/assert.h: Likewise.
71671         * include/ctype.h: Likewise.
71672         * include/dirent.h: Likewise.
71673         * include/dlfcn.h: Likewise.
71674         * include/fcntl.h: Likewise.
71675         * include/fnmatch.h: Likewise.
71676         * include/glob.h: Likewise.
71677         * include/grp.h: Likewise.
71678         * include/libio.h: Likewise.
71679         * include/locale.h: Likewise.
71680         * include/math.h: Likewise.
71681         * include/net/if.h: Likewise.
71682         * include/netdb.h: Likewise.
71683         * include/netinet/in.h: Likewise.
71684         * include/pthread.h: Likewise.
71685         * include/pwd.h: Likewise.
71686         * include/regex.h: Likewise.
71687         * include/sched.h: Likewise.
71688         * include/search.h: Likewise.
71689         * include/setjmp.h: Likewise.
71690         * include/signal.h: Likewise.
71691         * include/stdio.h: Likewise.
71692         * include/stdlib.h: Likewise.
71693         * include/string.h: Likewise.
71694         * include/sys/cdefs.h: Likewise.
71695         * include/sys/mman.h: Likewise.
71696         * include/sys/msg.h: Likewise.
71697         * include/sys/resource.h: Likewise.
71698         * include/sys/select.h: Likewise.
71699         * include/sys/socket.h: Likewise.
71700         * include/sys/stat.h: Likewise.
71701         * include/sys/statvfs.h: Likewise.
71702         * include/sys/time.h: Likewise.
71703         * include/sys/times.h: Likewise.
71704         * include/sys/uio.h: Likewise.
71705         * include/sys/utsname.h: Likewise.
71706         * include/sys/wait.h: Likewise.
71707         * include/termios.h: Likewise.
71708         * include/time.h: Likewise.
71709         * include/ulimit.h: Likewise.
71710         * include/unistd.h: Likewise.
71711         * include/utime.h: Likewise.
71712         * include/wchar.h: Likewise.
71713         * include/wctype.h: Likewise.
71714         * include/wordexp.h: Likewise.
71716         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71718         * time/time.h: TIME_UTC must be a macro.
71719         Make timespec_get available for ISO C11 only as well.
71721 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71723         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71724         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71726 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71728         * configure.in: Use -o not -a in test for unsupported multi-arch.
71730 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71732         * manual/texinfo.tex: Update to version 2012-01-19.16.
71734 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71736         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71738 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71740         [BZ #13738]
71741         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71742         * manual/fdl-1.3.texi: New file.
71743         * manual/fdl-1.1.texi: File removed.
71745         [BZ #13738]
71746         * manual/libc.texinfo (FDL_VERSION): New @set.
71747         Use it for mention of FDL in cover text.
71748         (Documentation License): Use it in @include file name.
71750 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71751             Roland McGrath  <roland@hack.frob.com>
71753         [BZ #5461]
71754         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71755         (not LONG_LONG_MAX and LONG_LONG_MIN.
71756         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71757         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71758         name.
71759         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71761 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71763         [BZ #2547]
71764         [BZ #11365]
71765         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71766         manipulate bits before adding and subtracting TWO23[sx].
71767         * math/libm-test.inc (nearbyint_test): Add more tests.
71769 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71771         [BZ #2548]
71772         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71773         bits before adding and subtracting TWO23[sx].
71774         * math/libm-test.inc (rint_test): Add more tests.
71775         (rint_test_tonearest): Likewise.
71776         (rint_test_towardzero): Likewise.
71777         (rint_test_downward): Likewise.
71778         (rint_test_upward: Likewise.
71780 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71782         [BZ #10110]
71783         * include/stdc-predef.h: New file.  Extracted from features.h.
71784         * include/features.h: Include stdc-predef.h.
71785         * Makefile (headers): Add stdc-predef.h.
71786         * CONFORMANCE (Compiler limitations): Update.
71788 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71790         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71792 2012-02-21  David S. Miller  <davem@davemloft.net>
71794         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71795         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71797 2012-02-20  David S. Miller  <davem@davemloft.net>
71799         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71800         using a normal save/restore sequence, rather than allocating a
71801         dummy stack frame just to store a frame pointer and restore.
71802         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71804 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71806         * manual/install.texi: Fix stray word in line-wrapped comment.
71808 2012-02-20  David S. Miller  <davem@davemloft.net>
71810         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71811         both binutils and gcc support GOTDATA.
71813         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71814         "rd %pc" in the PIC register setup sequences.
71816         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71817         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71818         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71819         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71820         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71821         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71822         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71823         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71824         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71825         (SYSCALL_ERROR_HANDLER): Likewise.
71826         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71827         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71828         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71829         (SYSCALL_ERROR_HANDLER): Likewise.
71831         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71832         (HAVE_GCC_GOTDATA): New.
71833         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71834         relocation support in both binutils and gcc.
71835         * sysdeps/sparc/elf/configure: Regenerate.
71837         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71838         * sysdeps/sparc/sparc32/elf/configure: Delete.
71839         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71840         * sysdeps/sparc/sparc64/elf/configure: Delete.
71841         * sysdeps/sparc/elf/configure.in: New file.
71842         * sysdeps/sparc/elf/configure: Generate.
71844         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71845         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71846         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71847         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71848         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71850 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71852         * manual/install.texi: Do not mention specific glibc version
71853         numbers.
71854         * manual/libc.texinfo (VERSION, UPDATED): Update.
71855         (@copying): Use @copyright{} and range of years.
71857 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71859         [BZ #13695]
71860         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71861         [crti.S not in sysdirs] (generated): Do not append.
71862         [crti.S not in sysdirs] (omit-deps): Likewise.
71863         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71864         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71865         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71866         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71867         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71868         Likewise.
71869         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71870         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71871         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71872         * csu/defs.awk: Remove file.
71873         * sysdeps/generic/initfini.c: Likewise.
71874         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71875         variable.
71876         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71877         Likewise.
71879 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71881         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71882         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71883         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71884         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71885         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71886         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71887         <bits/epoll.h>.
71888         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71889         (__EPOLL_PACKED): Define to empty if not defined by
71890         <bits/epoll.h>.
71891         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71892         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71893         bits/epoll.h.
71895 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71897         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71898         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71899         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71900         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71901         <bits/timerfd.h>.
71902         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71903         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71904         bits/timerfd.h.
71906 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71908         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71909         in C locale.
71910         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71911         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71912         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71915 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71917         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71918         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71920 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71922         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71923         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71924         defined.
71925         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71926         Likewise.
71927         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71928         entry for 2.16.
71930 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71932         * math/w_acos.c: Use non-signaling floating-point comparisons.
71933         * math/w_acosf.c: Likewise.
71934         * math/w_acosh.c: Likewise.
71935         * math/w_acoshf.c: Likewise.
71936         * math/w_acoshl.c: Likewise.
71937         * math/w_acosl.c: Likewise.
71938         * math/w_asin.c: Likewise.
71939         * math/w_asinf.c: Likewise.
71940         * math/w_asinl.c: Likewise.
71941         * math/w_atanh.c: Likewise.
71942         * math/w_atanhf.c: Likewise.
71943         * math/w_atanhl.c: Likewise.
71944         * math/w_exp2.c: Likewise.
71945         * math/w_exp2f.c: Likewise.
71946         * math/w_exp2l.c: Likewise.
71947         * math/w_j0.c: Likewise.
71948         * math/w_j0f.c: Likewise.
71949         * math/w_j0l.c: Likewise.
71950         * math/w_j1.c: Likewise.
71951         * math/w_j1f.c: Likewise.
71952         * math/w_j1l.c: Likewise.
71953         * math/w_jn.c: Likewise.
71954         * math/w_jnf.c: Likewise.
71955         * math/w_log.c: Likewise.
71956         * math/w_log10.c: Likewise.
71957         * math/w_log10f.c: Likewise.
71958         * math/w_log10l.c: Likewise.
71959         * math/w_log2.c: Likewise.
71960         * math/w_log2f.c: Likewise.
71961         * math/w_log2l.c: Likewise.
71962         * math/w_logf.c: Likewise.
71963         * math/w_logl.c: Likewise.
71964         * math/w_sqrt.c: Likewise.
71965         * math/w_sqrtf.c: Likewise.
71966         * math/w_sqrtl.c: Likewise.
71967         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71968         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71969         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71970         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71971         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71973 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71975         [BZ #9739]
71976         * manual/string.texi (strnlen): Use correct parameter name in
71977         equivalent expression.
71979 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71981         [BZ #11174]
71982         * manual/users.texi (seteuid): Consistently use neweuid for
71983         argument name.
71985 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71987         [BZ #13704]
71988         * manual/nss.texi (Services in the NSS configuration): Correct
71989         list of services in example configuration file.
71991 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71993         [BZ #11322]
71994         * manual/arith.texi: Remove statements about negative zero
71995         behaving identically to zero.
71997 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71999         [BZ #5993]
72000         * manual/install.texi: Do not document upgrading from libc5.
72002 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72004         [BZ #4596]
72005         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72007 2012-02-18  David S. Miller  <davem@davemloft.net>
72009         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72010         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72011         %o7 across the call.
72012         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72013         instead.
72014         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72015         SETUP_PIC_REG_LEAF.
72016         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72017         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72018         * sysdeps/sparc/crtn.S: Likewise.
72020 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72022         * aout/Makefile: Remove.
72024 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72026         [BZ #13058]
72027         * manual/examples/argp-ex1.c (main): Format definition in GNU
72028         style.
72029         * manual/examples/argp-ex2.c (main): Likewise.
72030         * manual/examples/argp-ex3.c (main): Likewise.
72031         * manual/examples/argp-ex4.c (main): Likewise.
72032         * manual/examples/longopt.c (main): Use new-style prototype
72033         definition.
72034         * manual/examples/strncat.c (main): Specify return type and use
72035         (void) for arguments.
72036         * manual/examples/subopt.c (main): Use char **argv argument.
72038 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72040         [BZ #5077]
72041         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72042         rounding modes.
72044 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72046         [BZ #6907]
72047         * manual/string.texi (strchr): Change when strchrnul is
72048         recommended.
72050 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72052         [BZ #174]
72053         * manual/locale.texi (setlocale): Document LOCPATH.
72055 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72057         [BZ #10210]
72058         * manual/process.texi (execle): Move @dots{} before last argument.
72060 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72062         [BZ #12047]
72063         * manual/charset.texi (Generic Charset Conversion): Fix typo
72064         (LC_TYPE -> LC_CTYPE).
72066 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72068         [BZ #5805]
72069         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72070         (scalbnf): Likewise.
72071         (scalbnl): Likewise.
72072         (scalbln): Likewise.
72073         (scalblnf): Likewise.
72074         (scalblnl): Likewise.
72075         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72076         (vwarnx): Likewise.
72077         (verr): Likewise.
72078         (verrx): Likewise.
72079         * manual/filesys.texi (telldir): Use braces around return type.
72080         * manual/llio.texi (mmap): Add space after comma.
72081         (mmap64): Likewise.
72082         * manual/math.texi (jn): Use @var{} on parameter names.
72083         (jnf): Likewise.
72084         (jnl): Likewise.
72085         (yn): Likewise.
72086         (ynf): Likewise.
72087         (ynl): Likewise.
72088         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72089         line.
72090         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72091         "...".
72092         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72093         (sched_get_priority_max): Likewise.
72094         * manual/signal.texi (sigvec): Add space after comma.
72095         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72096         names.
72097         (if_indextoname): Likewise.
72098         (if_freenameindex): Likewise.
72099         (sendto): Use ',' instead of '.' in prototype.
72100         * manual/startup.texi (syscall): Use @dots{} instead of literal
72101         "...".
72102         * manual/stdio.texi (__fpending): Separate initial words of
72103         paragraph from @deftypefun line.
72104         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72105         "...".
72106         (vsyslog): Use @var{} on parameter names.
72107         * manual/terminal.texi (stty): Use @var{} on parameter names.
72108         * manual/users.texi (getutmp): Use @var{} on parameter names.
72109         (getutmpx): Likewise.
72111 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72113         [BZ #6884]
72114         * manual/stdio.texi (fopen): Fix typos in description of
72115         ",ccs=STRING".
72117 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72119         [BZ #4026]
72120         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72121         get clock_id definition.
72123 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72125         [BZ #4822]
72126         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72127         (madvise): Cast every argument to void on its own.
72129 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72131         [BZ #9902]
72132         * manual/startup.texi (Exit Status): Fix typo.
72134 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72136         [BZ #10140]
72137         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72138         * manual/examples/argp-ex2.c: Likewise.
72139         * manual/examples/argp-ex3.c: Likewise.
72141 2012-02-16  Richard Henderson  <rth@redhat.com>
72143         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72144         * sysdeps/s390/s390-32/initfini.c: Remove.
72145         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72146         * sysdeps/s390/s390-64/initfini.c: Remove.
72148 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72150         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72151         compiler output for sysdeps/generic/initfini.c.
72152         * sysdeps/sh/elf/initfini.c: Remove file.
72154 2012-02-16  David S. Miller  <davem@davemloft.net>
72156         [BZ #11494]
72157         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72159         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72160         * sysdeps/sparc/crti.S: New file.
72161         * sysdeps/sparc/crtn.S: New file.
72162         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72163         * sysdeps/sparc/sparc64/Makefile: Likewise.
72165 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72167         [BZ #3335]
72168         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72170 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72172         [BZ #4822]
72173         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72175         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72176         (write, read, close): Likewise.
72177         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72179 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72181         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72182         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72183         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72184         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72185         <bits/signalfd.h>.
72186         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72187         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72188         bits/signalfd.h.
72190 2012-02-14  Marek Polacek  <polacek@redhat.com>
72192         * sysdeps/x86_64/crti.S: New file.
72193         * sysdeps/x86_64/crtn.S: New file.
72194         * sysdeps/x86_64/elf/initfini.c: Remove file.
72196 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72198         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72199         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72200         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72201         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72202         <bits/inotify.h>.
72203         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72204         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72205         bits/inotify.h.
72207 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72209         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72210         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72211         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72212         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72213         <bits/eventfd.h>.
72214         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72215         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72216         bits/eventfd.h.
72218 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72220         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72221         __feraiseexcept instead of feraiseexcept.
72223         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72224         nanosleep invocations.
72225         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72226         strings, and add error checking for a nanosleep invocations.
72228 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72230         Replace FSF snail mail address with URLs, as per GNU coding standards.
72231         Most of the snail mail addresses were wrong anyway, and omitting
72232         them makes the source code easier to maintain.  Almost all of the
72233         changes are to license notices and to locale LC_IDENTIFICATION
72234         addresses, except for this one:
72235         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72236         not its snail mail address.
72238 2012-02-09  Richard Henderson  <rth@twiddle.net>
72240         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72241         of kernel-features.h.
72243         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72245 2012-02-08  Marek Polacek  <polacek@redhat.com>
72247         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72248         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72249         * sysdeps/gnu/_G_config.h: Likewise.
72250         * sysdeps/generic/_G_config.h: Likewise.
72252 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72254         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72255         tests.
72256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72258         * sysdeps/powerpc/powerpc32/crti.S: New file.
72259         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72260         * sysdeps/powerpc/powerpc64/crti.S: New file.
72261         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72263         * Makeconfig (have-initfini): Don't set.
72264         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72265         * configure.in (nopic_initfini): Don't substitute.
72266         * config.h.in (HAVE_INITFINI): Don't #undef.
72267         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72268         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72270 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72272         Support crti.S and crtn.S provided directly by architectures.
72273         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72274         [crti.S in sysdirs] (omit-deps): Likewise.
72275         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72276         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72277         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72278         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72279         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72280         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72281         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72282         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72283         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72284         compiler output for sysdeps/generic/initfini.c.
72285         * sysdeps/i386/elf/Makefile: Remove file.
72286         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72288 2012-02-07  Marek Polacek  <polacek@redhat.com>
72290         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72291         * sysdeps/gnu/_G_config.h: Likewise.
72292         * sysdeps/mach/hurd/_G_config.h: Likewise.
72294 2012-02-07  Marek Polacek  <polacek@redhat.com>
72296         * math/Makefile (tests): Add tst-CMPLX2.
72297         * math/tst-CMPLX2.c: New file.
72299 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72301         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72303         * math/libm-test.inc (jn_test): Add missing L suffix.
72305 2012-02-06  Marek Polacek  <polacek@redhat.com>
72307         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72308         * sysdeps/i386/fpu/e_powf.S: Likewise.
72309         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72310         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72311         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72312         * sysdeps/i386/fpu/e_pow.S: Likewise.
72313         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72314         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72315         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72316         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72317         * sysdeps/i386/fpu/e_log2.S: Likewise.
72318         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72319         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72320         * sysdeps/i386/fpu/e_powl.S: Likewise.
72321         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72322         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72323         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72324         * sysdeps/i386/fpu/e_logl.S: Likewise.
72325         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72326         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72327         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72328         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72329         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72330         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72331         * sysdeps/i386/fpu/e_log.S: Likewise.
72332         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72333         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72334         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72335         * sysdeps/i386/fpu/e_logf.S: Likewise.
72336         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72337         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72338         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72339         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72340         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72341         * sysdeps/i386/fpu/e_log10.S: Likewise.
72342         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72343         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72344         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72345         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72346         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72347         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72348         * sysdeps/i386/asm-syntax.h: Likewise.
72349         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72350         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72351         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72352         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72353         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72354         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72355         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72356         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72357         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72358         * sysdeps/powerpc/sysdep.h: Likewise.
72359         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72360         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72362 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72364         [BZ #411]
72365         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72367 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72369         * sysdeps/i386/sysdep.h: Include <features.h>.
72370         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72371         version.
72373 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72375         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72376         Define.
72377         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72378         LOAD_PIC_REG_STR.
72380 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72382         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72383         (SETUP_PIC_REG): Use GET_PC_THUNK.
72384         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72385         macro.
72387 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72389         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72390         for non-PIC compilation.
72391         (SETUP_PIC_REG): Add .p2align directive.
72392         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72393         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72394         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72395         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72396         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72397         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72398         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72399         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72400         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72401         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72402         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72403         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72404         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72405         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72406         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72407         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72408         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72409         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72410         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72411         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72412         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72413         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72414         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72415         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72416         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72417         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72418         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72419         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72420         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72421         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72422         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72423         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72424         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72425         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72426         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72427         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72428         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72429         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72430         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72431         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72432         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72434 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72436         * math/tst-CMPLX.c: Include <stdio.h>.
72438 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72440         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72441         float.
72442         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72443         * sysdeps/sparc/bits/mathdef.h: Likewise.
72445 2012-01-31  Marek Polacek  <polacek@redhat.com>
72447         * libio/libio.h: Don't define _PARAMS.
72448         * locale/programs/config.h: Don't define PARAMS.
72449         * stdlib/strtol_l.c: Likewise.
72450         (__strtol_l): Remove PARAMS from the prototype.
72452 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72454         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72455         names.  Just use the correct names.  Remove unnecessary wrapper
72456         functions.
72457         * malloc/arena.c: Likewise.
72458         * malloc/hooks.c: Likewise.
72460         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72461         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72462         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72464 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72466         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72467         into tail calls.
72468         (update_get_addr): New function.
72469         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72470         GET_ADDR_MODULE parameter.
72472 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72474         * crypt/cert.c: Remove __STDC__ conditionals.
72475         * crypt/crypt-entry.c: Likewise.
72476         * crypt/crypt_util.c: Likewise.
72477         * libio/filedoalloc.c: Likewise.
72478         * libio/fileops.c: Likewise.
72479         * libio/genops.c: Likewise.
72480         * libio/iofclose.c: Likewise.
72481         * libio/iofdopen.c: Likewise.
72482         * libio/iofopen.c: Likewise.
72483         * libio/iofopen64.c: Likewise.
72484         * libio/iogetdelim.c: Likewise.
72485         * libio/iopopen.c: Likewise.
72486         * libio/obprintf.c: Likewise.
72487         * libio/oldfileops.c: Likewise.
72488         * libio/oldiofclose.c: Likewise.
72489         * libio/oldiofdopen.c: Likewise.
72490         * libio/oldiofopen.c: Likewise.
72491         * libio/oldiopopen.c: Likewise.
72492         * libio/wfiledoalloc.c: Likewise.
72493         * libio/wgenops.c: Likewise.
72494         * locale/programs/xmalloc.c: Likewise.
72495         * misc/syslog.c: Likewise.
72496         * stdio-common/xbug.c: Likewise.
72497         * string/memchr.c: Likewise.
72498         * string/memcmp.c: Likewise.
72499         * string/memrchr.c: Likewise.
72500         * string/rawmemchr.c: Likewise.
72501         * sysdeps/posix/getcwd.c: Likewise.
72502         * time/strftime_l.c: Likewise.
72504 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72506         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72507         * config.make.in (config-cflags-sse2avx): Define.
72508         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72509         Fix typo.
72511 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72513         * scripts/config.guess: Update from upstream config git repository.
72514         * scripts/config.sub: Likewise.
72516 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72518         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72519         (EM_NUM): Update.
72520         (R_TILEPRO_*, R_TILEGX_*): New macros.
72522         * scripts/firstversions.awk: Fix bug in version range handling.
72524         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72526         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72528         * include/sys/epoll.h: New file.
72529         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72530         libc_hidden_def.
72532 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72534         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72535         Avoid unnecessary __WORDSIZE == 64 test.
72536         (fmaxf): Use VEX format if possible.
72537         (fmax): Likewise.
72538         (fminf): Likewise.
72539         (fmin): Likewise.
72541         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72542         * math/math_private.h: Remove libc_fegetround* and
72543         libc_fesetround*.
72544         * sysdeps/i386/configure.in: Check for -msse2avx.
72545         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72546         also if SSE2AVX is defined.
72547         Remove libc_fegetround* and libc_fesetround*.
72548         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72549         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72550         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72551         of HAS_YMM_USABLE.
72552         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72553         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72554         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72555         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72556         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72558         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72560 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72562         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72563         size is not set.
72564         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72566 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72568         [BZ #13618]
72569         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72570         relocation.
72571         * Makeconfig (libm): Define.
72572         * elf/Makefile: Add rules to build and run tst-relsort1.
72573         * elf/tst-relsort1.c: New file.
72574         * elf/tst-relsort1mod1.c: New file.
72575         * elf/tst-relsort1mod2.c: New file.
72577 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72579         * math/s_ldexp.c: Remove __STDC__ conditionals.
72580         * math/s_ldexpf.c: Likewise.
72581         * math/s_ldexpl.c: Likewise.
72582         * math/s_nextafter.c: Likewise.
72583         * math/s_nexttowardf.c: Likewise.
72584         * math/s_significand.c: Likewise.
72585         * math/s_significandf.c: Likewise.
72586         * math/s_significandl.c: Likewise.
72587         * math/w_jnl.c: Likewise.
72588         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72589         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72590         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72591         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72592         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72593         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72594         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72595         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72596         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72597         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72598         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72599         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72600         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72601         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72602         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72603         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72604         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72605         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72606         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72607         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72608         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72609         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72610         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72611         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72612         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72613         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72614         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72615         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72616         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72617         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72618         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72619         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72620         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72621         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72622         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72623         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72624         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72625         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72626         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72627         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72628         * sysdeps/ieee754/k_standard.c: Likewise.
72629         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72630         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72631         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72632         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72633         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72634         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72635         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72636         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72637         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72638         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72639         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72640         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72641         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72642         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72643         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72644         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72645         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72646         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72647         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72648         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72649         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72650         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72651         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72652         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72653         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72654         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72655         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72656         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72657         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72658         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72659         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72660         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72661         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72662         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72663         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72664         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72665         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72666         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72667         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72668         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72669         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72670         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72671         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72672         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72673         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72674         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72675         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72676         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72677         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72678         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72679         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72680         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72681         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72682         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72683         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72684         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72685         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72686         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72687         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72688         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72689         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72690         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72691         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72692         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72693         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72694         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72695         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72696         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72697         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72698         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72699         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72700         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72701         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72702         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72703         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72704         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72705         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72706         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72707         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72708         * sysdeps/ieee754/s_matherr.c: Likewise.
72709         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72710         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72711         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72712         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72714 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72716         * crypt/md5.h: Remove __STDC__ conditionals.
72717         * libio/libioP.h: Likewise.
72718         * locale/programs/config.h: Likewise.
72719         * sysdeps/generic/sysdep.h: Likewise.
72720         * sysdeps/i386/asm-syntax.h: Likewise.
72721         * sysdeps/s390/asm-syntax.h: Likewise.
72722         * sysdeps/unix/sysdep.h: Likewise.
72723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72726 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72728         * libio/libio.h: Remove __STDC__ conditionals.
72729         * malloc/obstack.h: Likewise.
72730         * math/complex.h: Likewise.
72731         * math/math.h: Likewise.
72732         * sysdeps/generic/_G_config.h: Likewise.
72733         * sysdeps/gnu/_G_config.h: Likewise.
72734         * sysdeps/mach/hurd/_G_config.h: Likewise.
72735         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72736         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72737         * sysdeps/sparc/bits/mathdef.h: Likewise.
72739 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72741         [BZ #13583]
72742         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72743         Clean up HAS_* macros.
72744         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72745         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72746         possible.
72747         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72748         HAS_AVX.
72749         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72750         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72751         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72752         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72753         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72755 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72757         * elf/tst-unique3.cc (gets): Remove declaration.
72758         * elf/tst-unique3lib.cc (gets): Likewise.
72759         * elf/tst-unique3lib2.cc (gets): Likewise.
72760         * elf/tst-unique4.cc (gets): Likewise.
72762 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72764         * include/stdio.h: Add C++ protection.  Add gets declarations and
72765         definitions.
72766         * debug/tst-chk1.c: Don't declare gets here.
72767         * stdio-common/tst-gets.c: Likewise.
72769 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72771         * posix/glob: Remove directory.
72773 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72775         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72777 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72779         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72780         of the non-standard EPFNOSUPPORT.
72782 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72784         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72785         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72786         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72788 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72790         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72792 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72794         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72795         transient errors.
72796         * nscd/grpcache.c (cache_addgr): Likewise.
72797         * nscd/hstcache.c (cache_addhst): Likewise.
72798         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72799         * nscd/pwdcache.c (cache_addpw): Likewise.
72800         * nscd/servicescache.c (cache_addserv): Likewise.
72802 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72804         * malloc/malloc.c: Various cleanups.
72805         * malloc/hooks.c: Likewise.
72807         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72808         * stdlib/bug-fmtmsg1.c: New file.
72810         * stdlib/fmtmsg.c (init): Add missing unlock.
72811         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72813 2012-01-12  Marek Polacek  <polacek@redhat.com>
72815         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72816         and _GNU_SOURCE.
72818 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72820         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72821         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72822         macro to ensure uniqueness of label name.
72823         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72824         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72826 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72828         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72830         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72831         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72832         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72833         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72835 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72837         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72839         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72840         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72841         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72843         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72845         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72846         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72847         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72848         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72850         * math/bits/math-finite.h: Add ldexp support.
72852 2012-01-10  Marek Polacek  <polacek@redhat.com>
72854         * locale/programs/localedef.h (show_archive_content): Add noreturn
72855         attribute.
72857 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72859         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72861 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72863         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72865         * io/Makefile (headers): Add bits/poll2.h.
72867 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72870         typo #include statement.
72872 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72874         * include/sys/cdefs.h: Define __attribute_alloc_size.
72875         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72876         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72877         * elf/pldd.c: Likewise.
72878         * iconv/iconv_charmap.c: Likewise.
72879         * iconv/iconvconfig.c: Likewise.
72880         * iconv/strtab.c: Likewise.
72881         * locale/programs/locale.c: Likewise.
72882         * locale/programs/localedef.h: Likewise.
72883         * locale/programs/simple-hash.c: Likewise.
72884         * nscd/nscd.h: Likewise.
72885         * nss/makedb.c: Likewise.
72886         * sysdeps/generic/ldconfig.h: Likewise.
72887         * locale/programs/localedef.c: Remove xmalloc prototype.
72888         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72890 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72892         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72893         appropriate.
72895 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72897         * math/Makefile (tests): Add tst-CMPLX.
72898         * math/tst-CMPLX.c: New file.
72900         * math/complex.h (CMPLXL): Fix typo.
72902         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72903         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72904         GLIBC_2.16.
72905         * debug/tst-chk1.c: Add poll and ppoll tests.
72906         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72907         * include/sys/poll.h: Add hidden proto for ppoll.
72908         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72909         * sysdeps/mach/hurd/ppoll.c: Likewise.
72910         * io/ppoll.c: Likewise.
72911         * debug/poll_chk.c: New file.
72912         * debug/ppoll_chk.c: New file.
72913         * include/bits/poll2.h: New file.
72914         * io/bits/poll2.h: New file.
72916         [BZ #1350]
72917         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72919         * configure.in: static is always set to yes.  Remove.
72920         * config.make.in: Don't set build-static.
72921         * Makeconfig: Remove use of build-static.
72922         * dlfcn/Makefile: Likewise.
72923         * elf/Makefile: Likewise.
72924         * math/Makefile: Likewise.
72925         * misc/Makefile: Likewise.
72926         * nptl/Makefile: Likewise.
72927         * sysdeps/mach/hurd/Makefile: Likewise.
72929         * configure.in: PWD_P is not used anymore.
72930         * config.make.in: Remove PWD_P entry.
72932         * configure.in: Remove last remnants of RANLIB.
72933         No need to check for signed size_t anymore.
72934         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72935         and IA-64.
72936         Remove __builtin_expect test because we require at least gcc 3.4.
72937         * aclocal.m4: Likewise.
72939         * wcsmbs/mbrtoc16.c: Implement using towc function.
72940         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72941         * wcsmbs/wcsmbsload.c: Likewise.
72942         * iconv/gconv_simple.c: Likewise.
72943         * iconv/gconv_int.h: Likewise.
72944         * iconv/gconv_builtin.h: Likewise.
72945         * iconv/iconv_prog.c: Remove CHAR16 handling.
72947         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72949         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72951         * configure.in: Remove --with-elf and --enable-bounded options.
72952         Dont set base_machine for ia64.  More non-ELF conditions removed.
72953         Remove testing and setting of leading underscore information.
72954         * config.make.in (build-bounded): Set to no.
72955         * config.h.in: Remove NO_UNDERSCORES entry.
72956         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72957         them.
72958         * csu/start.c: Remove !NO_UNDERSCORE code.
72959         * locale/localeinfo.h: Likewise.
72960         * sysdeps/generic/machine-gmon.h: Likewise.
72961         * sysdeps/generic/sysdep.h: Likewise.
72962         * sysdeps/i386/sysdep.h: Likewise.
72963         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72964         * sysdeps/mach/sysdep.h: Likewise.
72965         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72966         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72967         * sysdeps/sh/sysdep.h: Likewise.
72968         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72969         * sysdeps/unix/i386/sysdep.S: Likewise.
72970         * sysdeps/unix/sparc/start.c: Likewise.
72971         * sysdeps/unix/sparc/sysdep.S: Likewise.
72972         * sysdeps/unix/sparc/sysdep.h: Likewise.
72973         * sysdeps/unix/start.c: Likewise.
72974         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72975         * sysdeps/x86_64/sysdep.h: Likewise.
72977 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72979         [BZ #13553]
72980         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72981         for non-gcc.
72982         * argp/argp-fmtstream.h: Use const instead __const.
72983         * argp/argp.h: Likewise.
72984         * assert/assert.h: Likewise.
72985         * bits/fenv.h: Likewise.
72986         * bits/sched.h: Likewise.
72987         * bits/sigset.h: Likewise.
72988         * bits/sigthread.h: Likewise.
72989         * catgets/nl_types.h: Likewise.
72990         * conform/data/pthread.h-data: Likewise.
72991         * crypt/crypt-private.h: Likewise.
72992         * crypt/crypt.h: Likewise.
72993         * crypt/crypt_util.c: Likewise.
72994         * ctype/ctype.h: Likewise.
72995         * debug/execinfo.h: Likewise.
72996         * debug/mbsnrtowcs_chk.c: Likewise.
72997         * debug/mbsrtowcs_chk.c: Likewise.
72998         * debug/wcsnrtombs_chk.c: Likewise.
72999         * debug/wcsrtombs_chk.c: Likewise.
73000         * debug/wcstombs_chk.c: Likewise.
73001         * dirent/dirent.h: Likewise.
73002         * dlfcn/dlfcn.h: Likewise.
73003         * elf/neededtest4.c: Likewise.
73004         * grp/grp.h: Likewise.
73005         * gshadow/gshadow.h: Likewise.
73006         * iconv/gconv.h: Likewise.
73007         * iconv/gconv_int.h: Likewise.
73008         * iconv/gconv_simple.c: Likewise.
73009         * iconv/iconv.h: Likewise.
73010         * iconv/loop.c: Likewise.
73011         * iconv/skeleton.c: Likewise.
73012         * include/aio.h: Likewise.
73013         * include/aliases.h: Likewise.
73014         * include/argz.h: Likewise.
73015         * include/arpa/inet.h: Likewise.
73016         * include/assert.h: Likewise.
73017         * include/dirent.h: Likewise.
73018         * include/dlfcn.h: Likewise.
73019         * include/execinfo.h: Likewise.
73020         * include/fcntl.h: Likewise.
73021         * include/fenv.h: Likewise.
73022         * include/glob.h: Likewise.
73023         * include/grp.h: Likewise.
73024         * include/libintl.h: Likewise.
73025         * include/mntent.h: Likewise.
73026         * include/netdb.h: Likewise.
73027         * include/pwd.h: Likewise.
73028         * include/rpc/netdb.h: Likewise.
73029         * include/sched.h: Likewise.
73030         * include/search.h: Likewise.
73031         * include/shadow.h: Likewise.
73032         * include/signal.h: Likewise.
73033         * include/stdio.h: Likewise.
73034         * include/stdlib.h: Likewise.
73035         * include/string.h: Likewise.
73036         * include/sys/socket.h: Likewise.
73037         * include/sys/stat.h: Likewise.
73038         * include/sys/statfs.h: Likewise.
73039         * include/sys/statvfs.h: Likewise.
73040         * include/sys/syslog.h: Likewise.
73041         * include/sys/time.h: Likewise.
73042         * include/sys/uio.h: Likewise.
73043         * include/time.h: Likewise.
73044         * include/unistd.h: Likewise.
73045         * include/utmp.h: Likewise.
73046         * include/wchar.h: Likewise.
73047         * include/wctype.h: Likewise.
73048         * inet/aliases.h: Likewise.
73049         * inet/arpa/inet.h: Likewise.
73050         * inet/netinet/ether.h: Likewise.
73051         * inet/netinet/in.h: Likewise.
73052         * intl/libintl.h: Likewise.
73053         * io/bits/fcntl2.h: Likewise.
73054         * io/fcntl.h: Likewise.
73055         * io/ftw.h: Likewise.
73056         * io/sys/poll.h: Likewise.
73057         * io/sys/stat.h: Likewise.
73058         * io/sys/statfs.h: Likewise.
73059         * io/sys/statvfs.h: Likewise.
73060         * io/utime.h: Likewise.
73061         * libio/bits/stdio.h: Likewise.
73062         * libio/bits/stdio2.h: Likewise.
73063         * libio/libio.h: Likewise.
73064         * libio/libioP.h: Likewise.
73065         * libio/stdio.h: Likewise.
73066         * locale/lc-ctype.c: Likewise.
73067         * locale/locale.h: Likewise.
73068         * login/utmp.h: Likewise.
73069         * malloc/arena.c: Likewise.
73070         * malloc/malloc.c: Likewise.
73071         * malloc/malloc.h: Likewise.
73072         * malloc/mcheck.c: Likewise.
73073         * malloc/mtrace.c: Likewise.
73074         * math/bits/mathcalls.h: Likewise.
73075         * math/fenv.h: Likewise.
73076         * math/math_private.h: Likewise.
73077         * misc/bits/error.h: Likewise.
73078         * misc/bits/syslog.h: Likewise.
73079         * misc/err.h: Likewise.
73080         * misc/error.h: Likewise.
73081         * misc/fstab.h: Likewise.
73082         * misc/mntent.h: Likewise.
73083         * misc/regexp.h: Likewise.
73084         * misc/search.h: Likewise.
73085         * misc/sgtty.h: Likewise.
73086         * misc/sys/mman.h: Likewise.
73087         * misc/sys/syslog.h: Likewise.
73088         * misc/sys/uio.h: Likewise.
73089         * misc/sys/xattr.h: Likewise.
73090         * misc/ttyent.h: Likewise.
73091         * nis/rpcsvc/ypclnt.h: Likewise.
73092         * nss/nss.h: Likewise.
73093         * posix/bits/unistd.h: Likewise.
73094         * posix/fnmatch.h: Likewise.
73095         * posix/glob.h: Likewise.
73096         * posix/sched.h: Likewise.
73097         * posix/spawn.h: Likewise.
73098         * posix/sys/wait.h: Likewise.
73099         * posix/unistd.h: Likewise.
73100         * posix/wordexp.h: Likewise.
73101         * pwd/pwd.h: Likewise.
73102         * resolv/netdb.h: Likewise.
73103         * resource/sys/resource.h: Likewise.
73104         * rt/aio.h: Likewise.
73105         * rt/bits/mqueue2.h: Likewise.
73106         * rt/mqueue.h: Likewise.
73107         * shadow/shadow.h: Likewise.
73108         * signal/signal.h: Likewise.
73109         * socket/send.c: Likewise.
73110         * socket/sendto.c: Likewise.
73111         * socket/sys/socket.h: Likewise.
73112         * stdio-common/printf.h: Likewise.
73113         * stdlib/bits/stdlib.h: Likewise.
73114         * stdlib/fmtmsg.h: Likewise.
73115         * stdlib/monetary.h: Likewise.
73116         * stdlib/stdlib.h: Likewise.
73117         * stdlib/ucontext.h: Likewise.
73118         * streams/stropts.h: Likewise.
73119         * string/argz.h: Likewise.
73120         * string/bits/string2.h: Likewise.
73121         * string/string.h: Likewise.
73122         * string/strings.h: Likewise.
73123         * sunrpc/rpc/auth.h: Likewise.
73124         * sunrpc/rpc/auth_des.h: Likewise.
73125         * sunrpc/rpc/clnt.h: Likewise.
73126         * sunrpc/rpc/netdb.h: Likewise.
73127         * sunrpc/rpc/pmap_clnt.h: Likewise.
73128         * sunrpc/rpc/xdr.h: Likewise.
73129         * sysdeps/generic/inttypes.h: Likewise.
73130         * sysdeps/generic/net/if.h: Likewise.
73131         * sysdeps/generic/sys/swap.h: Likewise.
73132         * sysdeps/gnu/net/if.h: Likewise.
73133         * sysdeps/gnu/utmpx.h: Likewise.
73134         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73135         * sysdeps/i386/i486/bits/string.h: Likewise.
73136         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73137         * sysdeps/s390/bits/string.h: Likewise.
73138         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73139         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73140         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73141         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73142         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73143         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73144         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73145         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73146         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73147         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73148         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73149         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73150         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73151         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73152         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73153         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73154         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73155         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73156         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73157         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73158         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73159         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73160         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73161         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73162         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73163         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73164         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73165         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73166         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73167         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73168         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73169         * sysvipc/sys/ipc.h: Likewise.
73170         * sysvipc/sys/msg.h: Likewise.
73171         * sysvipc/sys/sem.h: Likewise.
73172         * sysvipc/sys/shm.h: Likewise.
73173         * termios/termios.h: Likewise.
73174         * time/sys/time.h: Likewise.
73175         * time/time.h: Likewise.
73176         * wcsmbs/bits/wchar2.h: Likewise.
73177         * wcsmbs/uchar.h: Likewise.
73178         * wcsmbs/wchar.h: Likewise.
73179         * wctype/wctype.h: Likewise.
73181         [BZ #13551]
73182         * Makeconfig: Remove all but ELF support including AIX support.
73183         * Makerules: Likewise.
73184         * config.h.in: Likewise.
73185         * config.make.in: Likewise.
73186         * configure: Likewise.
73187         * configure.in: Likewise.
73188         * csu/Makefile: Likewise.
73189         * csu/version.c: Likewise.
73190         * debug/Makefile: Likewise.
73191         * dlfcn/Makefile: Likewise.
73192         * elf/Makefile: Likewise.
73193         * extra-lib.mk: Likewise.
73194         * iconv/Makefile: Likewise.
73195         * include/libc-symbols.h: Likewise.
73196         * include/shlib-compat.h: Likewise.
73197         * resolv/Makefile: Likewise.
73198         * resolv/res_libc.c: Likewise.
73199         * rt/Makefile: Likewise.
73200         * sysdeps/i386/asm-syntax.h: Likewise.
73201         * sysdeps/i386/sysdep.h: Likewise.
73202         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73203         * sysdeps/mach/sysdep.h: Likewise.
73204         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73205         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73206         * sysdeps/s390/asm-syntax.h: Likewise.
73207         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73208         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73209         * sysdeps/sh/sysdep.h: Likewise.
73210         * sysdeps/unix/sparc/sysdep.h: Likewise.
73211         * sysdeps/wordsize-32/divdi3.c: Likewise.
73212         * sysdeps/x86_64/sysdep.h: Likewise.
73214         * argp/Versions: Remove _argp_unlock_xxx.
73216         [BZ #13559]
73217         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73218         * abilist/libBrokenLocale.abilist: Likewise.
73219         * abilist/libanl.abilist: Likewise.
73220         * abilist/libc.abilist: Likewise.
73221         * abilist/libcrypt.abilist: Likewise.
73222         * abilist/libdl.abilist: Likewise.
73223         * abilist/libm.abilist: Likewise.
73224         * abilist/libnsl.abilist: Likewise.
73225         * abilist/libpthread.abilist: Likewise.
73226         * abilist/libresolv.abilist: Likewise.
73227         * abilist/librt.abilist: Likewise.
73228         * abilist/libthread_db.abilist: Likewise.
73229         * abilist/libutil.abilist: Likewise.
73230         * abilist/libnss_db.abilist: New file.
73232         * scripts/abilist.awk: Add support for indirect functions.
73234         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73236         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73238         * shlib-versions: Remove entries for ports architectures.
73240         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73241         files in ports.
73242         * elf/stackguard-macros.h: Remove support for IA-64.
73243         * elf/tst-auditmod1.c: Likewise.
73244         * sysdeps/generic/ldsodefs.h: Likewise.
73246         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73247         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73248         configure files.
73250         [BZ #13552]
73251         * configure.in: Remove --enable-omitfp support.
73252         * FAQ.in: Adjust.
73253         * config.make.in: Likewise.
73254         * Makeconfig: Likewise.
73255         * manual/install.texi: Likewise.
73257         In case anyone cares, the IA-64 architecture could move to ports.
73258         * sysdeps/ia64/*: Removed.
73259         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73260         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73262         [BZ #13555]
73263         * configure.in: Remove entries for unsupported architectures.
73265         [BZ #13533]
73266         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73267         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73268         routines.
73269         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73270         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73271         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73272         fall back to using wcrtomb.
73273         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73274         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73275         renaming.
73276         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73277         * wcsmbs/tst-c16c32-1.c: New file.
73279         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73280         local variable.
73282         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73284         * elf/tst-unique3.cc: Add explicit declaration of gets.
73285         * elf/tst-unique3lib.cc: Likewise.
73286         * elf/tst-unique3lib2.cc: Likewise.
73287         * elf/tst-unique4.cc: Likewise.
73289         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73291 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73293         [BZ #13566]
73294         * assert/assert.h (static_assert): Don't define for C++.
73295         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73296         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73298 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73300         * iconv/loop.c (single loop): Fix assertion in storing of
73301         remaining bytes.
73303         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73305 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73307         * posix/getconf.c: Update copyright year.
73308         * nss/getent.c: Likewise.
73309         * nss/makedb.c: Likewise.
73310         * iconv/iconvconfig.c: Likewise.
73311         * iconv/iconv_prog.c: Likewise.
73312         * elf/ldconfig.c: Likewise.
73313         * elf/pldd.c: Likewise.
73314         * elf/sotruss.ksh: Likewise.
73315         * catgets/gencat.c: Likewise.
73316         * csu/version.c: Likewise.
73317         * elf/ldd.bash.in: Likewise.
73318         * elf/sprof.c (print_version): Likewise.
73319         * locale/programs/locale.c: Likewise.
73320         * locale/programs/localedef.c: Likewise.
73321         * login/programs/pt_chown.c: Likewise.
73322         * nscd/nscd.c (print_version): Likewise.
73323         * debug/xtrace.sh: Likewise.
73324         * malloc/memusage.sh: Likewise.
73325         * malloc/mtrace.pl: Likewise.
73326         * debug/catchsegv.sh: Likewise.
73328 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73330         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73331         pure attribute.
73333 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73335         [BZ #13533]
73336         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73337         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73338         transformations.
73339         * iconv/gconv_int.h: Likewise.
73340         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73341         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73342         from libc for GLIBC_2.16.
73343         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73344         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73345         * wcsmbs/uchar.h: Really define mbstate_t.
73346         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73347         * wcsmbs/c16rtomb.c: New file.
73348         * wcsmbs/mbrtoc16.c: New file.
73349         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73350         for C/POSIX locale.
73351         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73352         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73354         * wcsmbs/wchar.h: Add missing __restrict.
73356 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73358         [BZ #13532]
73359         * time/Makefile (routines): Add timespec_get.
73360         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73361         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73362         timespec for ISO C11.
73363         * time/timespec_get.c: New file.
73364         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73365         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73367         [BZ #13531]
73368         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73369         * stdlib/stdlib.h: Declare aligned_alloc.
73370         * Versions.def: Add GLIBC_2.16 for libc.
73371         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73373         [BZ 13527]
73374         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73375         ISO C11.
73377         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73378         code.
73380         [BZ #13528]
73381         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73383         [BZ #13529]
73384         * assert/assert.h (static_assert): Define.
73386         * version.h: Update for 2.16 development version.
73388         [BZ #13526]
73389         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73390         _ISOC11_SOURCE.
73392         * version.h (RELEASE): Bump for 2.15 release.
73393         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73395         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73396         Patch by Marek Polacek <mpolacek@redhat.com>.
73398         * bits/byteswap.h: Protect long long constants with __extension__.
73399         * sysdeps/i386/bits/byteswap.h: Likewise.
73400         * sysdeps/ia64/bits/byteswap.h: Likewise.
73401         * sysdeps/s390/bits/byteswap.h: Likewise.
73402         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73404 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73406         [BZ #13540]
73407         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73408         destination buffer.
73409         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73411 2011-12-23  Marek Polacek  <polacek@redhat.com>
73413         * elf/dl-addr.c (determine_info): Add inline keyword.
73414         * elf/tst-auditmod4b.c (check_avx): Likewise.
73415         * elf/tst-auditmod6b.c (check_avx): Likewise.
73416         * elf/tst-auditmod6c.c (check_avx): Likewise.
73417         * elf/tst-auditmod7b.c (check_avx): Likewise.
73419 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73421         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73422         !__SSE_MATH__.
73424 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73426         [BZ #13540]
73427         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73428         processing for last bytes.
73430 2011-08-06  Bruno Haible  <bruno@clisp.org>
73432         [BZ #13061]
73433         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73434         U+0385, not to U+1FEE.
73436         [BZ #13062]
73437         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73438         entry for U+00A5 U+0301.
73440 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73442         [BZ #13166]
73443         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73444         buffer for the output is too small.
73446         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73447         optimization.
73449         [BZ #13185]
73450         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73451         SSE flags if possible.
73453 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73455         [BZ #13540]
73456         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73457         processing for last bytes.
73459 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73461         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73462         (syscall-list-default-options, syscall-list-default-condition)
73463         (syscall-list-includes): Define.
73464         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73465         list of ABIs and options and #if conditions for each ABI.  Do not
73466         handle common syscalls between ABIs specially.
73467         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73468         Remove.
73469         (syscall-list-variants, syscall-list-32bit-options)
73470         (syscall-list-32bit-condition, syscall-list-64bit-options)
73471         (syscall-list-64bit-condition): Define.
73472         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73473         (syscall-list-variants, syscall-list-32bit-options)
73474         (syscall-list-32bit-condition, syscall-list-64bit-options)
73475         (syscall-list-64bit-condition): Define.
73476         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73477         Remove.
73478         (syscall-list-variants, syscall-list-32bit-options)
73479         (syscall-list-32bit-condition, syscall-list-64bit-options)
73480         (syscall-list-64bit-condition): Define.
73481         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73482         Remove.
73483         (syscall-list-variants, syscall-list-32bit-options)
73484         (syscall-list-32bit-condition, syscall-list-64bit-options)
73485         (syscall-list-64bit-condition): Define.
73487 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73489         * locale/iso-639.def: Add brx entry.
73491         [BZ #13328]
73492         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73493         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73495         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73496         __feraiseexcept_renamed.
73498 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73500         [BZ #13538]
73501         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73502         EPOLLET with unsigned values.
73503         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73504         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73506         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73507         to large cancellation.
73508         * math/s_cacoshf.c: Likewise.
73509         * math/s_cacoshl.c: Likewise.
73511 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73513         [BZ #13305]
73514         [BZ #12786]
73515         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73516         * math/s_cacoshf.c: Likewise.
73517         * math/s_cacoshl.c: Likewise.
73519 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73521         [BZ #13439]
73522         * iconv/gconv.h: Define __GCONV_SWAP.
73523         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73524         * iconvdata/utf-16.c: Likewise.
73525         * iconvdata/utf-32.c: Likewise.
73527 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73529         [BZ #13524]
73530         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73531         numerator after shifting it by one limb.
73533 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73535         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73536         under [__USE_EXTERN_INLINES].
73538 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73540         [BZ #13446]
73541         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73543 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73545         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73546         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73547         optimized code.
73548         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73549         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73550         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73551         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73552         for strncasecmp/strncasecmp_l compilation.
73553         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73554         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73556 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73558         [BZ #13484]
73559         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73560         of __asm__.
73562 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73564         [BZ #13506]
73565         * time/tzfile.c (__tzfile_read): Check values from file header.
73567 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73569         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73570         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73571         * powerpc/powerpc32/dl-start.S: Likewise.
73572         * powerpc/powerpc32/elf/start.S: Likewise.
73573         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73574         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73575         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73576         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73577         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73578         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73579         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73580         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73581         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73582         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73583         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73584         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73585         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73586         * powerpc/powerpc32/memset.S: Likewise.
73587         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73588         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73589         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73590         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73591         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73592         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73593         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73594         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73595         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73596         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73597         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73598         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73599         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73601 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73603         * math/libm-test.inc: Added more nearbyint tests.
73604         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73605         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73606         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73607         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73609 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73611         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73612         FD_CLOEXEC.
73614 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73616         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73617         Add wcscpy-ssse3 wcscpy-c.
73618         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73619         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73620         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73621         * sysdeps/x86_64/wcschr.S: New file.
73622         * sysdeps/x86_64/wcsrchr.S: New file.
73623         * string/test-strcmp.c: Remove checking of wcscmp function for
73624         wrong alignments.
73625         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73626         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73627         wcsrchr-sse2 wcsrchr-c.
73628         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73629         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73630         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73631         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73632         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73633         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73634         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73635         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73636         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73637         * wcsmbc/wcschr.c (WCSCHR): New macro.
73639 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73641         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73642         * wcsmbs/test-wcsrchr.c: New file.
73643         * string/test-strrchr.c: Add wcsrchr support.
73644         (WIDE): New macro.
73645         * wcsmbs/test-wcscpy.c: New file.
73646         * string/test-strcpy.c: Add wcscpy support.
73647         (WIDE): New macro.
73649 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73651         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73652         the inner loop.
73654 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73656         [BZ #13472]
73657         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73659 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73661         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73662         Minor optimizations.
73664         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73665         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73666         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73668 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73670         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73671         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73672         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73673         for gcc to avoid warnings.
73674         * inet/Makefile (tests): Add tst-checks.
73675         * inet/tst-checks.c: New file.
73677         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73678         warning.
73680         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73681         __wmemcmp_sse2.
73683         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73684         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73686         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73688 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73690         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73691         problem.
73693         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73695 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73697         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73698         conditional on GCC version.
73699         (__arch_compare_and_exchange_val_8_acq)
73700         (__arch_compare_and_exchange_val_16_acq)
73701         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73702         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73703         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73705 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73707         * sysdeps/sh/backtrace.c: New file.
73709 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73711         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73712         parenthesis.
73714 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73716         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73717         falling back to utime.
73719 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73721         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73722         expectations for float.
73724 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73726         * locale/weight.h (findidx): Add parameter len.
73727         * locale/weightwc.h (findidx): Likewise.
73728         * posix/fnmatch_loop.c (FCT): Adjust caller.
73729         * posix/regcomp.c (build_equiv_class): Likewise.
73730         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73731         * posix/regexec.c (check_node_accept_bytes): Likewise.
73732         * string/strcoll_l.c (STRCOLL): Likewise.
73733         * string/strxfrm_l.c (STRXFRM): Likewise.
73735 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73737         * Makefile.in: Remove CVSOPT handling.
73738         * configure.in: Remove use of AC_REVISION.
73739         * iconvdata/Makefile (distribute): No need to filter out CVS.
73740         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73741         handling.
73743 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73745         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73746         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73747         [USE_AS_STRNCASECMP_L]: Likewise.
73748         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73749         NO_TLS_DIRECT_SEG_REFS.
73750         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73751         Fix argument offsets for non-PIC.
73752         [USE_AS_STRNCASECMP_L]: Likewise.
73753         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73754         NO_TLS_DIRECT_SEG_REFS.
73756 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73758         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73759         O_CLOEXEC.
73760         * locale/loadlocale.c (_nl_load_locale): Likewise.
73762 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73764         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73765         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73766         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73767         (SYSCALL_GETTIME): Set errno on error.
73769         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73770         count references to noai6ai_cached.
73772 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73774         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73776         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73777         FD_CLOEXEC for /proc/self/maps.
73779         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73780         FD_CLOEXEC for /proc/meminfo.
73782         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73783         gai.conf.
73785         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73786         FD_CLOEXEC for given file.
73788         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73790         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73791         FD_CLOEXEC for /etc/hosts.
73792         (_gethtent): Likewise.
73794         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73796         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73797         cancellation and set FD_CLOEXEC for /etc/netgroup.
73799         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73800         reading /etc/publickey.
73802         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73803         allow cancellation when reading /etc/group.
73805         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73806         cancellation.
73807         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73809         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73810         when using data file.
73812         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73814         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73815         (write_nis_obj): Use "c" and "e" in fopen.
73817         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73819         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73821         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73823         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73825         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73826         locale.alias.
73828         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73830         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73832         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73834         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73835         file parsing and set FD_CLOEXEC.
73837 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73839         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73841 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73843         * malloc/arena.c (arena_get2): Don't call reused_arena when
73844         _int_new_arena failed.
73846 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73848         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73849         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73850         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73851         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73852         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73853         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73854         to compile strcasecmp and strncasecmp.
73855         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73856         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73858         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73860 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73862         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73863         locale-defines.sym to gen-as-const-headers.
73864         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73865         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73866         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73867         to compile strcasecmp and strncasecmp.
73868         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73869         strcasecmp_l and strncasecmp_l.
73870         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73871         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73872         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73873         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73874         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73875         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73876         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73877         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73878         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73879         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73880         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73882 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73884         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73885         result of SYSDEP_GETTIME_CPU to retval.
73886         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73887         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73889         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73890         variable.
73892         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73893         mantissa words.
73894         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73896         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73897         from unused variable.
73899         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73900         DWARF definitions.
73901         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73902         for assembling.
73904         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73905         over namespaces.
73907         * sunrpc/rpc_prot.c (rejected): Fix case value.
73909         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73910         unsigned long long int to avoid warnings in shift.
73912         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73913         of use of trans.
73914         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73915         variable tmp.
73917         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73918         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73919         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73921         * nis/nis_table.c (nis_list): Use variable of correct type for
73922         result of __follow_path call.
73924 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73926         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73927         of math functions ceil, trunc, floor, round, and sqrt, when
73928         avaliable on the platform.
73929         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73930         name clash.
73931         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73932         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73933         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73935 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73937         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73938         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73940 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73942         * include/unistd.h: Fix __readlink return type.
73943         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73945 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73947         * stdlib/ucontext.h: Undo last change for makecontext.
73949 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73951         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73953         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73954         * setjmp/setjmp.h: Mark functions as non-leaf.
73955         * setjmp/bits/setjmp2.h: Likewise.
73956         * stdlib/ucontext.h: Likewise.
73958 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73960         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73961         (reused_arena): Don't check arena limit.
73962         (arena_get2): Atomically check arena limit.
73964 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73966         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73967         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73969         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73970         instructions.
73972 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73974         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73975         handler when locking.
73977         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73978         Fix size of allocated buffer.
73980 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73982         [BZ #10103]
73983         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73984         declarations for long double functions.
73985         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73987         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73989 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73991         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73992         installed.
73994         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73995         is disabled.
73997 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73999         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74001 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74003         * include/alloca.h (stackinfo_alloca_round): Define.
74004         (extend_alloca): Use it.
74005         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74006         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74007         here.
74009         * scripts/check-local-headers.sh: Ignore libaudit.h.
74011         * nscd/Makefile (extra-objs): Make recursively expanded.
74013 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74015         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74016         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74018         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74019         * posix/tst-rfc3484-2.c: Likewise.
74020         * posix/tst-rfc3484-3.c: Likewise.
74022         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74023         process_vm_writev.
74024         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74025         process_vm_writev.
74026         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74027         process_vm_writev from libc using GLIBC_2.15 version.
74029         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74031 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74033         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74034         stack usage.
74036 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74038         [BZ #13367]
74039         * nss/getent.c (initgroups_keys): Show error message in case no group
74040         names are given.
74042         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74043         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74044         __bump_nl_timestamp.
74045         * nscd/connections (nscd_init): When host database is served open
74046         netlink socket and request notification about configuration changes.
74047         (main_loop_poll): Track netlink file descriptor and bump timestamp
74048         in case data becomes available.
74049         (main_loop_epoll): Likewise.
74050         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74051         (database_pers_head): Add extra_data fileds.
74052         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74053         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74054         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74055         Adjust caller.
74056         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74057         in6ai data, call __free_in6ai.
74058         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74059         Add -DHAVE_NETLINK.
74060         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74061         interface information.  Reuse previous data if netlink timestamp
74062         is not changed.
74063         (__bump_nl_timestamp): New function.
74064         (__free_in6ai): New function.
74066 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74068         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74069         close_not_cancel_no_status here.
74070         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74072 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74074         [BZ #13276]
74075         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74076         return value.
74078         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74079         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74080         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74082 2011-07-03  Andreas Jaeger  <aj@suse.de>
74084         [BZ #10709]
74085         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74086         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74087         * math/libm-test.inc (sin_test): Add test case.
74089 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74091         [BZ #13337]
74092         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74093         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74095         * elf/chroot_canon.c (chroot_canon): Cleanups.
74097         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74099         [BZ #13335]
74100         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74101         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74103         * string/test-strchr.c: Make usable for strchrnul testing.
74104         * string/test-strchrnul.c: New file.
74105         * string/Makefile (strop-tests): Add strchrnul.
74107         * po/it.po: Update from translation team.
74108         * po/es.po: Likewise.
74110 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74112         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74113         the three constants needed as parameters.  Drop the others.
74114         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74115         __m128i_strloadu_tolower.
74116         Create and initialize variable zero and use it in all the places
74117         where _mm_setzero_si128 was used.
74119         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74120         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74121         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74122         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74123         anymore.
74124         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74125         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74126         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74127         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74128         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74129         __mpranred, __mptan.
74130         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74131         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74132         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74133         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74134         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74135         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74136         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74137         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74138         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74140 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74142         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74143         redefine if SHARED.
74144         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74146         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74147         wide char related routines to wcsmbs subdir.
74149 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74151         [BZ #13344]
74152         * misc/sys/cdefs.h (__THROWNL): Define.
74153         * posix/unistd.h: Use __THREADNL instead of __THREAD
74154         for memory synchronization functions.
74156 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74158         [BZ #13349]
74159         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74160         doesn't exist.
74161         * manual/stdio.texi (Obstack Streams): Node removed.
74163 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74165         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74166         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74167         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74169         * math/math_private.h (math_force_eval): Allow non-addressable
74170         arguments.
74171         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74173 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74175         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74176         file is not needed.
74178         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74179         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74180         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74181         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74182         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74183         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74184         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74185         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74186         Add AVX variants.
74187         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74188         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74189         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74190         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74191         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74192         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74193         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74194         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74195         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74196         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74197         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74198         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74199         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74200         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74201         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74202         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74203         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74204         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74205         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74207         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74208         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74210         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74211         place.  Use VEX encoding when compiling for AVX.
74213 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74215         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74216         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74218         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74220 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74222         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74223         useless if() expression.
74224         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74225         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74226         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74227         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74228         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74229         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74230         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74231         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74232         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74233         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74234         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74235         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74236         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74237         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74238         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74239         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74240         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74241         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74242         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74244         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74246 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74248         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74249         condition.
74250         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74252 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74254         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74255         .text section.  Avoid duplicate constants.
74256         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74257         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74258         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74259         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74260         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74261         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74262         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74263         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74264         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74265         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74266         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74267         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74268         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74269         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74270         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74271         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74272         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74273         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74274         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74275         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74276         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74277         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74278         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74279         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74280         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74281         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74282         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74283         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74284         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74285         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74286         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74287         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74288         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74289         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74290         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74291         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74292         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74293         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74294         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74295         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74296         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74297         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74298         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74299         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74300         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74302 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74304         * sysdeps/x86_64/dla.h: Move to ...
74305         * sysdeps/x86_64/fpu/dla.h: ...here.
74306         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74307         situations.  Use __builtin_fma only for gcc 4.6 and up.
74309         * config.make.in: Add have-mfma4 entry.
74310         * configure.in: Substitute libc_cv_cc_fma4.
74311         * math/Makefile (dbl-only-routines): Add sincostab.
74312         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74313         Use __sincostab not sincos.
74314         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74315         name is a macro.
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/e_atan2.c: Likewise.  Define singArctan2
74320         using __copysign.
74321         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74322         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74323         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74324         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74325         and __inv.
74326         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74327         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74328         __copysign.
74329         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74330         define aliases when function name is a macro.
74331         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74332         sysdeps/ieee754/dbl-64/sincos.tbl.
74333         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74334         fma4-enabled routines.
74335         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74336         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74337         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74338         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74339         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74340         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74341         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74342         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74343         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74344         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74345         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74346         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74347         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74348         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74349         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74350         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74351         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74352         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74353         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74354         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74355         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74356         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74357         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74358         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74359         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74360         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74361         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74362         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74363         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74364         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74366         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74367         rename.
74368         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74369         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74370         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74371         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74372         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74373         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74374         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74375         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74377 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74379         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74381 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74383         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74385         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74386         prediction.
74387         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74389         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74390         Remove unused variable magic_bits.
74391         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74393         * string/strnlen.c: Define and use STRNLEN macro.
74394         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74395         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74396         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74397         * wcsmbs/wcslen.c: Define and use WCSLEN.
74398         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74399         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74400         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74401         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74402         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74403         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74404         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74406 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74409         strnlen-sse2-no-bsf.
74410         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74411         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74412         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74413         Add strnlen support.
74414         (USE_AS_STRNLEN): New macro.
74415         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74416         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74417         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74418         * sysdeps/x86_64/wcslen.S: New file.
74420 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74422         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74423         XMM-moves are used for copying on small sizes.
74425 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74427         * wcsmbs/Makefile (strop-tests): Add wcschr.
74428         * wcsmbs/test-wcschr.c: New file.
74429         * string/test-strchr.c: Update.
74430         Add wcschr support.
74431         (WIDE): New macro.
74433 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74435         * wcsmbs/Makefile (strop-tests): Add wcslen.
74436         * wcsmbs/test-wcslen.c: New file.
74437         * string/test-strlen.c: Update.
74438         Add wcslen support.
74439         (WIDE): New macro.
74441 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74443         * po/it.po: Update from translation team.
74445 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74447         * sysdeps/x86_64/wcscmp.S: Update.
74448         Fix wrong comparison semantics.
74449         wcscmp shall use signed comparison not unsigned.
74450         Don't use substraction to avoid overflow bug.
74451         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74452         * wcsmbc/wcscmp.c: Likewise.
74453         * string/test-strcmp.c: Likewise.
74454         Add new tests to check cases with negative values.
74456 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74458         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74459         * sysdeps/x86_64/dla.h: ...here.  New file.
74460         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74461         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74462         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74463         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74464         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74465         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74466         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74467         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74468         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74470 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74472         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74473         __ynl_finite aliases.
74475 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74477         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74479         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74480         define DLA_FMA.
74481         [DLA_FMA] (EMULV): Use DLA_FMA.
74482         [DLA_FMA] (MUL12): Use EMULV.
74483         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74484         that are not needed.
74485         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74486         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74487         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74488         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74489         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74490         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74491         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74493 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74495         * math/s_nan.c: Undef __nan.
74496         * math/s_nanf.c: Undef __nanf.
74497         * math/s_nanl.c: Undef __nanl.
74498         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74499         "math_private.h".
74501 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74503         * math/s_catan.c: Add branch predictions.
74504         * math/s_catanf.c: Likewise.
74505         * math/s_catanh.c: Likewise.
74506         * math/s_catanhf.c: Likewise.
74507         * math/s_catanhl.c: Likewise.
74508         * math/s_catanl.c: Likewise.
74509         * math/s_cexp.c: Likewise.
74510         * math/s_cexpf.c: Likewise.
74511         * math/s_cexpl.c: Likewise.
74512         * math/s_clog.c: Likewise.
74513         * math/s_clog10.c: Likewise.
74514         * math/s_clog10f.c: Likewise.
74515         * math/s_clog10l.c: Likewise.
74516         * math/s_clogf.c: Likewise.
74517         * math/s_clogl.c: Likewise.
74518         * math/s_csqrt.c: Likewise.
74519         * math/s_csqrtf.c: Likewise.
74520         * math/s_csqrtl.c: Likewise.
74521         * math/s_ctanf.c: Likewise.
74522         * math/s_ctanh.c: Likewise.
74523         * math/s_ctanhf.c: Likewise.
74524         * math/s_ctanhl.c: Likewise.
74525         * math/s_ctanl.c: Likewise.
74527         * math/math_private.h: Define __nan, __nanf, __nanl.
74528         * math/s_cacosh.c: Include <math_private.h>.
74529         * math/s_cacoshl.c: Likewise.
74530         * math/s_casinh.c: Likewise.
74531         * math/s_casinhf.c: Likewise.
74532         * math/s_casinhl.c: Likewise.
74533         * math/s_ccos.c: Rely entire on ccosh.
74534         * math/s_ccosf.c: Rely entire on ccoshf.
74535         * math/s_ccosl.c: Rely entirely on ccoshl.
74536         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74537         Remove tests for FE_INVALID.
74538         * math/s_ccoshf.c: Likewise.
74539         * math/s_ccoshl.c: Likewise.
74540         * math/s_csin.c: Likewise.
74541         * math/s_csinf.c: Likewise.
74542         * math/s_csinh.c Likewise.
74543         * math/s_csinhf.c: Likewise.
74544         * math/s_csinhl.c: Likewise.
74545         * math/s_csinl.c: Likewise.
74546         * math/s_ctan.c: Likewise.
74547         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74548         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74549         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74551 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74553         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74554         compilation problems.
74556         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74557         __builtin_expect.
74559 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74561         * sysdeps/i386/configure.in: Test for -mfma4 option.
74562         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74563         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74564         COMMON_CPUID_INDEX_80000001.
74565         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74566         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74567         use it if FMA3 is not supported.
74568         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74570         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74571         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74573 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74575         [BZ #12892]
74576         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74577         it would create a cycle with a link time dependency.
74579 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74581         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74582         instruction.
74583         * string/Makefile (strop-tests): Add rawmemchr.
74584         * string/test-rawmemchr.c: New file.
74586         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74587         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74588         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74589         when compiling str{,n}casecmp and when AVX is available.  Hook up
74590         new optimized code in initializers.
74592 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74594         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74595         __feraiseexcept instead of feraiseexcept.
74597 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74599         * math/math_private.h: Define defaults for libc_fetestexcept and
74600         libc_feupdateenv.
74601         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74602         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74603         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74604         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74605         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74606         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74607         libc_fetestexcept and libc_feupdateenv.
74609         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74610         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74611         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74612         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74613         libc_feholdexcept_setround.
74615         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74616         Add s_nearbyint-c and s_nearbyintf-c.
74617         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74618         nearbyintf inlines.
74619         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74620         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74621         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74622         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74624         * math/math_private.h: Define defaults for libc_fegetround,
74625         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74626         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74627         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74628         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74629         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74630         standard functions.
74631         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74632         Remove comments and hacks for old compiler versions.
74633         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74634         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74635         libc_feholdexceptl.
74637 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74639         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74640         (__feraiseexcept_renamed): Add __NTH.
74641         (feraiseexcept): Add __NTH.  Rename local variables to fix
74642         namespace violations.
74644 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74646         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74648         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74650         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74651         recently added interfaces.
74652         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74654         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74655         about macro parameter expansion.
74657         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74658         __NO_MATH_INLINES is defined.  Cleanups.
74660         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74661         and __floorf is target has SSE4.1.
74662         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74663         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74664         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74665         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74667         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74668         name.
74669         (floorf): Likewise.
74671         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74673 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74675         * misc/sys/cdefs.h: Fix last change.
74677         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74678         database lookup.
74680 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74682         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74684         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74685         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74686         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74687         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74688         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74689         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74690         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74691         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74692         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74693         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74694         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74695         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74696         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74697         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74698         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74699         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74700         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74701         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74702         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74703         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74704         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74705         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74707         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74708         ceil, ceilf, floor, floorf.
74710         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74711         Perform IRELATIVE relocations last.
74713         * elf/do-rel.h: Add another parameter nrelative, replacing the
74714         local variable with the same name.  Change name of the function
74715         to end in Rel or Rela (uppercase).
74716         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74717         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74718         elf_dynamic_do_##reloc function.
74720 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74722         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74723         is sufficient, at least on modern CPUs.
74725         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74727         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74728         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74730         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74731         __expl_finite.
74732         * math/bits/math-finite.h: Add entries for exp.
74733         * math/e_expl.c: Add __*_finite alias.
74734         * sysdeps/i386/fpu/e_exp.S: Likewise.
74735         * sysdeps/i386/fpu/e_expf.S: Likewise.
74736         * sysdeps/i386/fpu/e_expl.c: Likewise.
74737         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74738         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74739         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74740         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74741         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74742         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74743         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74745         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74746         is sufficient, at least on modern CPUs.
74748         * ctype/ctype-info.c (__ctype_init): Define.
74749         * include/ctype.h (__ctype_init): Declare.
74750         (__ctype_b_loc): The variable is always initialized.
74751         (__ctype_toupper_loc): Likewise.
74752         (__ctype_tolower_loc): Likewise.
74753         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74754         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74756 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74758         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74760         * configure.in: Also look in $cxxmachine/include for C++ system
74761         headers.
74763 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74765         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74766         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74767         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74768         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74769         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74770         (USE_AS_WMEMCMP): New macro.
74771         Fixing indents.
74772         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74773         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74774         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74775         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74776         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74777         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74778         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74779         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74780         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74781         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74782         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74783         (USE_AS_WMEMCMP): New macro.
74784         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74785         * sysdeps/string/test-memcmp.c: Update.
74786         Fix simple_wmemcmp.
74787         Add new tests.
74788         * wcsmbs/wmemcmp.c: Update.
74789         (WMEMCMP): New macro.
74790         Fix overflow bug.
74792 2011-10-12  Andreas Jaeger  <aj@suse.de>
74794         [BZ #13268]
74795         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74797 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74799         * libio/iofwide.c (do_length): Avoid warning.
74801         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74803 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74805         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74807         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74808         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74809         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74810         * sysdeps/i386/i686/fpu/e_log.S: New file.
74811         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74812         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74814         * ctype/ctype.h: Add support for inlined isXXX functions when
74815         compiling C++ code.
74817 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74819         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74821         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74823 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74825         [BZ #13291]
74826         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74828 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74830         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74831         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74832         feraiseexcept.
74834         * sysdeps/x86_64/memrchr.S: Check for zero size.
74836         * string/stratcliff.c: Add memrchr tests.
74838 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74840         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74841         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74842         rawmemchr-sse2 rawmemchr-sse2-bsf.
74843         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74844         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74845         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74846         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74847         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74848         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74849         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74850         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74851         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74852         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74853         * string/memrchr.c (MEMRCHR): New macro.
74855 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74857         Add integration with gcc's -ffinite-math-only and optimize wrapper
74858         functions in libm.
74859         * Versions.def: Define GLIBC_2.15 version for libm.
74860         * math/Makefile (headers): Add bits/math-finite.h.
74861         * math/bits/math-finite.h: New file.
74862         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74863         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74864         * math/e_acoshl.c: Add __*_finite alias.
74865         * math/e_acosl.c: Likewise.
74866         * math/e_asinl.c: Likewise.
74867         * math/e_atan2l.c: Likewise.
74868         * math/e_atanhl.c: Likewise.
74869         * math/e_coshl.c: Likewise.
74870         * math/e_exp10.c: Likewise.
74871         * math/e_exp10f.c: Likewise.
74872         * math/e_exp10l.c: Likewise.
74873         * math/e_exp2l.c: Likewise.
74874         * math/e_fmodl.c: Likewise.
74875         * math/e_gammal_r.c: Likewise.
74876         * math/e_hypotl.c: Likewise.
74877         * math/e_j0l.c: Likewise.
74878         * math/e_j1l.c: Likewise.
74879         * math/e_jnl.c: Likewise.
74880         * math/e_lgammal_r.c: Likewise.
74881         * math/e_log10l.c: Likewise.
74882         * math/e_log2l.c: Likewise.
74883         * math/e_logl.c: Likewise.
74884         * math/e_powl.c: Likewise.
74885         * math/e_sinhl.c: Likewise.
74886         * math/e_sqrtl.c: Likewise.
74887         * math/e_scalb.c: Completely rewritten and optimized.
74888         * math/e_scalbf.c: Likewise.
74889         * math/e_scalbl.c: Likewise.
74890         * math/w_acos.c: Likewise.
74891         * math/w_acosf.c: Likewise.
74892         * math/w_acosl.c: Likewise.
74893         * math/w_acosh.c: Likewise.
74894         * math/w_acoshf.c: Likewise.
74895         * math/w_acoshl.c: Likewise.
74896         * math/w_asin.c: Likewise.
74897         * math/w_asinf.c: Likewise.
74898         * math/w_asinl.c: Likewise.
74899         * math/w_atan2.c: Likewise.
74900         * math/w_atan2f.c: Likewise.
74901         * math/w_atan2l.c: Likewise.
74902         * math/w_atanh.c: Likewise.
74903         * math/w_atanhf.c: Likewise.
74904         * math/w_atanhl.c: Likewise.
74905         * math/w_exp10.c: Likewise.
74906         * math/w_exp10f.c: Likewise.
74907         * math/w_exp10l.c: Likewise.
74908         * math/w_fmod.c: Likewise.
74909         * math/w_fmodf.c: Likewise.
74910         * math/w_fmodl.c: Likewise.
74911         * math/w_j0.c: Likewise.
74912         * math/w_j0f.c: Likewise.
74913         * math/w_j0l.c: Likewise.
74914         * math/w_j1.c: Likewise.
74915         * math/w_j1f.c: Likewise.
74916         * math/w_j1l.c: Likewise.
74917         * math/w_jn.c: Likewise.
74918         * math/w_jnf.c: Likewise.
74919         * math/w_log.c: Likewise.
74920         * math/w_logf.c: Likewise.
74921         * math/w_logl.c: Likewise.
74922         * math/w_log10.c: Likewise.
74923         * math/w_log10f.c: Likewise.
74924         * math/w_log10l.c: Likewise.
74925         * math/w_log2.c: Likewise.
74926         * math/w_log2f.c: Likewise.
74927         * math/w_log2l.c: Likewise.
74928         * math/w_pow.c: Likewise.
74929         * math/w_powf.c: Likewise.
74930         * math/w_powl.c: Likewise.
74931         * math/w_remainder.c: Likewise.
74932         * math/w_remainderf.c: Likewise.
74933         * math/w_remainderl.c: Likewise.
74934         * math/w_scalb.c: Likewise.
74935         * math/w_scalbf.c: Likewise.
74936         * math/w_scalbl.c: Likewise.
74937         * math/w_sqrt.c: Likewise.
74938         * math/w_sqrtf.c: Likewise.
74939         * math/w_sqrtl.c: Likewise.
74940         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74941         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74942         used.
74943         * math/math_private.h: Declare __kernel_standard_f.
74944         * math/w_cosh.c: Remove cruft and optimize a bit.
74945         * math/w_coshf.c: Likewise.
74946         * math/w_coshl.c: Likewise.
74947         * math/w_exp2.c: Likewise.
74948         * math/w_exp2f.c: Likewise.
74949         * math/w_exp2l.c: Likewise.
74950         * math/w_hypot.c: Likewise.
74951         * math/w_hypotf.c: Likewise.
74952         * math/w_hypotl.c: Likewise.
74953         * math/w_lgamma.c: Likewise.
74954         * math/w_lgamma_r.c: Likewise.
74955         * math/w_lgammaf.c: Likewise.
74956         * math/w_lgammaf_r.c: Likewise.
74957         * math/w_lgammal.c: Likewise.
74958         * math/w_lgammal_r.c: Likewise.
74959         * math/w_sinh.c: Likewise.
74960         * math/w_sinhf.c: Likewise.
74961         * math/w_sinhl.c: Likewise.
74962         * math/w_tgamma.c: Likewise.
74963         * math/w_tgammaf.c: Likewise.
74964         * math/w_tgammal.c: Likewise.
74965         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74966         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74967         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74968         Minor optimizations.  Pretty printing.  Remove cruft.
74969         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74970         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74971         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74972         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74973         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74974         * sysdeps/i386/fpu/e_asin.S: Likewise.
74975         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74976         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74977         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74978         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74979         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74980         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74981         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74982         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74983         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74984         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74985         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74986         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74987         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74988         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74989         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74990         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74991         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74992         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74993         * sysdeps/i386/fpu/e_log.S: Likewise.
74994         * sysdeps/i386/fpu/e_log10.S: Likewise.
74995         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74996         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74997         * sysdeps/i386/fpu/e_log2.S: Likewise.
74998         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74999         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75000         * sysdeps/i386/fpu/e_logf.S: Likewise.
75001         * sysdeps/i386/fpu/e_logl.S: Likewise.
75002         * sysdeps/i386/fpu/e_pow.S: Likewise.
75003         * sysdeps/i386/fpu/e_powf.S: Likewise.
75004         * sysdeps/i386/fpu/e_powl.S: Likewise.
75005         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75006         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75007         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75008         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75009         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75010         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75011         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75012         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75013         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75014         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75015         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75016         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75017         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75018         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75019         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75020         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75021         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75022         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75023         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75024         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75025         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75026         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75027         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75028         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75029         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75030         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75031         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75032         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75033         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75034         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75035         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75036         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75037         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75038         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75039         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75040         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75041         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75042         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75043         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75044         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75045         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75046         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75047         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75048         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75049         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75050         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75051         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75052         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75053         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75054         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75055         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75056         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75057         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75058         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75059         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75060         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75061         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75062         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75063         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75064         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75065         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75066         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75067         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75068         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75069         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75070         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75071         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75072         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75073         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75074         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75075         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75076         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75077         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75078         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75079         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75080         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75081         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75082         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75083         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75084         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75085         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75086         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75087         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75088         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75089         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75090         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75091         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75092         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75093         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75094         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75095         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75096         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75097         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75098         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75099         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75100         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75101         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75102         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75103         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75104         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75105         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75106         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75107         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75108         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75109         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75110         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75111         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75112         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75113         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75114         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75115         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75116         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75117         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75118         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75119         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75120         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75121         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75122         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75123         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75124         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75125         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75126         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75127         (__isnanf): Likewise.
75128         (__isinf_ns): Likewise.
75129         (__isinf_nsf): Likewise.
75130         (__finite): Likewise.
75131         (__finitef): Likewise.
75132         (__ieee754_sqrt): Define as macro.
75133         (__ieee754_sqrtf): Define as macro.
75134         (__ieee754_sqrtl): Define as macro.
75135         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75136         inlined copy.
75137         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75138         __FINITE_MATH_ONLY__ consistent.
75139         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75141 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75143         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75144         of rawmemchr.
75146         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75148 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75150         * po/ja.po: Update from translation team.
75152 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75154         * locale/programs/locarchive.c (prepare_address_space): New function.
75155         (create_archive, enlarge_archive, open_archive): Use it.
75157         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75158         inside [SHARED], where it is used.
75160         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75162         * nss/getent.c (netgroup_keys): Remove unused variable.
75163         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75165 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75167         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75168         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75169         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75170         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75171         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75172         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75173         * math/Makefile (libm-calls): Add s_isinf_ns.
75174         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75175         * math/multc3.c: Likewise.
75176         * math/s_casin.c: Likewise.
75177         * math/s_casinf.c: Likewise.
75178         * math/s_casinl.c: Likewise.
75179         * math/s_ccos.c: Likewise.
75180         * math/s_ccosf.c: Likewise.
75181         * math/s_ccosl.c: Likewise.
75182         * math/s_ctan.c: Likewise.
75183         * math/s_ctanf.c: Likewise.
75184         * math/s_ctanh.c: Likewise.
75185         * math/s_ctanhf.c: Likewise.
75186         * math/s_ctanhl.c: Likewise.
75187         * math/s_ctanl.c: Likewise.
75188         * math/w_fmod.c: Likewise.
75189         * math/w_fmodf.c: Likewise.
75190         * math/w_fmodl.c: Likewise.
75191         * math/w_remainder.c: Likewise.
75192         * math/w_remainderf.c: Likewise.
75193         * math/w_remainderl.c: Likewise.
75194         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75195         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75196         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75197         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75198         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75199         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75200         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75201         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75203         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75204         of the number.
75205         * stdio-common/printf_fphex.c: Likewise.
75206         * stdio-common/printf_size.c: Likewise.
75208         * math/e_exp10.c: Include math_private.h using <...> not "...".
75209         * math/e_exp10f.c: Likewise.
75210         * math/e_exp10l.c: Likewise.
75211         * math/e_exp2l.c: Likewise.
75212         * math/e_j0l.c: Likewise.
75213         * math/e_j1l.c: Likewise.
75214         * math/e_jnl.c: Likewise.
75215         * math/e_lgammal_r.c: Likewise.
75216         * math/e_rem_pio2l.c: Likewise.
75217         * math/e_scalb.c: Likewise.
75218         * math/e_scalbf.c: Likewise.
75219         * math/e_scalbl.c: Likewise.
75220         * math/k_cosl.c: Likewise.
75221         * math/k_sinl.c: Likewise.
75222         * math/k_tanl.c: Likewise.
75223         * math/s_cacoshf.c: Likewise.
75224         * math/s_catan.c: Likewise.
75225         * math/s_catanf.c: Likewise.
75226         * math/s_catanh.c: Likewise.
75227         * math/s_catanhf.c: Likewise.
75228         * math/s_catanhl.c: Likewise.
75229         * math/s_catanl.c: Likewise.
75230         * math/s_ccosh.c: Likewise.
75231         * math/s_ccoshf.c: Likewise.
75232         * math/s_ccoshl.c: Likewise.
75233         * math/s_cexp.c: Likewise.
75234         * math/s_cexpf.c: Likewise.
75235         * math/s_cexpl.c: Likewise.
75236         * math/s_clog.c: Likewise.
75237         * math/s_clog10.c: Likewise.
75238         * math/s_clog10f.c: Likewise.
75239         * math/s_clog10l.c: Likewise.
75240         * math/s_clogf.c: Likewise.
75241         * math/s_clogl.c: Likewise.
75242         * math/s_csin.c: Likewise.
75243         * math/s_csinf.c: Likewise.
75244         * math/s_csinh.c: Likewise.
75245         * math/s_csinhf.c: Likewise.
75246         * math/s_csinhl.c: Likewise.
75247         * math/s_csinl.c: Likewise.
75248         * math/s_csqrt.c: Likewise.
75249         * math/s_csqrtf.c: Likewise.
75250         * math/s_csqrtl.c: Likewise.
75251         * math/s_ctan.c: Likewise.
75252         * math/s_ctanf.c: Likewise.
75253         * math/s_ctanh.c: Likewise.
75254         * math/s_ctanhf.c: Likewise.
75255         * math/s_ctanhl.c: Likewise.
75256         * math/s_ctanl.c: Likewise.
75257         * math/s_ldexp.c: Likewise.
75258         * math/s_ldexpf.c: Likewise.
75259         * math/s_ldexpl.c: Likewise.
75260         * math/s_significand.c: Likewise.
75261         * math/s_significandf.c: Likewise.
75262         * math/s_significandl.c: Likewise.
75263         * math/w_acos.c: Likewise.
75264         * math/w_acosf.c: Likewise.
75265         * math/w_acosh.c: Likewise.
75266         * math/w_acoshf.c: Likewise.
75267         * math/w_acoshl.c: Likewise.
75268         * math/w_acosl.c: Likewise.
75269         * math/w_asin.c: Likewise.
75270         * math/w_asinf.c: Likewise.
75271         * math/w_asinl.c: Likewise.
75272         * math/w_atan2.c: Likewise.
75273         * math/w_atan2f.c: Likewise.
75274         * math/w_atan2l.c: Likewise.
75275         * math/w_atanh.c: Likewise.
75276         * math/w_atanhf.c: Likewise.
75277         * math/w_atanhl.c: Likewise.
75278         * math/w_cosh.c: Likewise.
75279         * math/w_coshf.c: Likewise.
75280         * math/w_coshl.c: Likewise.
75281         * math/w_dremf.c: Likewise.
75282         * math/w_exp10.c: Likewise.
75283         * math/w_exp10f.c: Likewise.
75284         * math/w_exp10l.c: Likewise.
75285         * math/w_exp2.c: Likewise.
75286         * math/w_exp2f.c: Likewise.
75287         * math/w_fmod.c: Likewise.
75288         * math/w_fmodf.c: Likewise.
75289         * math/w_fmodl.c: Likewise.
75290         * math/w_hypot.c: Likewise.
75291         * math/w_hypotf.c: Likewise.
75292         * math/w_hypotl.c: Likewise.
75293         * math/w_j0.c: Likewise.
75294         * math/w_j0f.c: Likewise.
75295         * math/w_j0l.c: Likewise.
75296         * math/w_j1.c: Likewise.
75297         * math/w_j1f.c: Likewise.
75298         * math/w_j1l.c: Likewise.
75299         * math/w_jn.c: Likewise.
75300         * math/w_jnf.c: Likewise.
75301         * math/w_jnl.c: Likewise.
75302         * math/w_lgamma.c: Likewise.
75303         * math/w_lgamma_r.c: Likewise.
75304         * math/w_lgammaf.c: Likewise.
75305         * math/w_lgammaf_r.c: Likewise.
75306         * math/w_lgammal.c: Likewise.
75307         * math/w_lgammal_r.c: Likewise.
75308         * math/w_log.c: Likewise.
75309         * math/w_log10.c: Likewise.
75310         * math/w_log10f.c: Likewise.
75311         * math/w_log10l.c: Likewise.
75312         * math/w_log2.c: Likewise.
75313         * math/w_log2f.c: Likewise.
75314         * math/w_log2l.c: Likewise.
75315         * math/w_logf.c: Likewise.
75316         * math/w_logl.c: Likewise.
75317         * math/w_pow.c: Likewise.
75318         * math/w_powf.c: Likewise.
75319         * math/w_powl.c: Likewise.
75320         * math/w_remainder.c: Likewise.
75321         * math/w_remainderf.c: Likewise.
75322         * math/w_remainderl.c: Likewise.
75323         * math/w_scalb.c: Likewise.
75324         * math/w_scalbf.c: Likewise.
75325         * math/w_scalbl.c: Likewise.
75326         * math/w_sinh.c: Likewise.
75327         * math/w_sinhf.c: Likewise.
75328         * math/w_sinhl.c: Likewise.
75329         * math/w_sqrt.c: Likewise.
75330         * math/w_sqrtf.c: Likewise.
75331         * math/w_sqrtl.c: Likewise.
75332         * math/w_tgamma.c: Likewise.
75333         * math/w_tgammaf.c: Likewise.
75334         * math/w_tgammal.c: Likewise.
75336         * po/ja.po: Update from translation team.
75338 2011-09-29  Andreas Jaeger  <aj@suse.de>
75340         [BZ #13179]
75341         * sunrpc/netname.c (netname2host): Fix logic.
75343         [BZ #6779]
75344         [BZ #6783]
75345         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75346         correctly.
75347         * math/w_remainder.c (__remainder): Likewise.
75348         * math/w_remainderf.c (__remainderf): Likewise.
75349         * math/libm-test.inc (remainder_test): Add test cases.
75351 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75353         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75354         sdiv_qrnnd.
75356 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75358         * string/test-memcmp.c: Avoid unncessary #defines.
75359         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75361 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75363         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75364         Use new sse2 version for core i3 - i7 as it's faster
75365         than sse42 version.
75366         (bit_Prefer_PMINUB_for_stringop): New.
75367         * sysdeps/x86_64/rawmemchr.S: Update.
75368         Replace with faster SSE2 version.
75369         * sysdeps/x86_64/memrchr.S: New file.
75370         * sysdeps/x86_64/memchr.S: Update.
75371         Replace with faster SSE2 version.
75373 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75375         * elf/dl-load.c (lose): Add cast to avoid warning.
75377 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75379         * po/ca.po: Update from translation team.
75381         * inet/getnetgrent_r.c: Hook up nscd.
75382         * nscd/Makefile (routines): Add nscd_netgroup.
75383         (nscd-modules): Add netgroupcache.
75384         (CFLAGS-netgroupcache.c): Define.
75385         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75386         (cache_search): Add const to second parameter.
75387         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75388         INNETGR.
75389         (dbs): Add netgrdb entry.
75390         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75391         (verify_persistent_db): Handle netgrdb.
75392         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75393         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75394         GETFDNETGR.
75395         (netgroup_response_header): Define.
75396         (innetgroup_response_header): Define.
75397         (datahead): Add netgroup_response_header and innetgroup_response_header
75398         elements.
75399         * nscd/nscd.conf: Add entries for netgroup cache.
75400         * nscd/nscd.h (dbtype): Add netgrdb.
75401         (_PATH_NSCD_NETGROUP_DB): Define.
75402         (netgroup_iov_disabled): Declare.
75403         (xmalloc, xcalloc, xrealloc): Move declarations here.
75404         (cache_search): Adjust prototype.
75405         Add netgroup-related prototypes.
75406         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75407         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75408         (__nscd_innetgr): Declare.
75409         * nscd/selinux.c (perms): Use access_vector_t as element type and
75410         add netgroup-related initializers.
75411         * nscd/netgroupcache.c: New file.
75412         * nscd/nscd_netgroup.c: New file.
75413         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75414         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75415         For four parameters use innetgr.
75416         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75417         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75418         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75419         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75421         * nscd/connections.c (register_traced_file): Don't register file
75422         for disabled databases.
75424 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75426         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75428         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75429         from tree and freeing node.
75431 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75433         * nss/nsswitch.c (__nss_database_lookup): Handle
75434         nss_parse_service_list out of memory case.
75436 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75438         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75439         out of memory case.
75441 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75443         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75444         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75445         pass it down.
75446         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75447         elf_machine_rela, elf_machine_lazy_rel.
75448         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75449         (ELF_DYNAMIC_DO_REL): Likewise.
75450         (ELF_DYNAMIC_DO_RELA): Likewise.
75451         (ELF_DYNAMIC_RELOCATE): Likewise.
75452         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75453         to ELF_DYNAMIC_DO_REL.
75454         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75455         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75456         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75457         elf_machine_rela.
75458         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75459         skip_ifunc, don't call ifunc function if non-zero.
75460         (elf_machine_rela): Likewise.
75461         (elf_machine_lazy_rel): Likewise.
75462         (elf_machine_lazy_rela): Likewise.
75463         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75464         (elf_machine_lazy_rel): Likewise.
75465         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75466         Likewise.
75467         (elf_machine_lazy_rel): Likewise.
75468         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75469         Likewise.
75470         (elf_machine_lazy_rel): Likewise.
75471         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75472         (elf_machine_lazy_rel): Likewise.
75473         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75474         (elf_machine_lazy_rel): Likewise.
75475         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75476         (elf_machine_lazy_rel): Likewise.
75477         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75478         (elf_machine_lazy_rel): Likewise.
75479         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75480         (elf_machine_lazy_rel): Likewise.
75481         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75482         (elf_machine_lazy_rel): Likewise.
75484 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75486         * nss/nss_files/files-init.c (_nss_files_init): Use static
75487         initialization for all the *_traced_file variables.
75489 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75491         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75493 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75495         [BZ #13226]
75496         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75498 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75500         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75501         Reread the line before reparsing it.
75503 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75505         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75507 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75508             Maxim Kuvyrkov  <maxim@codesourcery.com>
75509             Joseph Myers  <joseph@codesourcery.com>
75511         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75512         if needed for __stack_chk_guard.
75514 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75516         * sysdeps/posix/spawni.c (script_execute): Always define it.
75517         It will be optimized away if unused.
75518         (maybe_script_execute): New function.
75519         (__spawni): Call it.
75521         * Makerules: Don't include tls.make.
75522         (config-tls): Always set to thread.
75523         * tls.make.c: File removed.
75525 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75527         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75528         * config.make.in (CPPFLAGS-config): New substituted variable.
75530 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75532         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75534         [BZ #13192]
75535         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75536         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75538 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75540         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75541         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75542         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75543         (CALL_FAIL): Likewise.
75544         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75545         (CALL_FAIL): Macro removed.
75546         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75548 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75550         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75551         for __FINITE_MATH_ONLY__ == 1.
75553 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75555         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75556         __ieee754_sqrt instead of sqrt.
75557         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75558         __ieee754_sqrtf instead of sqrtf.
75559         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75560         __floorf instead of floorf.
75561         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75562         __floorf, __truncf instead of floorf, truncf.
75564 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75566         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75568         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75569         __extern_always_inline.
75570         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75571         32-bit.
75573 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75575         * elf/rtld.c (dl_main): Also relocate in dependency order when
75576         doing symbol dependency testing.
75578 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75580         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75581         Always define `refsym'.
75583 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75585         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75586         (__FD_ELT): Renamed from __FDELT.
75587         * misc/bits/select2.h (__FD_ELT): Likewise.
75588         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75589         __FD_MASK instead of __FDELT, __FDMASK.
75590         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75591         Likewise.
75592         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75593         Likewise.
75595         * elf/Makefile (gen-ldd): Fix pattern.
75597         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75598         (init_tls): Likewise.
75600 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75602         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75604 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75606         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75607         `struct cmsghdr *' instead of `void *'.
75608         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75609         Likewise.
75611 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75613         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75614         if non-absolute.
75615         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75616         ldd_rewrite_script.
75618 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75620         * configure.in: Remove --with-tls option.
75621         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75622         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75623         out in case it is missing.
75624         * sysdeps/ia64/elf/configure.in: Likewise.
75625         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75626         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75627         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75628         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75629         * sysdeps/sh/elf/configure.in: Likewise.
75630         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75631         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75632         * sysdeps/x86_64/elf/configure.in: Likewise.
75633         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75634         * sysdeps/mach/hurd/tls.h: Likewise.
75636         [BZ #13067]
75637         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75639         [BZ #13090]
75640         * configure.in: Fix use of AC_INIT.
75642         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75644 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75646         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75647         __set_errno.
75648         * malloc/hooks.c: Likewise.
75650         [BZ #11929]
75651         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75652         variables statically.
75653         (narenas): Initialize.
75654         (list_lock): Initialize.
75655         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75656         initializtion of main_arena and list_lock.  Small cleanups.
75657         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75658         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75659         Add initializers to main_arena and mp_.
75660         (malloc_state): Remove pagesize member.  Change all users to use
75661         GLRO(dl_pagesize).
75663         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75664         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75665         is always initialized.
75667         * malloc/malloc.c: Removed unused configurations and dead code.
75668         * malloc/arena.c: Likewise.
75669         * malloc/hooks.c: Likewise.
75670         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75672         * include/tls.h: Removed.  USE___THREAD must always be defined.
75673         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75674         * elf/dl-libc.c: Likewise.
75675         * elf/dl-tsd.c: Likewise.
75676         * include/errno.h: Likewise.
75677         * include/netdb.h: Likewise.
75678         * include/resolv.h: Likewise.
75679         * inet/herrno-loc.c: Likewise.
75680         * inet/herrno.c: Likewise.
75681         * malloc/arena.c: Likewise.
75682         * malloc/hooks.c: Likewise.
75683         * malloc/malloc.c: Likewise.
75684         * resolv/res-state.c: Likewise.
75685         * resolv/res_libc.c: Likewise.
75686         * sysdeps/i386/dl-machine.h: Likewise.
75687         * sysdeps/ia64/dl-machine.h: Likewise.
75688         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75689         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75690         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75691         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75692         * sysdeps/sh/dl-machine.h: Likewise.
75693         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75694         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75695         * sysdeps/unix/i386/sysdep.S: Likewise.
75696         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75697         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75698         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75699         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75700         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75701         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75702         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75703         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75704         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75705         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75706         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75707         * sysdeps/x86_64/dl-machine.h: Likewise.
75708         * tls.make.c: Likewise.
75710         * configure.in: Remove --with-__thread option.  Make tests for
75711         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75712         tls_model attribute fail if no support is available.  Remove
75713         USE_IN_LIBIO.
75714         * Makeconfig: Adjust for dropped configure option.  All features are
75715         now mandatory.
75716         * Makerules: Likewise.
75717         * Versions.def: Likewise.
75718         * argp/argp-fmtstream.c: Likewise.
75719         * argp/argp-fmtstream.h: Likewise.
75720         * argp/argp-help.c: Likewise.
75721         * assert/assert.c: Likewise.
75722         * config.h.in: Likewise.
75723         * config.make.in: Likewise.
75724         * configure: Likewise.
75725         * configure.in: Likewise.
75726         * csu/Versions: Likewise.
75727         * csu/init.c: Likewise.
75728         * elf/tst-audit2.c: Likewise.
75729         * elf/tst-tls10.c: Likewise.
75730         * elf/tst-tls10.h: Likewise.
75731         * elf/tst-tls11.c: Likewise.
75732         * elf/tst-tls12.c: Likewise.
75733         * elf/tst-tls14.c: Likewise.
75734         * elf/tst-tlsmod11.c: Likewise.
75735         * elf/tst-tlsmod12.c: Likewise.
75736         * elf/tst-tlsmod13.c: Likewise.
75737         * elf/tst-tlsmod13a.c: Likewise.
75738         * elf/tst-tlsmod14a.c: Likewise.
75739         * elf/tst-tlsmod15b.c: Likewise.
75740         * elf/tst-tlsmod16a.c: Likewise.
75741         * elf/tst-tlsmod16b.c: Likewise.
75742         * elf/tst-tlsmod7.c: Likewise.
75743         * elf/tst-tlsmod8.c: Likewise.
75744         * elf/tst-tlsmod9.c: Likewise.
75745         * gmon/gmon.c: Likewise.
75746         * grp/fgetgrent_r.c: Likewise.
75747         * grp/putgrent.c: Likewise.
75748         * hurd/fopenport.c: Likewise.
75749         * include/libc-symbols.h: Likewise.
75750         * include/tls.h: Likewise.
75751         * intl/gettextP.h: Likewise.
75752         * intl/loadinfo.h: Likewise.
75753         * locale/global-locale.c: Likewise.
75754         * locale/localeinfo.h: Likewise.
75755         * mach/devstream.c: Likewise.
75756         * malloc/arena.c: Likewise.
75757         * malloc/set-freeres.c: Likewise.
75758         * misc/err.c: Likewise.
75759         * misc/getttyent.c: Likewise.
75760         * misc/mntent_r.c: Likewise.
75761         * posix/getopt.c: Likewise.
75762         * posix/wordexp.c: Likewise.
75763         * pwd/fgetpwent_r.c: Likewise.
75764         * resolv/Versions: Likewise.
75765         * resolv/res_hconf.c: Likewise.
75766         * shadow/fgetspent_r.c: Likewise.
75767         * shadow/putspent.c: Likewise.
75768         * stdio-common/printf_fphex.c: Likewise.
75769         * stdio-common/tmpfile.c: Likewise.
75770         * stdlib/abort.c: Likewise.
75771         * stdlib/fmtmsg.c: Likewise.
75772         * sunrpc/auth_unix.c: Likewise.
75773         * sunrpc/clnt_perr.c: Likewise.
75774         * sunrpc/clnt_tcp.c: Likewise.
75775         * sunrpc/clnt_udp.c: Likewise.
75776         * sunrpc/clnt_unix.c: Likewise.
75777         * sunrpc/openchild.c: Likewise.
75778         * sunrpc/svc_simple.c: Likewise.
75779         * sunrpc/svc_tcp.c: Likewise.
75780         * sunrpc/svc_udp.c: Likewise.
75781         * sunrpc/svc_unix.c: Likewise.
75782         * sunrpc/xdr.c: Likewise.
75783         * sunrpc/xdr_array.c: Likewise.
75784         * sunrpc/xdr_rec.c: Likewise.
75785         * sunrpc/xdr_ref.c: Likewise.
75786         * sunrpc/xdr_stdio.c: Likewise.
75788 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75790         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75792 2011-07-03  Andreas Jaeger  <aj@suse.de>
75794         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75795         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75796         regenerate with gen-libm-tests.pl.
75798 2010-05-12  Petr Baudis  <pasky@suse.cz>
75800         [BZ #11589]
75801         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75802         around j0() zero points by switching to j1().
75803         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75804         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75805         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75806         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75808 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75810         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75811         instead of 0.
75812         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75813         instead of 0.
75814         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75815         Patch in part by Pavel Roskin <proski@gnu.org>.
75817         [BZ #13138]
75818         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75819         realloc.
75820         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75821         Free memory block if necessary.
75823         [BZ #12847]
75824         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75825         be NULL.  Don't lock in this case.
75827 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75829         * elf/elf.h (ELFOSABI_GNU): New macro.
75830         (ELFOSABI_LINUX): Define to that.
75832 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75834         * string/strncat.c (strncat): Undef the symbol in case it has been
75835         defined in bits/string.h.
75837 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75839         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75841         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75842         link map.
75844 2011-08-17  Andreas Jaeger  <aj@suse.de>
75846         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75848 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75849             Ian Lance Taylor  <iant@google.com>
75851         * math/libm-test.inc (lround_test): New testcase.
75852         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75854 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75856         * Makefile: Remove support for automatic cvs check-ins.
75857         * Makerules: Likewise.
75858         * config.make.in: Likewise.
75859         * configure.in: Likewise.
75860         * intl/Makefile: Likewise.
75861         * locale/Makefile: Likewise.
75862         * po/Makefile: Likewise.
75863         * posix/Makefile: Likewise.
75864         * sysdeps/gnu/Makefile: Likewise.
75865         * sysdeps/mach/hurd/Makefile: Likewise.
75866         * sysdeps/sparc/sparc32/Makefile: Likewise.
75868         [BZ #13118]
75869         * posix/Makefile (bug-regex32-ENV): Define.
75870         Patch by John Stanley <jpsinthemix@verizon.net>.
75872         * misc/Makefile (headers): Add bits/select2.h.
75873         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75874         * misc/bits/select2.h: New file.
75875         * include/bits/select2.h: New file.
75876         * debug/Makefile (routines): Add fdelt_chk.
75877         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75878         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75879         FD_ISSET.
75880         * debug/fdelt_chk.c: New file.
75882         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75883         * wcsmbs/test-wmemcmp.c: Likewise.
75884         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75885         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75887 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75889         * string/Makefile (strop-tests): Add memcmp.
75890         * string/test-wmemcmp.c: New file.
75891         * string/test-memcmp.c: Add wmemcmp support.
75893 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75895         [BZ #13153]
75896         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75897         2011-07-19 change.
75899         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75900         garbage value in a __mach_port_mod_refs call in the cases of the
75901         task-self and thread-self ports.
75903 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75905         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75907 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75909         * elf/dl-load.c (lose): Check for non-null L.
75911 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75913         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75915         * elf/dl-libc.c (dlerror_run): Pass back error code from
75916         dl_catch_error.
75918         [BZ #13123]
75919         * elf/dl-load.c (lose): Free l_origin if it is valid.
75921         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75922         names.
75923         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75924         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75925         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75926         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75927         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75928         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75930 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75932         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75933         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75934         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75935         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75936         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75937         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75938         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75939         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75940         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75941         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75943 2011-08-15  Alan Modra  <amodra@gmail.com>
75945         [BZ #13092]
75946         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75947         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75948         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75949         ppc_mcount to static-only-routines.
75950         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75951         __mcount_internal.
75952         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75953         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75955 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75957         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75958         for finite and infinity parameters.
75960 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75962         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75963         and add nop instructions for throughput optimization.
75964         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75966 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75968         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75969         aligned copy for power7 with vector-scalar instructions.
75970         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75972 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75974         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75975         AVX check.
75977 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75979         [BZ #13144]
75980         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75981         last change.
75983 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75985         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75986         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75987         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75988         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75989         clock_gettime.
75991 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75993         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75994         Forgot to demangle the pointer.
75996         * sysdeps/i386/sysdep.h: Define atom_text_section.
75997         * sysdeps/x86_64/sysdep.h: Likewise.
75998         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75999         section with atom_text_section.
76000         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76001         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76002         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76003         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76004         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76006         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76007         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76008         already be defined.  Change to take two parameters and don't assign
76009         result to variable.  Adjust all users.
76010         Define INTERNAL_GETTIME if not already defined.
76011         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76012         call.
76013         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76014         HAVE_CLOCK_GETTIME_VSYSCALL.
76015         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76017         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76018         gettimeofday vsyscall, just use time.
76020 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76022         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76023         <errno.h>.
76025 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76027         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76028         syscall on x86-64.
76029         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76030         syscall.
76031         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76032         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76033         syscall if possible.
76035 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76037         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76038         e_ident.  Don't pass to find_mapsXX.
76039         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76041 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76043         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76044         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76045         * sysdeps/x86_64/multiarch/strchr.S: Update.
76046         Check bit_slow_BSF bit.
76047         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76048         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76049         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76051 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76053         [BZ #13134]
76054         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76055         before glibc 2.15.
76056         (tryshell): Define.
76057         (__spawni): Change last parameter to be flag.  Test
76058         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76059         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76060         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76061         * posix/spawni.c: Likewise.
76062         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76063         * posix/spawnp.c: Likewise.  Change normal version to use
76064         SPAWN_XFLAGS_USE_PATH.
76065         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76066         SPAWN_XFLAGS_TRY_SHELL.
76068         [BZ #13150]
76069         * posix/glob.h: Remove gcc 1.x support.
76071         [BZ #13068]
76072         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76074 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76076         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76077         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76078         strrchr-sse2-bsf
76079         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76080         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76081         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76082         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76083         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76084         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76086 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76088         * sysdeps/x86_64/wcscmp.S: New file.
76090         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76091         wcscmp-c wcscmp-sse2
76092         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76093         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76094         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76095         * wcsmbs/wcscmp.c: Allow renaming.
76097 2011-09-05  David S. Miller  <davem@davemloft.net>
76099         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76100         stack slot, rather than the struct return pointer slot.
76101         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76102         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76104         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76106 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76108         * po/ja.po: Update from translation team.
76110         [BZ #13144]
76111         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76112         kernel in 64-bit binaries.
76114 2011-09-01  David S. Miller  <davem@davemloft.net>
76116         * elf/elf.h (HWCAP_SPARC_*): Move to..
76117         * sysdeps/sparc/sysdep.h: this new file and add new values.
76118         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76119         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76120         _DL_HWCAP_COUNT to 24.
76121         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76122         entries.
76123         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76124         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76125         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76126         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76127         instead of magic constants.
76128         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76130 2011-08-31  David S. Miller  <davem@davemloft.net>
76132         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76133         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76134         Reimplement to do errno handling inline.
76135         (SYSCALL_ERROR_HANDLER): New macro.
76136         (__SYSCALL_STRING): Do not do errno handling in asm.
76137         (__CLONE_SYSCALL_STRING): Delete.
76138         (__INTERNAL_SYSCALL_STRING): Delete.
76139         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76140         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76141         (PSEUDO): Reimplement to do errno handling inline.
76142         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76143         (SYSCALL_ERROR_HANDLER): New macro.
76144         (__SYSCALL_STRING): Do not do errno handling in asm.
76145         (__CLONE_SYSCALL_STRING): Delete.
76146         (__INTERNAL_SYSCALL_STRING): Delete.
76147         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76148         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76149         i386.
76150         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76151         (inline_syscall*): Add 'err' argument.
76152         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76153         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76154         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76155         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76157         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76158         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76160 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76162         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76164 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76166         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76167         directive.
76169 2011-08-24  David S. Miller  <davem@davemloft.net>
76171         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76173 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76175         * elf/Makefile: Add rules to build and run unload8 test.
76176         * elf/unload8.c: New file.
76177         * elf/unload8mod1.c: New file.
76178         * elf/unload8mod1x.c: New file.
76179         * elf/unload8mod2.c: New file.
76180         * elf/unload8mod3.c: New file.
76182         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76183         it wasn't used.
76185 2011-08-23  David S. Miller  <davem@davemloft.net>
76187         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76188         subtract stack bias.
76189         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76190         %sp not %fp in calculations.
76191         (_JMPBUF_UNWINDS_ADJ): Likewise.
76193         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76194         (aio_suspend): Call it to force an exception region around the
76195         AIO_MISC_WAIT() invocation.
76197 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76199         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76200         backslash.
76202 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76204         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76205         protection macro.
76206         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76207         and <dl-machine.h>.
76208         (Elf64_FuncDesc): Remove.
76210 2011-08-22  David S. Miller  <davem@davemloft.net>
76212         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76213         sigaltstack check, add missing cfi directives.
76214         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76215         missing cfi directives, and sigaltstack handling.
76217 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76219         [BZ #11724]
76220         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76221         object is seen twice.
76222         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76224         * elf/Makefile (distribute): Add tst-initorder2.c.
76225         (tests): Add tst-initorder2.
76226         (modules-names): Add tst-initorder2a tst-initorder2b
76227         tst-initorder2c tst-initorder2d.  Add rules to build them.
76228         ($(objpfx)tst-initorder2.out): New rule.
76229         * elf/tst-initorder2.c: New file.
76230         * elf/tst-initorder2.exp: New file.
76232 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76234         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76236         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76237         dependencies back to end of function.
76239         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76240         $(elfobjdir)/ld.so.
76242 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76244         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76245         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76246         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76247         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76248         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76249         of __vdso_gettimeofday.
76250         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76251         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76252         attribute_hidden.
76253         (_libc_vdso_platform_setup): Remove initialization of
76254         __vdso_gettimeofday and __vdso_time.
76256 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76258         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76259         and fgetc_unlocked.
76260         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76261         getc_unlocked.
76263         * elf/dl-open.c (add_to_global): Report additions to the global scope
76264         for LD_DEBUG=scopes.
76265         (dl_open_worker): Also print scope of newly loaded dependencies.
76266         (_dl_show_scope): Indicate if there is no scope.
76268         [BZ #13114]
76269         * stdio-common/Makefile (tests): Add bug24.
76270         * stdio-common/bug24.c: New file.
76272 2011-08-19  Andreas Jaeger  <aj@suse.de>
76274         [BZ #13114]
76275         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76276         non-existant file when using close-on-exec mode.
76278 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76280         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76281         the very first instruction.
76283         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76284         the CFI state in the end.
76285         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76286         inclusion of dl-trampoline.h.
76287         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76289 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76291         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76292         expectations for long double.
76294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76295         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76297 2011-08-14  David S. Miller  <davem@davemloft.net>
76299         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76300         artificual limit depends upon the system page size.
76302 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76304         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76305         * resolv/Makefile: Define CFLAGS-libresolv.
76307 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76309         * nss/makedb.c (compute_tables): Make variables used in nested
76310         function static.
76312 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76314         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76315         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76316         if buffer was too small.
76318         * elf/pldd.c (main): Attach to all threads in the process.
76319         Rewrite /proc handling to use *at functions.
76321 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76323         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76324         specifies first scope to show.
76325         (dl_open_worker): Update callers.  Move printing scope of new
76326         object to before the relocation.
76327         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76328         * sysdeps/generic/ldsodefs.h: Update declaration.
76330         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76331         string for the scope number.
76333 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76335         * nscd/servicescache.c (cache_addserv): Make sure written is always
76336         initialized.
76338 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76340         * sysdeps/i386/i486/bits/atomic.h
76341         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76342         statement expression, so as to suppress "set but not used" warning.
76343         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76345         * string/strncat.c (STRNCAT): Use prototype definition.
76347         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76348         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76349         -Iprograms here.
76350         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76351         (localedef-modules): Add localedef.
76352         (locale-modules): Add locale.
76354         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76355         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76356         to avoid a warning.
76358 2011-08-14  David S. Miller  <davem@davemloft.net>
76360         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76361         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76363 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76365         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76366         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76367         * elf/rtld.c (dl_main): Set l_name of vDSO.
76368         Call _dl_show_scope when DL_DEBUG_SCOPES.
76369         (process_dl_debug): Recognize scopes flag and also set it for all.
76370         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76371         Declare _dl_show_scope.
76373         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76374         (do_dlopen): Pass caller_dlopen to dl_open.
76375         (__libc_dlopen_mode): Initialize caller_dlopen.
76377         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76378         of libc.  Make tolower call locale-independent.  Optimize a bit by
76379         using isdigit instead of isalnum.
76380         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76382 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76384         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76385         was a dependency or dynamically loaded.
76387 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76389         * intl/l10nflist.c: Allow architecture-specific pop function.
76390         * sysdeps/x86_64/l10nflist.c: New file.
76392         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76393         classification.
76395 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76397         * include/dirent.h: Add libc_hidden_proto for scandirat and
76398         scandirat64.  Don't declare __scandirat64.
76399         * dirent/scandirat.c: Add libc_hidden_def.
76400         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76401         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76403 2011-08-10  David S. Miller  <davem@davemloft.net>
76405         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76406         enum.
76407         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76408         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76409         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76411 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76413         * Versions.def [libc]: Add GLIBC_2.15.
76414         * dirent/Makefile (routines): Add scandirat and scandirat64.
76415         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76416         GLIBC_2.15.
76417         * dirent/dirent.h: Declare scandirat and scandirat64.
76418         * dirent/scandirat.c: New file.
76419         * dirent/scandirat64.c: New file.
76420         * sysdeps/wordsize-64/scandirat.c: New file.
76421         * sysdeps/wordsize-64/scandirat64.c: New file.
76422         * dirent/opendir.c: Define opendirat.
76423         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76424         using scandirat.
76425         * dirent/scandir64.c: Adjust for scandir.c change.
76426         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76427         __scandirat64, and __scandir_cancel_handler.
76428         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76429         additional parameter and use openat instead of open (outside of ld.so).
76430         Add new __opendir as wrapper around __opendirat.
76431         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76432         here without requiring old scandirat implementation.
76434 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76436         * dirent/scandir.c (cancel_handler): Renamed to
76437         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76438         defined.  Adjust users.
76439         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76440         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76442 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76444         * string/test-string.h (IMPL): Use __STRING to expand name and then
76445         stringify it.
76447         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76448         of cleanups.
76450 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76452         * string/Makefile: Update.
76453         (strop-tests): Append strncat.
76454         * string/test-wcscmp.c: New file.
76455         New comprehensive test for wcscmp.
76456         * string/test-strcmp.c: Update.
76457         (WIDE): New define.
76459 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76461         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76462         line.
76464 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76466         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76467         encoding to ACE if AI_IDN.
76469 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76471         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76472         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76474 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76476         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76477         Fix overflow bug in strncat.
76478         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76480         * string/test-strncat.c: Update.
76481         Add new tests for checking overflow bugs.
76483 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76485         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76486         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76487         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76488         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76489         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76490         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76491         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76492         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76493         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76495         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76496         (USE_AS_STRCAT): Define.
76497         Add strcat and strncat support.
76498         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76500 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76502         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76503         __n bigger than INT_MAX+1.
76504         (__strncmp_g): Likewise.
76506 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76508         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76509         * libio/stido.h: Likewise.
76511         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76512         (AF_NFC): Define.
76513         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76514         (AF_NFC): Define.
76516         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76517         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76518         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76519         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76520         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76522         [BZ #13021]
76523         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76524         installed.
76526         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76527         typo.
76528         (_dl_x86_64_save_sse): Likewise.
76530 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76532         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76533         OSXSAVE.
76534         (_dl_x86_64_save_sse): Likewise.
76536         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76538         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76540 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76542         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76543         change.
76544         (_dl_x86_64_save_sse): Use correct AVX check.
76546 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76548         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76549         bug in strncpy/strncat.
76550         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76552 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76554         * string/tester.c (test_strcat): Add tests for different alignments
76555         of source and destination.
76556         (test_strncat): Likewise.
76558 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76560         [BZ #12852]
76561         * posix/glob.c (glob): Check passed in values before using them in
76562         expressions to avoid some overflows.
76563         (glob_in_dir): Likewise.
76565         [BZ #13007]
76566         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76567         check for AVX enablement so that we don't crash with old kernels and
76568         new hardware.
76569         * elf/tst-audit4.c: Add same checks here.
76570         * elf/tst-audit6.c: Likewise.
76572         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76574 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76576         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76578 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76580         * po/cs.po: Update from translation team.
76581         * po/bg.po: Likewise.
76583 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76585         * misc/sys/cdefs.h: Add support for const attribute.
76586         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76587         to gnu_dev_{major,minor,makedev} functions.
76589 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76591         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76593 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76595         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76596         strlen results.
76598 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76600         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76601         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76602         register in order to avoid conflicts with the soft frame pointer
76603         being held in r11 when necessary.
76604         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76605         (INTERNAL_VSYSCALL_NCS): Likewise.
76607 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76609         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76610         * elf/dl-fini.c (_dl_fini): Adjust caller.
76611         * elf/dl-close.c (_dl_close_worker): Likewise.
76612         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76614 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76616         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76617         "aux_cache->nlibs < 0".
76619         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76620         in the reload-count case.
76622 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76625         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76626         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76627         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76628         * sysdeps/x86_64/multiarch/strcat.S: New file.
76629         * sysdeps/x86_64/multiarch/strncat.S: New file.
76630         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76631         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76632         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76633         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76634         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76635         (USE_AS_STRCAT): Define.
76636         Add strcat and strncat support.
76637         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76638         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76639         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76640         * string/strncat.c: Update.
76641         (USE_AS_STRNCAT): Define.
76642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76643         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76644         and i7.
76645         * sysdeps/x86_64/multiarch/init-arch.h
76646         (bit_Prefer_PMINUB_for_stringop): New.
76647         (index_Prefer_PMINUB_for_stringop): Likewise.
76648         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76649         bit_Prefer_PMINUB_for_stringop.
76651 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76653         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76654         buffer64.
76655         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76656         of casting of buffer.
76657         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76658         buffer32 and buffer64.
76659         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76660         writes instead of casting of buffer.
76661         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76662         buffer32.
76663         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76664         casting of buffer.
76666 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76668         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76670 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76672         * nscd/nscd.c (termination_handler): Don't do anything for a database
76673         if it has not yet been initialized.
76675 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76677         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76679 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76681         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76683 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76685         * po/nl.po: Update from translation team.
76686         * po/sv.po: Likewise.
76688 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76690         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76691         now disallowed by GCC.
76693         * configure.in (use-default-link): Default to yes if a test -shared
76694         link meets our qualifications.
76695         * configure: Regenerated.
76697         * config.make.in (output-format): New variable.
76698         * configure.in: Check for ld --print-output-format support.
76699         * configure: Regenerated.
76700         * Makerules ($(common-objpfx)format.lds)
76701         [$(output-format) != unknown]: Just use $(output-format),
76702         instead of the linker-script munging.
76704 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76706         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76707         of $(common-objpfx)shlib.lds.
76708         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76710         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76711         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76713         * configure.in (-z relro check): Adjust test code to add a large
76714         writable data section after it.
76715         * configure: Regenerated.
76717 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76719         * configure.in (-z relro check): Fix test code to make the variable
76720         truly const.
76721         * configure: Regenerated.
76723 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76725         * nscd/nscd.h (struct traced_file): Define.
76726         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76727         elements.  Add traced_files.
76728         (inotify_fd): Declare.
76729         (register_traced_file): Declare.
76730         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76731         (inotify_fd): Export.
76732         (resolv_conf_descr): Remove.
76733         (nscd_init): Move inotify descriptor creation to main.
76734         Don't register files for notification here.
76735         (register_traced_file): New function.
76736         (invalidate_cache): Don't use reset_res to determine whether to call
76737         res_init, go through the list of registered files.
76738         (main_loop_poll): The inotify descriptors are now stored in the
76739         structures for the traced files.
76740         (main_loop_epoll): Likewise.
76741         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76742         to __nss_disable_nscd.
76743         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76744         for a database anymore.  Check the records for all the registered
76745         files instead.
76746         * nss/Makefile (libnss_files-routines): Add files-init.
76747         (libnss_db-routines): Add db-init.
76748         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76749         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76750         * nss/nss_db/db-init.c: New file.
76751         * nss/nss_files/files-init.c: New file.
76752         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76753         __nss_lookup_function.
76754         (__nss_lookup_function): Call nss_load_library.
76755         (nss_load_all_libraries): New function.
76756         (__nss_disable_nscd): Take parameter with callback function for files
76757         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76758         used for the cached services.
76759         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76760         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76761         options for features to all the files in nscd.
76763         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76765 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76767         * csu/elf-init.c (__libc_csu_init): Comment typo.
76769 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76771         * po/pl.po: Update from translation team.
76772         * po/ja.po: Likewise.
76773         * po/ru.po: Likewise.
76774         * po/ko.po: Likewise.
76775         * po/fr.po: Likewise.
76777 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76779         * configure.in (.ctors/.dtors header and trailer check):
76780         Use an empirical test on a built program.
76781         * configure: Regenerated.
76783         * configure.in (-z relro check): Use an empirical test on a built DSO.
76784         Detect, but do not require, on ia64.
76785         * configure: Regenerated.
76787         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76788         Update tests that use readelf to use $READELF instead.
76789         * configure: Regenerated.
76791 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76793         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76794         if the result is not used.
76796 2011-07-05  Andreas Jaeger  <aj@suse.de>
76798         [BZ#9696]
76799         * stdlib/tst-strtod.c: Add testcase.
76801 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76803         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76804         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76805         The latter has a higher limit.  Take additional parameter to pass to
76806         the new function.
76807         (__pathconf): Pass file to __statfs_link_max.
76808         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76809         __statfs_link_max.
76810         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76811         __statfs_link_max.
76813         [BZ #12868]
76814         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76815         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76816         Handle Lustre.
76817         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76818         (__statfs_filesize_max): Likewise.
76819         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76821 2011-07-05  Andreas Jaeger  <aj@suse.de>
76823         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76825 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76827         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76828         `status' variable.
76829         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76830         Likewise.
76832 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76834         * Makefile (strop-tests): Add strncat.
76835         * string/test-strncat.c: New file.
76837 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76839         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76841 2011-06-21  Andreas Jaeger  <aj@suse.de>
76843         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76844         Copy rule from iconvdata/Makefile.
76846 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76848         [BZ #12922]
76849         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76850         but no long options are defined, just return 'W'.
76852 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76854         [BZ #9696]
76855         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76857 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76859         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76860         netgroups to read.
76861         (innetgr): Likewise.
76863 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76865         * config.make.in (install_root): Default to $(DESTDIR).
76867 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76869         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76871 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76873         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76875         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76876         containing directory rather than embedding absolute directory names.
76878         * scripts/check-local-headers.sh: Rewritten using awk.
76879         Match by word, not by line.  Print error messages for matches.
76880         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76882         * Makerules [shlib-lds-flags empty]:
76883         ($(common-objpfx)libc_pic.opts): New target.
76884         ($(common-objpfx)libc_pic.os.clean): New target.
76885         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76887         * config.make.in (OBJCOPY): New variable.
76888         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76889         * configure: Regenerated.
76891         * config.make.in (use-default-link): New variable.
76892         * configure.in (use_default_link): Grok --with-default-link to set it.
76893         * configure: Regenerated.
76894         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76895         (shlib-lds, shlib-lds-flags): Define to empty.
76897         * Makerules (shlib-lds): New variable.
76898         (shlib-lds-flags): New variable.
76899         (build-shlib, build-moduile, build-module-asneeded): Use it.
76900         ($(common-objpfx)libc.so): Use $(shlib-lds).
76901         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76902         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76904         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76905         DT_FLAGS/DT_FLAGS_1 with zero flags.
76907         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76908         linker script munging.
76910 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76912         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76913         as 128-bit value.
76914         * crypt/sha512.c (sha512_process_block): Perform total addition using
76915         128-bit if possible.
76916         (__sha512_finish_ctx): Likewise.
76917         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76918         as 64-bit value.
76919         * crypt/sha256.c (SWAP64): Define.
76920         (sha256_process_block): Perform total addition using 64-bit if
76921         possible.
76922         (__sha256_finish_ctx): Likewise.
76924 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76926         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76927         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76928         * nscd/hstcache.c (cache_addhst): Likewise.
76929         * nscd/grpcache.c (cache_addgr): Likewise.
76930         * nscd/aicache.c (addhstaiX): Likewise.
76931         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76933 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76935         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76936         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76937         * nscd/hstcache.c (cache_addhst): Likewise.
76938         * nscd/grpcache.c (cache_addgr): Likewise.
76939         * nscd/aicache.c (addhstaiX): Likewise.
76941 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76943         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76944         domain only when needed.
76946 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76948         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76949         is always restored.
76951 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76953         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76954         are re-adding the entry.
76955         * nscd/servicescache.c (cache_addserv): Likewise.
76957 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76959         * sysdeps/generic/dl-irel.h: fix protection against multiple
76960         inclusions.
76961         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76963 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76965         [BZ #12935]
76966         * malloc/memusage.sh: Fix quoting in message.
76967         * debug/xtrace.sh: Likewise.
76969         * configure.in: Remove support for --experimental-malloc option, make
76970         it the default.
76971         * config.make.in: Likewise.
76972         * malloc/Makefile: Likewise.
76974 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76976         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76977         two-byte characters.
76979 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76981         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76982         AC_CACHE_CHECK invocation.
76983         * configure: Regenerated.
76985         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76987 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76989         [BZ #12350]
76990         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76991         bit from old_res_options.
76993         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76995         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76996         value type for setfct.
76998 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77000         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77001         __gettimeofday instead of gettimeofday.
77003 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77005         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77007 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77009         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77011         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77012         info.
77014 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77017         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77018         strcpy-sse2-unaligned strncpy-sse2-unaligned
77019         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77020         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77021         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77022         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77023         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77024         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77025         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77026         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77027         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77028         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77029         (STRCPY): Support SSE2 and SSSE3 versions.
77031 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77033         [BZ #12874]
77034         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77035         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77036         kernels which artificially limit size of requests.
77038 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77040         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77041         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77042         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77043         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77044         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77045         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77046         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77047         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77048         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77049         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77050         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77051         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77052         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77053         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77054         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77056         Enable unaligned load optimization for Intel Core i3, i5 and i7
77057         processors.
77058         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77059         Define.
77060         (index_Fast_Unaligned_Load): Define.
77061         (HAS_FAST_UNALIGNED_LOAD): Define.
77063 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77065         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77067 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77069         [BZ #12907]
77070         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77071         until it is clear that the information is realy needed.
77072         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77074 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77078 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77080         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77081         /sys/devices/system/cpu/online if it is usable.
77083         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77084         reading the information from the /proc filesystem to once a second.
77086 2011-06-21  Andreas Jaeger  <aj@suse.de>
77088         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77089         NULL after inclusion of kernel headers.
77091 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77093         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77094         calls to internal_setent.
77096         [BZ #12885]
77097         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77098         addresses using gethostbyname4_r ignore IPv4 addresses.
77100         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77101         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77103         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77105 2011-06-20  David S. Miller  <davem@davemloft.net>
77107         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77108         inclusions.
77109         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77111         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77112         (elf_irel): Use it.
77113         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77114         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77115         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77116         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77117         * sysdeps/x86_64/dl-irel.h: Likewise.
77119         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77120         * elf/dl-sym.c: Likewise.
77122 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77124         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77125         need to dereference resplen2.
77127 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77129         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77131 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77133         * Makeconfig: Define vardbdir and inst_vardbdir.
77134         * nss/Makefile: Add rules to install db-Makefile.
77136         * nss/nss_db/db-XXX.c: Cleanup.
77138         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77139         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77140         GLIBC_PRIVATE.
77141         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77142         * nss/makedb.c: Implement -g option to specify that value strings
77143         are generated and should not be added to table iterated over for
77144         get*ent calls.
77145         * nss/nss_db/db-initgroups.c: New file.
77147         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77148         interface.
77150         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77151         (internal_getgrouplist): Adjust to name change.
77152         Update use_initgroups_entry if this is not the first call.
77153         * nss/databases.def: Add initgroups entry.
77155         * nss/makedb.c (compute_tables): Check result of multiple hash table
77156         sizes to minimize maximum chain length.
77158 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77160         * Versions.def: Add entry for libnss_db.
77161         * shlib-versions: Likewise.
77162         * nss/Makefile: Add rules to build libnss_db.
77163         * nss/Versions: Add libnss_db information.  Organize libnss_files
77164         entries better.
77165         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77166         makedb progra.  Some minor improvements to generate smaller files.
77167         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77168         here from...
77169         * nss/makedb.c: ...here.
77170         Improve database format to be smaller and require less memory at
77171         runtime.
77172         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77173         db anymore.
77174         * nss/nss_db/db-netgrp.c: Likewise.
77175         * nss/nss_db/db-open.c: Likewise.
77176         * nss/nss_files/flies-XXX.x: Adjust comments.
77177         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77178         * nss/nss_files/files-grp.c: Likewise.
77179         * nss/nss_files/files-hosts.c: Likewise.
77180         * nss/nss_files/files-network.c: Likewise.
77181         * nss/nss_files/files-proto.c: Likewise.
77182         * nss/nss_files/files-pwd.c: Likewise.
77183         * nss/nss_files/files-rpc.c: Likewise.
77184         * nss/nss_files/files-service.c: Likewise.
77185         * nss/nss_files/files-sgrp.c: Likewise.
77186         * nss/nss_files/files-spwd.c: Likewise.
77187         * nss/nss_db/db-alias.c: Removed.
77188         * nss/nss_db/dummy-db.h: Removed.
77190 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77192         * nss/makedb.c: Rewritten to not use database library.
77193         * nss/Makefile: Update to build new makedb program.
77195 2011-06-14  Andreas Jaeger  <aj@suse.de>
77197         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77198         memset declaration.
77200 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77202         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77203         tmpbuf.
77205 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77207         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77208         * elf/Makefile ($(objpfx)ld.so): Likewise.
77210         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77211         Don't list ld.so twice in dependencies.
77213         * posix/bug-regex31.c: Include <stdlib.h>.
77215         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77217         * nis/nss_compat/compat-spwd.c
77218         (getspent_next_nss_netgr): Remove unused variable.
77219         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77221         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77222         nonmembers" output to use the right array.
77224         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77226         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77228         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77229         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77230         * catgets/gencat.c (read_input_file): Likewise.
77231         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77233         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77234         variable definition inside #if's controlling its use.
77236         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77238         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77240         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77242         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77243         unreachable code.
77245         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77247         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77248         * configure: Regenerated.
77250         * Makerules: Revert last change.
77251         * elf/Makefile: Likewise.
77253 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77255         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77256         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77257         (reloc-link): Likewise.
77259 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77261         * elf/Makefile: Add rules to build pldd.
77262         * elf/pldd.c: New file.
77263         * elf/pldd-xx.c: New file.
77265 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77267         * version.h: Update for 2.15 development version.
77269 2011-06-07  David S. Miller  <davem@davemloft.net>
77271         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77272         ifuncs.
77273         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77274         elf_machine_lazy_rel): Likewise.
77275         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77276         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77277         elf_machine_lazy_rel): Likewise.
77278         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77279         dl_hwcap via passed in argument.
77280         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77281         Likewise.
77283 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77285         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77287 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77289         [BZ #12849]
77290         * manual/fdl-1.1.texi: New file, verbatim from:
77291         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77292         * manual/lgpl-2.1.texi: New file, verbatim from:
77293         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77294         * manual/Makefile (licenses): New variable, list those new file names.
77295         (texis): Use it.
77296         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77298         * manual/fdl.texi: File removed.
77299         * manual/lesser.texi: File removed.
77300         * manual/libc.texinfo (Copying, Documentation License):
77301         Use new @include file names, put @appendix directive before @include.
77303 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77305         [BZ #12841]
77306         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77307         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77308         (mq_open): Add __NTH.
77310 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77312         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77313         Assume Intel Core i3/i5/i7 processor if AVX is available.
77315 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77317         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77318         typo.
77320 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77322         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77323         memory.  Use alloca_account.  Fix memory leak when retrying.
77325 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77327         * version.h (RELEASE): Bump for 2.14 release.
77328         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77330         * config.make.in (RANLIB): Remove entry.
77332 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77334         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77335         (libc.pot): Work around missing support for .ksh extension in xgettext.
77337         [BZ #12684]
77338         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77339         if both request failed.
77340         (send_dg): In case of server errors clear resplen or *resplen2.
77342         [BZ #12454]
77343         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77344         when there are multiple maps.
77345         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77346         (_dl_fini): Remove test here.
77348         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77350 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77352         [BZ #12350]
77353         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77354         bit from old_res_options.
77355         (gaih_inet): Likewise.
77357         [BZ #11099]
77358         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77359         as signed.
77361         * resolv/res_init.c (res_setoptions): Make the code more compact.
77363         [BZ #11558]
77364         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77365         set RES_USEVC.
77367         [BZ #11634]
77368         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77370         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77372         [BZ #11781]
77373         * malloc/malloc.h: Declare malloc hook variables as volatile.
77375         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77376         in last patch.
77378         [BZ #11799]
77379         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77380         raise in the comment.
77381         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77382         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77383         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77385 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77387         [BZ #12811]
77388         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77389         grow the buffers more if it already has to be sufficient.
77390         (build_wcs_upper_buffer): Likewise.
77391         * posix/regexec.c (check_matching): Likewise.
77392         (clean_state_log_if_needed): Likewise.
77393         (extend_buffers): Don't enlarge buffers beyond size of the input
77394         buffer.
77395         Patches mostly by Emil Wojak <emil@wojak.eu>.
77396         * posix/bug-regex32.c: New file.
77397         * posix/Makefile (tests): Add bug-regex32.
77399         * locale/findlocale.c (_nl_find_locale): Return right away if
77400         _nl_explode_name failed.
77401         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77403         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77405         * debug/xtrace.sh: Unify messages.
77406         * malloc/memusage.sh: Likewise.
77408         [BZ #12813]
77409         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77410         time symbol from vDSO.  Substitute with vsyscall if not available.
77411         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77412         __vdso_time.
77414         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77415         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77416         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77417         Add sendmmsg and internal_sendmmsg.
77418         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77419         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77420         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77422         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77423         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77424         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77426 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77428         [BZ #12813]
77429         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77430         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77431         available.
77432         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77433         __vdso_getcpu.
77435         [BZ #12814]
77436         * iconvdata/Makefile (tests): Add bug-iconv9.
77437         * iconvdata/bug-iconv9.c: New file.
77439 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77441         [BZ #12814]
77442         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77444 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77446         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77447         (struct user_regs_struct): Change intcs field back to cs.
77449 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77451         * po/ja.po: Update from translation team.
77453 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77455         [BZ #12795]
77456         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77457         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77459 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77461         * stdlib/longlong.h: Update from GCC.
77463 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77465         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77466         parameter name.
77467         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77468         Add parameter name.
77469         (__sysconf): Pass it down.
77471 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77473         [BZ #12671]
77474         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77475         some situations.
77476         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77477         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77478         add in in __libc_use_alloca calls.  Adjust callers.
77479         (glob): Use malloc in some situations.
77481         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77482         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77483         pltexit.
77485 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77487         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77488         and CLOCK_BOOTTIME_ALARM.
77490         [BZ #12782]
77491         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77492         is returned.
77494         * string/_strerror.c (__strerror_r): Print negative errors as signed
77495         numbers.
77497         [BZ #12777]
77498         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77499         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77500         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77502         * configure.in: Fix typo in redirection and correct removal of test
77503         files in two cases.
77505         [BZ #12788]
77506         * locale/setlocale.c (new_composite_name): Fix test to check for
77507         identical name of all categories.
77509         [BZ #12792]
77510         * libio/filedoalloc.c (local_isatty): New function.
77511         (_IO_file_doallocate): Use local_isatty.
77512         * stdio-common/perror.c (perror): In case a new stream is used
77513         forward the stream error.
77514         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77515         error flag.
77517 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77519         [BZ #11884]
77520         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77521         alloca.
77522         * include/alloca.h (extend_alloca_account): Define.
77524         [BZ #11857]
77525         * posix/regex.h: Fix comments with documentation of user-accessible
77526         fields after compilation and describe correct free'ing of pattern
77527         after re_compile_pattern.
77528         Patch by Reuben Thomas <rrt@sc3d.org>.
77530 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77532         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77533         and -mno-altivec to prevent the compiler from using Altivec and/or
77534         VSX instructions when the corresponding registers are not available.
77536 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77538         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77540 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77542         * libio/freopen.c (freopen): Use __dup2, not dup2.
77543         * libio/freopen64.c (freopen64): Likewise.
77545 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77547         [BZ #12775]
77548         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77549         * math/Makefile (tests): Add test-powl.
77550         (CFLAGS-test-powl.c): Define.
77551         * math/test-powl.c: New file.
77553 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77555         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77557 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77559         [BZ #11837]
77560         * iconvdata/gb18030.c: Update to GB18020-2005.
77562 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77564         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77565         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77566         Patch by Aharon Robbins <arnold@skeeve.com>.
77568         [BZ #11892]
77569         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77570         on the stack.
77572         [BZ #11895]
77573         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77574         through underflows.
77576         [BZ #12766]
77577         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77578         point to strings before performing equality test for error_one_per_line
77579         mode.
77581         [BZ #11697]
77582         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77584         [BZ #11820]
77585         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77586         (struct user_fpregs_struct): Avoid __uint*_t types.
77588         [BZ #6420]
77589         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77590         symbol info.  Use it instead of calling _dl_addr locally.
77591         (lock_and_info): New function.
77592         (tr_freehook): Call lock_and_info and pass symbol info as additional
77593         parameter to tr_where.
77594         (tr_mallochook): Likewise.
77595         (tr_reallochook): Likewise.
77596         (tr_memalignhook): Likewise.
77598         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77599         used and couldn't be at all thread-safe.
77601 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77603         * libio/freopen.c (freopen): Don't close old file descriptor
77604         before the new one is opened.  Instead dup the new file descriptor
77605         to the old one after the new stream is created.
77606         * libio/freopen64.c (freopen64): Likewise.
77607         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77608         * libio/fileops.c (_IO_new_file_close_it): Handle new
77609         _IO_FLAGS2_NOCLOSE flag.
77610         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77611         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77612         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77613         _IO_FLAGS2_NOCLOSE flag.
77614         * include/unistd.h: Add hidden_proto for dup3.
77615         Define __have_dup3.
77616         * io/dup3.c: Define hidden symbol.
77617         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77619         [BZ #7101]
77620         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77621         when an incomplete long option is used.
77622         * posix/tst-getopt_long1.c: New file.
77623         * posix/Makefile (tests): Add tst-getopt_long1.
77625         [BZ #10138]
77626         * scripts/config.guess: Update from autoconf-2.68.
77627         * scripts/config.sub: Likewise.
77629         [BZ #10157]
77630         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77631         tests into ...
77632         (has_cpuclock): ...this.  New function.
77633         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77634         macro here based on has_cpuclock code.
77636         [BZ #10149]
77637         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77638         First byte (not low byte) is now always NUL.
77639         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77641         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77642         Use non-cancelable interfaces.
77644         [BZ #9809]
77645         * locale/iso-639.def: Add entry for Sorani.
77647         [BZ #11901]
77648         * include/stdlib.h: Move include protection to the right place.
77649         Define abort_msg_s.  Declare __abort_msg with it.
77650         * stdlib/abort.c (__abort_msg): Adjust type.
77651         * assert/assert.c (__assert_fail_base): New function.  Majority
77652         of code from __assert_fail.  Allocate memory for __abort_msg with
77653         mmap.
77654         (__assert_fail): Now call __assert_fail_base.
77655         * assert/assert-perr.c: Remove bulk of implementation.  Use
77656         __assert_fail_base.
77657         * include/assert.hL Declare __assert_fail_base.
77658         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77659         mmap.
77660         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77662 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77664         [BZ #11952]
77665         [BZ #12453]
77666         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77667         until all modules are registered in the DTV.
77668         * elf/Makefile: Add rules to build and run tst-tls19.
77669         * elf/tst-tls19.c: New file.
77670         * elf/tst-tls19mod1.c: New file.
77671         * elf/tst-tls19mod2.c: New file.
77672         * elf/tst-tls19mod3.c: New file.
77673         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77675         [BZ #12083]
77676         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77677         correctly.
77679         [BZ #12601]
77680         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77681         two-byte sequence errors.
77682         * iconvdata/Makefile (tests): Add bug-iconv8.
77683         * iconvdata/bug-iconv8.c: New file.
77685         [BZ #12626]
77686         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77687         buf2 definition.
77689         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77691         [BZ #12432]
77692         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77693         (dummy_getcfa): New function.
77694         (init): Get _Unwind_GetCFA address, use dummy if not found.
77695         (backtrace_helper): In recursion check, also check whether CFA changes.
77696         (__backtrace): Completely initialize arg.
77698         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77699         storing incomplete byte sequence in state object.  Avoid testing for
77700         guaranteed too small input if we know there is enough data available.
77702 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77704         * Makeconfig (+link-pie): Indent.
77705         * Rules (binaries-pie): Define if $(have-fpie) and
77706         $(build-shared).
77707         (binaries-shared): Also filter out $(binaries-pie).
77708         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77709         * nscd/Makefile (others-pie): Add nscd.
77710         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77711         ($(objpfx)nscd): Remove command override.
77712         * login/Makefile (others-pie): Add pt_chown.
77713         ($(objpfx)pt_chown): Remove command override.
77714         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77715         remove command overrides.
77717 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77719         * libio/tst_putwc.c: Fix error messages.
77721         [BZ #12724]
77722         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77723         currently writing and seek to current position when not.
77724         * libio/Makefile (tests): Add bug-fclose1.
77725         * libio/bug-fclose1.c: New file.
77727 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77729         [BZ #12511]
77730         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77731         don't set DF_1_NODELETE here.
77732         (do_lookup_x): When entering new entry test for copy relocation
77733         and if necessary set DF_1_NODELETE flag.
77734         * elf/tst-unique4.cc: New file.
77735         * elf/tst-unique4.h: New file.
77736         * elf/tst-unique4lib.cc: New file.
77737         * elf/Makefile: Add rules to build and run tst-unique4.
77738         Patch by Piotr Bury <pbury@goahead.com>.
77740 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77742         [BZ #12052]
77743         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77745         [BZ #12625]
77746         * misc/mntent_r.c (addmntent): Flush the stream after the output
77748         [BZ #12393]
77749         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77750         (is_trusted_path_normalize): Skip initial colon.  Append slash
77751         to empty buffer.  Duplicate is_trusted_path code but allow
77752         constructed patch to be prefix.
77753         (is_dst): Allow $ORIGIN followed by /.
77754         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77755         Correct testing of result of is_trusted_path_normalize
77756         (decompose_rpath): Fix warning.
77758 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77760         [BZ #11257]
77761         * grp/initgroups.c (internal_getgrouplist): When we found the service
77762         list through the initgroups entry in nsswitch.conf do not always
77763         continue on a successful lookup.  Don't always use the
77764         __nss_group_database value if it is set.
77765         * nss/nsswitch.conf (initgroups): Change action for successful db
77766         lookup to continue for compatibility.
77768 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77770         [BZ #11532]
77771         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77772         and CP774 modules.
77773         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77774         and CP774 modules.
77775         * iconvdata/tst-tables.sh: Likewise.
77776         * iconvdata/cp770.c: New file.
77777         * iconvdata/cp771.c: New file.
77778         * iconvdata/cp772.c: New file.
77779         * iconvdata/cp773.c: New file.
77780         * iconvdata/cp774.c: New file.
77781         * iconvdata/testdata/CP770: New file.
77782         * iconvdata/testdata/CP770..UTF8: New file.
77783         * iconvdata/testdata/CP771: New file.
77784         * iconvdata/testdata/CP771..UTF8: New file.
77785         * iconvdata/testdata/CP772: New file.
77786         * iconvdata/testdata/CP772..UTF8: New file.
77787         * iconvdata/testdata/CP773: New file.
77788         * iconvdata/testdata/CP773..UTF8: New file.
77789         * iconvdata/testdata/CP774: New file.
77790         * iconvdata/testdata/CP774..UTF8: New file.
77792         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77793         END CHARMAP line.
77794         * iconvdata/gen-8bit-gap.sh: Likewise.
77795         * iconvdata/gen-8bit.sh: Likewise.
77797         * locale/iso-639.def: Add ary entry.
77799         [BZ #11258]
77800         * locale/C-translit.h.in: Add U20A1 transliteration.
77802         [BZ #12178]
77803         * locale/iso-639.def: Add wae entry.
77804         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77806         [BZ #12545]
77807         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77808         for n.
77810         [BZ #12711]
77811         * locale/C-translit.h.in: Add entry for U20B9.
77812         Patch by pravin.d.s@gmail.com.
77814 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77816         [BZ #12713]
77817         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77818         ENAMETOOLONG use generic getcwd.
77819         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77820         in rtld.  Use *stat64.
77821         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77822         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77823         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77824         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77825         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77826         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77827         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77828         __fstatat64 macros.
77829         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77830         * dirent/rewinddir.c: Add libc_hidden_def.
77831         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77832         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77834         * include/dirent.h (__alloc_dir): Add flags parameter.
77835         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77836         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77837         __alloc_dir.
77838         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77839         from fdopendir if O_CLOEXEC is already set.
77841 2011-03-15  Alan Modra  <amodra@gmail.com>
77843         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77844         l_tls_firstbyte_offset non-zero.  Save padding offset in
77845         l_tls_firstbyte_offset for later use.
77846         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77847         freeing static tls block.
77849 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77851         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77852         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77853         being defined by the kernel headers.
77855 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77857         [BZ #12734]
77858         * resolv/resolv.h: Define RES_NOTLDQUERY.
77859         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77860         no-tld-query and set RES_NOTLDQUERY.
77861         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77862         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77863         modern BIND to search name as TLD unless forbidden.
77865 2011-05-07  Petr Baudis  <pasky@suse.cz>
77866             Ulrich Drepper  <drepper@gmail.com>
77868         [BZ #12393]
77869         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77870         (is_trusted_path): ...to here.
77871         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77872         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77873         using is_trusted_path_normalize() in setuid scripts.
77875 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77877         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77878         __BEGIN/__END_DECLS.
77880 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77882         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77883         NSS_STATUS_NOTFOUND if no record was found.
77885 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77887         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77888         (headers-not-in-tirpc): Remove rpc/netdb.h
77889         * resolv/netdb.h: Revert last change.
77891 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77893         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77894         circular dependency between libgcc.a and libc.a.
77896 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77898         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77899         * nis/Makefile: Don't install rpcsvc/*.
77900         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77901         instead of <rpc/types.h>.
77902         (MAXHOSTNAMELEN): Define.
77904 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77906         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77908 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77910         [BZ #12714]
77911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77912         gethostbyname4_r when IPv6 results are possible.
77914 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77916         [BZ #12723]
77917         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77918         _PC_PIPE_BUF handling.
77920 2011-04-30  Bruno Haible  <bruno@clisp.org>
77922         [BZ #12717]
77923         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77924         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77925         to 'int'.
77926         * inet/getnameinfo.c (getnameinfo): Likewise.
77928 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77930         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77931         to groups setting in database lookup.
77932         * nss/nsswitch.conf: Add initgroups entry.
77934 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77936         [BZ #12685]
77937         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77938         mode string.
77939         Patch by Eric Blake <eblake@redhat.com>.
77941 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77943         * sunrpc/Makefile (need-export-routines): Add svc_run.
77944         (routines): Remove svc_run.
77945         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77946         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77947         * sunrpc/svc_run.c (svc_run): Likewise.
77948         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77950 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77952         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77953         problem in reallocation in last patch.
77955 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77957         * sunrpc/Makefile: Move inclusion of Rules.
77959 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77961         * nss/nss_files/files-initgroups.c: New file.
77962         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77963         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77964         _nss_files_initgroups_dyn.
77966 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77968         * elf/elf.h (R_ARM_IRELATIVE): Define.
77970 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77972         * po/ru.po: Update from translation team.
77974 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77976         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77977         dependencies.
77979 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77981         [BZ #12653]
77982         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77983         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77984         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77985         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77986         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77988 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77990         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77991         differing bytes.
77992         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77993         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77994         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77996 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77998         [BZ #12420]
77999         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78000         storing it.
78001         * stdlib/bug-getcontext.c: New file.
78002         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78004 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78006         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78007         instructions into .machine "z9-109".
78008         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78009         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78011 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78013         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78014         between environment variables and auxiliary vector.
78016 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78018         * Makefile: Add rules to build linkobj/libc.so.
78019         * include/libc-symbols.h: Define libc_hidden_nolink.
78020         * include/rpc/auth.h: Mark functions which are to be hidden.
78021         * include/rpc/auth_des.h: Likewise.
78022         * include/rpc/auth_unix.h: Likewise.
78023         * include/rpc/clnt.h: Likewise.
78024         * include/rpc/des_crypt.h: Likewise.
78025         * include/rpc/key_prot.h: Likewise.
78026         * include/rpc/pmap_clnt.h: Likewise.
78027         * include/rpc/pmap_prot.h: Likewise.
78028         * include/rpc/pmap_rmt.h: Likewise.
78029         * include/rpc/rpc_msg.h: Likewise.
78030         * include/rpc/svc.h: Likewise.
78031         * include/rpc/svc_auth.h: Likewise.
78032         * include/rpc/xdr.h: Likewise.
78033         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78034         * nss/Makefile: Likewise.
78035         * sunrpc/Makefile: Don't install headers.  Build library with normal
78036         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78037         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78038         for the compat linking library.  Remove use of INTDEF/INTUSE.
78039         * sunrpc/auth_none.c: Likewise.
78040         * sunrpc/auth_unix.c: Likewise.
78041         * sunrpc/authdes_prot.c: Likewise.
78042         * sunrpc/authuxprot.c: Likewise.
78043         * sunrpc/clnt_gen.c: Likewise.
78044         * sunrpc/clnt_perr.c: Likewise.
78045         * sunrpc/clnt_raw.c: Likewise.
78046         * sunrpc/clnt_simp.c: Likewise.
78047         * sunrpc/clnt_tcp.c: Likewise.
78048         * sunrpc/clnt_udp.c: Likewise.
78049         * sunrpc/clnt_unix.c: Likewise.
78050         * sunrpc/des_crypt.c: Likewise.
78051         * sunrpc/des_soft.c: Likewise.
78052         * sunrpc/get_myaddr.c: Likewise.
78053         * sunrpc/key_call.c: Likewise.
78054         * sunrpc/key_prot.c: Likewise.
78055         * sunrpc/netname.c: Likewise.
78056         * sunrpc/pm_getmaps.c: Likewise.
78057         * sunrpc/pm_getport.c: Likewise.
78058         * sunrpc/pmap_clnt.c: Likewise.
78059         * sunrpc/pmap_prot.c: Likewise.
78060         * sunrpc/pmap_prot2.c: Likewise.
78061         * sunrpc/pmap_rmt.c: Likewise.
78062         * sunrpc/publickey.c: Likewise.
78063         * sunrpc/rpc_cmsg.c: Likewise.
78064         * sunrpc/rpc_common.c: Likewise.
78065         * sunrpc/rpc_dtable.c: Likewise.
78066         * sunrpc/rpc_prot.c: Likewise.
78067         * sunrpc/rpc_thread.c: Likewise.
78068         * sunrpc/rtime.c: Likewise.
78069         * sunrpc/svc.c: Likewise.
78070         * sunrpc/svc_auth.c: Likewise.
78071         * sunrpc/svc_authux.c: Likewise.
78072         * sunrpc/svc_raw.c: Likewise.
78073         * sunrpc/svc_run.c: Likewise.
78074         * sunrpc/svc_simple.c: Likewise.
78075         * sunrpc/svc_tcp.c: Likewise.
78076         * sunrpc/svc_udp.c: Likewise.
78077         * sunrpc/svc_unix.c: Likewise.
78078         * sunrpc/svcauth_des.c: Likewise.
78079         * sunrpc/xcrypt.c: Likewise.
78080         * sunrpc/xdr.c: Likewise.
78081         * sunrpc/xdr_array.c: Likewise.
78082         * sunrpc/xdr_float.c: Likewise.
78083         * sunrpc/xdr_intXX_t.c: Likewise.
78084         * sunrpc/xdr_mem.c: Likewise.
78085         * sunrpc/xdr_rec.c: Likewise.
78086         * sunrpc/xdr_ref.c: Likewise.
78087         * sunrpc/xdr_sizeof.c: Likewise.
78088         * sunrpc/xdr_stdio.c: Likewise.
78090 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78092         [BZ #12650]
78093         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78094         * sysdeps/ia64/dl-tls.h: Likewise.
78095         * sysdeps/powerpc/dl-tls.h: Likewise.
78096         * sysdeps/s390/dl-tls.h: Likewise.
78097         * sysdeps/sh/dl-tls.h: Likewise.
78098         * sysdeps/sparc/dl-tls.h: Likewise.
78099         * sysdeps/x86_64/dl-tls.h: Likewise.
78100         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78102 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78104         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78105         rpath element also skip the following colon.
78106         (expand_dynamic_string_token): Add is_path parameter and pass
78107         down to DL_DST_REQUIRED and _dl_dst_substitute.
78108         (decompose_rpath): Call expand_dynamic_string_token with
78109         non-zero is_path.  Ignore empty rpaths.
78110         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78111         with zero is_path.
78113 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78116         Make cancelable.
78118 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78120         [BZ #12655]
78121         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78122         Patch by Filipe David Manana <fdmanana@apache.org>.
78124 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78126         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78127         Maintain aligned stack.
78128         (CHECK_RSP): Remove unused macro.
78130 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78132         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78133         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78135 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78137         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78139         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78141 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78143         [BZ #12518]
78144         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78145         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78146         * sysdeps/x86_64/memmove.c: New file.
78147         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78148         (memcpy): Renamed to ...
78149         (__new_memcpy): This.
78150         (memcpy): Provide GLIBC_2_14 memcpy.
78151         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78152         (memcpy): Provide GLIBC_2_2_5 memcpy.
78154 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78156         [BZ #12631]
78157         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78159 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78161         * misc/syncfs.c: New file.
78162         * misc/Makefile (routines): Add syncfs.
78163         * posix/unistd.h: Declare syncfs.
78164         * sysdeps/unix/syscalls.list: Add syncfs.
78166 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78168         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78169         open_by_handle_at.
78170         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78171         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78172         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78173         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78174         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78175         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78176         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78178 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78180         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78181         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78182         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78183         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78184         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78185         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78186         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78188         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78189         sync_file_range.c with -fexceptions.
78190         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78191         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78192         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78193         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78194         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78195         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78196         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78197         sync_file_range as cancellation point
78198         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78199         now a wrapper around __call_sync_file_range with cancellation handling.
78200         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78201         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78202         function name to __call_sync_file_range.
78203         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78204         Add call_sync_file_range.
78206 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78208         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78209         bits/timex.h.
78211 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78213         * iconv/iconv.h: Fix typo in comment.
78214         * io/fcntl.h: Likewise.
78215         * libio/stdio.h: Likewise.
78216         * posix/spawn.h: Likewise.
78217         * posix/unistd.h: Likewise.
78218         * stdlib/stdlib.h: Likewise.
78219         * time/time.h: Likewise.
78220         * wcsmbs/wchar.h: Likewise.
78222         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78223         open_by_handle): Add.
78224         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78225         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78226         Augment a few comments.
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/x86_64/bits/fcntl.h: Likewise.
78232         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78233         open_by_handle.
78235         * io/fcntl.h (AT_EMPTY_PATH): Define.
78237 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78239         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78240         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78241         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78242         to...
78243         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78244         * Versions.def: Add GLIBC_2.14.
78245         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78246         Export.
78248 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78250         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78251         round counter.
78252         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78254 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78256         [BZ #12597]
78257         * string/test-strncmp.c (do_page_test): New function.
78258         (check2): Likewise.
78259         (test_main): Call check2.
78260         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78262 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78264         [BZ #12587]
78265         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78266         Handle cache information in CPU leaf 4.
78267         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78269 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78271         [BZ #12583]
78272         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78273         character representation.
78274         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78276 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78278         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78279         END(__isnan) to END(__isnanf) to match function entry point/label
78280         EALIGN(__isnanf,...).
78282 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78284         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78286 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78288         [BZ #12510]
78289         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78290         copy from the symbol referenced in the relocation to initialize the
78291         used variable.
78292         Patch by Piotr Bury <pbury@goahead.com>.
78293         * elf/Makefile: Add rules to build and tst-unique3.
78294         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78295         * elf/tst-unique3.cc: New file.
78296         * elf/tst-unique3.h: New file.
78297         * elf/tst-unique3lib.cc: New file.
78298         * elf/tst-unique3lib2.cc: New file.
78300         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78302 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78304         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78305         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78306         to _start.
78308 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78310         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78311         to-be-loaded object along a path to loader is ld.so.
78313 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78314             Ulrich Drepper  <drepper@gmail.com>
78316         * sysdeps/x86_64/memset.S: After aligning destination, code
78317         branches to different locations depending on the value of
78318         misalignment, when multiarch is enabled. Fix this.
78320 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78322         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78323         Set _x86_64_preferred_memory_instruction for AMD processsors.
78324         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78325         Set bit_Prefer_SSE_for_memop for AMD processors.
78327 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78329         * libio/fmemopen.c (fmemopen): Optimize a bit.
78331 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78333         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78335 2011-03-03  Roland McGrath  <roland@redhat.com>
78337         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78339 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78341         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78342         __bzero_ultra1 instead of __memset_ultra1.
78344 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78345             Ulrich Drepper  <drepper@gmail.com>
78347         [BZ #12509]
78348         * include/link.h (struct link_map): Add l_orig_initfini.
78349         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78350         returning unsuccessfully.
78351         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78352         close of a file loaded at startup, restore the original l_initfini
78353         list.
78354         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78355         list, store the pointer.
78356         * elf/Makefile ($(objpfx)noload-mem): New rule.
78357         (noload-ENV): Define.
78358         (tests): Add $(objpfx)noload-mem.
78359         * elf/noload.c: Include <memcheck.h>.
78360         (main): Call mtrace.  Close all opened handles.
78362 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78364         [BZ #12454]
78365         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78366         dependencies are missing.
78368 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78370         Fix __if_freereq crash: Unlike the generic version which uses free,
78371         Hurd needs munmap.
78372         * sysdeps/mach/hurd/ifreq.h: New file.
78374 2011-01-27  Petr Baudis  <pasky@suse.cz>
78375             Ulrich Drepper  <drepper@gmail.com>
78377         [BZ 12445]#
78378         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78379         to extend_alloca().
78380         * stdio-common/bug23.c: New file.
78381         * stdio-common/Makefile (tests): Add bug23.
78383 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78384             Ulrich Drepper  <drepper@gmail.com>
78386         [BZ #12489]
78387         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78388         before performing relro protection.  At old place add assertion
78389         to make sure nothing changed.
78391 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78392             Glauber de Oliveira Costa  <glommer@gmail.com>
78394         * elf/elf.h: Add new ARM TLS relocs.
78396 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78399         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78400         cast from r3.
78401         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78402         'tests' variable.
78403         * sysdeps/wordsize-64/tst-writev.c: New file.
78405 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78407         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78408         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78409         insns in _dl_start to prevent a TOC reference before relocs are
78410         resolved.
78412 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78414         [BZ #12469]
78415         * Makeconfig: Remove RANLIB definition.
78416         * Makerules: Don't use RANLIB.
78417         * aclocal.m4: Remove ranlib test.
78418         * configure.in: No need to check for ranlib.
78419         * elf/rtld-Rules: Don't use RANLIB.
78421 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78423         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78424         protection macro.
78425         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78426         inclusion protection macro.
78428         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78429         SIGRTMIN and SIGRTMAX and print information in that case only when
78430         SIGRTMIN is defined.
78432 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78434         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78435         arginfo fn returning -1.
78437         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78438         and thousands string is zero terminated.
78440 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78442         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78443         sysdeps/unix/sysv/linux/bits/socket.h.
78445 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78447         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78448         (__CPU_COUNT): Remove old macros.
78449         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78450         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78451         (__CPU_ALLOC, __CPU_FREE): Add macros.
78452         (__sched_cpualloc, __sched_cpufree): Add declarations.
78454 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78456         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78457         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78458         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78459         (readdhstai): Return value of addhstaiX call.
78460         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78461         (addgrbyX): Return value returned by cache_addgr.
78462         (readdgrbyname): Return value returned by addgrbyX.
78463         (readdgrbygid): Likewise.
78464         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78465         (addpwbyX): Return value returned by cache_addpw.
78466         (readdpwbyname): Return value returned by addhstbyX.
78467         (readdpwbyuid): Likewise.
78468         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78469         (addservbyX): Return value returned by cache_addserv.
78470         (readdservbyname): Return value returned by addservbyX:
78471         (readdservbyport): Likewise.
78472         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78473         (addhstbyX): Return value returned by cache_addhst.
78474         (readdhstbyname): Return value returned by addhstbyX.
78475         (readdhstbyaddr): Likewise.
78476         (readdhstbynamev6): Likewise.
78477         (readdhstbyaddrv6): Likewise.
78478         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78479         (readdinitgroups): Return value returned by addinitgroupsX.
78480         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78481         (prune_cache): Keep track of timeout value of re-added entries.
78482         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78483         * nscd/nscd.h: Adjust prototypes of readd* functions.
78485 2011-02-04  Roland McGrath  <roland@redhat.com>
78487         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78488         (nis_stats): Likewise.
78489         * nis/nis_modify.c (nis_modify): Likewise.
78490         * nis/nis_remove.c (nis_remove): Likewise.
78491         * nis/nis_add.c (nis_add): Likewise.
78493         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78495         * posix/fnmatch_loop.c: Add some consts.
78497         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78499 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78501         [BZ #12460]
78502         * config.make.in (config-cflags-novzeroupper): Define.
78503         * configure.in: Substitute libc_cv_cc_novzeroupper.
78504         * elf/Makefile (AVX-CFLAGS): Define.
78505         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78506         (CFLAGS-tst-auditmod4a.c): Likewise.
78507         (CFLAGS-tst-auditmod4b.c): Likewise.
78508         (CFLAGS-tst-auditmod6b.c): Likewise.
78509         (CFLAGS-tst-auditmod6c.c): Likewise.
78510         (CFLAGS-tst-auditmod7b.c): Likewise.
78511         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78513 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78515         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78516         function to the callback.
78517         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78519 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78521         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78522         of errno.
78524 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78526         [BZ #11724]
78527         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78528         of constructors.
78529         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78530         of destructors.
78531         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78533         [BZ #11724]
78534         * elf/Makefile: Add rules to build and run new test.
78535         * elf/tst-initorder.c: New file.
78536         * elf/tst-initorder.exp: New file.
78537         * elf/tst-initordera1.c: New file.
78538         * elf/tst-initordera2.c: New file.
78539         * elf/tst-initordera3.c: New file.
78540         * elf/tst-initordera4.c: New file.
78541         * elf/tst-initorderb1.c: New file.
78542         * elf/tst-initorderb2.c: New file.
78543         * elf/tst-order-a1.c: New file.
78544         * elf/tst-order-a2.c: New file.
78545         * elf/tst-order-a3.c: New file.
78546         * elf/tst-order-a4.c: New file.
78547         * elf/tst-order-b1.c: New file.
78548         * elf/tst-order-b2.c: New file.
78549         * elf/tst-order-main.c: New file.
78550         New test case by George Gensure <werkt0@gmail.com>.
78552 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78555         decoding ACE if AI_CANONIDN.
78557 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78559         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78561 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78563         * version.h (RELEASE): Bump for 2.13 release.
78564         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78566         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78568         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78569         MADV_NOHUGEPAGE.
78570         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78571         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78572         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78573         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78574         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78575         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78577         * posix/getconf.c: Update copyright year.
78578         * catgets/gencat.c: Likewise.
78579         * csu/version.c: Likewise.
78580         * debug/catchsegv.sh: Likewise.
78581         * debug/xtrace.sh: Likewise.
78582         * elf/ldconfig.c: Likewise.
78583         * elf/ldd.bash.in: Likewise.
78584         * elf/sprof.c (print_version): Likewise.
78585         * iconv/iconv_prog.c: Likewise.
78586         * iconv/iconvconfig.c: Likewise.
78587         * locale/programs/locale.c: Likewise.
78588         * locale/programs/localedef.c: Likewise.
78589         * malloc/memusage.sh: Likewise.
78590         * malloc/mtrace.pl: Likewise.
78591         * nscd/nscd.c (print_version): Likewise.
78592         * nss/getent.c: Likewise.
78594         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78595         PF_CAIF, and PF_ALG.
78596         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78598 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78600         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78601         (modules-names): Use them.
78602         (ifunc-test-modules, ifunc-pie-tests): Define.
78603         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78604         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78605         (test-extras): Likewise.
78606         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78607         $(compile-command.c).
78608         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78609         (all-built-dso): Define.
78610         (check-textrel.out, check-execstack.out): Depend on it.
78612         * configure.in: Don't override --enable-multi-arch.
78614 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78616         [BZ #6812]
78617         * nscd/hstcache.c (tryagain): Define.
78618         (cache_addhst): Return tryagain not notfound for temporary errors.
78619         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78620         failed.
78622 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78624         [BZ #10563]
78625         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78626         to make the syscall.
78627         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78629         [BZ #12378]
78630         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78631         and fall back to matching as normal character if the string ends before
78632         the matching ']' is found.  This is what POSIX requires.
78633         * posix/testfnm.c: Adjust test result.
78634         * posix/globtest.sh: Adjust test result.  Add new test.
78635         * posix/tst-fnmatch.input: Likewise.
78636         * posix/tst-fnmatch2.c: Add new test.
78638 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78640         * elf/Makefile (check-execstack): Revert last change.  Depend on
78641         check-execstack.h.
78642         (check-execstack.h): New target.
78643         (generated): Add check-execstack.h.
78644         * elf/check-execstack.c: Include "check-execstack.h".
78645         (main): Revert last change.
78646         (handle_file): Return zero if GNU_STACK is absent and
78647         DEFAULT_STACK_PERMS doesn't include PF_X.
78649 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78651         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78652         in child fails because the descriptor is already closed.
78653         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78654         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78655         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78657         [BZ #12397]
78658         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78659         syscall.
78661         [BZ #10484]
78662         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78663         temporary buffer used to handle multi lookups locally.
78664         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78666 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78668         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78669         loader is ld.so.
78671 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78673         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78674         alignment for SSE2.
78676 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78678         [BZ #12394]
78679         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78680         characters.  When rounding increased number of integer digits recompute
78681         number of groups.
78682         * stdio-common/tst-grouping.c: New file.
78683         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78685 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78687         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78688         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78690         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78691         void.
78692         * bits/select.h: Likewise.
78694 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78696         * po/ja.po: Update from translation team.
78698 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78700         [BZ #11155]
78701         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78702         implementation just like for lxstat, fxstatat, et al.
78704 2010-12-27  Jim Meyering  <meyering@redhat.com>
78706         [BZ #12348]
78707         * posix/regexec.c (build_trtable): Return failure indication upon
78708         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78710 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78712         [BZ #12201]
78713         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78714         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78715         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78716         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78718         [BZ #12207]
78719         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78721         [BZ #12204]
78722         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78723         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78725 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78727         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78728         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78729         script has SORT_BY_INIT_PRIORITY.
78730         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78731         NO_CTORS_DTORS_SECTIONS is defined.
78732         * elf/soinit.c: Likewise.
78733         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78734         NO_CTORS_DTORS_SECTIONS is defined.
78735         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78736         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78737         * sysdeps/sh/init-first.c: Likewise.
78738         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78740 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78742         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78743         always use the slow path.
78745 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78747         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78748         similar rule which adds the sysdep directories to the header search in
78749         order to pick up the correct platform stackinfo.h.
78750         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78751         perform test if it is, otherwise return successfully without testing.
78752         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78753         DEFAULT_STACK_PERMS define in stackinfo.h.
78754         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78755         defined in stackinfo.h.
78756         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78757         DEFAULT_STACK_PERMS defined in stackinfo.h.
78758         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78759         * sysdeps/ia64/stackinfo.h: Likewise.
78760         * sysdeps/s390/stackinfo.h: Likewise.
78761         * sysdeps/sh/stackinfo.h: Likewise.
78762         * sysdeps/sparc/stackinfo.h: Likewise.
78763         * sysdeps/x86_64/stackinfo.h: Likewise.
78764         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78765         PF_X for powerpc64.  Retain PF_X for powerpc32.
78767 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78769         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78770         accurately.
78771         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78772         GETDENTS_64BIT_ALIGNED.
78774 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78776         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78778 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78780         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78781         _GNU_SOURCE.
78783         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78784         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78785         Remove __restrict.
78786         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78787         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78789 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78791         [BZ #11655]
78792         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78793         are initialized.
78795 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78797         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78799 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78801         * po/it.po: Update from translation team.
78803 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78805         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78806         unused codes.
78808 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78810         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78812 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78814         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78815         specially.
78816         (gaih_getanswer_slice): Likewise.
78818 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78820         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78822 2010-05-31  Petr Baudis  <pasky@suse.cz>
78824         [BZ #11149]
78825         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78826         silently even in the chroot mode.
78828 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78830         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78831         last patch a bit.  Pretty printing
78833 2010-05-31  Petr Baudis <pasky@suse.cz>
78835         [BZ #10085]
78836         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78837         initialization of skip_initgroups_dyn.
78839 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78841         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78842         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78844 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78846         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78848 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78850         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78851         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78852         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78853         ($(objpfx)tst-fnmatch-mem): New rule.
78854         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78855         * posix/tst-fnmatch.c (main): Call mtrace.
78857 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78859         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78860         Support Intel processor model 6 and model 0x2c.
78862 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78864         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78865           signed comparison.
78867 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78869         [BZ #12205]
78870         * string/test-strncasecmp.c (check_result): New function.
78871         (do_one_test): Use it.
78872         (check1): New function.
78873         (test_main): Use it.
78874         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78875         Support strcasecmp and strncasecmp.
78877 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78879         [BZ #12194]
78880         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78881         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78883 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78885         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78886         IFUNC support.
78887         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78888         memset-x86-64.
78889         * sysdeps/x86_64/multiarch/bzero.S: New file.
78890         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78891         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78892         * sysdeps/x86_64/multiarch/memset.S: New file.
78893         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78894         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78895         Set bit_Prefer_SSE_for_memop for Intel processors.
78896         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78897         Define.
78898         (index_Prefer_SSE_for_memop): Define.
78899         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78901 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78903         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78904         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78906 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78908         [BZ #12191]
78909         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78910         (__x86_64_raw_data_cache_size_half): Likewise.
78911         (__x86_64_raw_shared_cache_size): Likewise.
78912         (__x86_64_raw_shared_cache_size_half): Likewise.
78914         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78915         (__x86_64_raw_data_cache_size_half): Likewise.
78916         (__x86_64_raw_shared_cache_size): Likewise.
78917         (__x86_64_raw_shared_cache_size_half): Likewise.
78918         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78919         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78920         and __x86_64_raw_shared_cache_size_half.  Round
78921         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78922         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78923         to multiple of 256 bytes.
78925 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78927         [BZ #12167]
78928         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78929         of inacessible symlinks.  Verify result of symlink before returning it.
78930         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78931         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78933 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78935         * math/math.h (isinf): Fix typo in comment.
78937 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78939         * po/da.po: Update from translation team.
78941 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78943         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78944         is added to the list.
78946 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78947             Ulrich Drepper  <drepper@gmail.com>
78949         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78950         the global list here.  Move code to...
78951         (_dl_add_to_namespace_list): ...here.  New function.
78952         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78953         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78954         * elf/dl-load.c (lose): Don't remove the element from the list.
78955         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78956         (_dl_map_object): Likewise.
78958 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78960         [BZ #12159]
78961         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78962         into all bytes of SSE register.
78963         Patch by Richard Li <richardpku@gmail.com>.
78965 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78967         [BZ #12140]
78968         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78969         perturbing.
78971 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78973         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78974         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78975         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78976         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78978         submachine.
78979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78981 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78983         * include/dlfcn.h (__RTLD_SECURE): Define.
78984         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78985         mode & __RTLD_SECURE instead.
78986         (open_path): Rename preloaded parameter to secure.
78987         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78988         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78989         * elf/dl-deps.c (openaux): Likewise.
78990         * elf/rtld.c (struct map_args): Remove is_preloaded.
78991         (map_doit): Don't use it.
78992         (dl_main): Likewise.
78993         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78994         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78996 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78998         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78999         (sysd-rules-targets): Remove duplicates.
79000         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79001         rtld-%.$o dependency.
79003 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79005         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79006         _dl_map_object do it.
79008 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79010         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79011         fast fma builtins, define the macros in the C99 standard.
79012         (FP_FAST_FMAF): Likewise.
79013         (FP_FAST_FMAL): Likewise.
79014         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79016         * bits/mathdef.h: Update copyright year.
79017         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79019 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79021         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79022         builtins, define the macros in the C99 standard.
79023         (FP_FAST_FMAF): Likewise.
79024         (FP_FAST_FMAL): Likewise.
79025         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79026         multiply/add.
79027         (FP_FAST_FMAF): Likewise.
79029 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79031         [BZ #3268]
79032         * math/libm-test.inc (fma_test): Some new testcases.
79033         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79034         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79035         y and infinite z.  Do multiplication by C already in long double.
79036         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79037         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79038         y and infinite z.  Do bitwise or of inexact bit into u.d.
79039         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79040         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79041         * sysdeps/i386/fpu/s_fma.S: Removed.
79042         * sysdeps/i386/fpu/s_fmal.S: Removed.
79044 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79046         [BZ #3268]
79047         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79048         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79049         computation is not scheduled after fetestexcept.  Fix value
79050         of minimum denormal long double.
79052 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79054         [BZ #3268]
79055         * math/libm-test.inc (fma_test): Add some more tests.
79056         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79057         correctly.
79059 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79061         * scripts/data/localplt-s390-linux-gnu.data: New file.
79062         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79064 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79066         [BZ #3268]
79067         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79068         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79069         instead of dbl-64.
79070         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79071         inlines.
79072         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79073         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79074         if one of x and y is very large and the other is subnormal.
79075         * sysdeps/s390/fpu/s_fmaf.c: New file.
79076         * sysdeps/s390/fpu/s_fma.c: New file.
79077         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79078         * sysdeps/powerpc/fpu/s_fma.S: New file.
79079         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79080         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79081         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79083 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79085         [BZ #3268]
79086         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79087         fma tests.
79088         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79089         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79090         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79091         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79092         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79093         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79094         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79096 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79098         [BZ #12078]
79099         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79100         * posix/bug-regex31.input: Add test case.
79102 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79104         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79105         * posix/bug-regex31.input: New file.
79107         [BZ #12078]
79108         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79109         (parse_sub_exp): Fix last change, use postorder.
79111         * posix/bug-regex31.c: New file.
79112         * posix/Makefile: Add rules to build and run bug-regex31.
79114         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79116         [BZ #12078]
79117         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79119         [BZ #12108]
79120         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79121         to have entries in sys_siglist.
79123         [BZ #12093]
79124         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79125         be NULL.
79127 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79129         [BZ #3268]
79130         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79131         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79132         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79133         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79134         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79135         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79136         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79137         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79138         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79139         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79140         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79141         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79142         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79143         * math/ftestexcept.c (fetestexcept): Likewise.
79144         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79145         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79146         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79147         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79148         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79149         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79150         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79152 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79154         [BZ #12107]
79155         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79156         newline.
79158 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79160         * string/bug-strstr1.c: New file.
79161         * string/Makefile: Add rules to build and run bug-strstr1.
79163 2010-10-05  Eric Blake  <eblake@redhat.com>
79165         [BZ #12092]
79166         * string/str-two-way.h (two_way_long_needle): Always clear memory
79167         when skipping input due to the shift table.
79169 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79171         [BZ #12005]
79172         * malloc/mcheck.c: Handle large requests.
79174         [BZ #12077]
79175         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79176         for strncmp and strncasecmp.
79177         * string/stratcliff.c: Add tests for strcmp and strncmp.
79178         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79180 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79182         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79183         __set_fpscr.
79185 2010-09-30  Andreas Jaeger  <aj@suse.de>
79187         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79188         (CGROUP_SUPER_MAGIC): Define.
79189         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79190         Handle btrfs and cgroup file systems.
79191         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79192         Likewise.
79194 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79196         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79197         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79199 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79201         [BZ #12067]
79202         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79203         trying to locate the ELF header.
79205 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79207         [BZ #11611]
79208         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79209         Mask out sign-bit copies when constructing f_fsid.
79211 2010-09-24  Petr Baudis <pasky@suse.cz>
79213         * debug/stack_chk_fail_local.c: Add missing licence exception.
79214         * debug/warning-nop.c: Likewise.
79216 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79218         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79219         implementing getdents64 using getdents syscall, set d_type if
79220         __ASSUME_GETDENTS32_D_TYPE.
79222 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79224         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79225         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79227 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79229         [BZ #12037]
79230         * posix/unistd.h: Undo change of feature selection for ftruncate from
79231         2010-01-11.
79233 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79235         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79236         detection.
79238 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79240         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79241         fanotify_mark.
79242         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79244 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79246         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79247         variables after CHECK_SP call.
79248         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79250 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79251             Ulrich Drepper  <drepper@redhat.com>
79253         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79254         re-relocationg ld.so.
79255         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79256         _dl_init_paths call.
79257         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79258         here anymore.
79260 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79262         * resolv/res_init.c (__res_vinit): Count the default server we added.
79264 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79265             Ulrich Drepper  <drepper@redhat.com>
79267         [BZ #11968]
79268         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79269         (____longjmp_chk): Use %ebx for saving value across system call.
79270         Add unwind info.
79272 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79274         * manual/Makefile: Don't mix pattern rules with normal rules.
79276 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79278         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79279         operation.
79280         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79281         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79282         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79283         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79284         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79285         Likewise.
79287 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79289         [BZ #11979]
79290         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79291         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79293 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79295         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79296         * sysdeps/x86_64/addmul_1.S: Likewise.
79297         * sysdeps/x86_64/lshift.S: Likewise.
79298         * sysdeps/x86_64/mul_1.S: Likewise.
79299         * sysdeps/x86_64/rshift.S: Likewise.
79300         * sysdeps/x86_64/sub_n.S: Likewise.
79301         * sysdeps/x86_64/submul_1.S: Likewise.
79303 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79305         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79306         Define __sched_param instead of SCHED_* and sched_param when
79307         <bits/sched.h> is included with __need_schedparam defined.
79308         * bits/sched.h [__need_schedparam]
79309         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79310         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79311         (__defined_schedparam): Define to 1.
79312         (__sched_param): New structure, identical to sched_param.
79313         (__need_schedparam): Undefine.
79315 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79317         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79318         (epoll_create1): Declare.
79320         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79322 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79324         [BZ #7066]
79325         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79326         shifting retval into place.
79328 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79330         * nis/rpcsvc/nis.h: Update copyright notice.
79331         * nis/rpcsvc/nis.x: Likewise.
79332         * nis/rpcsvc/nis_callback.h: Likewise.
79333         * nis/rpcsvc/nis_callback.x: Likewise.
79334         * nis/rpcsvc/nis_object.x: Likewise.
79335         * nis/rpcsvc/nis_tags.h: Likewise.
79336         * nis/rpcsvc/yp.h: Likewise.
79337         * nis/rpcsvc/yp.x: Likewise.
79338         * nis/rpcsvc/ypupd.h: Likewise.
79339         * nis/yp_xdr.c: Likewise.
79340         * nis/ypupdate_xdr.c: Likewise.
79342         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79343         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79344         (pmap_getport): Use __libc_rpc_getport.
79345         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79346         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79347         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79349 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79352         fanotify_mark.
79354 2010-08-27  Roland McGrath  <roland@redhat.com>
79356         * sysdeps/i386/i686/multiarch/Makefile
79357         (CFLAGS-varshift.c): New variable.
79359 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79361         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79362         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79364         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79366         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79368 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79370         * sysdeps/x86_64/strlen.S: Unroll the loop.
79371         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79372         strlen-sse2 strlen-sse2-bsf.
79373         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79374         __strlen_no_bsf if bit_Slow_BSF is set.
79375         (__strlen_sse42): Removed.
79376         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79377         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79379 2010-08-25  Roland McGrath  <roland@redhat.com>
79381         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79382         * sysdeps/x86_64/multiarch/varshift.c: New file.
79383         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79384         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79385         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79386         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79388 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79390         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79391         strlen-sse2 strlen-sse2-bsf.
79392         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79393         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79394         (__strlen_sse2): Removed.
79395         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79396         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79398         bit_Slow_BSF for Atom.
79399         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79400         (index_Slow_BSF): Define.
79401         (HAS_SLOW_BSF): Define.
79403 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79405         [BZ #10851]
79406         * resolv/res_init.c (__res_vinit): When no server address at all
79407         is given default to loopback.
79409 2010-08-24  Roland McGrath  <roland@redhat.com>
79411         * configure.in: Remove config-name.h generation.
79412         * configure: Regenerated.
79413         * config-name.in: File removed.
79414         * scripts/config-uname.sh: New file.
79415         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79416         ($(objdir)config-name.h): New target.
79418         * sunrpc/rpc_parse.h: Avoid nested comment.
79420 2010-08-24  Richard Henderson  <rth@redhat.com>
79421             Ulrich Drepper  <drepper@redhat.com>
79422             H.J. Lu  <hongjiu.lu@intel.com>
79424         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79425         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79426         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79427         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79428         _mm_alignr_epi8 with _mm_loadu_si128.
79429         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79430         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79431         (__m128i_shift_right): Removed.
79432         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79433         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79434         * sysdeps/x86_64/multiarch/varshift.h: New file.
79435         * sysdeps/x86_64/multiarch/varshift.S: New file.
79437 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79439         * configure.in: Move assembler checks to before sysdep dir checking.
79441 2010-08-20  Petr Baudis  <pasky@suse.cz>
79443         * LICENSES: Sync the sunrpc license.
79445 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79447         * sunrpc/auth_des.c: Update copyright notice once again.
79448         * sunrpc/auth_none.c: Likewise.
79449         * sunrpc/auth_unix.c: Likewise.
79450         * sunrpc/authdes_prot.c: Likewise.
79451         * sunrpc/authuxprot.c: Likewise.
79452         * sunrpc/bindrsvprt.c: Likewise.
79453         * sunrpc/clnt_gen.c: Likewise.
79454         * sunrpc/clnt_perr.c: Likewise.
79455         * sunrpc/clnt_raw.c: Likewise.
79456         * sunrpc/clnt_simp.c: Likewise.
79457         * sunrpc/clnt_tcp.c: Likewise.
79458         * sunrpc/clnt_udp.c: Likewise.
79459         * sunrpc/clnt_unix.c: Likewise.
79460         * sunrpc/des_crypt.c: Likewise.
79461         * sunrpc/des_soft.c: Likewise.
79462         * sunrpc/get_myaddr.c: Likewise.
79463         * sunrpc/getrpcport.c: Likewise.
79464         * sunrpc/key_call.c: Likewise.
79465         * sunrpc/key_prot.c: Likewise.
79466         * sunrpc/openchild.c: Likewise.
79467         * sunrpc/pm_getmaps.c: Likewise.
79468         * sunrpc/pm_getport.c: Likewise.
79469         * sunrpc/pmap_clnt.c: Likewise.
79470         * sunrpc/pmap_prot.c: Likewise.
79471         * sunrpc/pmap_prot2.c: Likewise.
79472         * sunrpc/pmap_rmt.c: Likewise.
79473         * sunrpc/rpc/auth.h: Likewise.
79474         * sunrpc/rpc/auth_unix.h: Likewise.
79475         * sunrpc/rpc/clnt.h: Likewise.
79476         * sunrpc/rpc/des_crypt.h: Likewise.
79477         * sunrpc/rpc/key_prot.h: Likewise.
79478         * sunrpc/rpc/netdb.h: Likewise.
79479         * sunrpc/rpc/pmap_clnt.h: Likewise.
79480         * sunrpc/rpc/pmap_prot.h: Likewise.
79481         * sunrpc/rpc/pmap_rmt.h: Likewise.
79482         * sunrpc/rpc/rpc.h: Likewise.
79483         * sunrpc/rpc/rpc_des.h: Likewise.
79484         * sunrpc/rpc/rpc_msg.h: Likewise.
79485         * sunrpc/rpc/svc.h: Likewise.
79486         * sunrpc/rpc/svc_auth.h: Likewise.
79487         * sunrpc/rpc/types.h: Likewise.
79488         * sunrpc/rpc/xdr.h: Likewise.
79489         * sunrpc/rpc_clntout.c: Likewise.
79490         * sunrpc/rpc_cmsg.c: Likewise.
79491         * sunrpc/rpc_common.c: Likewise.
79492         * sunrpc/rpc_cout.c: Likewise.
79493         * sunrpc/rpc_dtable.c: Likewise.
79494         * sunrpc/rpc_hout.c: Likewise.
79495         * sunrpc/rpc_main.c: Likewise.
79496         * sunrpc/rpc_parse.c: Likewise.
79497         * sunrpc/rpc_parse.h: Likewise.
79498         * sunrpc/rpc_prot.c: Likewise.
79499         * sunrpc/rpc_sample.c: Likewise.
79500         * sunrpc/rpc_scan.c: Likewise.
79501         * sunrpc/rpc_scan.h: Likewise.
79502         * sunrpc/rpc_svcout.c: Likewise.
79503         * sunrpc/rpc_tblout.c: Likewise.
79504         * sunrpc/rpc_util.c: Likewise.
79505         * sunrpc/rpc_util.h: Likewise.
79506         * sunrpc/rpcinfo.c: Likewise.
79507         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79508         * sunrpc/rpcsvc/key_prot.x: Likewise.
79509         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79510         * sunrpc/rpcsvc/mount.x: Likewise.
79511         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79512         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79513         * sunrpc/rpcsvc/rex.x: Likewise.
79514         * sunrpc/rpcsvc/rstat.x: Likewise.
79515         * sunrpc/rpcsvc/rusers.x: Likewise.
79516         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79517         * sunrpc/rpcsvc/spray.x: Likewise.
79518         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79519         * sunrpc/rtime.c: Likewise.
79520         * sunrpc/svc.c: Likewise.
79521         * sunrpc/svc_auth.c: Likewise.
79522         * sunrpc/svc_authux.c: Likewise.
79523         * sunrpc/svc_raw.c: Likewise.
79524         * sunrpc/svc_run.c: Likewise.
79525         * sunrpc/svc_simple.c: Likewise.
79526         * sunrpc/svc_tcp.c: Likewise.
79527         * sunrpc/svc_udp.c: Likewise.
79528         * sunrpc/svc_unix.c: Likewise.
79529         * sunrpc/svcauth_des.c: Likewise.
79530         * sunrpc/xcrypt.c: Likewise.
79531         * sunrpc/xdr.c: Likewise.
79532         * sunrpc/xdr_array.c: Likewise.
79533         * sunrpc/xdr_float.c: Likewise.
79534         * sunrpc/xdr_mem.c: Likewise.
79535         * sunrpc/xdr_rec.c: Likewise.
79536         * sunrpc/xdr_ref.c: Likewise.
79537         * sunrpc/xdr_sizeof.c: Likewise.
79538         * sunrpc/xdr_stdio.c: Likewise.
79540         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79541         handling.
79543 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79545         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79547 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79549         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79550         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79551         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79552         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79553         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79554         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79555         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79556         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79557         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79558         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79559         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79560         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79561         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79562         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79564 2010-07-26  Anton Blanchard  <anton@samba.org>
79566         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79567         * malloc/arena.c (heap_trim): Likewise.
79569 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79571         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79572         here.  Not...
79573         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79574         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79576 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79578         * sysdeps/i386/elf/Makefile: New file.
79580 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79582         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79583         from fanotify_init.
79584         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79585         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79587 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79589         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79590         of strncasecmp_l.
79591         * sysdeps/multiarch/strcmp.S: Likewise.
79593 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79595         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79596         strncase_l-nonascii.
79597         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79598         Add strncase_l-ssse3.
79599         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79600         * sysdeps/x86_64/strcmp.S: Likewise.
79601         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79602         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79603         * sysdeps/x86_64/strncase.S: New file.
79604         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79605         * sysdeps/x86_64/strncase_l.S: New file.
79606         * string/Makefile (strop-tests): Add strncasecmp.
79607         * string/test-strncasecmp.c: New file.
79609         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79610         warning.
79612         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79613         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79615 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79617         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79619 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79621         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79622         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79623         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79625 2010-05-01  Alan Modra  <amodra@gmail.com>
79627         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79628         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79629         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79630         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79631         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79632         tidying.  Don't tail-call __sigjmp_save for static lib.
79633         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79634         save location.
79635         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79636         (CALL_MCOUNT): Add eh info, and nop after bl.
79637         (TAIL_CALL_SYSCALL_ERROR): New macro.
79638         (PSEUDO_RET): Use it.
79639         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79640         Correct save location of integer regs and cr.
79641         (_dl_profile_resolve): Correct cr save location.  Delete nops
79642         after bl when SHARED.  Reduce cfi size a little by better
79643         placement of cfi directives.
79644         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79645         make a stack frame.  Instead use parm save area as a temp.
79646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79647         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79649         Don't make a stack frame for parent, use parm save area.
79650         Increase child stack frame to 112 bytes.  Don't save unused reg,
79651         and adjust reg usage.  Set up cfi on error recovery and
79652         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79654         (__makecontext): Add dummy nop after jump to exit.
79655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79656         Use correct parm save area and cr save, reduce stack frame.
79657         Correct cfi for possible PSEUDO_RET frame setup.
79658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79659         Branch to local label emitted by PSEUDO_RET rather than
79660         __syscall_error.
79662 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79664         [BZ #11904]
79665         * locale/programs/locale.c (print_assignment): New function.
79666         (show_locale_vars): Use it.
79668 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79670         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79671         field.
79672         (struct statfs64): Likewise.
79673         (_STATFS_F_FLAGS): Define.
79674         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79675         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79676         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79677         (ST_VALID): Define locally.
79678         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79679         __statvfs_getflags, use the provided value.
79680         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79681         __ASSUME_STATFS_F_FLAGS.
79683         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79685         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79686         Add sys/fanotify.h.
79687         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79688         fanotify_mask for GLIBC_2.13.
79689         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79690         fanotify_init and fanotify_mark.
79691         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79692         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79694         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79695         Add prlimit.
79696         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79697         prlimit64 for GLIBC_2.13.
79698         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79699         prlimit64.
79700         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79701         syscall.
79702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79703         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79704         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79705         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79706         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79707         add prlimit alias.
79708         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79710         [BZ #11903]
79711         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79712         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79714         * nss/Makefile: Add rules to build and run tst-nss-test1.
79715         * shlib-versions: Add entry for libnss_test1.
79716         * nss/nss_test1.c: New file.
79717         * nss/tst-nss-test1.c: New file.
79719         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79720         (__nss_configure_lookup): Set appropriate entry in
79721         __nss_configure_lookup to true.
79722         * nss/nsswitch.h: Define enum with indeces of databases in
79723         databases and __nss_database_custom arrays.  Declare
79724         __nss_database_custom.
79725         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79726         to avoid using nscd when custom rules are installed.
79727         * nss/getXXbyYY_r.c: Likewise.
79728         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79730         * nss/nss_files/files-parse.c: Whitespace fixes.
79732 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79734         [BZ #11883]
79735         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79736         * posix/fnmatch_loop.c: Likewise.
79738 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79740         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79741         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79742         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79743         * Versions.def [GLIBC_2.13]: Add.
79745 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79747         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79748         Also fail if tpwd after pwuid call is NULL.
79750 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79752         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79753         when converting to ms.
79755 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79757         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79758         EOPNOTSUPP errors with ENOTTY.
79759         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79760         EOPNOTSUPP errors with ENOTTY.
79762 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79764         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79765         Add strcasecmp_l-ssse3.
79766         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79767         strcasecmp.
79768         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79769         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79770         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79772 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79774         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79776         * string/Makefile (strop-tests): Add strcasecmp.
79777         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79778         strcasecmp_l-nonascii.
79779         (gen-as-const-headers): Add locale-defines.sym.
79780         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79781         * sysdeps/x86_64/strcasecmp.S: New file.
79782         * sysdeps/x86_64/strcasecmp_l.S: New file.
79783         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79784         * sysdeps/x86_64/locale-defines.sym: New file.
79785         * string/test-strcasecmp.c: New file.
79787         * string/test-strcasestr.c: Test both ends of the range of characters.
79788         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79790 2010-07-29  Roland McGrath  <roland@redhat.com>
79792         [BZ #11856]
79793         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79795 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79797         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79798         for ld.so.
79800 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79802         * manual/memory.texi (Malloc Tunable Parameters): Document
79803         M_PERTURB.
79805 2010-07-26  Roland McGrath  <roland@redhat.com>
79807         [BZ #11840]
79808         * configure.in (-fgnu89-inline check): Set and substitute
79809         gnu89_inline, not libc_cv_gnu89_inline.
79810         * configure: Regenerated.
79811         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79813 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79815         * string/test-strnlen.c: New file.
79816         * string/Makefile (strop-tests): Add strnlen.
79817         * string/tester.c (test_strnlen): Add a few more test cases.
79818         * string/tst-strlen.c: Better error reporting.
79820         * sysdeps/x86_64/strnlen.S: New file.
79822 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79824         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79825         lower-latency instructions.
79827 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79829         * string/test-strcasestr.c: New file.
79830         * string/test-strstr.c: New file.
79831         * string/Makefile (strop-tests): Add strstr and strcasestr.
79832         * string/str-two-way.h: Don't undefine MAX.
79833         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79835 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79837         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79838         strcasestr-nonascii.
79839         (CFLAGS-strcasestr-nonascii.c): Define.
79840         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79841         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79842         Remove unused attribute.
79844 2010-07-20  Roland McGrath  <roland@redhat.com>
79846         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79847         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79848         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79849         like LD_HWCAP_MASK can disable hwcaps.
79851 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79853         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79855 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79857         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79858         call in strcasestr.
79859         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79860         __strcasestr_sse42_nonascii.
79861         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79862         strcasestr-nonascii.c.
79863         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79865 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79867         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79868         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79869         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79870         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79872 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79874         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79875         fcntl.
79877 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79879         [BZ #11577]
79880         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79881         dl_signal_cerror.
79883 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79885         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79886         _PC_PIPE_BUF using F_GETPIPE_SZ.
79888 2010-07-05  Roland McGrath  <roland@redhat.com>
79890         * manual/arith.texi (Rounding Functions): Fix rint description
79891         implicit in round description.
79893 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79895         * elf/Makefile: Fix linking for a few tests to make recent linker
79896         happy.
79898 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79900         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79901         $(common-objpfx)libc_nonshared.a.
79903 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79905         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79906         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79907         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79908         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79909         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79910         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79911         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79912         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79927         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79928         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79929         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79930         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79931         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79932         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79933         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79934         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79935         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79936         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79937         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79938         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79954 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79956         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79957         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79958         * string/memmove.c (memmove): Renamed to ...
79959         (MEMMOVE): ...this.  Default to memmove.
79960         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79961         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79962         (END_CHK): Define.
79963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79964         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79965         mempcpy-ssse3-back memmove-ssse3-back.
79966         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79967         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79968         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79969         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79970         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79971         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79972         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79973         * sysdeps/x86_64/multiarch/memmove.c: New file.
79974         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79975         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79976         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79977         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79978         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79979         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79980         Define.
79981         (index_Fast_Copy_Backward): Define.
79982         (HAS_ARCH_FEATURE): Define.
79983         (HAS_FAST_REP_STRING): Define.
79984         (HAS_FAST_COPY_BACKWARD): Define.
79986 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79988         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79989         Restore proper fallback handling.
79991 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79993         [BZ #11701]
79994         * posix/group_member.c (__group_member): Correct checking loop.
79996         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79997         OOM in getpwuid_r correctly.  Return error number when the caller
79998         should return, otherwise -1.
79999         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80000         call returning > 0 value.
80001         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80003 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80005         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80006         libc_nonshared.a from targets in modules-names.
80008 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80010         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80011         requires it.
80013 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80015         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80016         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80017         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80018         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80020 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80022         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80024 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80026         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80027         and F_GETPIPE_SZ.
80028         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80029         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80030         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80031         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80032         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80033         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80035 2010-06-14  Roland McGrath  <roland@redhat.com>
80037         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80039 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80041         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80042         __REDIRECT followed by __THROW.
80043         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80044         * posix/getopt.h (getopt): Likewise.
80046 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80048         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80049         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80050         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80051         in AT_FLAGS.
80052         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80053         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80055 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80057         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80059 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80061         [BZ #11640]
80062         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80063         Properly check family and model.
80065 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80067         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80069 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80071         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80073 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80075         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80076         symbol reference.
80078 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80080         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80081         symbol reference.
80083 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80085         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80086         and internal_recvmmsg.
80087         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80088         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80089         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80090         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80092         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80093         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80094         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80096 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80098         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80100 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80102         POWER7 optimizations.
80103         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80104         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80106 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80108         * version.h: Update for 2.13 development version.
80110 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80112         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80113         exceptions.  Return 0.
80115 2010-05-07  Roland McGrath  <roland@redhat.com>
80117         * elf/ldconfig.c (main): Add a const.
80119 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80121         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80122         (args_options): Add no-idn option.
80123         (ahosts_keys_int): Add idn_flags to ai_flags.
80124         (parse_option): Handle 'i' option to clear idn_flags.
80126         * malloc/malloc.c (_int_free): Possible race in the most recently
80127         added check.  Only act on the data if no current modification
80128         happened.
80130 See ChangeLog.17 for earlier changes.