Use __builtin_fma more in dbl-64 code.
[glibc.git] / ChangeLog
blobec667708bec815cda3eea2aedc2ee2d1fcf84ee6
1 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
4         macro to use __builtin_fma.
5         * sysdeps/x86_64/fpu/dla.h: Remove file.
7         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
9         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
11 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
13         [BZ #20292]
14         * elf/Makefile (routines): Add dl-addr-obj.
15         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16         tst-_dl_addr_inside_object.
17         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
18         [ifeq (yesyes,$(have-fpie)$(build-shared))]
19         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
20         [ifeq (yesyes,$(have-fpie)$(build-shared))]
21         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
22         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
23         * elf/dl-open.c: Likewise.
24         * elf/dl-addr-obj.c: New file.
25         * elf/tst-_dl_addr_inside_object.c: New file.
27 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
29         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
30         <bits/iscanonical.h>.
31         * bits/iscanonical.h: New file.
32         * math/s_iscanonicall.c: Likewise.
33         * math/Versions (__iscanonicall): New libm symbol at version
34         GLIBC_2.25.
35         * math/libm-test.inc (iscanonical_test_data): New array.
36         (iscanonical_test): New function.
37         (main): Call iscanonical_test.
38         * math/Makefile (headers): Add bits/iscanonical.h.
39         (type-ldouble-routines): Add s_iscanonicall.
40         * manual/arith.texi (Floating Point Classes): Document
41         iscanonical.
42         * manual/libm-err-tab.pl: Update comment on interfaces without
43         ulps tabulated.
44         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
45         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
46         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
47         Likewise.
48         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
49         test-iscanonical-ldbl-128ibm.
50         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
51         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
52         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
53         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
54         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
55         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
56         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
57         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
58         Likewise.
59         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
60         Likewise.
61         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
62         Likewise.
63         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
64         Likewise.
65         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
66         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
68 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
70         * string/bits/string3.h: Remove C++ style comments.
72 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
74         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
75         instead of ternary condition.
76         (do_sincos_2): Likewise.
77         (__sin): Likewise.
78         (__cos): Likewise.
79         (slow): Likewise.
80         (sloww): Likewise.
81         (sloww1): Likewise.
82         (bsloww): Likewise.
83         (bsloww1): Likewise.
85         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
86         instead of ternary condition.
87         (do_sin_slow): Likewise.
88         (do_sincos_1): Likewise.
89         (do_sincos_2): Likewise.
90         (__cos): Likewise.
91         (sloww): Likewise.
92         (sloww1): Likewise.
93         (sloww2): Likewise.
94         (bsloww): Likewise.
95         (bsloww1): Likewise.
96         (bsloww2): Likewise.
98         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
99         check from here...
100         (slow2): ... and here...
101         (__sin): ... to here.
103 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
105         * math/math.h
106         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
107         Cast argument to its own type.
108         * math/test-iszero-excess-precision.c: New file.
109         * math/Makefile (tests): Add test-iszero-excess-precision.
110         (CFLAGS-test-iszero-excess-precision.c): New variable.
112 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
114         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
115         field, add err field.
116         (__spawni_child): Report error through err member instead of pipe.
117         (__spawnix): Likewise.
119 2016-09-28  Zack Weinberg  <zackw@panix.com>
121         * scripts/check-installed-headers.sh: Generalize treatment of
122         sys/elf.h to all target architectures.
124         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
125         deleted typedef ucontext_t.
127 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
129         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
130         (__INTERNAL_SYSCALL1): Likewise.
131         (__INTERNAL_SYSCALL2): Likewise.
132         (__INTERNAL_SYSCALL3): Likewise.
133         (__INTERNAL_SYSCALL4): Likewise.
134         (__INTERNAL_SYSCALL5): Likewise.
135         (__INTERNAL_SYSCALL6): Likewise.
136         (__INTERNAL_SYSCALL7): Likewise.
137         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
138         (__INTERNAL_SYSCALL_NARGS): Likewise.
139         (__INTERNAL_SYSCALL_DISP): Likewise.
140         (INTERNAL_SYSCALL_CALL): Likewise.
141         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
142         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
143         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
144         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
145         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
146         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
147         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
148         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
149         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
150         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
151         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
152         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
153         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
155 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
157         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
158         macro.
159         * math/libm-test.inc (iszero_test_data): New array.
160         (iszero_test): New function.
161         (main): Call iszero_test.
162         * manual/arith.texi (Floating Point Classes): Document iszero.
163         * manual/libm-err-tab.pl: Update comment on interfaces without
164         ulps tabulated.
166 2016-09-23  Zack Weinberg  <zackw@panix.com>
168         * scripts/check-installed-headers.sh: New script.
169         * Rules: In each directory that defines header files to be installed,
170         run check-installed-headers.sh on them as a special test.
171         * Makefile: Likewise for the headers installed at top level.
173         * include/aliases.h, include/alloca.h, include/argz.h
174         * include/arpa/nameser.h, include/arpa/nameser_compat.h
175         * include/elf.h, include/envz.h, include/err.h
176         * include/execinfo.h, include/fpu_control.h, include/getopt.h
177         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
178         * include/link.h, include/malloc.h, include/mcheck.h
179         * include/mntent.h, include/netinet/ether.h
180         * include/nss.h, include/obstack.h, include/printf.h
181         * include/pty.h, include/resolv.h, include/rpc/auth.h
182         * include/rpc/auth_des.h, include/rpc/auth_unix.h
183         * include/rpc/clnt.h, include/rpc/des_crypt.h
184         * include/rpc/key_prot.h, include/rpc/netdb.h
185         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
186         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
187         * include/rpc/rpc_msg.h, include/rpc/svc.h
188         * include/rpc/svc_auth.h, include/rpc/xdr.h
189         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
190         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
191         * include/rpcsvc/ypupd.h, include/shadow.h
192         * include/stdio_ext.h, include/sys/epoll.h
193         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
194         * include/sys/prctl.h, include/sys/profil.h
195         * include/sys/statfs.h, include/sys/sysctl.h
196         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
197         * sysdeps/arm/nacl/include/bits/setjmp.h
198         * sysdeps/mips/include/sys/asm.h
199         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
200         * sysdeps/unix/sysv/linux/include/sys/timex.h
201         * sysdeps/x86/fpu/include/bits/fenv.h:
202         Add #ifndef _ISOMAC guard around internal declarations.
203         Add multiple-inclusion guard if not already present.
205 2016-09-23  Zack Weinberg  <zackw@panix.com>
207         * sysdeps/generic/sys/ucontext.h
208         * sysdeps/arm/sys/ucontext.h
209         * sysdeps/i386/sys/ucontext.h
210         * sysdeps/m68k/sys/ucontext.h
211         * sysdeps/mips/sys/ucontext.h
212         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
213         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
214         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
215         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
216         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
217         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
218         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
219         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
220         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
221         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
222         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
223         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
224         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
225         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
226         Include both bits/sigcontext.h and bits/sigstack.h.
227         Fix grammar error in comment, if present.
229         * bits/sigstack.h
230         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
231         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
232         * sysdeps/unix/sysv/linux/bits/sigstack.h
233         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
234         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
235         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
236         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
237         * bits/sigcontext.h
238         * sysdeps/mach/hurd/i386/bits/sigcontext.h
239         * sysdeps/unix/sysv/linux/bits/sigcontext.h
240         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
241         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
242         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
243         as well as signal.h, if this was not already allowed.  Request
244         definition of size_t if necessary.  Minimize semantically-null
245         differences across files.
247 2016-09-23  Zack Weinberg  <zackw@panix.com>
249         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
250         Remove all logic conditional on __need macros.  Move all the
251         conditionally defined types to their own headers...
252         * time/bits/types/clock_t.h: Define clock_t here.
253         * time/bits/types/clockid_t.h: Define clockid_t here.
254         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
255         * time/bits/types/struct_timespec.h: Define struct timespec here.
256         * time/bits/types/struct_timeval.h: Define struct timeval here.
257         * time/bits/types/struct_tm.h: Define struct tm here.
258         * time/bits/types/time_t.h: Define time_t here.
259         * time/bits/types/timer_t.h: Define timer_t here.
260         * time/Makefile: Install the new headers.
262         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
263         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
264         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
265         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
266         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
267         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
268         * sysdeps/unix/sysv/linux/bits/resource.h
269         * sysdeps/unix/sysv/linux/bits/timex.h
270         * sysdeps/unix/sysv/linux/mips/bits/resource.h
271         * sysdeps/unix/sysv/linux/net/ppp_defs.h
272         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
273         * sysdeps/unix/sysv/linux/sys/acct.h
274         * sysdeps/unix/sysv/linux/sys/timerfd.h
275         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
276         * time/sys/time.h, time/sys/timeb.h
277         Use the new bits/types headers.
279         * include/time.h: Remove __need logic.
280         * include/bits/time.h
281         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
282         * include/bits/types/time_t.h, include/bits/types/timer_t.h
283         * include/bits/types/struct_itimerspec.h
284         * include/bits/types/struct_timespec.h
285         * include/bits/types/struct_timeval.h
286         * include/bits/types/struct_tm.h:
287         New wrapper headers.
289 2016-09-23  Zack Weinberg  <zackw@panix.com>
291         * sysdeps/mach/hurd/net/if_ppp.h
292         * sysdeps/unix/sysv/linux/net/if_ppp.h:
293         Only define struct ifpppstatsreq and struct ifpppcstatsreq
294         if __USE_MISC is defined, to ensure struct ifreq is declared.
296         * inet/netinet/ether.h: Condition all function prototypes
297         on __USE_MISC, to ensure struct ether_addr is declared.
299         * socket/bits/types/struct_osockaddr.h: New header.
300         * include/bits/types/struct_osockaddr.h: New wrapper.
301         * socket/Makefile: Install the new header.
302         * socket/sys/socket.h, inet/protocols/talkd.h:
303         Refer to bits/types/struct_osockaddr.h for the definition of
304         struct osockaddr.
306 2016-09-23  Zack Weinberg  <zackw@panix.com>
308         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
309         * inet/protocols/routed.h, inet/protocols/talkd.h
310         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
311         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
312         * sysdeps/generic/netinet/if_ether.h
313         * sysdeps/generic/netinet/in_systm.h
314         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
315         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
316         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
317         * sysdeps/mach/hurd/net/if_arp.h
318         * sysdeps/mach/hurd/net/if_ppp.h
319         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
320         * sysdeps/unix/sysv/linux/bits/in.h
321         * sysdeps/unix/sysv/linux/net/ethernet.h
322         * sysdeps/unix/sysv/linux/net/if_arp.h
323         * sysdeps/unix/sysv/linux/net/if_ppp.h
324         * sysdeps/unix/sysv/linux/net/if_shaper.h
325         * sysdeps/unix/sysv/linux/net/route.h
326         * sysdeps/unix/sysv/linux/netinet/if_ether.h
327         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
328         * sysdeps/unix/sysv/linux/netinet/if_tr.h
329         * sysdeps/unix/sysv/linux/netipx/ipx.h
330         * sysdeps/unix/sysv/linux/sys/acct.h
331         * include/arpa/nameser.h, include/resolv.h:
332         Change all uses of u_char to unsigned char,
333         u_short and ushort to unsigned short, u_int and uint to unsigned int,
334         u_long and ulong to unsigned long, u_int8_t to uint8_t,
335         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
336         and u_int64_t and u_quad_t to uint64_t.
338         * mach/sys/reboot.h: Remove two casts of integer literals
339         to the types they already have.
341         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
342         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
343         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
344         from referring to 'unsigned char' to 'uint8_t' for consistency with
345         the macro definition below.
347         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
348         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
349         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
350         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
351         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
352         * sysdeps/unix/sysv/linux/sys/acct.h
353         * include/arpa/nameser.h, include/resolv.h:
354         Fix indentation disrupted by mechanical edits.
356         * inet/protocols/talkd.h, resolv/arpa/nameser.h
357         * sysdeps/generic/netinet/in_systm.h
358         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
359         * sysdeps/gnu/netinet/udp.h
360         * sysdeps/unix/sysv/linux/net/ethernet.h
361         * sysdeps/unix/sysv/linux/net/if_arp.h
362         * sysdeps/unix/sysv/linux/net/if_ppp.h
363         * sysdeps/unix/sysv/linux/net/if_shaper.h
364         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
365         * sysdeps/unix/sysv/linux/netinet/if_tr.h
366         * sysdeps/unix/sysv/linux/netipx/ipx.h
367         * sysdeps/unix/sysv/linux/sys/acct.h
368         Include stdint.h for uintNN_t definitions.
369         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
371 2016-09-23  Zack Weinberg  <zackw@panix.com>
373         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
374         * sysdeps/unix/sysv/linux/netrose/rose.h:
375         Include sys/socket.h and netax25/ax25.h.
377         * inet/netinet/icmp6.h, inet/netinet/ip6.h
378         * resolv/arpa/nameser_compat.h:
379         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
381         * sysdeps/unix/sysv/linux/sys/quota.h:
382         Use __caddr_t instead of caddr_t.
383         * sysdeps/unix/sysv/linux/sys/timerfd.h:
384         Use __clockid_t instead of clockid_t.
386         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
388         * argp/argp.h: Check whether _LIBC is defined before expanding it.
389         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
390         expanding it.
392         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
393         Define __glibc_c99_flexarr_available to 1 when the compiler
394         supports C99-compatible flexible array members, 0 otherwise.
395         * sysdeps/unix/sysv/linux/bits/socket.h
396         * sysdeps/mach/hurd/bits/socket.h
397         * bits/socket.h: Use __glibc_c99_flexarr_available in
398         definitions of struct cmsghdr and CMSG_DATA.
400 2016-09-23  Florian Weimer  <fweimer@redhat.com>
402         * manual/nss.texi (NSS Modules Interface): Adjust function return
403         type to enum nss_status.  Document errnop argument.  Clarify
404         h_errnop semantics.  Fix cross-reference formatting.
405         (NSS Module Function Internals): Mention that *errnop needs to be
406         set on failure, but not to zero.
408 2016-09-23  Florian Weimer  <fweimer@redhat.com>
410         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
411         (get_random_name): New functions.
412         (check_wrapper_flags_mode): Use linkat to give the new file a name
413         determined by get_random_name.
414         (do_test): Add calls to test open64 and openat64.
416 2016-09-23  Florian Weimer  <fweimer@redhat.com>
418         * test-skeleton.c: Remove #include <stdarg.h>.
420 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
422         [BZ #19826]
423         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
424         initialization of static TLS entries.
425         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
426         * nptl/allocatestack.c (init_one_static_tls): Likewise.
428 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
430         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
431         _hurd_malloc_fork_prepare.
432         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
433         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
434         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
435         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
436         (_hurd_fork_child_hook): Drop malloc_fork_child.
437         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
438         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
439         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
440         after locking locks (notably hurd_dtable_lock). Call
441         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
442         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
443         __malloc_fork_unlock_child.
444         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
446 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
448         * soft-fp/extendhftf2.c: New.
449         * soft-fp/fixhfti.c: Likewise.
450         * soft-fp/fixunshfti.c: Likewise.
451         * soft-fp/floattihf.c: Likewise.
452         * soft-fp/floatuntihf.c: Likewise.
453         * soft-fp/half.h: Likewise.
454         * soft-fp/trunctfhf2.c: Likewise.
456 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
458         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
459         macro.
460         * math/libm-test.inc (issubnormal_test_data): New array.
461         (issubnormal_test): New function.
462         * manual/arith.texi (Floating Point Classes): Document
463         issubnormal.
464         * manual/libm-err-tab.pl: Update comment on interfaces without
465         ulps tabulated.
467         * sysdeps/generic/stdint.h: Define
468         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
469         <bits/libc-header-start.h> instead of including <features.h>.
470         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
471         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
472         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
473         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
474         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
475         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
476         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
477         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
478         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
479         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
480         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
481         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
482         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
483         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
484         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
485         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
486         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
487         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
488         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
489         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
490         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
491         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
492         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
493         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
494         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
496         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
497         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
503         * manual/arith.texi (Integers): Document these macros for types
504         specified by width properties.
505         * manual/lang.texi (Width of Type): Document these macros for
506         other standard typedefs.
507         * stdlib/tst-width-stdint.c: New file.
508         * stdlib/Makefile (tests): Add tst-width-stdint.
510 2016-09-21  Florian Weimer  <fweimer@redhat.com>
512         [BZ #20016]
513         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
514         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
515         Move ...
516         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
517         ... here, as compatibility symbols in a new file.
518         * resolv/Makefile (libresolv-routines): Add compat-hooks.
519         * resolv/res_init.c (__res_vinit): Adjust member names.
520         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
521         * resolv/resolv.h (res_sendhookact, res_send_qhook)
522         (res_send_rhook): Remove.
523         (struct __res_state): Rename qhook, rhook members.
525 2016-09-21  Florian Weimer  <fweimer@redhat.com>
527         malloc: Use __libc_lock wrappers.
528         * malloc/arena.c (list_lock, free_list_lock): Define using
529         __libc_lock_define_initialized.
530         (arena_lock): Adjust formatting.
531         * malloc/malloc.c (struct malloc_state): Define mutex using
532         __libc_lock_define.
533         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
534         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
535         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
536         (mutex_unlock, mutex_trylock): Remove.
537         (__pthread_initialize): Remove unused macro.
538         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
539         (mutex_unlock, mutex_trylock): Remove.
541 2016-09-21  Florian Weimer  <fweimer@redhat.com>
543         [BZ #20592]
544         Remove RR type classification macros.
545         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
546         (ns_t_udp_p, ns_t_xfr_p): Remove.
548 2016-09-21  Florian Weimer  <fweimer@redhat.com>
550         Remove misleading version information.
551         * resolv/arpa/nameser.h (__NAMESER): Remove.
552         * resolv/arpa/nameser_compat.h (__BIND): Remove.
554 2016-09-21  Florian Weimer  <fweimer@redhat.com>
556         Remove the always-defined BIND_4_COMPAT macro.
557         * resolv/arpa/nameser.h: Unconditionally include
558         <arpa/nameser_compat.h>.
559         (BIND_4_COMPAT): Remove.
560         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
562 2016-09-21  Florian Weimer  <fweimer@redhat.com>
564         [BZ #20591]
565         Remove obsolete DNSSEC support.
566         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
567         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
568         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
569         (ns_verify_tcp, ns_verify_tcp_init): Remove.
570         (ns_cert_types): Add comment.
571         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
572         separately.
573         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
574         (dst_s_dns_key_id): Remove.
575         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
576         variables.
578 2016-09-21  Florian Weimer  <fweimer@redhat.com>
580         [BZ #20524]
581         * manual/string.texi (String/Array Comparison): Clarify the
582         strverscmp behavior.
584 2016-09-21  Florian Weimer  <fweimer@redhat.com>
586         * test-skeleton.c (xasprintf): Add function.
587         * io/tst-open-tmpfile.c: New test.
588         * io/Makefile (tests): Add it.
590 2016-09-21  Florian Weimer  <fweimer@redhat.com>
592         Avoid running $(CXX) during build to obtain header file paths.
593         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
594         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
595         * Makerules (cstdlib, cmath): Remove variables.  Use
596         $(c++-cstdlib-header), $(c++-cmath-header) instead.
597         * configure: Regenerate.
599 2016-09-21  Florian Weimer  <fweimer@redhat.com>
601         * Makeconfig (all-object-suffixes): Include .op only if
602         $(build-profile).
604 2016-09-21  Florian Weimer  <fweimer@redhat.com>
606         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
607         conditionals.  Do not define PATH_MAX.
609 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
611         * posix/Makefile (tests): Add tst-spawn3.
612         * posix/tst-spawn3.c: New file.
613         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
614         if it is already opened for open action.
616         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
617         all signals when executing the clone vfork child.
618         (SIGALL_SET): Remove macro.
620         * nptl/Makefile (tests): Add tst-exec5.
621         * nptl/tst-exec5.c: New file.
622         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
623         asynchronous cancellation.
625 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
627         * hurd/exc2signal.c: #include <hurd/signal.h>
628         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
629         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
630         accordingly.
631         * mach/mach_error.c (mach_error): Fix old-style function definition.
632         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
634 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
636         * math/Makefile (libm-calls): Remove s_nanF.
637         (gen-libm-calls): Add s_nanF.
639         * math/s_nan.c: Refactor into ...
640         * math/s_nan_template.c: New file.
642         * math/s_nanf.c: Removed.
643         * math/s_nanl.c: Removed.
644         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
645         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
647         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
648         (LDOUBLE_nanl_libm_version): New macro.
650         * sysdeps/generic/math-type-macros-double.h:
651         (M_STRTO_NAN): New macro.
652         * sysdeps/generic/math-type-macros-float.h: Likewise.
653         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
655         * sysdeps/generic/math-type-macros.h: Document
656         M_STRTO_NAN.
658 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
660         * math/s_nanf.c: Remove __nanf undef.
661         * math/s_nan.c: Remove __nan undef.
662         * math/s_nanl.c: Remove __nanl undef.
664         * sysdeps/generic/math_private.h (__nan): Remove macro
665         override.
666         (__nanf): Likewise.
667         (__nanl): Likewise.
669 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
671         * math/Makefile (gen-all-calls): New variable.
672         (generated): Replace gen-libm-calls with gen-all-calls.
673         (gen-libm-templates.stmp): Likewise.  Also, ensure
674         the output directory exists or is created and add
675         dependency on the Makefile.
676         (calls): Move s_ldexpF into gen-calls.
677         (gen-calls): New variable.
679         * math/s_ldexpf.c: Removed.
680         * math/s_ldexpl.c: Removed.
681         * math/s_ldexp.c: Refactored into ...
682         * math/s_ldexp_template.c: New file.
684         * sysdeps/generic/math-type-macros-double.h: Remove
685         redundant fall-through definition of declare_mgen_alias.
686         (declare_mgen_alias_2): New macro.
688         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
689         New macro for function aliased to two exported symbols.
691         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
692         new template file.
693         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
695 2016-09-20  Florian Weimer  <fweimer@redhat.com>
697         * Makeconfig (all-object-suffixes): Remove .og.
698         * Makerules (elide-routines.og): Remove.
699         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
700         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
701         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
703 2016-09-20  Florian Weimer  <fweimer@redhat.com>
705         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
706         .os objects.
708 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
710         [BZ #20615]
711         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
712         fpu directory by non-fpu.
713         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
714         on non-fpu directory from a fpu directory.
716 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
718         * include/limits.h: Define
719         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
720         <bits/libc-header-start.h> instead of including <features.h>.
721         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
722         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
723         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
724         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
725         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
726         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
727         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
728         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
729         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
730         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
731         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
732         * manual/lang.texi (Width of Type): Document these macros.
733         * stdlib/tst-width.c: New file.
734         * stdlib/Makefile (tests): Add tst-width.
736 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
738         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
739         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
741 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
743         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
744         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
745         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
747 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
749         [BZ #18243]
750         * rt/Makefile (test): Add tst-shm-cancel.
751         * rt/tst-shm-cancel.c: New file.
752         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
754         [BZ #18243]
755         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
756         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
757         definition.
758         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
759         uncontended case.
760         * nptl/sem_wait.c (__new_sem_wait): Likewise.
761         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
762         (tf): Fix check for uncontended case.
763         (do_test): Likewise.
764         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
765         (tf): Fix check for uncontended case.
766         (do_test): Likewise.
767         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
768         (tf): Fix check for uncontended case.
769         (do_test): Likewise.
770         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
771         (tf): Fix check for uncontended case.
772         (do_test): Likewise.
774         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
775         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
777         [BZ #15765]
778         * nptl/Makefile (tests): Add tst-sem16.
779         * nptl/tst-sem16.c: New file.
780         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
782         * nptl/sem_open.c (sem_open): Init pad value to 0.
783         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
784         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
786 2016-09-15  Florian Weimer  <fweimer@redhat.com>
788         [BZ #20611]
789         * inet/Makefile (routines): Add inet6_scopeid_pton.
790         (tests): Add tst-inet6_scopeid_pton.
791         * inet/inet6_scopeid_pton.c: New file.
792         * inet/net-internal.h: Likewise.
793         * inet/tst-inet6_scopeid_pton.c: New test.
794         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
795         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
796         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
798 2016-09-14  Florian Weimer  <fweimer@redhat.com>
800         Remove support for compiling wrappers with PTW.
801         * sysdeps/nptl/Makeconfig: Drop ptw- support.
802         * nptl/Makefile (pthread-compat-wrappers): Define.
803         (libpthread-routines): Use pthread-compat-wrappers.
804         * sysdeps/unix/sysv/linux/alpha/Makefile
805         (libpthread-routines, libpthread-shared-only-routines): Remove
806         ptw- prefix.
807         * sysdeps/s390/nptl/Makefile
808         (libpthread-routines, libpthread-shared-only-routines): Likewise.
809         * sysdeps/ia64/nptl/Makefile
810         (libpthread-routines, libpthread-shared-only-routines): Likewise.
811         * sysdeps/nacl/Makefile (libpthread-routines): Use
812         pthread-compat-wrappers to filter the routines list instead of the
813         ptw- prefix.
815 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
817         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
818         with L() and remove explicit suffix, convert real literals
819         which can be equivalentally substituted with integers, and
820         transform -L(x) to L(-x).
822         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
823         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
824         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
825         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
826         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
827         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
828         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
829         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
830         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
831         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
832         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
833         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
834         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
835         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
836         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
837         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
838         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
839         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
840         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
841         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
842         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
843         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
844         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
845         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
846         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
847         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
848         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
849         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
850         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
851         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
852         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
853         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
854         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
855         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
856         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
857         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
858         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
859         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
860         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
861         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
862         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
863         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
864         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
865         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
866         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
867         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
868         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
869         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
870         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
871         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
873 2016-09-13  Florian Weimer  <fweimer@redhat.com>
875         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
877 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
879         * malloc/Makefile (tests): Remove individual static test names
880         and just add all of tests-static.
882         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
884 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
886         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
887         file.
889         * sysdeps/sparc/fpu/fegetmode.c: New file.
890         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
892         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
893         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
895         * sysdeps/s390/fpu/fegetmode.c: New file.
896         * sysdeps/s390/fpu/fesetmode.c: Likewise.
898         * sysdeps/powerpc/fpu/fegetmode.c: New file.
899         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
900         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
901         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
902         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
903         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
905         * sysdeps/mips/fpu/fegetmode.c: New file.
906         * sysdeps/mips/fpu/fesetmode.c: Likewise.
908         * sysdeps/m68k/fpu/fegetmode.c: New file.
909         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
911         * sysdeps/ia64/fpu/fegetmode.c: New file.
912         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
914         * sysdeps/hppa/fpu/fegetmode.c: New file.
915         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
917         * sysdeps/arm/fegetmode.c: New file.
918         * sysdeps/arm/fesetmode.c: Likewise.
920         * sysdeps/alpha/fpu/fegetmode.c: New file.
921         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
923         * sysdeps/aarch64/fpu/fegetmode.c: New file.
924         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
926         * math/fegetmode.c: New file.
927         * math/fesetmode.c: Likewise.
928         * sysdeps/i386/fpu/fegetmode.c: Likewise.
929         * sysdeps/i386/fpu/fesetmode.c: Likewise.
930         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
931         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
932         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
933         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
934         declaration.
935         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
936         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
937         typedef.
938         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
939         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
940         (femode_t): New typedef.
941         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
942         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
943         (femode_t): New typedef.
944         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
945         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
946         (femode_t): New typedef.
947         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
948         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
949         (femode_t): New typedef.
950         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
951         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
952         (femode_t): New typedef.
953         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
954         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
955         (femode_t): New typedef.
956         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
957         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
958         (femode_t): New typedef.
959         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
960         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
961         (femode_t): New typedef.
962         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
963         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
964         (femode_t): New typedef.
965         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
966         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
967         (femode_t): New typedef.
968         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
969         declaration.
970         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
971         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
972         (femode_t): New typedef.
973         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
974         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
975         (femode_t): New typedef.
976         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
977         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
978         (femode_t): New typedef.
979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
980         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
981         (femode_t): New typedef.
982         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
983         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
984         (femode_t): New typedef.
985         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
986         * manual/arith.texi (FE_DFL_MODE): Document macro.
987         (fegetmode): Document function.
988         (fesetmode): Likewise.
989         * math/Versions (fegetmode): New libm symbol at version
990         GLIBC_2.25.
991         (fesetmode): Likewise.
992         * math/Makefile (libm-support): Add fegetmode and fesetmode.
993         (tests): Add test-femode and test-femode-traps.
994         * math/test-femode-traps.c: New file.
995         * math/test-femode.c: Likewise.
996         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
997         alias for __fe_dfl_env.
998         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
999         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1000         (__fe_dfl_mode): Likewise.
1001         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1002         version GLIBC_2.25.
1003         * sysdeps/nacl/libm.abilist: Update.
1004         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1005         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1006         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1007         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1008         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1009         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1010         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1011         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1012         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1013         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1014         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1015         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1017         Likewise.
1018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1019         Likewise.
1020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1021         Likewise.
1022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1023         Likewise.
1024         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1025         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1026         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1027         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1028         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1030         Likewise.
1031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1032         Likewise.
1033         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1034         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1035         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1037 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1039         [BZ #20495]
1040         [BZ #20508]
1041         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1042         processors, set Use_dl_runtime_resolve_slow and set
1043         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1044         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1045         New.
1046         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1047         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1048         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1049         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1050         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1051         if Use_dl_runtime_resolve_opt is set.  Use
1052         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1053         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1054         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1055         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1056         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1057         New.
1058         (_dl_runtime_resolve_opt): Likewise.
1059         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1060         defined.
1062 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1064         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1065         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1067 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1069         Convert malloc to __libc_lock.  Automated part, using this Perl
1070         s/// command:
1071           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1072             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1073         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1074         conversion.
1076 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1078         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1079         (linknamespace-symlists-tests): Likewise.
1080         (linknamespace-header-tests): Likewise.
1082 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1084         [BZ #19810]
1085         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1086         * elf/tst-noload.c: New test case.
1087         * elf/Makefile (tests): Add tst-noload.
1089 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1091         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1093         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1094         not any more.
1096         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1098 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1100         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1101         (do_cos_slow): Likewise.
1102         (do_sin): Likewise.
1103         (do_sin_slow): Likewise.
1104         (slow): Likewise.
1105         (slow1): Likewise.
1106         (slow2): Likewise.
1107         (sloww): Likewise.
1108         (sloww1): Likewise.
1109         (sloww2): Likewise.
1110         (bsloww): Likewise.
1111         (bsloww1): Likewise.
1112         (bsloww2): Likewise.
1113         (cslow2): Likewise.
1115         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1117         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1118         arguments.  Consolidate input partitioning from callers here.
1119         (do_cos_slow): Likewise.
1120         (do_sin): Likewise.
1121         (do_sin_slow): Likewise.
1122         (do_sincos_1): Remove the no longer necessary input partitioning.
1123         (do_sincos_2): Likewise.
1124         (__sin): Likewise.
1125         (__cos): Likewise.
1126         (slow1): Likewise.
1127         (slow2): Likewise.
1128         (sloww1): Likewise.
1129         (sloww2): Likewise.
1130         (bsloww1): Likewise.
1131         (bsloww2): Likewise.
1132         (cslow2): Likewise.
1134 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1136         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1137         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1138         outside of allocated array.
1140 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1142         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1143         instead of MB_CUR_MAX to avoid variable-length array.
1145 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1147         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1148         (type-double-routines): Add k_rem_pio2.
1149         (type-float-routines): Add k_rem_pio2f.
1151         * sysdeps/generic/math_private.h:
1152         (__kernel_rem_pio2l): Removed.
1154         * math/k_rem_pio2l.c: Removed.
1155         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1156         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1157         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1158         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1160 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1162         * math/Makefile (gen-libm-calls): Add s_fmin
1163         (libm-calls): Remove above.
1165         * math/s_fmin.c: Refactor into ...
1166         * math/s_fmin_template.c: New file.
1168         * math/s_fminf.c: Removed.
1169         * math/s_fminl.c: Removed.
1170         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1171         (LDOUBLE_fmin_libm_version): New macro.
1173         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1174         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1176 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1178         * math/Makefile: (gen-libm-calls): Add s_fmax.
1179         (libm-calls): Remove above.
1181         * math/s_fmax.c: Refactor into ...
1182         * math/s_fmax_template.c: New file.
1183         * math/s_fmaxf.c: Removed.
1184         * math/s_fmaxl.c: Removed.
1186         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1187         (LDOUBLE_fmaxl_libm_version): New macro.
1189         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1190         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1192         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1193         s_fmin.c to pick the aarch64 version of the file.
1194         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1195         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1197 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1199         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1200         (libm-calls): Remove above.
1202         * math/s_nextdown.c: Refactor into ...
1203         * math/s_nextdown_template.c: New file.
1204         * math/s_nextdownf.c: Removed.
1205         * math/s_nextdownl.c: Removed.
1207         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1209 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1211         * math/Makefile (gen-libm-calls): Add s_fdim.
1212         (libm-calls): Move to above.
1214         * math/s_fdim.c: Renamed and refactored into to ...
1215         * math/s_fdim_template.c: New file.
1216         * math/s_fdiml.c: Removed.
1217         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1218         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1220         * sysdeps/generic/math-type-macros-double.h:
1221         (declare_mgen_alias): Don't declare if already declared.
1222         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1223         Likewise.
1225         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1226         (declare_mgen_alias): Don't declare if already declared.
1227         (M_LIBM_NEED_COMPAT): Likewise.
1228         (declare_mgen_libm_compat): Likewise.
1229         (LDOUBLE_fdiml_libm_version): New macro.
1231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1232         Include math/s_fdim.c now that ldbl-opt version is not needed.
1233         (declare_mgen_alias): New macro to disable aliasing.
1235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1236         (declare_mgen_alias): Likewise.
1237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1238         (declare_mgen_alias): Likewise.
1239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1240         (declare_mgen_alias): Likewise.
1241         (M_LIBM_NEED_COMPAT): Likewise.
1243 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1245         [BZ #20525]
1246         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1247         Include <linux/quota.h>.
1248         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1249         and btodb.
1250         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1251         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1252         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1253         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1254         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1255         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1256         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1257         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1258         types.
1259         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1260         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1262 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1264         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1265         (gammal_positive): Fix spacing.
1266         (__ieee754_gammal_r): Likewise.
1268 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1270         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1271         (_Float128): Define as long double, always.
1272         (L): Apply long double type suffix, always.
1274         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1275         _Float128, excepting comments.
1277         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1278         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1279         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1280         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1281         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1282         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1283         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1284         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1285         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1286         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1287         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1288         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1289         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1290         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1291         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1292         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1293         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1294         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1295         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1296         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1297         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1298         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1299         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1300         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1301         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1302         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1303         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1304         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1305         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1306         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1307         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1308         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1309         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1310         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1311         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1312         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1313         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1314         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1315         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1316         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1317         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1318         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1319         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1320         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1321         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1322         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1323         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1324         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1325         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1326         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1327         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1328         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1329         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1330         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1331         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1332         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1333         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1334         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1335         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1336         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1337         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1338         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1339         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1340         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1341         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1342         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1343         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1344         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1346         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1347         _Float128, and include math_private.h.
1348         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1350         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1351         long double semantics.
1352         (_Float128): Likewise.
1353         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1354         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1355         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1356         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1358 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1360         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1361         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1362         * sysdeps/s390/configure: Regenerated.
1363         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1364         instruction for raising over-/underflow if z196 zarch is supported
1365         by default.
1366         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1368 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1370         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1371         it point to a dumb buffer for RPC to fill it.
1373 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1375         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1376         instead of if/else.
1377         (do_sin_slow): Likewise.
1378         (do_sincos_1): Use fabs instead of if/else.
1379         (do_sincos_2): Likewise.
1380         (__sin): Likewise.
1381         (__cos): Likewise.
1382         (slow2): Likewise.
1383         (sloww): Likewise.
1384         (sloww1): Likewise.  Drop argument M.
1385         (sloww2): Use fabs instead of if/else.
1386         (bsloww): Likewise.
1387         (bsloww1): Likewise.
1388         (bsloww2): Likewise.
1390         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1391         fall through comment.
1392         (do_sincos_1): Likewise.
1394         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1395         Consolidate switch cases 0 and 2.
1397 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1399         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1400         (libm-calls): Remove the above.
1402         * math/s_cexp_template.c: Update using type-generic macros.
1403         * math/s_clog10_template.c: Likewise.
1404         * math/s_cpow_template.c: Likewise.
1405         * math/s_clog_template.c: Likewise.
1406         * math/s_cproj_template.c: Likewise.
1407         * math/s_csqrt_template.c: Likewise.
1409         * math/s_cexp.c: Removed.
1410         * math/s_cexpf.c: Removed.
1411         * math/s_cexpl.c: Removed.
1412         * math/s_clog10.c: Removed.
1413         * math/s_clog10f.c: Removed.
1414         * math/s_clog10l.c: Removed.
1415         * math/s_cpow.c: Removed.
1416         * math/s_cpowf.c: Removed.
1417         * math/s_cpowl.c: Removed.
1418         * math/s_clog.c: Removed.
1419         * math/s_clogf.c: Removed.
1420         * math/s_clogl.c: Removed.
1421         * math/s_cproj.c: Removed.
1422         * math/s_cprojf.c: Removed.
1423         * math/s_cprojl.c: Removed.
1424         * math/s_csqrt.c: Removed.
1425         * math/s_csqrtf.c: Removed.
1426         * math/s_csqrtl.c: Removed.
1428         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1429         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1430         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1431         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1432         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1433         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1435         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1436         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1437         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1438         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1439         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1440         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1441         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1442         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1443         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1444         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1445         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1447         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1448         version.
1450         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1451         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1452         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1453         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1455 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1457         * s_cexp_template.c: Copy of s_cexp.c.
1458         * s_clog_template.c: Copy of s_clog.c.
1459         * s_clog10_template.c: Copy of s_clog10.c.
1460         * s_cpow_template.c: Copy of s_cpow.c.
1461         * s_cproj_template.c: Copy of s_cproj.c.
1462         * s_csqrt_template.c: Copy of s_csqrt.c.
1464 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1466         [BZ #20517]
1467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1468         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1469         exported.
1471 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1473         * math/fetestexceptflag.c: New file.
1474         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1475         Stefan Liebler.
1476         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1477         (fetestexceptflag): New function declaration.
1478         * manual/arith.texi (fetestexceptflag): Document function.
1479         * math/Versions (fetestexceptflag): New libm symbol at version
1480         GLIBC_2.25.
1481         * math/Makefile (libm-support): Add fetestexceptflag.
1482         (tests): Add test-fetestexceptflag.
1483         * math/test-fetestexceptflag.c: New file.
1484         * sysdeps/nacl/libm.abilist: Update.
1485         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1486         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1487         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1488         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1489         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1490         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1491         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1492         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1493         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1494         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1495         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1496         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1498         Likewise.
1499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1500         Likewise.
1501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1502         Likewise.
1503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1504         Likewise.
1505         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1506         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1507         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1508         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1509         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1511         Likewise.
1512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1513         Likewise.
1514         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1515         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1516         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1518 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1520         [BZ #20432]
1521         Avoid strong references to malloc-internal symbols when linking
1522         statically, to support statically interposed mallocs.
1523         * include/libc-symbols.h (call_function_static_weak): New macro.
1524         * malloc/Makefile (tests): Add tst-interpose-nothread,
1525         tst-interpose-thread, tst-interpose-static-nothread,
1526         tst-interpose-static-thread.
1527         (tests-static): Add tst-interpose-static-nothread,
1528         tst-interpose-static-thread.
1529         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1530         tst-interpose-aux-thread.o.
1531         (test-extras): Add tst-interpose-aux-nothread,
1532         tst-interpose-aux-thread.
1533         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1534         tst-interpose-aux-nothread.o.
1535         (tst-interpose-thread, tst-interpose-static-thread): Link with
1536         tst-interpose-aux-thread.o and libthread.
1537         * malloc/tst-interpose-aux-nothread.c: New file.
1538         * malloc/tst-interpose-aux-thread.c: Likewise.
1539         * malloc/tst-interpose-aux.c: Likewise.
1540         * malloc/tst-interpose-aux.h: Likewise.
1541         * malloc/tst-interpose-nothread.c: Likewise.
1542         * malloc/tst-interpose-skeleton.c: Likewise.
1543         * malloc/tst-interpose-static-nothread.c: Likewise.
1544         * malloc/tst-interpose-static-thread.c: Likewise.
1545         * malloc/tst-interpose-thread.c: Likewise.
1546         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1547         * sysdeps/mach/hurd/fork.c (__fork): Only call
1548         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1549         __malloc_fork_unlock_child if defined.
1550         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1552 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1554         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1555         timespec C99 designated initialization.
1557 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1559         [BZ #19946]
1560         Avoid expected SIGALRM signals.
1561         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1562         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1563         (xpthread_create, xpthread_detach, xpthread_join)
1564         (delayed_exit_thread, delayed_exit): New functions.
1565         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1566         (tf): Use xpthread_cond_wait.
1567         (do_test): Likewise.  Replace alarm with delayed_exit.
1568         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1569         (do_test): Call delayed_exit.  Report failure.
1570         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1571         (do_test): Call delayed_exit.
1572         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1573         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1574         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1575         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1576         error.
1577         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1578         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1579         error.
1580         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1581         (do_test): Call delayed_exit.
1582         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1583         (do_test): Call delayed_exit.
1584         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1585         (do_test): Call delayed_exit instead of alarm.  Use
1586         xpthread_mutex_lock.
1587         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1588         (do_test): Call delayed_exit instead of alarm.  Use
1589         xpthread_mutex_lock.
1590         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1591         (do_test): Call delayed_exit instead of alarm.
1592         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1593         (do_test): Call delayed_exit instead of alarm.  Use
1594         xpthread_spin_lock.
1595         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1596         (do_test): Call delayed_exit instead of alarm.  Use
1597         xpthread_join.
1599 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1601         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1602         adjust CFA when allocating register save area on re-aligned
1603         stack.
1605 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1607         * string/tst-cmp.c: New test.
1608         * string/Makefile (tests): Add it.
1610 2016-08-25  Mark Wielaard  <mark@klomp.org>
1612         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1613         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1614         (check_tree_recurse): Use newly defined accessors.
1615         (check_tree): Likewise.
1616         (maybe_split_for_insert): Likewise.
1617         (__tfind): Likewise.
1618         (__tdelete): Likewise.
1619         (trecurse): Likewise.
1620         (tdestroy_recurse): Likewise.
1621         (__tsearch): Likewise. And add asserts for malloc alignment.
1622         (__twalk): Cast root to node in case CHECK_TREE is defined.
1624 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1626         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1628 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1630         * math/Makefile (libm-gen-calls): Add
1631         catan, catanh, ctan, ctanh.
1632         (libm-calls): Remove the above.
1634         * math/s_catan_template.c: Update using type-generic macros.
1635         * math/s_catanh_template.c: Likewise.
1636         * math/s_ctan_template.c: Likewise.
1637         * math/s_ctanh_template.c: Likewise.
1639         * math/s_catanf.c: Removed.
1640         * math/s_catan.c: Removed.
1641         * math/s_catanl.c: Removed.
1642         * math/s_catanhf.c: Removed.
1643         * math/s_catanh.c: Removed.
1644         * math/s_catanhl.c: Removed.
1645         * math/s_ctanf.c: Removed.
1646         * math/s_ctan.c: Removed.
1647         * math/s_ctanl.c: Removed.
1648         * math/s_ctanhf.c: Removed.
1649         * math/s_ctanh.c: Removed.
1650         * math/s_ctanhl.c: Removed.
1652         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1653         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1654         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1655         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1656         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1657         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1659         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1660         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1661         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1662         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1664 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1666         * s_catan_template.c: Copy of s_catan.c.
1667         * s_catanh_template.c: Copy of s_catanh.c.
1668         * s_ctan_template.c: Copy of s_ctan.c.
1669         * s_ctanh_template.c: Copy of s_ctanh.c.
1671 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1673         * math/Makefile (gen-libm-calls): Move
1674         casin, casinh, csin, csinh here.
1675         (libm-calls): Remove the above.
1677         * math/s_casin_template.c: Update using type-generic macros.
1678         * math/s_casinh_template.c: Likewise.
1679         * math/s_csin_template.c: Likewise.
1680         * math/s_csinh_template.c: Likewise.
1681         * math/k_casinh_template.c: Likewise.
1683         * math/s_casinf.c: Removed.
1684         * math/s_casin.c: Removed.
1685         * math/s_casinl.c: Removed.
1686         * math/s_casinh.c: Removed.
1687         * math/s_casinhf.c: Removed.
1688         * math/s_casinhl.c: Removed.
1689         * math/s_csin.c: Removed.
1690         * math/s_csinf.c: Removed.
1691         * math/s_csinl.c: Removed.
1692         * math/s_csinh.c: Removed.
1693         * math/s_csinhf.c: Removed.
1694         * math/s_csinhl.c: Removed.
1695         * math/k_casinh.c: Removed.
1696         * math/k_casinhf.c: Removed.
1697         * math/k_casinhl.c: Removed.
1699         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1700         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1701         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1702         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1704         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1705         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1706         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1707         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1708         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1709         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1710         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1711         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1713         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1714         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1715         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1716         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1718         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1719         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1720         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1721         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1723 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1725         * s_casin_template.c: Copy of s_casin.c.
1726         * s_casinh_template.c: Copy of s_casinh.c.
1727         * s_csin_template.c: Copy of s_csin.c.
1728         * s_csinh_template.c: Copy of s_csinh.c.
1729         * k_casinh_template.c: Copy of k_casinh.c.
1731 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1733         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1735 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1737         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1738         (mul_split) Remove, rename as mul_splitl, remove
1739         redundant float.h include, and include via mul_splitl.h
1741         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1742         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1743         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1744         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1745         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1747         * math/mul_splitl.h: New file.
1749         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1750         Move into mul_split.h, and remove redundant float.h include.
1752         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1753         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1754         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1755         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1757         * math/mul_split.h: New file.
1759 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1761         * math/Makefile (libm-gen-calls): Move
1762         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1763         (libm-calls): Remove above.
1765         * math/s_cacos_template.c: Update using type-generic macros.
1766         * math/s_cacosh_template.c: Likewise.
1767         * math/s_ccos_template.c: Likewise.
1768         * math/s_ccosh_template.c: Likwise.
1770         * math/s_cacosf.c: Removed.
1771         * math/s_cacos.c: Removed.
1772         * math/s_cacosl.c: Removed.
1773         * math/s_cacoshf.c: Removed.
1774         * math/s_cacosh.c: Removed.
1775         * math/s_cacoshl.c: Removed.
1776         * math/s_ccosf.c: Removed.
1777         * math/s_ccos.c: Removed.
1778         * math/s_ccosl.c: Removed.
1779         * math/s_ccoshf.c: Removed.
1780         * math/s_ccosh.c: Removed.
1781         * math/s_ccoshl.c: Removed.
1783         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1784         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1785         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1786         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1787         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1788         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1790         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1791         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1792         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1793         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1795         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1796         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1797         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1798         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1800 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1802         * s_cacos_template.c: Copy of s_cacos.c.
1803         * s_cacosh_template.c: Copy of s_cacosh.c.
1804         * s_ccos_template.c: Copy of s_ccos.c.
1805         * s_ccosh_template.c: Copy of s_ccosh.c.
1807 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1809         * stdlib/tst-strtod-round-skeleton.c:
1810         Refactored from tst-strtod-round.c.
1812         (L_): New macro to apply literal modifier.
1813         (FNPFX): New macro to select str or wcs prefix.
1814         (CHAR): New macro to choose wchar_t or char.
1815         (STRM): New macro to choose printf for tested character type.
1817         (STRTO): New macro to choose appropriate string -> real function.
1818         (FNPFXS): Stringitized version of FNPFX.
1819         (STR): Support for above macro.
1820         (STRX): Likewise.
1822         (TEST): Update with above macros.
1823         (test): Likewise.
1824         (GEN_ONE_TEST): Likewise.
1825         (test_in_one_mode): Likewise.
1827         * stdlib/tst-strtod-round.c: New file.
1828         * wcsmbs/tst-wcstod-round.c: New file.
1830         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1831         (tst-wcstod-round): Add libm depencency for fesetround.
1833 2016-08-19  Zack Weinberg  <zackw@panix.com>
1835         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1837 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1839         [BZ #20477]
1840         * resolv/res_hconf.c (do_init): Use atomic access.
1841         * resolv/res_hconf.h: Add comments.
1842         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1843         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1844         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1846 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1848         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1849         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1850         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1851         Likewise.
1853 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1855         [BZ #16907]
1856         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1857         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1858         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1859         (__attribute__): Remove definition.
1861 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1863         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1864         Remove unused sqrtl declaration.
1866 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1868         * math/Makefile: (gen-libm-templates.stmp): New rule.
1869         (libm-calls): Move carg conj cimag and cabs into ...
1870         (gen-libm-calls): New variable.
1871         (generated): Inform Make objects from gen-libm-calls
1872         may be generated.
1874         * sysdeps/generic/math-type-macros.h: New file.
1875         * sysdeps/generic/math-type-macros-float.h: Likewise.
1876         * sysdeps/generic/math-type-macros-double.h: Likewise.
1877         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1878         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1879         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1881         * math/cabs.c: Refactor into
1882         * math/cabs_template.c: new file.
1883         * math/cabsf.c: Removed.
1884         * math/cabsl.c: Removed.
1885         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1886         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1888         * math/carg.c: Refactor into
1889         * math/carg_template.c: new file.
1890         * math/cargf.c: Removed.
1891         * math/cargl.c: Removed.
1892         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1893         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1895         * math/conj.c: Refactor into
1896         * math/conj_template.c: new file.
1897         * math/conjf.c: Removed.
1898         * math/conjl.c: Removed.
1899         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1900         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1902         * math/cimag.c: Refactor into
1903         * math/cimag_template.c: new file.
1904         * math/cimagf.c: Removed.
1905         * math/cimagl.c: Removed.
1906         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1907         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1909         * math/cimag.c: Refactor into
1910         * math/cimag_template.c: new file.
1911         * math/cimagf.c: Removed.
1912         * math/cimagl.c: Removed.
1913         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1914         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1916 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1918         Reduce time to expected nptl/tst-once5 failure.
1919         * nptl/tst-once5.cc (TIMEOUT): Define.
1921 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1923         [BZ #20452]
1924         Avoid additional copies of objects in libc.a in static libraries.
1925         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1926         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1927         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1928         rt-sysdep.
1929         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1930         Add nptl-sysdep.
1931         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1932         Add ptw-sysdep.
1933         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1934         rt-sysdep.
1935         * sysdeps/unix/sysv/linux/alpha/Makefile
1936         (libpthread-shared-only-routines): Add ptw-sysdep,
1937         ptw-sigprocmask, ptw-rt_sigaction.
1938         * sysdeps/unix/sysv/linux/ia64/Makefile
1939         (librt-shared-only-routines): Add rt-sysdep.
1940         * sysdeps/unix/sysv/linux/i386/Makefile
1941         (libpthread-shared-only-routines): Add libc-do-syscall.
1942         * sysdeps/unix/sysv/linux/microblaze/Makefile
1943         (libpthread-shared-only-routines): Add sysdep.
1944         * sysdeps/unix/sysv/linux/powerpc/Makefile
1945         (librt-shared-only-routines): Add rt-sysdep.
1946         (libpthread-shared-only-routines): Add sysdep.
1947         * sysdeps/unix/sysv/linux/s390/Makefile
1948         (librt-shared-only-routines): Add rt-sysdep.
1949         * sysdeps/unix/sysv/linux/sparc/Makefile
1950         (librt-shared-only-routines): Add rt-sysdep.
1951         (libpthread-shared-only-routines): Add sysdep.
1952         * sysdeps/unix/sysv/linux/tile/Makefile
1953         (libpthread-shared-only-routines): Likewise.
1955 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1957         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1958         Mask implicit bit out of unpacked value.
1959         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1960         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1961         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1963         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1965         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1967         * sysdeps/s390/fpu/fesetexcept.c: New file.
1969         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1970         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1971         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1973         * sysdeps/mips/fpu/fesetexcept.c: New file.
1975         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1977         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1979         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1981         * sysdeps/arm/fesetexcept.c: New file.
1983         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1985         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1987         * math/fesetexcept.c: New file.
1988         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1989         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1990         * math/fenv.h: Define
1991         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1992         <bits/libc-header-start.h> instead of including <features.h>.
1993         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1994         declaration.
1995         * manual/arith.texi (fesetexcept): Document function.
1996         * math/Versions (fesetexcept): New libm symbol at version
1997         GLIBC_2.25.
1998         * math/Makefile (libm-support): Add fesetexcept.
1999         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2000         * math/test-fesetexcept.c: New file.
2001         * math/test-fesetexcept-traps.c: Likewise.
2002         * sysdeps/nacl/libm.abilist: Update.
2003         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2004         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2005         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2006         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2007         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2008         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2009         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2010         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2011         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2012         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2013         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2014         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2016         Likewise.
2017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2018         Likewise.
2019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2020         Likewise.
2021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2022         Likewise.
2023         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2024         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2025         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2026         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2027         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2029         Likewise.
2030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2031         Likewise.
2032         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2033         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2034         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2036 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2038         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2039         New.
2040         (do_test): Apply default_stack_size_in_mb if not set.
2041         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2043 2016-08-15  Andreas Schwab  <schwab@suse.de>
2045         [BZ #20435]
2046         CVE-2016-6323
2047         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2048         as .cantunwind.
2050 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2052         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2053         comment from fraiseexcpt.c.
2055         * math/test-fexcept.c (feraiseexcept_exact): New function.
2056         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2057         (test_except): Likewise.
2059 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2061         [BZ #20455]
2062         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2063         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2064         to be restored.
2066         * math/test-fexcept-traps.c: New file.
2067         * math/test-fexcept.c: Likewise.
2068         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2069         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2070         macro.
2071         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2072         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2074 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2076         * include/atomic.h (atomic_fetch_and_relaxed,
2077         atomic_fetch_and_release, atomic_fetch_or_release,
2078         atomic_fetch_xor_release): New.
2080 2016-08-06  Christian Seiler  <christian@iwakd.de>
2082         [BZ #20444]
2083         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2084         MACH_PORT_NULL.
2086 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2088         * math/s_fdim.c: Avoid alias renamed.
2089         * math/s_fdimf.c: Likewise.
2090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2091         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2092         Add s_fdimf-vis3, s_fdim-vis3.
2093         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2094         (CFLAGS-s_fdim-vis3.c): Likewise.
2095         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2096         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2098 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2101         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2102         Remove s_fdimf-vis3, s_fdim-vis3.
2103         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2104         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2111         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2112         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2114 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2116         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2117         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2118         -Wa,-Av9a -mvis.
2120 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2122         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2123         LIT() to individual constants in simple expressions
2124         after splitting on spaces.
2125         (_apply_lit): Rename replaced version, and use it to
2126         apply to what appears to be a token.
2128         * math/libm-test.inc: Fix many, many issues with
2129         spacing.
2131 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2133         * math/math.h: Move comment about <bits/mathdef.h> definitions
2134         above inclusion of <bits/mathdef.h>.  Do not mention
2135         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2137 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2139         * include/atomic.h (atomic_exchange_relaxed): New.
2141 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2143         * math/e_scalb.c: Do not include <fenv.h>.
2144         (invalid_fn): Do calculation resulting in NaN instead of raising
2145         FE_INVALID and returning a NaN explicitly.
2146         * math/e_scalbf.c: Do not include <fenv.h>.
2147         (invalid_fn): Do calculation resulting in NaN instead of raising
2148         FE_INVALID and returning a NaN explicitly.
2149         * math/e_scalbl.c: Do not include <fenv.h>.
2150         (invalid_fn): Do calculation resulting in NaN instead of raising
2151         FE_INVALID and returning a NaN explicitly.
2153 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2155         * po/de.po: Updated from Translation Project.
2156         * po/fi.po: Likewise.
2157         * po/sv.po: Likewise.
2159 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2161         [BZ #20452]
2162         Use sysdep.o from libc.a in static libraries.
2163         * sysdeps/unix/sysv/linux/i386/Makefile
2164         (libpthread-shared-only-routines): Add sysdep.
2165         (librt-shared-only-routines): Likewise.
2167 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2169         * math/tgmath.h (nextdown): Define if
2170         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2171         (nextup): Likewise.
2173         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2174         macro.
2175         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2176         Document.
2177         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2178         Document macro.
2179         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2180         (exp10f): Likewise.
2181         (exp10l): Likewise.
2182         * math/bits/mathcalls.h (exp10): Declare if
2183         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2185         * manual/arith.texi (nextup): Fix typo in last change.
2187 2016-08-03  Zack Weinberg  <zackw@panix.com>
2189         [BZ #19239]
2190         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2191         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2192         define major, minor, and makedev to issue deprecation warnings on use.
2193         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2194         previously-activated deprecation warnings for these macros and prevent
2195         subsequent inclusions of this header from having any effect.
2196         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2197         including <sys/sysmacros.h>, and undefine it again afterward.
2199 2016-08-03  Zack Weinberg  <zackw@panix.com>
2201         * sysdeps/generic/sys/sysmacros.h: Delete file.
2202         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2203         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2204         * bits/sysmacros.h: ... here; this encoding is now the generic
2205         encoding.  Now defines only the following macros:
2206         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2207         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2208         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2210         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2211         bits/sysmacros.h and the above new macros to generate the
2212         public implementations of major, minor, and makedev.
2213         * misc/tst-makedev.c: New test.
2214         * include/sys/sysmacros.h: New wrapper.
2216         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2217         (routines): Add makedev.
2218         (tests): Add tst-makedev.
2219         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2220         gnu_dev_makedev.
2221         * posix/Makefile (headers): Remove sys/sysmacros.h.
2222         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2224         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2225         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2226         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2227         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2228         * sysdeps/unix/sysv/linux/arm/libc.abilist
2229         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2230         * sysdeps/unix/sysv/linux/i386/libc.abilist
2231         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2232         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2233         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2234         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2235         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2236         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2237         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2238         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2239         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2244         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2245         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2246         * sysdeps/unix/sysv/linux/sh/libc.abilist
2247         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2248         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2251         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2252         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2253         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2254         Add GLIBC_2.25.
2256         * include/features.h (__glibc_clang_prereq): New macro.
2257         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2258         (__attribute_deprecated_msg__): New macros.
2260 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2262         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2263         macro.
2264         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2265         * manual/arith.texi (issignaling): Document as ISO from TS
2266         18661-1:2014.
2267         (nextup): Likewise.
2268         (nextupf): Likewise.
2269         (nextupl): Likewise.
2270         (nextdown): Likewise.
2271         (nextdownf): Likewise.
2272         (nextdownl): Likewise.
2273         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2274         macro.
2275         * math/math.h: Define
2276         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2277         <bits/libc-header-start.h> instead of including <features.h>.
2278         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2279         [__USE_GNU].
2280         * math/bits/mathcalls.h (nextdown): Declare if
2281         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2282         (nextup): Likewise.
2283         (__issignaling): Likewise.
2285 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2287         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2288         check, and remove __glibc_likely hint
2289         from FP_INFINITE check.
2290         * s_csinhf.c (__csinhf): Likewise.
2292         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2293         hint from FP_INFINITE check.
2294         * s_csinhl.c (__csinhl): Likewise.
2296 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2298         * math/Makefile (libm-calls): Insert F placeholder into
2299         object names.  Move w_lgamma_compat* routines into
2300         (libm-compat-calls): New variable.
2301         (libm-compat-calls-ldouble-yes): New variable.
2302         (calls): Insert F placeholder.
2303         (generated): Redefine using new type-foreach macro call.
2304         (routines): Likewise.
2306         (types): New variable to hold a list of symbolic names
2307         for each type supported by the target machine.
2308         (libm-routines): Redefine using new types variable.
2309         (type-foreach): macro to replace fooF with the
2310         appropriately suffixed foo for each types.
2312         (type-ldouble-suffix): New variable.
2313         (type-ldouble-routines): Likewise.
2314         (type-ldouble-yes): Likewise.
2315         (type-double-suffix): Likewise.
2316         (type-double-routines): Likewise.
2317         (type-float-suffix): Likewise.
2318         (type-float-routines): Likewise.
2320         (dbl-only-routines): Remove.
2321         (long-c-yes): Likewise.
2322         (long-m-routines): Likewise.
2323         (long-m-support): Likewise.
2324         (long-m-yes): Likewise.
2325         (test-longdouble-yes): Likewise.
2327         (test-float.o): Simplify by increasing the scope of the
2328         recipe which adds libm-test.stmp to the vector types.
2329         (test-ifloat.o): Likewise.
2330         (test-float-finite.o): Likewise.
2331         (test-double.o): Likewise
2332         (test-idouble.o): Likewise.
2333         (test-double-finite.o): Likewise.
2334         (test-ldouble.o): Likewise
2335         (test-ildoubl.o): Likewise.
2336         (test-ldouble-finite.o): Likewise.
2338         (libm-tests): Redefine type tests using foreach and the
2339         list of types in types.
2341         (CPPFLAGS-test-ildoubl.c): Rename to
2342         (CPPFLAGS-test-ildouble.c): New variable
2344         * math/test-ildoubl.c: Rename to
2345         * math/test-ildouble.c: New file.
2347 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2349         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2350         Use fabsl instead of fabs.
2351         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2352         Likewise.
2353         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2354         Add long double suffix to constant to ensure proper
2355         promotion to long double.
2357 2016-08-03  Tom Tromey  <tom@tromey.com>
2359         [BZ #20311]
2360         * nptl_db/Makefile (headers): Add proc_service.h.
2361         * nptl_db/proc_service.h: Add include guard.  Use
2362         __BEGIN/__END_DECLS.
2363         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2364         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2365         arguments.
2368 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2370         [BZ #17730]
2371         Avoid using memalign for TCB allocations.
2372         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2373         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2374         Avoid alignment gap in the TLS_DTV_AT_TP case.
2375         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2376         determine the pointer to free.
2377         * nptl/tst-tls3-malloc.c: New test.
2378         * nptl/Makefile (tests): Add it.
2379         (tst-tls3-malloc): Link with libdl, libpthread.
2380         (LDFLAGS-tst-tls3-malloc): Set.
2381         (tst-tls3-malloc.out): Depend on DSO used in test.
2383 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2385         [BZ #17730]
2386         Avoid using memalign for TLS allocations.
2387         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2388         is_static member with to_free member.
2389         (union dtv): Use struct dtv_pointer.
2390         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2391         dtv_pointer instead of is_static.
2392         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2393         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2394         instead of val.
2395         (allocate_dtv_entry): New function.
2396         (allocate_and_init): Return struct dtv_pointer.  Call
2397         allocate_dtv_entry instead of __libc_memalign.
2398         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2399         instead of val.
2400         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2401         instead of is_static.  Adjust call to allocate_and_init.
2402         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2403         struct dtv_pointer instead of val.
2405 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2407         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2408         (MALLOC_ALIGN_MASK): Move ...
2409         * malloc/malloc-internal.h: ... to here.
2410         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2412 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2414         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2415         (UDP_ENCAP_GTP1U): Likewise.
2417         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2418         (PF_MAX): Update value.
2419         (AF_QIPCRTR): New macro.
2421 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2423         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2424         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2425         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2426         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2427         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2428         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2429         s_truncf-vis3, s_trunc-vis3.
2430         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2431         (CFLAGS-s_ceil-vis3.c): Likewise.
2432         (CFLAGS-s_floorf-vis3.c): Likewise.
2433         (CFLAGS-s_floor-vis3.c): Likewise.
2434         (CFLAGS-s_truncf-vis3.c): Likewise.
2435         (CFLAGS-s_trunc-vis3.c): Likewise.
2436         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2437         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2438         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2439         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2440         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2441         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2442         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2443         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2444         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2445         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2446         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2447         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2449 2016-08-02  David S. Miller  <davem@davemloft.net>
2451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2452         (__nearbyint_vis3): Don't check for sNaN before float register is
2453         loaded with the incoming argument.
2454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2455         (__nearbyintf_vis3): Likewise.
2456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2457         Likewise.
2458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2459         Likewise.
2461         * string/test-strncmp.c (do_test_limit): Make sure the test data
2462         stream is aligned as required for the type "CHAR".
2463         (do_test): Likewise.
2465 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2467         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2468         by beq instructions jumping to the end of the function.
2469         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2470         clobber list. Use "i" constraint instead of "X".
2471         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2472         of "X".
2474 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2476         * bits/libc-header-start.h: New file.
2477         * Makefile (headers): Add bits/libc-header-start.h.
2478         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2479         (__GLIBC_USE): New macro.
2480         * libio/stdio.h: Define
2481         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2482         <bits/libc-header-start.h> instead of including <features.h>.
2483         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2484         (open_memstream): Likewise.
2485         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2486         (__asprintf): Likewise.
2487         (asprintf): Likewise.
2488         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2489         (getdelim): Likewise.
2490         (getline): Likewise.
2491         * string/string.h: Define
2492         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2493         <bits/libc-header-start.h> instead of including <features.h>.
2494         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2495         (strndup): Likewise.
2496         * wcsmbs/wchar.h: Define
2497         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2498         <bits/libc-header-start.h> instead of including <features.h>.
2499         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2500         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2502 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2504         Support linking against compatibility symbols, for use in tests.
2505         * include/libc-symbols.h (symbol_version_reference): New macro.
2506         (symbol_version): Use it.
2507         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2508         (compat_symbol): Use compat_symbol_reference.
2509         (compat_symbol_1, compat_symbol_2): Remove.
2510         (compat_symbol_reference, compat_symbol_reference_1)
2511         (compat_symbol_reference_2): New macro.  Use
2512         symbol_version_reference.
2514 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2516         [BZ #19469]
2517         * malloc/Makefile (CPPFLAGS): Compile tests with
2518         -DTEST_NO_MALLOPT.
2519         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2521 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2523         [BZ #20033]
2524         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2525         finite version.
2526         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2527         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2528         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2529         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2530         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2531         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2532         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2533         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2534         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2535         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2536         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2537         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2538         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2539         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2540         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2541         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2542         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2543         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2544         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2545         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2546         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2547         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2548         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2549         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2550         in zero power.
2552 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2554         [BZ #20370]
2555         * malloc/arena.c (get_free_list): Update comment.  Assert that
2556         arenas on the free list have no attached threads.
2557         (remove_from_free_list): New function.
2558         (reused_arena): Call it.
2560 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2562         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2563         when it is a NaN.
2564         [_IEEE_FP_INEXACT] Remove.
2565         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2566         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2567         when it is a NaN.
2568         [_IEEE_FP_INEXACT] Remove.
2569         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2570         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2571         when it is a NaN.
2572         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2573         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2574         when its absolute value is greater than 0x1.0p52.
2575         [_IEEE_FP_INEXACT] Remove.
2576         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2577         when its absolute value is greater than 0x1.0p23.
2578         [_IEEE_FP_INEXACT] Remove.
2580 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2582         * version.h (RELEASE): Set to "development"
2583         (VERSION): Set to 2.24.90.
2584         * NEWS: Add 2.25 section.
2586         * version.h (RELEASE): Set to "stable"
2587         (VERSION): Set to 2.24.
2588         * include/features.h (__GLIBC_MINOR__): Set to 24.
2590         * NEWS: Add 2.24 fixed bugs.
2591         * po/libc.pot: Regenerate.
2593 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2596         [$(subdir) = math] (libm-sysdep_routines): Remove.
2597         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2598         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2599         s_truncf-vis3, s_trunc-vis3.
2600         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2602         file.
2603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2624         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2625         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2626         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2627         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2628         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2629         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2630         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2631         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2632         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2633         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2634         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2635         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2636         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2637         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2638         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2639         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2640         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2641         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2642         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2643         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2644         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2645         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2647 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2649         [BZ #20384]
2650         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2651         test-double-libmvec-sincos-avx-main.o,
2652         test-double-libmvec-sincos-avx2-main.o,
2653         test-double-libmvec-sincos-main.o,
2654         test-float-libmvec-sincosf-avx-main.o,
2655         test-float-libmvec-sincosf-avx2-main.o and
2656         test-float-libmvec-sincosf-main.o.
2657         test-float-libmvec-sincosf-avx512-main.o.
2658         ($(objpfx)test-double-libmvec-sincos): Also link with
2659         $(objpfx)test-double-libmvec-sincos-main.o.
2660         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2661         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2662         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2663         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2664         ($(objpfx)test-float-libmvec-sincosf): Also link with
2665         $(objpfx)test-float-libmvec-sincosf-main.o.
2666         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2667         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2668         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2669         test-double-libmvec-sincos-avx512-main.o and
2670         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2671         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2672         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2673         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2674         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2675         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2676         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2677         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2678         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2679         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2680         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2681         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2682         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2683         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2684         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2685         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2686         -DREQUIRE_AVX2.
2687         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2688         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2689         -DREQUIRE_AVX512F.
2690         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2691         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2692         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2693         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2694         file.
2695         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2696         Likewise.
2697         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2698         Likewise.
2699         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2700         Likewise.
2701         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2702         Likewise.
2703         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2704         Likewise.
2705         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2706         Likewise.
2707         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2708         Likewise.
2710 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2712         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2714 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2716         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2717         and typo in a comment about AT_HWCAP entry.
2719 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2721         * sysdeps/aarch64/libm-test-ulps: Updated.
2723 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2725         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2726         of r13 as it is not restored in mvcle case.
2728 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2730         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2731         Rename "ret" to "__ret".
2732         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2733         inline_syscall5, inline_syscall6): Likewise.
2735 2016-07-19   Will Newton  <will.newton@gmail.com>
2737         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2738         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2739         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2740         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2741         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2743 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2745         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2746         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2747         -mfpmath=387 with $(rtld-CFLAGS).
2748         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2749         $(rtld-CFLAGS).
2751 2016-07-18   Ross Burton  <ross.burton@intel.com>
2752              Khem Raj  <raj.khem@gmail.com>
2754         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2755         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2756         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2757         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2758         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2759         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2760         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2761         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2762         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2763         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2764         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2765         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2766         R_METAG_TLS_DTPOFF): New.
2768 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2769             Matt Clay  <mclay@lycos.com>
2771         [BZ #20357]
2772         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2773         to call __mpsin/__mpcos and to negate values.
2774         * math/auto-libm-test-in: Add test.
2775         * math/auto-libm-test-out: Regenerate.
2777 2016-07-18  Zack Weinberg  <zackw@panix.com>
2779         * grp/Makefile: Don't install the internal header grp-merge.h.
2781 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2783         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2785 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2787         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2789 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2791         [BZ #15368]
2792         * sysdeps/unix/sysv/linux/nptl-signals.h
2793         (__nptl_clear_internal_signals): New function.
2794         (__libc_signal_block_all): Likewise.
2795         (__libc_signal_block_app): Likewise.
2796         (__libc_signal_restore_set): Likewise.
2797         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2798         implementation.
2799         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2800         the cached pid/tid value in pthread structure.
2802 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2804         [BZ #20347]
2805         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2807 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2809         [BZ #20348]
2810         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2811         preadv64, pwrite64 and pwritev64.
2813 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2815         [BZ #20350]
2816         * posix/tst-preadwrite.c: Renamed to ...
2817         * posix/tst-preadwrite-common.c: This.
2818         (PREAD): Removed.
2819         (PWRITE): Likewise.
2820         (STRINGIFY): Likewise.
2821         (STRINGIFY2): Likewise.
2822         (do_prepare): Make it static and remove function arguments.
2823         (do_test): Likewise.
2824         (PREPARE): Updated.
2825         (TEST_FUNCTION): New.
2826         (name): Make it static.
2827         (fd): Likewise.
2828         (do_prepare): Use create_temp_file.
2829         (do_test): Renamed to ...
2830         (do_test_with_offset): This.  Make it static and accept offset.
2831         Properly check return value of PWRITE and PREAD.  Return bytes
2832         read.  Don't close fd nor unlink name.
2833         * posix/tst-preadwrite.c: Rewrite.
2834         * posix/tst-preadwrite64.c: Likewise.
2836 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2838         [BZ #20309]
2839         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2840         -mtls-dialect=gnu2 works.
2841         * configure: Regenerated.
2842         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2843         (tests): Add tst-gnu2-tls1.
2844         (modules-names): Add tst-gnu2-tls1mod.
2845         ($(objpfx)tst-gnu2-tls1): New.
2846         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2847         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2848         * elf/tst-gnu2-tls1.c: New file.
2849         * elf/tst-gnu2-tls1mod.c: Likewise.
2850         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2851         bytes for push in the PLT entry to align the stack.
2853 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2855         [BZ #20349]
2856         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2858 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2860         [BZ #18707]
2861         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2862         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2864 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2866         * sysdeps/unix/sysv/linux/sysdep.h
2867         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2868         guards.
2869         * misc/tst-preadvwritev-common.c: New file.
2870         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2871         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2872         a check for files larger than 2GB.
2874         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2875         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2876         * sysdeps/unix/sysv/linux/pread.c
2877         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2878         __OFF_T_MATCHES_OFF64_T.
2879         * sysdeps/unix/sysv/linux/pread64.c
2880         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2881         * sysdeps/unix/sysv/linux/preadv.c
2882         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2883         * sysdeps/unix/sysv/linux/preadv64.c
2884         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2885         * sysdeps/unix/sysv/linux/pwrite.c
2886         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2887         * sysdeps/unix/sysv/linux/pwrite64.c
2888         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2889         * sysdeps/unix/sysv/linux/pwritev.c
2890         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2891         * sysdeps/unix/sysv/linux/pwritev64.c
2892         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2894 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2896         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2897         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2899 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2901         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2903 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2905         [BZ #20240]
2906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2907         (CFLAGS-s_modf-ppc32.c): New variable.
2908         (CFLAGS-s_modff-ppc32.c): Likewise.
2909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2910         (CFLAGS-s_modf-ppc64.c): Likewise.
2911         (CFLAGS-s_modff-ppc64.c): Likewise.
2913 2016-07-07  Andreas Schwab  <schwab@suse.de>
2915         [BZ #20263]
2916         * nptl/tst-robust10.c: New test.
2917         * nptl/Makefile (tests): Add tst-robust10.
2919 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2921         [BZ #20263]
2922         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2924 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2926         * sysdeps/s390/linkmap.h (struct link_map_machine):
2927         Remove member gotplt and add member jmprel.
2928         * sysdeps/s390/s390-32/dl-machine.h
2929         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2930         instead of gotplt with &got[3].
2931         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2932         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2934 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2936         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2938 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2940         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2941         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2942         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2943         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2944         * libio/vtables.c (_IO_vtable_check)
2945         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2946         * libio/libioP.h (IO_set_accept_foreign_vtables)
2947         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2949 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2951         [BZ #20314]
2952         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2953         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2954         $(common-objpfx)cmath.
2955         ($(common-objpfx)cstdlib): New target.
2956         ($(common-objpfx)cmath): Likewise.
2958 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2960         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2962 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2964         [BZ #20327]
2965         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2966         are not part of the string.
2968 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2970         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2971         * nptl/tst-cancel4-common.h (fifoname): New variable.
2972         (fifofd): Likewise.
2973         (cl_fifo): New function.
2974         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2975         SIGINT.
2976         (tf_open): Add early cancel test.
2978 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2980         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2982 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2984         * sysdeps/generic/ldsodefs.h
2985         (dl_symbol_visibility_binds_local_p): New inline function.
2986         * elf/dl-addr.c (determine_info): Treat hidden and internal
2987         symbols as local.
2988         * elf/dl-lookup.c (do_lookup_x): Likewise.
2989         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2991 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2993         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2994         invalid exception for a sNaN input.
2995         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2996         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2997         (__nearbyint_vis3): Likewise
2998         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2999         (__nearbyintf_vis3): Likewise
3000         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3001         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3002         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3003         Likewise.
3004         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3005         Likewise.
3007 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3009         [BZ #20139]
3010         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3011         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3012         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3013         2.24 or above.
3014         (HAVE_AVX512_ASM_SUPPORT): Removed.
3015         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3016         * sysdeps/x86_64/configure: Regenerated.
3017         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3018         check unconditional.
3019         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3020         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3021         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3022         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3023         Likewise.
3024         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3025         Likewise.
3026         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3027         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3028         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3029         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3030         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3031         Likewise.
3032         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3033         Likewise.
3034         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3035         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3036         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3037         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3038         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3039         Likewise.
3040         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3041         Likewise.
3042         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3043         Likewise.
3044         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3045         Likewise.
3046         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3047         Likewise.
3048         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3049         Likewise.
3050         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3051         Likewise.
3052         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3053         Likewise.
3054         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3055         Likewise.
3056         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3057         Likewise.
3058         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3059         Likewise.
3061 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3063         [BZ #20024]
3064         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3065         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3066         of this implementation of vector function.
3067         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3068         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3069         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3070         Likewise.
3071         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3072         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3073         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3074         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3075         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3076         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3077         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3078         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3079         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3080         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3081         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3082         for testing vector sincos with fixed ABI.
3083         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3084         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3085         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3086         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3087         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3088         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3089         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3090         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3091         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3092         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3093         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3094         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3095         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3096         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3097         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3098         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3100 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3102         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3104 2016-06-30  Anton Blanchard  <anton@samba.org>
3106         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3107         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3108         s_sinf-ppc64.
3109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3112         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3114 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3117         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3118         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3119         e_expf-ppc64.
3120         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3121         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3122         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3123         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3125 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3127         [BZ #20277]
3128         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3129         when SHARED is defined.
3131 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3133         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3134         (index_arch_Prefer_ERMS): Likewise.
3135         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3136         __memcpy_erms for Prefer_ERMS.
3137         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3138         (__memmove_erms): Enabled for libc.a.
3139         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3140         __memmove_erms or Prefer_ERMS.
3141         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3142         __mempcpy_erms for Prefer_ERMS.
3143         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3144         __memset_erms for Prefer_ERMS.
3146 2016-06-30  Andreas Schwab  <schwab@suse.de>
3148         [BZ #20262]
3149         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3150         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3151         of memory.
3153 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3155         [BZ #18645]
3156         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3157         (test-extras): Add tst-cleanupx4aux.
3158         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3159         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3160         tst-cleanupx4aux.o.
3161         * nptl/tst-cleanupx4aux.c: New file.
3163 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3165         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3167 2016-06-29  Andreas Schwab  <schwab@suse.de>
3169         [BZ #20260]
3170         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3171         address before the beginning of the string as an integer to avoid
3172         array-bounds warning.
3174 2016-06-28  Richard Henderson  <rth@redhat.com>
3176         * elf/elf.h (EM_BPF): New.
3177         (EM_NUM): Update.
3178         (R_BPF_NONE, R_BPF_MAP_FD): New.
3180         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3181         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3182         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3183         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3184         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3185         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3186         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3187         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3188         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3189         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3190         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3191         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3192         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3193         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3194         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3195         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3196         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3197         (EM_NUM): Update.
3199 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3201         [BZ #18960]
3202         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3203         Set _nl_current_LC_CATEGORY_used to two instead of one.
3205 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3207         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3208         (do_test): ... this.
3209         (TEST_FUNCTION): New macro.
3210          Include test-skeleton.c.
3211         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3212         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3214 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3216         [BZ #15479]
3217         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3218         floating-point environment rather than just control word.
3219         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3220         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3221         floating-point environment, with "invalid" exceptions merged in,
3222         rather than just control word.
3223         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3224         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3225         "inexact" exceptions.
3227         [BZ #15479]
3228         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3229         floating-point environment rather than just control word.
3230         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3231         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3232         floating-point environment, with "invalid" exceptions merged in,
3233         rather than just control word.
3234         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3235         * math/libm-test.inc (floor_test_data): Do not allow spurious
3236         "inexact" exceptions.
3238         [BZ #15479]
3239         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3240         floating-point environment rather than just control word.
3241         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3242         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3243         floating-point environment, with "invalid" exceptions merged in,
3244         rather than just control word.
3245         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3246         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3247         "inexact" exceptions.
3249 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3251         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3252         __libc_vfork.
3253         (__vfork) [IS_IN (libc)]: Remove alias.
3254         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3255         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3256         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3258 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3260         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3261         of atomic_compare_and_exchange_bool_rel.
3262         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3263         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3264         catomic_compare_and_exchange_bool_rel): Remove.
3265         * sysdeps/aarch64/atomic-machine.h
3266         (atomic_compare_and_exchange_bool_rel): Likewise.
3267         * sysdeps/alpha/atomic-machine.h
3268         (atomic_compare_and_exchange_bool_rel): Likewise.
3269         * sysdeps/arm/atomic-machine.h
3270         (atomic_compare_and_exchange_bool_rel): Likewise.
3271         * sysdeps/mips/atomic-machine.h
3272         (atomic_compare_and_exchange_bool_rel): Likewise.
3273         * sysdeps/microblaze/atomic-machine.h
3274         ( __arch_compare_and_exchange_bool_8_rel,
3275         __arch_compare_and_exchange_bool_16_rel): Likewise.
3276         * sysdeps/powerpc/atomic-machine.h
3277         ( __arch_compare_and_exchange_bool_8_rel,
3278         __arch_compare_and_exchange_bool_16_rel): Likewise.
3279         * sysdeps/powerpc/powerpc32/atomic-machine.h
3280         ( __arch_compare_and_exchange_bool_32_rel,
3281         __arch_compare_and_exchange_bool_64_rel): Likewise.
3282         * sysdeps/powerpc/powerpc64/atomic-machine.h
3283         ( __arch_compare_and_exchange_bool_32_rel,
3284         __arch_compare_and_exchange_bool_64_rel): Likewise.
3285         * sysdeps/tile/atomic-machine.h
3286         (atomic_compare_and_exchange_bool_rel): Likewise.
3288 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3290         [BZ #20296]
3291         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3292         when either argument is a NaN.
3293         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3294         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3296         * math/libm-test.inc (snan_value_ld): New macro.
3297         (isgreater_test_data): Add sNaN tests.
3298         (isgreaterequal_test_data): Likewise.
3299         (isless_test_data): Likewise.
3300         (islessequal_test_data): Likewise.
3301         (islessgreater_test_data): Likewise.
3302         (isunordered_test_data): Likewise.
3303         (nextafter_test_data): Likewise.
3304         (nexttoward_test_data): Likewise.
3305         (remainder_test_data): Likewise.
3306         (remquo_test_data): Likewise.
3307         (significand_test_data): Likewise.
3308         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3310 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3312         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3313         environment macros are defined.
3314         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3316 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3318         [BZ #20191]
3319         Implement vtable verification in libio.
3320         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3321         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3322         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3323         _IO_new_file_init_internal instead of _IO_file_init.
3324         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3325         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3326         * libio/Makefile (routines): Add vtables.
3327         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3328         (_IO_init): Remove, not for internal use.
3329         (_IO_init_internal): Declare, internal replacement for _IO_init.
3330         (_IO_file_init): Remove, not for internal use.
3331         (_IO_new_file_init): Remove, not for internal use.
3332         (_IO_new_file_init_internal): Declare, internal replacement for
3333         _IO_new_file_init.
3334         (_IO_old_file_init): Remove, not for internal use.
3335         (_IO_old_file_init_internal): Declare, internal replacement for
3336         _IO_old_file_init.
3337         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3338         internal use.
3339         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3340         Declare.
3341         (libio_vtable): New macro.
3342         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3343         functions.
3344         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3345         _IO_new_file_init.
3346         (_IO_new_file_init): New externally visible wrapper which disables
3347         vtable verification.
3348         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3349         Define as vtables.
3350         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3351         (_IO_init): New externally visible wrapper which disables
3352         vtable verification.
3353         * libio/iofdopen.c (_IO_new_fdopen): Call
3354         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3355         comment.
3356         * libio/iofopen.c (__fopen_internal): Call
3357         _IO_new_file_init_internal instead of _IO_file_init.
3358         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3359         Define as vtables.
3360         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3361         _IO_new_file_init_internal instead of _IO_file_init.
3362         * libio/iopopen.c (_IO_new_popen): Likewise.
3363         (_IO_proc_jumps): Define as vtable.
3364         * libio/iovdprintf.c (_IO_vdprintf): Call
3365         _IO_new_file_init_internal instead of _IO_file_init.
3366         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3367         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3368         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3369         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3370         _IO_old_file_init.
3371         (_IO_old_file_init): New externally visible wrapper which disables
3372         vtable verification.
3373         (_IO_old_file_jumps): Define as vtable.
3374         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3375         _IO_old_file_init_internal instead of _IO_old_file_init.
3376         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3377         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3378         (_IO_old_proc_jumps): Define as vtable.
3379         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3380         Define as vtables.
3381         * libio/vtables.c: New file.
3382         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3383         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3384         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3385         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3386         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3387         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3388         instead of _IO_init.
3390 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3392         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3394 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3396         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3397         potentially unused.
3399 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3401         * test-skeleton.c (write_message): New function.
3402         * malloc/tst-mallocfork2.c (write_message): Remove.
3403         * debug/tst-longjmp_chk2.c (write_indented): New function.
3404         (write_message): Remove.
3405         (stackoverflow_handler): Call write_indented.
3407 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3409         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3410         "inexact" exceptions after fnstenv.
3411         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3412         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3413         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3415 2015-06-22  Zack Weinberg  <zackw@panix.com>
3417         * sysdeps/generic/bits/hwcap.h: Moved to ...
3418         * bits/hwcap.h: Here.
3420 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3422         * sysdeps/aarch64/memcpy.S (memcpy):
3423         Further tuning for performance.
3425 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3427         [BZ #20284]
3428         * malloc/arena.c (reused_arena): Do not return NULL if we start
3429         out with a non-corrupted arena.
3431 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3433         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3434         * misc/tst-preadvwritev.c: New file.
3435         * misc/tst-preadvwritev64.c: Likewise.
3436         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3437         usage.
3438         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3439         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3440         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3441         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3443 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3445         [BZ #19654]
3446         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3447         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3448         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3449         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3450         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3451         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3452         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3453         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3454         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3455         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3456         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3457         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3458         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3459         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3460         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3461         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3462         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3463         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3464         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3465         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3466         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3467         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3468         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3469         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3470         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3471         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3473 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3475         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3476         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3478 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3480         * sysdeps/aarch64/memcpy.S (memcpy):
3481         Rewrite of optimized memcpy and memmove.
3482         * sysdeps/aarch64/memmove.S (memmove): Remove
3483         memmove code (merged into memcpy.S).
3485 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3487         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3488         * sysdeps/generic/dl-dtv.h: New file.
3489         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3490         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3491         (dtv_t): Remove.
3492         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3493         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3494         (dtv_t): Remove.
3495         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3496         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3497         (dtv_t): Remove.
3498         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3499         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3500         (dtv_t): Remove.
3501         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3502         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3503         (dtv_t): Remove.
3504         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3505         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3506         (dtv_t): Remove.
3507         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3508         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3509         (dtv_t): Remove.
3510         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3511         (dtv_t): Remove.
3512         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3513         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3514         (dtv_t): Remove.
3515         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3516         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3517         (dtv_t): Remove.
3518         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3519         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3520         (dtv_t): Remove.
3521         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3522         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3523         (dtv_t): Remove.
3524         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3525         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3526         (dtv_t): Remove.
3527         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3528         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3529         (dtv_t): Remove.
3530         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3531         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3532         (dtv_t): Remove.
3533         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3534         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3535         (dtv_t): Remove.
3537 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3539         Revert symbol poisoning of  __malloc_initialize_hook.
3540         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3541         poisoning.
3542         * malloc/Makefile: Remove un-poisoning.
3543         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3544         instead of old__malloc_initialize_hook.
3545         * malloc/malloc-hooks.h: Likewise.
3546         * malloc/malloc.c: Likewise.
3547         * malloc/mcheck-init.c: Likewise.
3549 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3551         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3553 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3555         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3556         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3557         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3558         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3560 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3562         * NEWS: Mention addition of nextup and nextdown.
3563         * manual/arith.texi: Document nextup and nextdown.
3564         * manual/libm-err-tab.pl: Add nextup and nextdown.
3565         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3566         * math/Versions (libm): Add GLIBC_2.24.
3567         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3568         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3569         Add new test.
3570         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3571         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3572         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3573         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3574         (nextup_test_data): Likewise.
3575         (nextdown_test_data): Likewise.
3576         * math/s_nextdown.c: New file.
3577         * math/s_nextdownf.c: Likewise.
3578         * math/s_nextdownl.c: Likewise.
3579         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3580         F(nextup): New function.
3581         F(nextdown): Likewise.
3582         * math/tgmath.h: Add nextup and nextdown.
3583         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3584         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3585         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3586         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3587         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3588         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3589         Add nextup and nextdown.
3590         (CFLAGS-nldbl-nextup.c): New variable.
3591         (CFLAGS-nldbl-nextdown.c): Likewise.
3592         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3593         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3594         * sysdeps/nacl/libm.abilist: Update.
3595         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3596         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3597         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3598         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3599         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3600         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3601         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3602         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3603         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3604         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3605         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3606         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3609         Likewise.
3610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3612         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3613         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3614         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3615         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3616         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3619         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3620         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3621         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3622         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3624 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3626         * manual/pattern.texi: Fix typos & grammar errors.
3628 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3630         * manual/search.texi: Fix typos & grammar errors.
3632 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3634         * manual/message.texi: Fix typos & grammar errors.
3636 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3638         * manual/contrib.texi: Fix spelling typos.
3639         * manual/crypt.texi: Likewise.
3640         * manual/filesys.texi: Likewise.
3641         * manual/locale.texi: Likewise.
3642         * manual/message.texi: Likewise.
3643         * manual/nss.texi: Likewise.
3644         * manual/string.texi: Likewise.
3646 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3648         * manual/locale.texi: Fix typos & grammar errors.
3650 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3652         * manual/charset.texi: Fix typos & grammar errors.
3654 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3656         * manual/string.texi: Fix typos.
3658 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3660         * manual/ctype.texi: Fix typos.
3662 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3664         * manual/memory.texi: Fix various typos & grammar errors.
3666 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3668         [BZ #20255]
3669         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3670         * math/libm-test.inc (fdim_test_data): Add another test.
3672         [BZ #6796]
3673         [BZ #20255]
3674         [BZ #20256]
3675         * math/s_fdim.c: Include <math_private.h>.
3676         (__fdim): Use math_narrow_eval on result.
3677         * math/s_fdimf.c: Include <math_private.h>.
3678         (__fdimf): Use math_narrow_eval on result.
3679         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3680         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3681         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3682         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3683         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3684         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3685         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3686         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3687         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3688         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3689         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3690         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3691         overflow.  Add sNaN tests.
3693         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3694         fpclassify.
3695         * math/s_fdimf.c (__fdimf): Likewise.
3696         * math/s_fdiml.c (__fdiml): Likewise.
3698 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3700         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3701         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3703         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3704         ifunc'ed strcasecmp/strncasecmp.
3705         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3706         [EALIGN]: Removed.
3707         [END]: Likewise.
3708         [__strcasecmp]: Define instead of the above to control symbol name.
3709         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3710         for __strcasecmp_power8.
3711         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3712         for __strncasecmp_power8.
3713         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3714         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3715         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3716         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3717         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3718         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3720 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3722         [BZ #20252]
3723         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3724         arguments when second argument is a NaN.
3725         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3726         qNaN tests.
3728         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3729         (conj_test_data): Likewise.
3730         (copysign_test_data): Likewise.
3731         (creal_test_data): Likewise.
3732         (fma_test_data): Likewise.
3733         (fmod_test_data): Likewise.
3735         [BZ #20250]
3736         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3737         itself.
3738         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3739         zero input to itself.
3740         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3741         Likewise.
3742         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3743         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3744         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3745         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3746         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3748 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3750         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3751         * nptl/tst-cancel4-common.c: New file.
3752         * nptl/tst-cancel4-common.h: Likewise.
3753         * nptl/tst-cancel4.c: Move common definitions to
3754         tst-cancel4-common.{c,h} file.
3755         * nptl/tst-cancel4_1.c: New test.
3756         * nptl/tst-cancel4_2.c: New test.
3758 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3760         [BZ #20248]
3761         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3762         (write_message): New function.
3763         (stackoverflow_handler): Call it instead of printf, to avoid
3764         excessive stack usage by printf.
3765         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3767 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3769         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3770         (prio_inherit_missing): Remove define.
3771         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3772         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3773         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3774         Likewise.
3775         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3776         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3777         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3778         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3779         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3780         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3782 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3784         [BZ #19670]
3785         [BZ #19672]
3787         * io/test-lfs.c (do_prepare): Use xmalloc.
3788         * io/tst-fcntl.c (do_prepare): Likewise.
3789         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3790         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3791         * login/tst-utmp.c (do_prepare): Likewise.
3792         * posix/tst-exec.c (do_prepare): Likewise.
3793         * posix/tst-pathconf.c (prepare): Likewise.
3794         * posix/tst-spawn.c (do_prepare): Likewise.
3795         * posix/tst-truncate.c (do_prepare): Likewise.
3796         * rt/tst-aio.c (do_prepare): Likewise.
3797         * rt/tst-aio64.c (do_prepare): Likewise.
3799 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3801         [BZ #20237]
3802         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3803         (get*ent): Set entidx to NULL during initialization.  If entidx is
3804         NULL, start iteration from the beginning.
3806 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3808         * malloc/malloc.c (musable): Return correct size for dumped fake
3809         mmapped chunk.
3811 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3813         [BZ #20222]
3814         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3815         (_IO_cookie_write): Likewise.
3816         (_IO_cookie_seek): Likewise.
3817         (_IO_cookie_close): Likewise.
3818         (_IO_old_cookie_seek): Likewise.
3819         (set_callbacks): New function.
3820         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3822 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3824         * locale/programs/localedef.c (oldstyle_tables): Remove.
3825         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3827 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3829         [BZ #20240]
3830         * math/Makefile (CFLAGS-s_modf.c): New variable.
3831         (CFLAGS-s_modff.c): Likewise.
3832         (CFLAGS-s_modfl.c): Likewise.
3833         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3835 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3837         [BZ #20215]
3838         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3839         [!__GNUC_PREREQ (3,2)]: Likewise.
3841 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3843         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3844         (msghdr.msg_controllen): Likewise.
3845         (cmsghdr.cmsg_len): Likewise.
3846         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3847         ptw-oldsendmsg.
3848         (CFLAGS-oldrecvmsg.c): Remove rule.
3849         (CFLAGS-oldsendmsg.c): Likewise.
3850         (CFLAGS-recvmsg.c): Add rule.
3851         (CFLAGS-sendmsg.c): Likewise.
3852         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3853         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3854         (CFLAGS-recvmsg.c): Remove rule.
3855         (CFLAGS-sendmsg.c): Likewise.
3856         (CFLAGS-oldrecvmsg.c): Likewise.
3857         (CFLAGS-oldsendmsg.c): Likewise.
3858         (CFLAGS-recvmmsg.c): Likewise.
3859         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3860         to kernel defined interfaces.
3861         (msghdr.msg_controllen): Likewise.
3862         (cmsghdr.cmsg_len): Likewise.
3863         (msghdr.__glibc_reserved1): Remove member.
3864         (msghdr.__glibc_reserved2): Likewise.
3865         (cmsghdr.__glibc_reserved1): Likewise.
3866         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3867         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3868         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3869         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3870         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3871         version.
3872         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3873         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3874         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3875         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3876         Remove recvmsg and sendmsg.
3877         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3878         Likewise.
3879         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3880         Likewise.
3881         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3882         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3883         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3884         Likewise.
3885         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3886         Likewise.
3887         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3888         [libc] (GLIBC_2.24): Likewise.
3889         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3890         Likewise.
3891         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3892         Likewise.
3893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3894         [libc] (GLIBC_2.24): Likewise.
3895         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3896         Likewise.
3897         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3898         Likewise.
3899         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3900         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3901         Likewise.
3902         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3903         Likewise.
3904         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3905         Likewise.
3906         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3907         Likewise.
3908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3909         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3910         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3911         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3912         version for {recv,send,recm,sendm}msg.
3913         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3914         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3915         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3916         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3917         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3918         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3919         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3920         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3921         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3922         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3923         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3924         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3926         Likewise.
3927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3928         Likewise.
3929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3931         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3932         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3933         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3934         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3935         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3936         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3939         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3940         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3941         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3943 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3945         [BZ #19564]
3946         Remove __malloc_initialize_hook from the API.
3947         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3948         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3949         #pragma GCC poison.
3950         * malloc/malloc-hooks.h: New file.
3951         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3952         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3953         (old__malloc_initialize_hook): Rename from
3954         __malloc_initialize_hook to evade poisoning.  Turn into compat
3955         symbol.
3956         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3957         __malloc_initialize_hook.
3958         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3959         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3960         * manual/memory.texi (Hooks for Malloc): Remove
3961         __malloc_initialize_hook.  Adjust hook example.
3963 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3965         [BZ #20235]
3966         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3967         itself.
3968         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3969         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3971         [BZ #20234]
3972         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3973         infinity or NaN input to itself.
3975         [BZ #20233]
3976         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3977         to itself.
3979         [BZ #20232]
3980         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3981         itself.
3983 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3985         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3986         __libc_start_main via GOT.
3988 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3990         * sysdeps/x86_64/memcopy.h: New file.
3991         * sysdeps/x86_64/wordcopy.c: Likewise.
3993 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3995         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3996         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3997         <cstdlib>.
3998         (optimization_barrier): New.
3999         (do_test): Use it.  Call quick_exit in the global namespace.
4000         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4001         instead of <cstdlib>, <thread>.
4002         (optimization_barrier): New.
4003         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4004         Call quick_exit in the global namespace.
4005         (do_test): Call optimization_barrier.  Use pthread_create,
4006         pthread_join instead of std::thread.
4008 2016-06-09  Andreas Schwab  <schwab@suse.de>
4010         [BZ #19755]
4011         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4012         new entries in auto-propagate mode.
4013         * nscd/grpcache.c (cache_addgr): Likewise.
4015 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4017         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4018         New functions.
4019         (add_temp_file): Use them.
4021 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4023         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4025 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4027         [BZ #20229]
4028         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4029         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4030         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4032         [BZ #20228]
4033         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4034         itself.
4035         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4036         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4038         [BZ #20227]
4039         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4040         itself.
4041         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4042         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4043         * math/libm-test.inc (log_test_data): Add sNaN tests.
4045         [BZ #20226]
4046         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4047         itself.
4048         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4049         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4050         (exp10_test_data): Likewise.
4051         (expm1_test_data): Likewise.
4053         [BZ #20225]
4054         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4055         itself.
4056         * math/s_ldexpf.c (__ldexpf): Likewise.
4057         * math/s_ldexpl.c (__ldexpl): Likewise.
4058         * math/w_scalbln.c (__w_scalbln): Likewise.
4059         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4060         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4061         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4062         (scalbln_test_data): Likewise.
4064         [BZ #20224]
4065         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4066         argument to itself.
4067         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4069 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4071         [BZ #19776]
4072         * sysdeps/x86_64/memcpy.S: Make it dummy.
4073         * sysdeps/x86_64/mempcpy.S: Likewise.
4074         * sysdeps/x86_64/memmove.S: New file.
4075         * sysdeps/x86_64/memmove_chk.S: Likewise.
4076         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4077         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4078         * sysdeps/x86_64/memmove.c: Removed.
4079         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4080         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4081         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4082         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4083         Likewise.
4084         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4085         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4086         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4087         memcpy-sse2-unaligned, memmove-avx-unaligned,
4088         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4089         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4090         (__libc_ifunc_impl_list): Replace
4091         __memmove_chk_avx512_unaligned_2 with
4092         __memmove_chk_avx512_unaligned.  Remove
4093         __memmove_chk_avx_unaligned_2.  Replace
4094         __memmove_chk_sse2_unaligned_2 with
4095         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4096         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4097         with __memmove_avx512_unaligned.  Replace
4098         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4099         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4100         with __memcpy_chk_avx512_unaligned.  Remove
4101         __memcpy_chk_avx_unaligned_2.  Replace
4102         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4103         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4104         Replace __memcpy_avx512_unaligned_2 with
4105         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4106         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4107         with __mempcpy_chk_avx512_unaligned.  Remove
4108         __mempcpy_chk_avx_unaligned_2.  Replace
4109         __mempcpy_chk_sse2_unaligned_2 with
4110         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4111         Replace __mempcpy_avx512_unaligned_2 with
4112         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4113         Replace __mempcpy_sse2_unaligned_2 with
4114         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4115         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4116         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4117         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4118         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4119         (ENTRY): Removed.
4120         (END): Likewise.
4121         (ENTRY_CHK): Likewise.
4122         (libc_hidden_builtin_def): Likewise.
4123         Don't include ../memcpy.S.
4124         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4125         __memcpy_chk_avx512_unaligned_erms and
4126         __memcpy_chk_avx512_unaligned.  Use
4127         __memcpy_chk_avx_unaligned_erms and
4128         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4129         Default to __memcpy_chk_sse2_unaligned.
4130         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4131         Change function suffix from unaligned_2 to unaligned.
4132         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4133         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4134         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4135         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4136         (ENTRY): Removed.
4137         (END): Likewise.
4138         (ENTRY_CHK): Likewise.
4139         (libc_hidden_builtin_def): Likewise.
4140         Don't include ../mempcpy.S.
4141         (mempcpy): New.  Add a weak alias.
4142         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4143         __mempcpy_chk_avx512_unaligned_erms and
4144         __mempcpy_chk_avx512_unaligned.  Use
4145         __mempcpy_chk_avx_unaligned_erms and
4146         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4147         Default to __mempcpy_chk_sse2_unaligned.
4149 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4151         [BZ #19881]
4152         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4153         into ...
4154         * sysdeps/x86_64/memset.S: This.
4155         (__bzero): Removed.
4156         (__memset_tail): Likewise.
4157         (__memset_chk): Likewise.
4158         (memset): Likewise.
4159         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4160         defined.
4161         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4162         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4163         (__memset_zero_constant_len_parameter): Check SHARED instead of
4164         PIC.
4165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4166         memset-avx2 and memset-sse2-unaligned-erms.
4167         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4168         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4169         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4170         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4171         (__bzero): Enabled.
4172         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4173         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4174         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4175         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4176         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4177         (memset): Removed.
4178         (__memset_chk): Likewise.
4179         (MEMSET_SYMBOL): New.
4180         (libc_hidden_builtin_def): Replace __memset_sse2 with
4181         __memset_sse2_unaligned.
4182         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4183         __memset_chk_sse2 and __memset_chk_avx2 with
4184         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4185         Use __memset_chk_sse2_unaligned_erms or
4186         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4187         __memset_chk_avx512_unaligned_erms and
4188         __memset_chk_avx512_unaligned.
4190 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4192         * math/gen-auto-libm-test.c (fp_format_desc): remove
4193         suffix member.
4194         (output_generic_value): Remove usage of suffix member,
4195         and the resulting unuse of the fp_format argument.
4196         (output_for_one_input_case): Remove unused fp_format
4197         parameter.
4199         * math/auto-libm-test-out: Regenerate.
4201         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4202         usage with TEST_COND_ibm128.
4203         (TEST_COND_flt_32): Remove.
4204         (TEST_COND_dbl_64): Remove.
4205         (TEST_COND_ldbl_96_intel): Remove.
4206         (TEST_COND_ldbl_96_m68k): Remove.
4207         (TEST_COND_ldbl_128): Remove.
4209 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4211         * auto-libm-test-in:
4212         Replace flt-32 usage with binary32.
4213         Replace dbl-64 usage with binary64.
4214         Replace ldbl-intel-96 usage with intel96.
4215         Replace ldbl-m68k-96 usage with m68k96.
4216         Replace ldbl-128ibm usage with ibm128.
4217         Replace ldbl-128 usage with binary128.
4219         * auto-libm-test-out: Regenerate.
4221 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4223         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4224         (parse_ulps): Dynamically generate type name matching
4225         string from all_floats.
4226         (get_ulps): Generate the ulps as an array instead.
4227         (output_ulps): Dynamically compose the type based
4228         on the number of supported formats, and print
4229         the indices as type specific helper macros.
4231         * math/libm-test.inc: Remove comment about CHOOSE.
4232         (ulp_data): Generate the type in libm-test-ulps.h.
4233         (ULP_IDX): New macro.
4234         (find_ulps): Update usage of max_ulp.
4236         * math/test-double-vlen2.h (CHOOSE): Remove.
4237         * math/test-double-vlen4.h (CHOOSE): Likewise.
4238         * math/test-double-vlen8.h (CHOOSE): Likewise.
4239         * math/test-float.c (CHOOSE): Likewise.
4240         * math/test-float-finite.c (CHOOSE): Likewise.
4241         * math/test-double.c (CHOOSE): Likewise.
4242         * math/test-double-finite.c (CHOOSE): Likewise.
4243         * math/test-idouble.c (CHOOSE): Likewise.
4244         * math/test-ifloat.c (CHOOSE): Likewise.
4245         * math/test-ildoubl.c (CHOOSE): Likewise.
4246         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4247         * math/test-ldouble.c (CHOOSE): Likewise.
4249         * math/test-float.h (TEST_FLOAT): Remove.
4250         * math/test-double.h (TEST_DOUBLE): Likewise.
4251         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4253 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4255         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4256         (parse_args): Strip C suffix from floating point literals
4257         typed with 'f' and wrap them with LIT().
4259         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4260         (test_ff_f_data_nexttoward): Rename to
4261         (test_fj_f_data): New struct.
4262         (nexttoward_test_data): Relabel tests as
4263         TEST_fj_f instead of TEST_ff_f.
4265 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4267         Emacs bug 23726.
4268         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4269         (__libc_realloc): Correct size computation for dumped fake mmapped
4270         chunks.
4272 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4274         [BZ #20219]
4275         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4276         to itself.
4277         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4279         [BZ #20218]
4280         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4281         to itself.
4282         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4284 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4286         [BZ #20195]
4287         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4288         check to ...
4289         (init_cpu_features): Here.
4291 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4293         [BZ #20214]
4294         * sysdeps/unix/sysv/linux/bits/in.h
4295         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4296          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4297         Define to 1.
4298         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4299          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4300         Define to 0.
4301         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4302         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4304 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4306         [BZ #20198]
4307         * stdlib/Makefile (tests): Add tst-quick_exit, and
4308         tst-thread-quick_exit.
4309         [ifeq ($(have-cxx-thread_local),yes)]
4310         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4311         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4312         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4313         (LDLIBS-tst-thread-quick_exit): Likewise.
4314         [ifneq ($(have-cxx-thread_local),yes)]
4315         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4316         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4317         If run_dtors is true call __call_tls_dtors.
4318         (exit): Call __run_exit_handlers with run_dtors set to true.
4319         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4320         definition.
4321         * stdlib/quick_exit.c (quick_exit): Remove function.
4322         (__new_quick_exit): New function.
4323         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4324         function.
4325         * stdlib/tst-quick_exit.cc: New file.
4326         * stdlib/tst-thread-quick_exit.cc: New file.
4327         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4328         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4329         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4330         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4331         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4332         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4333         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4334         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4335         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4336         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4337         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4338         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4339         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4340         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4341         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4342         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4347         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4348         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4349         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4350         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4351         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4354         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4355         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4356         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4358 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4360         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4361         a typo in comments.
4363 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4365         [BZ #20213]
4366         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4367         argument to itself.
4368         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4370 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4372         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4373         required flags.
4374         (CFLAGS-pwritev64.c): Likewise.
4375         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4376         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4377         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4378         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4379         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4380         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4381         syscall from auto-generation.
4382         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4383         [WORDSIZE == 64] (pwritev64): Remove macro.
4384         [!PWRITEV] (PWRITEV): Likewise.
4385         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4386         [!PWRITEV] (PWRITE): Likewise.
4387         [!PWRITEV] (OFF_T): Likewise.
4388         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4389         (LO_HI_LONG): Remove macro.
4390         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4391         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4392         (PWRITEV): Remove macro.
4393         (PWRITEV_REPLACEMENTE): Likewise.
4394         (PWRITE): Likewise.
4395         (OFF_T): Likewise.
4396         (pwritev64): New function.
4397         * nptl/tst-cancel4.c (tf_writev): Add test.
4399         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4400         required flags.
4401         (CFLAGS-preadv64.c): Likewise.
4402         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4403         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4404         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4405         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4406         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4407         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4408         syscall from auto-generation.
4409         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4410         [WORDSIZE == 64] (preadv64): Remove macro.
4411         [!PREADV] (PREADV): Likewise.
4412         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4413         [!PREADV] (PREAD): Likewise.
4414         [!PREADV] (OFF_T): Likewise.
4415         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4416         (LO_HI_LONG): Remove macro.
4417         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4418         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4419         (PREADV): Remove macro.
4420         (PREADV_REPLACEMENTE): Likewise.
4421         (PREAD): Likewise.
4422         (OFF_T): Likewise.
4423         (preadv64): New function.
4424         * nptl/tst-cancel4.c (tf_preadv): Add test.
4426 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4428         [BZ #20212]
4429         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4430         argument to itself.
4431         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4433 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4435         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4436         New symbol defined as libc_hidden_def.
4437         (strcasestr): Became a weak alias to __strcasestr.
4438         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4439         according to multi-arch support.  Move __stpncpy hidden
4440         definition from here to...
4441         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4442         symbol stpncpy.
4443         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4444         libc_hidden_builtin_def.
4445         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4446         memset symbol to use when multi-arch support is available.
4448 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4450         * dlfcn/tst-rec-dlopen.c: Include string.h.
4452 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4454         * manual/install.texi: Remove mention of --without-tls
4455         * INSTALL: Regenerate.
4457 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4459         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4460         Remove.
4461         (call_function, interposed_malloc_called): New variables.
4462         (malloc): New function.
4463         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4464         and clear call_function as needed.
4466 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4468         * include/wchar.h (__wmemset): Use __typeof.
4470 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4472         * include/wchar.h (__wmemset): Declare function without typeof.
4474 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4476         [BZ #20205]
4477         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4478         exponent when incrementing negative subnormal with low mantissa
4479         word zero.
4480         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4481         Add another test.
4483 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4485         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4486         __wmemset instead of wmemset.
4488 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4490         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4491         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4492         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4493         __USE_KERNEL_IPV6_DEFS to 0.
4494         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4495         Update comment.
4497 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4499         [BZ #19861]
4500         Do not use IFUNC resolver with potentially unrelocated symbol.
4501         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4502         (DEFINE_FORK): Remove macro and inline definition.
4503         (fork_alias): Renamed from fork_ifunc.
4504         (__fork_alias): Renamed from __fork_ifunc.
4506 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4508         [BZ 19653]
4509         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4510         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4512 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4514         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4515         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4516         i386-linux-gnu).
4517         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4518         Set to no.
4519         * sysdeps/mach/hurd/configure: Refresh.
4521 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4523         [BZ #20178]
4524         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4525         on failure instead of exit.
4527 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4529         [BZ #3629]
4530         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4531         of POSIX.1-2008.
4533 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4535         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4536           Use PLT entry for calling _hurd_self_sigstate.
4538 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4540         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4541         available logical processors with SMT level type sharing L2
4542         cache for Intel processors.
4544 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4546         [BZ #20160]
4547         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4548         argument to itself before returning the result.
4549         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4550         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4551         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4552         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4553         Likewise.
4554         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4555         Likewise.
4556         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4557         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4558         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4559         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4560         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4561         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4563         [BZ #20160]
4564         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4565         argument to itself before returning the result.
4566         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4567         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4568         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4569         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4570         Likewise.
4571         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4572         Likewise.
4573         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4574         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4575         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4576         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4577         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4578         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4580 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4582         * libm-test.inc: Replace usage of M_El with
4583         (lit_e): New macro.
4585 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4587         * libm-test.inc: Replace usage of M_PI_4l with
4588         (lit_pi_4_d): New macro.
4590 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4592         * libm-test.inc: Replace usage of M_PIl with
4593         (lit_pi): New macro.
4595 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4597         * libm-test.inc: Replace usage of M_PI2l with
4598         (lit_pi_2_d): New macro.
4600         * math/test-double.h (LITM): New macro.
4601         * math/test-float.h (LITM): Likewise.
4602         * math/test-ldouble.h (LITM): Likewise.
4604 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4606         * libm-test.inc (M_PI_34l): Rename to
4607         (lit_pi_3_m_4_d): New Macro.
4608         (M_PI_34_LOG10El): Rename to
4609         (lit_pi_3_m_4_ln10_m_d): New Macro.
4610         (M_PI2_LOG10El): Rename to
4611         (lit_pi_2_ln10_m_d):  New Macro.
4612         (M_PI4_LOG10El): Rename to
4613         (lit_pi_4_ln10_m_d):  New Macro.
4614         (M_PI_LOG10El): Rename to
4615         (lit_pi_ln10_d):  New Macro.
4617 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4619         [BZ #20157]
4620         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4621         determine whether to negate low half if [_ARCH_PPCGR], and integer
4622         comparison otherwise.
4623         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4624         determine whether to negate low half.
4626         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4627         (NO_TEST_INLINE_DOUBLE): Likewise.
4628         (TEST_COND_x86_64): Likewise.
4629         (TEST_COND_x86): Likewise.
4630         (M_PI_6l): Likewise.
4632 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4634         * math/libm-test.inc:
4635         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4636         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4637         (TEST_LDOUBLE): Update usage to evaluate as true if
4638         the guarded tests match the property being tested.
4639         (LDBL_MAX_EXP): Change to MAX_EXP.
4640         (LDBL_MIN_EXP): Change to MIN_EXP.
4641         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4642         nexttoward tests.
4644 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4646         * math/libm-test.inc:
4647         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4648         (TYPE_MIN): Likewise.
4649         (TYPE_TRUE_MIN): Likewise.
4650         (TYPE_MAX): Likewise.
4651         (MIN_EXP): Likewise.
4652         (MAX_EXP): Likewise.
4653         (MANT_DIG): Likewise.
4655         (FSTR_MAX): New macro.
4656         (__CONCATX): Likewise.
4657         (QTYPE_STR): Likewise.
4658         (TEST_COND_binary32): Likewise.
4659         (TEST_COND_binary64): Likewise.
4660         (TEST_COND_binary128): Likewise.
4661         (TEST_COND_ibm128): Likewise.
4662         (TEST_COND_intel96): Likewise.
4663         (TEST_COND_m68k96): Likewise.
4665         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4666         (TEST_COND_dbl_64): Likewise.
4667         (TEST_COND_ldbl_96_intel): Likewise.
4668         (TEST_COND_ldbl_96_m68k): Likewise.
4669         (TEST_COND_ldbl_128): Likewise.
4670         (TEST_COND_ldbl_128ibm): Likewise.
4672         (plus_zero): Redefine using LIT macro.
4673         (minus_zero): Likewise.
4674         (plus_infty): Redefine as (INF).
4675         (minux_infty): Redefine as (-INF).
4676         (max_value): Redefine as TYPE_MAX.
4677         (min_value): Redefine as TYPE_MIN.
4678         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4680         (print_float): Refactor to use snprintf to convert FLOAT values
4681         to string. This brings it closer to dropin replacement of strtof
4682         for the TS 18661 defined types.
4683         (update_stats): Likewise.
4684         (print_complex_function_ulps): Likewise.
4685         (print_max_error): Likewise.
4686         (print_complex_max_error): Likewise.
4687         (check_float_internal): Likewise.
4689         * math/test-float.h (PREFIX): New macro.
4690         (LIT): Likewise.
4691         (TYPE_STR): Likewise.
4692         (FTOSTR): Likewise.
4694         * math/test-double.h (PREFIX): New macro.
4695         (LIT): Likewise.
4696         (TYPE_STR): Likewise.
4697         (FTOSTR): Likewise.
4699         * math/test-ldouble.h (PREFIX): New macro.
4700         (LIT): Likewise.
4701         (TYPE_STR): Likewise.
4702         (FTOSTR): Likewise.
4704 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4706         [BZ #20156]
4707         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4708         to itself when zero or not finite.
4709         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4710         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4711         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4712         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4714 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4716         [BZ #20153]
4717         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4718         x * x + x for infinities and NaNs.
4720         [BZ #20151]
4721         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4722         argument to itself before returning result.
4723         (__ieee754_y0l): Likewise.
4724         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4725         (__ieee754_y1l).
4727         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4728         (atan_test_data): Likewise.
4729         (ceil_test_data): Likewise.
4730         (cos_test_data): Likewise.
4731         (cosh_test_data): Likewise.
4732         (erf_test_data): Likewise.
4733         (exp2_test_data): Likewise.
4734         (fabs_test_data): Likewise.
4735         (floor_test_data): Likewise.
4736         (ilogb_test_data): Likewise.
4737         (j0_test_data): Likewise.
4738         (j1_test_data): Likewise.
4739         (jn_test_data): Likewise.
4740         (lgamma_test_data): Likewise.
4741         (lrint_test_data): Likewise.
4742         (llrint_test_data): Likewise.
4743         (logb_test_data): Likewise.
4744         (lround_test_data): Likewise.
4745         (llround_test_data): Likewise.
4746         (nearbyint_test_data): Likewise.
4747         (rint_test_data): Likewise.
4748         (round_test_data): Likewise.
4749         (sin_test_data): Likewise.
4750         (sincos_test_data): Likewise.
4751         (sinh_test_data): Likewise.
4752         (sqrt_test_data): Likewise.
4753         (tan_test_data): Likewise.
4754         (tanh_test_data): Likewise.
4755         (tgamma_test_data): Likewise.
4756         (trunc_test_data): Likewise.
4757         (y0_test_data): Likewise.
4758         (y1_test_data): Likewise.
4759         (yn_test_data): Likewise.
4761         * math/libm-test.inc: Update comment about NaN testing.
4762         (TEST_SNAN): New macro.
4763         (snan_value): Likewise.
4764         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4765         (fpclassify_test_data): Add sNaN tests.
4766         (isfinite_test_data): Likewise.
4767         (isinf_test_data): Likewise.
4768         (isnan_test_data): Likewise.
4769         (isnormal_test_data): Likewise.
4770         (issignaling_test_data): Likewise.
4771         (signbit_test_data): Likewise.
4772         * math/gen-libm-test.pl (%beautify): Add snan_value.
4773         (show_exceptions): Add argument $test_snan.
4774         (parse_args): Handle snan_value as non-finite.  Update call to
4775         show_exceptions.
4776         * math/Makefile (libm-test-no-inline-cflags): Add
4777         -fsignaling-nans.
4779 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4781         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4782         (CFLAGS-oldsendmsg.c): Add rule.
4783         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4784         Correct recvmsg symbol name.
4785         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4786         Likewise.
4788 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4790         * sysdeps/unix/sysv/linux/Makefile
4791         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4792         oldsendmmsg.
4793         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4794         sendmmsg.
4795         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4796         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4797         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4798         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4800         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4801         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4803         Likewise.
4804         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4805         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4806         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4807         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4808         iovlen and controllen fields to adjust to POSIX specification.
4809         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4811         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4812         and change to correct expected type.
4813         (msghdr.msg_controllen): Likewise.
4814         (cmsghdr.cmsg_len): Likewise.
4815         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4816         expected POSIX assumption about the size.
4817         (msghdr.msg_controllen): Likewise.
4818         (msghdr.__glibc_reserved1): Likewise.
4819         (msghdr.__glibc_reserved2): Likewise.
4820         (cmsghdr.cmsg_len): Likewise.
4821         (cmsghdr.__glibc_reserved1): Likewise.
4822         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4823         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4824         (CFLAGS-sendmsg.c): Remove rule.
4825         (CFLAGS-recvmsg.c): Likewise.
4826         (CFLAGS-oldsendmsg.c): Add rule.
4827         (CFLAGS-oldrecvmsg.c): Likewise.
4828         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4829         recvmsg and sendmsg.
4830         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4831         Likewise.
4832         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4833         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4834         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4835         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4836         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4837         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4838         Likewise.
4839         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4840         Likewise.
4841         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4842         Likewise.
4843         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4844         Likewise.
4845         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4846         Likewise.
4847         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4848         Likewise.
4849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4850         (GLIBC_2.24): Likewise.
4851         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4852         Likewise.
4853         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4854         Likewise.
4855         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4856         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4857         Likewise.
4858         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4859         Likewise.
4860         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4861         Likewise.
4862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4863         (GLIBC_2.24): Likewise.
4864         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4865         Likewise.
4866         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4867         Likewise.
4868         * sysdeps/unix/sysv/linux/Makefile
4869         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4870         (CFLAGS-sendmsg.c): Add rule.
4871         (CFLAGS-recvmsg.c): Likewise.
4872         (CFLAGS-oldsendmsg.c): Likewise.
4873         (CFLAGS-oldrecvmsg.c): Likewise.
4874         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4875         initialization.
4876         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4877         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4878         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4879         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4880         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4881         iovlen and controllen fields to adjust to POSIX specification.
4882         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4883         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4884         added recvmsg and sendmsg.
4885         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4886         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4887         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4888         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4889         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4890         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4891         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4892         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4893         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4894         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4895         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4896         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4898         Likewise.
4899         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4901         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4902         Likewise.
4903         Likewise.
4904         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4905         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4906         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4907         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4908         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4909         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4911         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4913         Likewise.
4914         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4915         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4917         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4918         from auto-generation.
4919         (sendmsg): Likewise.
4920         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4921         (sendmsg): Likewise.
4922         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4923         (sendmsg): Likewise.
4924         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4925         (sendmsg): Likewise.
4926         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4927         (sendmsg): Likewise.
4928         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4929         (sendmsg): Likewise.
4930         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4931         Likewise.
4932         (sendmsg): Likewise.
4933         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4934         (sendmsg): Likewise.
4935         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4936         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4937         Remove.
4938         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4939         Likewise.
4940         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4941         Undefine.
4942         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4943         Likewise.
4944         * sysdeps/unix/sysv/linux/kernel-features.h
4945         (__ASSUME_SENDMSG_SYSCALL): Define.
4946         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4947         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4948         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4949         Remove.
4950         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4951         Likewise.
4952         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4953         Undefine.
4954         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4955         Likewise.
4956         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4957         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4958         Remove.
4959         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4960         Likewise.
4961         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4962         Undefine.
4963         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4964         Likewise.
4965         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4966         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4967         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4968         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4969         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4970         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4971         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4972         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4973         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4975 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4977         * stdlib/gen-tst-strtod-round.c: Add backslash to
4978         compile command in comment.
4979         (printfp): Remove the literal suffix, and define an infinite
4980         value as INF to avoid expansion clash with INFINITY.
4981         (round_str): Remove the literal suffix.
4982         (round_for_all): Likewise, remove the now duplicate ldbl-64
4983         entry, and remove some magic constants.
4985         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4986         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4987         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4988         (_CONCAT): New macro.
4989         (CONCAT): Likewise.
4990         (CHOOSE_ld): Likewise.
4991         (CHOOSE_f): Likewise.
4992         (CHOOSE_d): Likewise.
4993         (FTYPE_MEMBER): Likewise.
4994         (BOOL_MEMBER): Likewise.
4995         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4996         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4997         (_XNTRY): Likewise.
4998         (XNTRY): Likewise.
4999         (_ENTRY): Likewise.
5000         (ENTRY): Likewise.
5001         (test_exactness): Generate members via macro.
5002         (test_results): Likewise.
5003         (test): Update members.
5004         (TEST): Redefine using new macros.
5005         (INF): New macro.
5006         (fetestmodes): New structure.
5007         (do_test): Refactor to be type generic.
5008         (test_in_one_mode): Refactor duplicate code into
5009         (GEN_ONE_TEST): New macro.
5011         * stdlib/tst-strtod-round-data.h: Regenerate.
5013         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5014         Extend to pass additional arbitrary parameters to
5015         generators.
5017 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5019         [BZ #15479]
5020         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5021         floating-point state after first floating-point operation on
5022         input.  Restore full floating-point state instead of just rounding
5023         mode.
5024         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5025         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5026         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5027         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5028         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5030         [BZ #15479]
5031         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5032         floating-point state after first floating-point operation on
5033         input.  Restore full floating-point state instead of just rounding
5034         mode.
5035         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5036         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5037         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5038         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5039         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5041 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5043         [BZ #19727]
5044         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5045         valid high surrogate.
5046         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5047         of an utf16 surrogate.
5048         * iconv/gconv_simple.c (BODY): Likewise.
5049         * iconvdata/bug-iconv12.c: New file.
5050         * iconvdata/Makefile (tests): Add bug-iconv12.
5052 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5054         [BZ #19726]
5055         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5056         outptrp in case of an illegal input.
5057         * iconv/tst-iconv6.c: New file.
5058         * iconv/Makefile (tests): Add tst-iconv6.
5060 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5062         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5063         an error in case of a value in range of an utf16 low surrogate.
5065 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5067         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5068         an error in case of a value in range of an utf16 low surrogate.
5070 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5072         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5073         Move to ...
5074         * sysdeps/s390/Makefile: ... here.
5075         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5076         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5077         (BRANCH_ON_COUNT): New define.
5078         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5079         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5080         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5081         run on s390-32, too.
5082         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5083         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5084         run on s390-32, too.
5085         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5086         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5087         run on s390-32, too.
5089 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5091         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5092         etf3eh or new vector loop-variant.
5094 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5096         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5097         etf3eh or new vector loop-variant.
5099 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5101         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5102         or new vector loop-variant.
5104 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5106         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5107         Rename to TR_LOOP and usage of tr instead of troo instruction.
5109 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5111         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5112         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5114 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5116         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5117         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5118         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5119         New override define.
5120         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5122 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5124         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5125         * sysdeps/s390/configure.ac: Add test for S390 vector register
5126         support in gcc.
5127         * sysdeps/s390/configure: Regenerated.
5129 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5131         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5132         Install file from $(objpfx)gconv-modules.
5133         ($(objpfx)gconv-modules): Concatenate architecture specific file
5134         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5135         * sysdeps/s390/gconv-modules: New file.
5136         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5137         Deleted.
5138         ($(objpfx)gconv-modules-s390): Deleted.
5139         (sysdeps-gconv-modules): New variable.
5141 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5143         [BZ #15479]
5144         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5145         of immediate operand to rounding instruction.
5146         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5147         Likewise.
5148         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5149         Likewise.
5150         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5151         Likewise.
5153 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5155         * math/libm-test.inc (MIN_EXP): Directly define as
5156         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5158 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5160         * math/libm-test.inc (MANT_DIG): Directly define as
5161         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5163 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5165         * stdlib/gen-tst-strtod-round.c (main):
5166           Change usage to more closely match the generated
5167           output.  Add usage and compilation instructions.
5168           (string_to_fp): Add and use FILE* parameter as
5169           output target.
5170           (print_fp): Likewise.
5171           (round_str): Likewise.
5172           (round_for_all): Likewise.
5173         * stdlib/tst-strtod-round.c (tests): Move into
5174         * stdlib/tst-strtod-round-data.h: New file.
5176 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5178         [BZ #15479]
5179         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5180         (__round): Do not force "inexact" exception.
5181         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5182         variable.
5183         (__round): Do not force "inexact" exception.
5184         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5185         (__roundf): Do not force "inexact" exception.
5186         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5187         (__roundl): Do not force "inexact" exception.
5188         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5189         (__roundl): Do not force "inexact" exception.
5190         * math/libm-test.inc (round_test_data): Do not allow spurious
5191         "inexact" exceptions.
5193         [BZ #15479]
5194         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5195         exception in comment.
5196         (huge): Remove variable.
5197         (__floor): Do not force "inexact" exception.
5198         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5199         "inexact" exception in comment.
5200         (huge): Remove variable.
5201         (__floor): Do not force "inexact" exception.
5202         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5203         exception in comment.
5204         (huge): Remove variable.
5205         (__floorf): Do not force "inexact" exception.
5206         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5207         exception in comment.
5208         (huge): Remove variable.
5209         (__floorl): Do not force "inexact" exception.
5211         [BZ #15479]
5212         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5213         exception in comment.
5214         (huge): Remove variable.
5215         (__ceil): Do not force "inexact" exception.
5216         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5217         "inexact" exception in comment.
5218         (huge): Remove variable.
5219         (__ceil): Do not force "inexact" exception.
5220         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5221         (__ceilf): Do not force "inexact" exception.
5222         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5223         exception in comment.
5224         (huge): Remove variable.
5225         (__ceill): Do not force "inexact" exception.
5227 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5229         * config.h.in (BIND_NOW): New.
5230         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5231         * configure: Regenerated.
5232         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5233         indirect branch via the GOT slot.
5235 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5237         [BZ #19765]
5238         * sysdeps/s390/mempcpy.S: New File.
5239         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5240         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5241         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5242         Add mempcpy variants.
5243         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5244         (memcpy): Adjust to be usable from mempcpy entry point.
5245         (__memcpy_mvcle): Likewise.
5246         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5247         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5248         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5249         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5250         (__memcpy_z10): Likewise.
5251         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5253 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5255         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5256         Remove __GI_ symbol.
5257         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5258         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5259         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5260         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5261         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5262         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5264 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5266         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5267         Use cghi instead of chi to compare 64bit value.
5269 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5271         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5272         Jump to 1MB check before executing mvc-loop.
5274 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5276         [BZ #6527]
5277         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5278         unconditionally.
5279         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5281 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5283         * stdlib/tst-strtod6.c (do_test): Use new type generic
5284         invocation of the test function.
5285         (test): Refactor into ...
5286         (TEST_STRTOD): New macro base function.
5288 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5290         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5291         (TEST_STRTOD): New macro.
5292         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5294 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5296         * stdlib/tst-strtod6.c (do_test): Use new type generic
5297         invocation of the test function.
5298         (test): Refactor into ...
5299         (TEST_STRTOD): New macro base function.
5301 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5303         CVE-2016-4429
5304         [BZ #20112]
5305         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5306         payload.
5308 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5310         [BZ #20111]
5311         * bits/sockaddr.h (_SS_SIZE): Define.
5312         * bits/socket.h (_SS_SIZE): Remove.
5313         (_SS_PADSIZE): Adjust to account for all padding.
5314         (struct sockaddr_storage): Update comment.  Avoid implicit
5315         padding.
5316         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5317         (_SS_PADSIZE): Adjust to account for all padding.
5318         (struct sockaddr_storage): Update comment.  Avoid implicit
5319         padding.
5320         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5321         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5322         (_SS_PADSIZE): Adjust to account for all padding.
5323         (struct sockaddr_storage): Update comment.  Avoid implicit
5324         padding.
5325         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5326         __SS_SIZE is 126 in this version.
5327         * inet/tst-sockaddr.c: New file.
5328         * inet/Makefile (tests): Add tst-sockaddr.c
5329         (tst-sockaddr.c): Compile with non-strict aliasing.
5331 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5333         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5334         [XPG3 || XPG4].
5335         (NL_ARGMAX): Also expect for [XPG3].
5336         (NL_LANGMAX): Likewise.
5337         (NL_MSGMAX): Likewise.
5338         (NL_NMAX): Likewise.
5339         (NL_SETMAX): Likewise.
5340         (NL_TEXTMAX): Likewise.
5341         (NZERO): Likewise.
5342         (TMP_MAX): Likewise.
5343         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5344         variable.
5346         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5347         (PF_MAX): Update value.
5348         (AF_KCM): New macro.
5349         (SOL_NETBEUI): Likewise.
5350         (SOL_LLC): Likewise.
5351         (SOL_DCCP): Likewise.
5352         (SOL_NETLINK): Likewise.
5353         (SOL_TIPC): Likewise.
5354         (SOL_RXRPC): Likewise.
5355         (SOL_PPPOL2TP): Likewise.
5356         (SOL_BLUETOOTH): Likewise.
5357         (SOL_PNPIPE): Likewise.
5358         (SOL_RDS): Likewise.
5359         (SOL_IUCV): Likewise.
5360         (SOL_CAIF): Likewise.
5361         (SOL_ALG): Likewise.
5362         (SOL_NFC): Likewise.
5363         (SOL_KCM): Likewise.
5364         (MSG_BATCH): New enum value and macro.
5366 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5368         [BZ #18185]
5369         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5370         sharing L2 cache to 2 for Knights Landing.
5372 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5374         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5375         (FTW_DP): Do not expect for [XPG3 || XPG4].
5376         (FTW_SL): Do not expect for [XPG3].
5377         (FTW_SLN): Likewise.
5378         (FTW_PHYS): Likewise.
5379         (FTW_MOUNT): Likewise.
5380         (FTW_DEPTH): Likewise.
5381         (FTW_CHDIR): Likewise.
5382         (nftw): Likewise.
5383         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5384         variable.
5386 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5388         * manual/errno.texi: Fix various typos & grammar errors.
5390 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5392         * manual/intro.texi: Fix duplicated typo.
5394 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5396         [BZ #13304]
5397         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5398         <float.h>, <math_private.h> and <stdlib.h>.
5399         (add_split): New function.
5400         (mul_split): Likewise.
5401         (ext_val): New typedef.
5402         (store_ext_val): New function.
5403         (mul_ext_val): New function.
5404         (compare): New function.
5405         (add_split_ext): New function.
5406         (__fmal): After checking for Inf, NaN and zero, compute result as
5407         an exact sum of scaled double values in round-to-nearest before
5408         adding those up and adjusting for other rounding modes.
5409         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5410         tests of fma.
5411         * math/auto-libm-test-out: Regenerated.
5413 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5415         [BZ #20119]
5416         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5417         processor level type mask for CPUID with EAX == 11.
5419 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5421         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5422         logical threads if the HTT bit is 0.
5423         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5424         (index_cpu_HTT): Likewise.
5425         (reg_HTT): Likewise.
5427 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5429         [BZ #20115]
5430         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5431         Remove alignments on jump targets.
5433 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5435         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5436         (getpwent): Likewise.
5437         (setpwent): Likewise.
5438         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5439         variable.
5441         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5442         (remque): Likewise.
5443         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5444         variable.
5446 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5448         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5449         not being tested.
5451 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5453         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5454         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5455         call.
5456         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5457         (__condvar_cleanup1): Likewise.
5459 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5461         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5462         New
5463         (__pthread_unwind): Renamed to ...
5464         (PTHREAD_UNWIND): This.
5465         (__pthread_enable_asynccancel): Replace
5466         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5468 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5470         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5471         (CLONE_NEWCGROUP): New macro.
5473         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5474         (Q_GETNEXTQUOTA): New macro.
5476 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5478         [BZ #19907]
5479         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5480         buffer updated by the previous run.
5481         * string/test-memcpy.c (do_one_test): Likewise.
5482         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5483         * string/test-memmove.c (do_one_test): Likewise.
5485 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5487         [BZ #20094]
5488         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5489         not [__USE_XOPEN].
5490         (unlockpt): Likewise.
5491         (ptsname): Likewise.
5492         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5493         variable.
5495         [BZ #20076]
5496         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5497         instead of [__USE_UNIX98].
5498         (S_ISSOCK): Likewise.
5499         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5500         variable.
5502         [BZ #20074]
5503         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5504         [__USE_POSIX].
5505         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5506         variable.
5508         [BZ #20051]
5509         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5510         (ttyslot): Do not declare.
5511         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5512         (ttyslot): New prototype.
5513         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5514         variable.
5515         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5517 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5519         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5521 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5523         Fix race condition in tst-mallocfork2, use fewer resources.
5524         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5525         to current process group.
5526         (signal_sender): Yield in the non-sleeping case.
5528 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5530         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5531         (ecvt): Likewise.
5532         (fcvt): Likewise.
5533         (gcvt): Likewise.
5534         (getsubopt): Likewise.
5535         (grantpt): Likewise.
5536         (initstate): Likewise.
5537         (l64a): Likewise.
5538         (mktemp): Likewise.
5539         (mkstemp): Likewise.
5540         (ptsname): Likewise.
5541         (random): Likewise.
5542         (realpath): Likewise.
5543         (setstate): Likewise.
5544         (srandom): Likewise.
5545         (ttyslot): Likewise.
5546         (unlockpt): Likewise.
5547         (valloc): Likewise.
5549         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5550         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5551         variable.
5553 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5555         [BZ #20072]
5556         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5557         init_cpu_features only if SHARED is defined.
5558         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5560 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5562         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5563         non-inclusive caches on Intel processors.
5565 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5567         * malloc/malloc.c (dumped_main_arena_start)
5568         (dumped_main_arena_end): New variables.
5569         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5570         (do_check_chunk): Skip dumped fake mmapped chunks.
5571         (munmap_chunk): Likewise.
5572         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5573         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5574         mmapped chunks.
5575         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5576         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5577         and dumped_main_arena_end to cover the dumped heap.
5579 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5581         * conform/data/time.h-data (getdate_err): Do not expect for
5582         [XPG3].
5583         (getdate): Likewise.
5584         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5585         variable.
5587         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5588         (F_ULOCK): Likewise.
5589         (F_TEST): Likewise.
5590         (F_TLOCK): Likewise.
5591         (useconds_t): Likewise.
5592         (intptr_t): Do not expect for [XPG3] or [XPG4].
5593         (brk): Do not expect for [XPG3]
5594         (fchown): Likewise.
5595         (fchdir): Likewise.
5596         (ftruncate): Likewise.
5597         (getdtablesize): Likewise.
5598         (gethostid): Likewise.
5599         (getpagesize): Likewise.
5600         (getpgid): Likewise.
5601         (getsid): Likewise.
5602         (getwd): Likewise.
5603         (lchown): Likewise.
5604         (lockf): Likewise.
5605         (readlink): Likewise.
5606         (sbrk): Likewise.
5607         (setpgrp): Likewise.
5608         (setregid): Likewise.
5609         (setreuid): Likewise.
5610         (symlink): Likewise.
5611         (sync): Likewise.
5612         (truncate): Likewise.
5613         (ualarm): Likewise.
5614         (usleep): Likewise.
5615         (vfork): Likewise.
5616         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5617         variable.
5619         [BZ #20054]
5620         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5621         not [__USE_UNIX98].
5622         * conform/data/unistd.h-data (gethostname): Do not expect for
5623         [XPG3].
5625         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5626         [!POSIX] (S_IFBLK): Likewise.
5627         [!POSIX] (S_IFCHR): Likewise.
5628         [!POSIX] (S_IFIFO): Likewise.
5629         [!POSIX] (S_IFREG): Likewise.
5630         [!POSIX] (S_IFDIR): Likewise.
5631         [!POSIX] (S_IFLNK): Likewise.
5632         [!POSIX] (S_IFSOCK): Likewise.
5633         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5634         variable.
5635         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5637 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5639         * sysdeps/aarch64/memset.S (__memset):
5640         Rewrite of optimized memset.
5642 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5644         [BZ #19703]
5645         Partially async-signal-safe fork for single-threaded processes.
5646         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5647         variable.  Do not acquire and reset/release malloc and libio locks
5648         in single-threaded processes.
5649         * malloc/tst-mallocfork2.c: New file.
5650         * malloc/Makefile (tests): Add it.
5652 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5654         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5655         argument.  Use scratch buffer instead of extend_alloca.
5656         (gethosts): Use scratch buffer instead of extend_alloca.
5657         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5658         extend_alloca.
5659         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5661 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5663         [BZ #20055]
5664         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5665         instead of [__USE_UNIX98].
5666         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5667         [__USE_UNIX98].
5668         * conform/data/termios.h-data (tcgetsid): Do not expect for
5669         [XPG3].
5670         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5671         variable.
5672         (test-xfail-XPG4/termios.h/conform): Likewise.
5674 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5676         Do not use mcheck in localedef.
5677         * locale/programs/localedef.c (turn_on_mcheck)
5678         (__malloc_initialize_hook): Remove.
5680 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5682         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5683         * sysdeps/s390/s390-64/Makefile: Likewise.
5685 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5687         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5688         Remove ifunc-defines.sym.
5689         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5690         Likewise.
5691         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5692         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5693         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5694         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5695         rtld-global-offsets.sym.
5696         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5697         * sysdeps/x86/cpu-features-offsets.sym: This.
5698         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5699         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5701 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5703         [BZ #20073]
5704         * io/sys/stat.h (fchmod): Declare for
5705         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5706         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5707         variable.
5709         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5710         [XPG3] (S_IFSOCK): Likewise.
5711         [XPG3] (S_ISVTX): Likewise.
5712         [XPG3] (S_ISLNK): Likewise.
5713         [XPG3] (S_ISSOCK): Likewise.
5714         [XPG3] (fchmod): Likewise.
5715         [XPG3] (lstat): Likewise.
5716         [XPG3] (mknod): Likewise.
5718         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5719         [XPG3].  Expect type long and XFAIL for [XPG4].
5720         (st_blocks): Likewise.
5722         [BZ #20044]
5723         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5724         (pthread_atfork): New prototype.
5725         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5726         variable.
5728         [BZ #20043]
5729         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5730         prototype.
5732 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5734         [BZ #20017]
5735         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5736         gmtime.
5738 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5740         [BZ #19994]
5741         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5742         flag in _res.options.
5744 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5746         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5747         [XPG3 || XPG4].
5748         (blksize_t): Likewise.
5749         (clockid_t): Likewise.
5750         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5751         variable.
5752         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5754 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5756         * sysdeps/unix/sysv/linux/s390/init-first.c:
5757         Add VDSO_SYMBOL(getcpu).
5758         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5759         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5760         Add VDSO_SYMBOL(getcpu).
5761         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5762         New define HAVE_GETCPU_VSYSCALL.
5763         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5765 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5767         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5768         instead of <sysdeps/x86_64/cacheinfo.c>.
5769         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5770         * sysdeps/x86/cacheinfo.c: Here.
5772 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5774         * malloc/malloc-internal.h: Adjust header file guard.
5776 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5778         [BZ #19787]
5779         * inet/getnameinfo.c (check_sprintf_result): New function.
5780         (CHECKED_SNPRINTF): New macro.
5781         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5782         to the host buffer.
5783         (gni_host_local): Use checked_copy to copy the host name.
5784         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5785         (gni_serv_local): Use checked_copy to copy the service name.
5786         (getnameinfo): Remove unnecessary truncation of result buffers.
5788 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5790         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5791         in case of inet_ntop failure.
5793 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5795         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5796         avoid long lines.
5797         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5798         variables.
5799         (gni_host_inet, gni_host_local): Add comment.
5800         (gni_host): Add comment.  Use temporary to avoid long lines.
5802 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5804         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5805         registers specifiers where general purpose registers specifiers should
5806         have been used.
5808 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5810         [BZ #19779]
5811         CVE-2016-1234
5812         Avoid copying names of directory entries.
5813         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5814         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5815         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5816         (struct readdir_result): New type.
5817         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5818         (GL_READDIR): New macros.
5819         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5820         (convert_dirent, convert_dirent64): New functions.
5821         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5822         convert_dirent64.  Adjust references to the readdir result.
5823         * sysdeps/unix/sysv/linux/i386/glob64.c:
5824         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5825         * posix/bug-glob2.c (LONG_NAME): Define.
5826         (filesystem): Add LONG_NAME.
5827         (my_DIR): Increase the size of room_for_dirent.
5829 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5831         [BZ #20041]
5832         * misc/sys/select.h (__need_timespec): Only define if
5833         [__USE_XOPEN2K].
5834         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5835         variable.
5836         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5837         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5838         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5840 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5841             Segher Boessenkool  <segher@gcc.gnu.org>
5843         [BZ #20004]
5844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5845         (__novec_swapcontext): Add missing load.
5847 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5849         [BZ #20023]
5850         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5851         <time.h>.
5852         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5853         variable.
5854         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5856 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5859         flags CLONE_VM compare.
5861 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5863         [BZ #20031]
5864         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5865         completely empty.
5867 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5869         [BZ #19573]
5870         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5871         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5872         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5873         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5874         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5875         (hesiod_free_list): Mark as hidden.
5876         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5877         res_set, res_get.
5878         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5879         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5880         (hesiod_init): Remove obsolete res_ninit call.
5881         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5882         (hesiod_bind): Do not call init.
5883         (get_txt_records): Use res_mkquery, res_send instead of
5884         res_nmkquery, res_nsend.
5885         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5886         instead of _nss_hesiod_init.
5887         (_nss_hesiod_initgroups_dyn): Likewise.
5888         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5889         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5890         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5892 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5894         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5895         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5897 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5899         * hesiod/hesiod.h: Remove RCS keyword.
5900         * hesiod/hesiod_p.h: Likewise.
5902         * hesiod/hesiod.c: Likewise.
5904 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5906         [BZ #12450]
5907         * locale/iso-639.def: Add Samogitian/sgs.
5909 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5911         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5913         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5915 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5916             Carlos O'Donell  <carlos@redhat.com>
5918         [BZ #19072]
5919         * grp/Makefile (headers): Add grp-merge.h
5920         (routines): Add grp-merge.
5921         * grp/getgrgid_r.c: Include grp-merge.h.
5922         (DEEPCOPY_FN): Define.
5923         (MERGE_FN): Define.
5924         * grp/getgrname_r.c: Include grp-merge.h.
5925         (DEEPCOPY_FN): Define.
5926         (MERGE_FN): Define.
5927         * grp/grp-merge.c: New file.
5928         * grp/grp-merge.h: New file.
5929         * include/grp-merge.h: New file.
5930         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5931         __copy_grp@GLIBC_PRIVATE.
5932         * manual/nss.texi (Actions in the NSS configuration): Describe
5933         return, continue, and merge.
5934         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5935         (DEEPCOPY_FN): Define.
5936         (MERGE_FN): Define.
5937         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5938         (DEEPCOPY_FN): Define.
5939         (MERGE_FN): Define.
5940         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5941         [!MERGE_FN]: Define __merge_einval.
5942         (CHECK_MERGE): Define.
5943         (REENTRANT_NAME): Process merge if do_merge is true.
5944         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5945         (__nss_getent_r): Likewise.
5946         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5947         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5949 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5951         [BZ #20012]
5952         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5953         length to calculate the buffer to read.
5954         (fmemopen_write): Set the buffer position based on bytes written.
5955         (fmemopen_seek): Return EINVAL for invalid whence modes.
5957         [BZ #19957]
5958         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5959         tst-getpid2.
5960         (test): Add tst-clone2.
5961         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5962         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5963         pid/tid fields for CLONE_VM.
5964         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5965         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5966         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5967         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5968         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5969         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5970         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5971         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5973         Likewise.
5974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5975         Likewise.
5976         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5977         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5978         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5979         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5980         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5981         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5982         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5983         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5985 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5987         [BZ #19642]
5988         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5989         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5990         (gni_serv_local, gni_serv): New functions extracted from
5991         getnameinfo.
5992         (getnameinfo): Call gni_host and gni_serv to perform the
5993         processing.  Always free scratch buffer.
5995 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5997         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5998         remaining bytes in the dest string, with zeros.
6000 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6002         [BZ #20010]
6003         CVE-2016-3706
6004         * sysdeps/posix/getaddrinfo.c
6005         (convert_hostent_to_gaih_addrtuple): New function.
6006         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6007         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6008         AF_INET data.
6010 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6012         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6013         callback function gl_readdir.
6014         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6015         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6016         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6017         memcpy to copy the name.
6018         * manual/pattern.texi (Calling Glob): Document requirements for
6019         implementations of the gl_readdir callback function.
6020         * manual/examples/mkdirent.c: New example.
6021         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6022         per the manual guidance.
6023         * posix/tst-gnuglob.c (my_readdir): Likewise.
6025 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6027         [BZ #20014]
6028         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6029         not [__USE_POSIX].
6030         (getchar_unlocked): Likewise.
6031         (putc_unlocked): Likewise.
6032         (putchar_unlocked): Likewise.
6033         (flockfile): Likewise.
6034         (ftrylockfile): Likewise.
6035         (funlockfile): Likewise.
6036         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6037         variable.
6038         (test-xfail-XPG4/stdio.h/conform): Likewise.
6040         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6041         Expect constant.
6042         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6043         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6044         variable.
6045         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6046         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6048         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6049         [__USE_LARGEFILE64] (off64_t): Likewise.
6050         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6051         variable.
6053 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6055         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6057 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6059         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6060         * resolv/res_init.c: Likewise.
6061         * resolv/res_mkquery.c: Likewise.
6063 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6065         * resolv/res_init.c (isascii): Do not define.  Use definition in
6066         <ctype.h>.
6067         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6068         (LOG_AUTH): Remove.
6069         (SPRINTF): Remove, adjust caller.
6070         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6072 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6074         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6075         SUNSECURITY conditional.
6076         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6078 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6080         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6081         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6082         Remove BSD-related preprocessor conditionals.
6083         * conf/portability.h: Remove.
6085 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6087         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6088         * resolv/res_data.c: Likewise.
6090 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6092         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6093         * resolv/res_data.c: Remove code conditional on ultrix.
6095 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6097         * resolv/res_init.c (RFC1535): Do not define.  Remove
6098         RFC1535 preprocessor conditionals.
6099         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6100         because there configuration options which make the resolver
6101         behavior different.
6103 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6105         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6106         RESOLVSORT preprocessor conditionals.
6107         * resolv/nss_dns/dns-host.c: Likewise.
6108         * resolv/res_init.c: Likewise.
6110 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6112         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6113         is never defined.
6115 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6117         * inet/inet_lnaof.c: Remove SCSS keyword.
6118         * inet/inet_mkadr.c: Likewise.
6119         * inet/inet_net.c: Likewise.
6120         * inet/inet_netof.c: Likewise.
6121         * inet/rcmd.c: Likewise.
6122         * inet/rexec.c: Likewise.
6123         * inet/ruserpass.c: Likewise.
6125 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6127         * resolv/inet_addr.c: Remove _LIBC conditionals.
6128         * resolv/res_data.c: Likewise.
6129         * resolv/res_init.c: Likewise.
6130         * resolv/res_mkquery.c: Likewise.
6131         * resolv/res_libc.c: Update comment.
6132         * resolv/README: Update.
6134 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6136         * resolv/gethnamaddr.c: Remove SCSS keyword.
6137         * resolv/herror.c: Likewise.
6138         * resolv/inet_addr.c: Likewise.
6139         * resolv/inet_net_ntop.c: Likewise.
6140         * resolv/inet_net_pton.c: Likewise.
6141         * resolv/inet_neta.c: Likewise.
6142         * resolv/inet_ntop.c: Likewise.
6143         * resolv/inet_pton.c: Likewise.
6144         * resolv/ns_date.c: Remove RCS keyword.
6145         * resolv/ns_name.c: Likewise.
6146         * resolv/ns_netint.c: Likewise.
6147         * resolv/ns_parse.c: Likewise.
6148         * resolv/ns_print.c: Likewise.
6149         * resolv/ns_samedomain.c: Likewise.
6150         * resolv/ns_ttl.c: Likewise.
6151         * resolv/nsap_addr.c: Likewise.
6152         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6153         * resolv/res_data.c: Remove RCS keyword.
6154         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6155         * resolv/res_init.c: Likewise.
6156         * resolv/res_mkquery.c: Likewise.
6157         * resolv/res_query.c: Likewise.
6158         * resolv/res_send.c: Likewise.
6160 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6162         * conform/data/stdio.h-data (fdopen): Expect also for
6163         [XPG3 || XPG4].
6165         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6166         (fseeko): Likewise.
6167         (ftello): Likewise.
6168         (ftrylockfile): Likewise.
6169         (funlockfile): Likewise.
6170         (getc_unlocked): Likewise.
6171         (getchar_unlocked): Likewise.
6172         (putc_unlocked): Likewise.
6173         (putchar_unlocked): Likewise.
6175 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6177         [BZ #19868]
6178         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6179         DNS packet syntax checks (which were not needed before).  Skip
6180         over non-PTR records.
6182 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6184         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6185         definition.  Include <stddef.h> instead.
6187 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6189         [BZ #19831]
6190         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6191         function.
6192         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6193         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6195 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6197         [BZ #19862]
6198         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6199         (getanswer_r): Do not call syslog.
6200         (gaih_getanswer_slice): Likewise.
6201         * resolv/gethnamaddr.c (AskedForGot): Remove.
6202         (getanswer): Do not call syslog.
6203         (gethostbyaddr): Likewise.
6205 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6207         * conform/data/signal.h-data (union sigval): Expect also if
6208         [XOPEN2K].
6209         (struct sigevent): Likewise.
6210         (SIGEV_NONE): Likewise.
6211         (SIGEV_SIGNAL): Likewise.
6212         (SIGEV_THREAD): Likewise.
6213         (SIGRTMIN): Likewise.
6214         (SIGRTMAX): Likewise.
6215         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6216         variable.
6217         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6219 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6221         [BZ #19830]
6222         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6223         (gaih_getanswer_slice): Likewise.
6224         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6225         Also check for availability of RR metadata.
6227 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6229         [BZ #19825]
6230         * resolv/res_send.c (send_vc): Remove early *resplen2
6231         initialization.  Set *resplen2 on socket error.  Call
6232         close_and_return_error for other errors.
6234 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6236         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6237         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6238         (SCM_IUCV_TRGCLS): New define.
6240 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6242         [BZ #20005]
6243         * libio/fmemopen.c (fmemopen_write): Update internal position after
6244         write.
6245         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6246         * stdio-common/tst-fmemopen4.c: New file..
6248 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6250         [BZ #19996]
6251         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6252         not [__USE_XOPEN2K].
6253         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6254         variable.
6256         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6257         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6258         variable.
6260         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6261         [__USE_XOPEN2K8].
6262         [__USE_LARGEFILE64] (off64_t): Likewise.
6263         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6264         variable.
6266 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6268         [BZ #19989]
6269         * libio/stdio.h (cuserid): Do not declare if
6270         [__USE_XOPEN2K && !__USE_GNU].
6271         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6272         variable.
6274 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6276         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6277         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6278         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6279         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6280         ifunc'ed strcspn.
6281         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6282         [EALIGN]: Removed.
6283         [END]: Likewise
6284         [STRSPN]: Define instead of the above to control symbol name.
6285         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6286         New file.
6287         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6288         Likewise.
6289         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6290         Likewise.
6291         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6292         Likewise.
6293         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6294         [INITIAL_MASK]: New macro.
6295         [STRCSPN]: Likewise.
6296         [UPDATE_MASK]: Likewise.
6297         [USE_AS_STRCSPN]: Lisewise.
6299 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6301         [BZ #19931]
6302         * stdio-common/tst-vfprintf-width-prec.c: New file.
6303         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6304         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6305         (generated): Add mtrace-related files.
6306         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6307         (tst-%-mem.out): New pattern rule, replaces
6308         tst-printf-bz18872-mem.out.
6309         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6310         specifier, deallocate any previously allocated work buffer.
6312 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6314         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6315         Add nop before __startcontext, add explaining comments.
6317 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6319         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6320         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6321         completely different API.
6323         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6324         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6325         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6326         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6327         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6328         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6329         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6330         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6331         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6332         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6334 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6336         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6338 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6340         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6341         when it is the default of 0.
6343 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6345         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6346         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6347         (sysdep_routines): Add new strcasestr targets.
6348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6349         (__libc_ifunc_impl_list): Likewise.
6350         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6351         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6352         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6353         * sysdeps/powerpc/powerpc64/power8/Makefile:
6354         New file to add strcasestr-ppc64 to sysdep_routines.
6355         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6356         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6358 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6360         * benchtests/Makefile (wcsmbs-benchset): Include only for
6361         native builds and runs.
6362         (LOCALES): Likewise.
6363         (bench-build): Build timing-type here instead of the bench
6364         target.  Generate locale only for native builds.
6365         * benchtests/README: Add note for cross-building.
6367         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6369         * benchtests/README: Update README to include instructions on
6370         using bench-build.
6372         * Makefile.in (bench-build): New target.
6373         * Rules (PHONY): Add bench-build target.
6374         * benchtests/Makefile (bench): Depend on bench-build.
6375         (bench-build): New target.
6377 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6379         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6380         profil_reply_port.
6381         (profile_waiter): Do not initialize profil_reply_port.
6382         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6383         frequency instead of tick length in us.
6385 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6387         [BZ #18712]
6388         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6389         (__old_mempcpy_small): Likewise.
6390         (__old_strcpy_small): Likewise.
6391         (__old_stpcpy_small): Likewise.
6392         (__old_strpbrk_c2): Fix compat symbol name.
6393         (__old_strpbrk_c3): Likewise.
6394         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6395         (__mempcpy_small): Remove.
6396         (__strcpy_small): Remove.
6397         (__stpcpy_small): Remove.
6399 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6401         [BZ #19400]
6402         * locale/iso-639.def: Add the Talossan/tzl language.
6404 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6406         [BZ #16983]
6407         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6408         comment.  Add "ln" to strchr check on postal_fmt.
6410 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6412         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6413         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6414         tel_dom_fmt.
6416 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6418         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6419         (sysdep_routines): Added __strlen_power8.
6420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6421         __strlen_power8 entry.
6422         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6423         Implementation for POWER8.
6424         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6425         for __strlen_power8.
6426         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6427         Implementation for POWER8.
6429 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6431         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6433 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6435         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6436         Goldmont and Airmont processors.
6438 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6440         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6441         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6442         (__STRING2_SMALL_GET32): Remove.
6443         (memset): Remove.
6444         (__memset_1): Remove.
6445         (__memset_gc): Remove.
6446         (__mempcpy): Remove.
6447         (mempcpy): Remove.
6448         (__mempcpy_args): Remove.
6449         (strchr): Remove.
6450         (strcpy): Remove.
6451         (strcpy_args): Remove.
6452         (__stpcpy_args): Remove.
6453         (__strcmp_cc): Remove.
6454         (__strcmp_gc): Remove.
6455         (strstr): Remove.
6457 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6459         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6460         * nis/nis_call.c (nis_server_cache_add): Likewise.
6462 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6464         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6466 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6468         * malloc/arena.c (__malloc_fork_lock_parent)
6469         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6470         internal_function attribute.
6472 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6474         * stdio-common/printf_fp.c (__printf_fp_l):
6475         Rename ___printf_fp_l to __printf_fp_l and
6476         remove strong alias. Use libc_hidden_def instead
6477         of ldbl_hidden_def macro.
6479 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6481         Remove malloc hooks from fork handler.  They are no longer needed
6482         because malloc runs right before fork, and no malloc calls from
6483         other fork handlers are not possible anymore.
6484         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6485         declarations.
6486         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6487         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6488         (atfork_recursive_cntr): Remove.
6489         (__malloc_fork_lock_parent): Do not override malloc hooks and
6490         thread_arena.
6491         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6492         thread_arena.
6493         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6494         thread_arena instead of save_arena.
6496 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6498         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6499         (thread_atfork, thread_atfork_static): Remove.
6500         * sysdeps/mach/hurd/malloc-machine.h:
6501         (thread_atfork, thread_atfork_static): Remove.
6503 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6505         [BZ #19431]
6506         Run the malloc fork handler as late as possible to avoid deadlocks.
6507         * malloc/malloc-internal.h: New file.
6508         * malloc/malloc.c: Include it.
6509         * malloc/arena.c (ATFORK_MEM): Remove.
6510         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6511         Update comment.
6512         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6513         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6514         Remove outdated comment.
6515         (ptmalloc_init): Do not call thread_atfork.  Remove
6516         thread_atfork_static.
6517         * malloc/tst-malloc-fork-deadlock.c: New file.
6518         * Makefile (tests): Add tst-malloc-fork-deadlock.
6519         (tst-malloc-fork-deadlock): Link against libpthread.
6520         * manual/memory.texi (Aligned Memory Blocks): Update safety
6521         annotation comments.
6522         * sysdeps/nptl/fork.c (__libc_fork): Call
6523         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6524         __malloc_fork_unlock_child.
6525         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6527 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6529         [BZ #19613]
6530         Remove union wait.
6531         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6532         (w_stopsig, w_stopval): Remove.
6533         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6534         stat_loc argument.
6535         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6536         (__WAIT_STATUS_DEFN): Remove.
6537         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6538         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6539         (wait, wait3, wait4): Use int * for the stat_loc argument.
6540         * posix/wait.c (__wait): Likewise.
6541         * posix/wait3.c (__wait3): Likewise.
6542         * posix/wait4.c (__wait4): Likewise.
6543         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6544         (__WAIT_STATUS_DEFN): Remove.
6545         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6546         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6547         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6548         argument.
6549         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6550         * sysdeps/posix/wait3.c (__wait3): Likewise.
6551         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6552         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6553         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6554         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6555         stat_loc argument.
6556         * manual/process.texi (BSD Wait Functions): Remove union wait.
6558 2016-04-13  Andreas Schwab  <schwab@suse.de>
6560         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6561         (test-extras): Add tst-tlsalign-vars.
6562         * math/Makefile: Wrap long lines.
6563         (libm-vec-test-wrappers): Define.
6564         (test-extras): Add $(libm-vec-test-wrappers).
6565         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6566         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6567         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6568         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6569         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6570         (extra-test-objs): Add corresponding objects.
6572 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6574         [BZ #19928]
6575         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6576         New.
6577         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6578         times of shared cache size.
6579         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6580         (VMOVNT): New.
6581         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6582         (VMOVNT): Likewise.
6583         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6584         (VMOVNT): Likewise.
6585         (VMOVU): Changed to movups for smaller code sizes.
6586         (VMOVA): Changed to movaps for smaller code sizes.
6587         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6588         comments.
6589         (PREFETCH): New.
6590         (PREFETCH_SIZE): Likewise.
6591         (PREFETCHED_LOAD_SIZE): Likewise.
6592         (PREFETCH_ONE_SET): Likewise.
6593         Rewrite to use forward and backward loops, which move 4 vector
6594         registers at a time, to support overlapping addresses and use
6595         non temporal store if size is above the threshold and there is
6596         no overlap between destination and source.
6598 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6600         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6601         Include dl-vdso.
6602         * sysdeps/unix/sysv/linux/mips/Versions: Add
6603         __vdso_clock_gettime.
6604         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6605         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6606         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6607         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6608         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6609         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6610         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6611         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6612         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6614 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6616         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6617         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6618         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6619         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6620         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6621         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6624         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6625         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6626         syscalls generation.
6627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6628         [__NR_pwrite64] (__NR_write): Remove define.
6629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6630         [__NR_pwrite64] (__NR_write): Remove define.
6631         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6632         Remove define.
6633         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6634         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6635         Remove define.
6636         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6637         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6638         Linux implementation as base.
6639         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6641         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6642         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6643         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6644         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6647         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6648         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6649         syscall generation.
6650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6651         [__NR_pread64] (__NR_pread): Remove define.
6652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6653         [__NR_pread64] (__NR_pread): Likewise.
6654         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6655         define.
6656         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6657         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6658         Remove define.
6659         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6660         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6661         Linux implementation as base.
6662         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6663         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6664         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6666         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6667         definition.
6668         (__ALIGNMENT_COUNT): Likewise.
6669         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6670         (__ALIGNMENT_COUNT): Likewise.
6671         (SYSCALL_LL): New define.
6672         (SYSCALL_LL64): Likewise.
6673         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6674         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6675         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6676         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6678         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6679         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6680         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6681         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6682         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6683         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6685 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6687         [BZ #19865]
6688         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6689         original buffer before retry.
6691 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6693         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6694         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6695         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6696         GLRO(dl_auxv) list.
6697         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6698         including <ldsodefs.h>.
6699         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6701 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6703         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6704         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6705         $(CPPFLAGS).
6707 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6709         [BZ #17950]
6710         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6711         Add -mfpmath=387.
6713 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6715         * sysdeps/i386/configure.ac: Change == to = when calling test.
6716         * sysdeps/x86_64/configure.ac: Likewise.
6717         * sysdeps/i386/configure: Regenerated.
6718         * sysdeps/x86_64/configure: Likewise.
6720 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6722         [BZ #16137]
6723         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6724         * benchtests/bench-strcoll.c (input_files): Likewise.
6725         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6726         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6727         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6729 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6731         [BZ #19929]
6732         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6733         [__USE_XOPEN2K8 && !__USE_GNU].
6734         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6735         variable.
6737         [BZ #19925]
6738         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6739         define if [!__USE_MISC && __USE_XOPEN2K].
6740         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6741         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6742         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6743         Likewise.
6744         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6745         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6746         variable.
6747         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6749 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6751         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6752         (sysdep_routines): Add new strspn targets.
6753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6754         (__libc_ifunc_impl_list): Add strspn.
6755         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6756         New file.
6757         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6758         Likewise.
6759         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6760         Likewise.
6761         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6762         Likewise.
6764 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6766         * misc/hsearch_r.c: Include <limits.h>.
6768 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6770         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6772 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6774         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6775         (MEMCPY_SYMBOL): New.
6776         (MEMPCPY_SYMBOL): Likewise.
6777         (MEMMOVE_CHK_SYMBOL): Likewise.
6778         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6779         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6780         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6781         Provide alias for memcpy in libc.a and ld.so.
6783 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6785         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6786         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6787         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6788         Disabled fro now.
6789         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6790         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6792 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6794         * benchtests/Makefile (string-benchset): Add memcpy-large,
6795         memmove-large and memset-large.
6796         * benchtests/bench-memcpy-large.c: New file.
6797         * benchtests/bench-memmove-large.c: Likewise.
6798         * benchtests/bench-memmove-large.c: Likewise.
6799         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6801 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6803         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6804         32-bit displacement to avoid long nop between instructions.
6806 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6808         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6809         a comment on VMOVU and VMOVA.
6811 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6813         [BZ #19633]
6814         Use specified locale for number formatting in strfmon_l.
6815         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6816         (__nl_lookup_word): New inline functions.
6817         * include/printf.h (__print_fp_l): Declare.
6818         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6819         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6820         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6821         (___printf_fp): New function.
6822         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6823         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6824         * stdlib/tst-strfmon_l.c (do_test): New test.
6825         * stdlib/Makefile (tests): Add kt.
6826         (LOCALES): Build additional locales.
6827         (tst-strfmon_l.out): Require locales.
6829 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6831         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6832         if not in libc.
6833         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6834         Likewise.
6835         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6836         Likewise.
6837         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6838         Likewise.
6840 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6842         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6843         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6844         with unaligned_erms.
6845         (__memmove_erms): Skip if source == destination.
6846         (__memmove_unaligned_erms): Don't check source == destination
6847         first.
6849 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6851         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6852         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6854 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6856         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6857         * string/strspn.c (strspn): Likewise.
6859 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6861         * benchtests/bench-memset.c (do_test): Support 64-byte
6862         alignment.
6863         (test_main): Test 64-byte alignment.
6865 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6867         * benchtests/bench-memmove.c (test_main): Test 64-byte
6868         alignment.
6870 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6872         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6874 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6876         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6877         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6878         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6880         * string/strpbrk.c (strpbrk): Rewrite function.
6881         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6882         (__strpbrk_c2): Likewise.
6883         (__strpbrk_c3): Likewise.
6884         * string/string-inlines.c
6885         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6886         Likewise.
6887         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6888         Likewise.
6890         * string/strspn.c (strcspn): Rewrite function.
6891         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6892         (__strspn_c1): Remove inline function.
6893         (__strspn_c2): Likewise.
6894         (__strspn_c3): Likewise.
6895         * string/string-inlines.c
6896         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6897         compatibility symbol.
6898         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6899         Likewise.
6900         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6901         Likewise.
6902         * string/string-inlines.c: Include generic version.
6904 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6905             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6907         * string/Version (libc): Add GLIBC_2.24.
6908         * string/strcspn.c (strcspn): Rewrite function.
6909         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6910         (__strcspn_c1): Remove inline function.
6911         (__strcspn_c2): Likewise.
6912         (__strcspn_c3): Likewise.
6913         * string/string-inline.c
6914         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6915         compatibility symbol.
6916         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6917         Likewise.
6918         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6919         Likewise.
6920         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6922 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6924         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6925         Use ahi instead of aghi to adjust stack pointer.
6927 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6929         [BZ #19853]
6930         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6931         TEST to take significant digits as second parameter.
6932         [TEST]: Redefine in terms of TEST_N taking 30
6933         significant digits.
6934         (do_test): Add test case to demonstrate precision
6935         failure in the ldbl-128ibm printf.
6936         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6937         (__mpn_extract_long_double): Carry 7 extra intermediate
6938         bits of precision to aide computing difference when
6939         signs differ.
6941 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6943         [BZ #19881]
6944         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6945         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6946         memset-avx512-unaligned-erms.
6947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6948         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6949         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6950         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6951         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6952         __memset_sse2_unaligned_erms, __memset_erms,
6953         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6954         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6955         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6956         file.
6957         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6958         Likewise.
6959         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6960         Likewise.
6961         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6962         Likewise.
6964 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6966         [BZ #19776]
6967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6968         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6969         memmove-avx512-unaligned-erms.
6970         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6971         (__libc_ifunc_impl_list): Test
6972         __memmove_chk_avx512_unaligned_2,
6973         __memmove_chk_avx512_unaligned_erms,
6974         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6975         __memmove_chk_sse2_unaligned_2,
6976         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6977         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6978         __memmove_avx512_unaligned_erms, __memmove_erms,
6979         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6980         __memcpy_chk_avx512_unaligned_2,
6981         __memcpy_chk_avx512_unaligned_erms,
6982         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6983         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6984         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6985         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6986         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6987         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6988         __mempcpy_chk_avx512_unaligned_erms,
6989         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6990         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6991         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6992         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6993         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6994         __mempcpy_erms.
6995         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6996         file.
6997         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6998         Likwise.
6999         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7000         Likwise.
7001         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7002         Likwise.
7004 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7006         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7007         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7008         (La_s390_64_regs): Likewise.
7009         (La_s390_32_retval): Append vector register lrv_v24.
7010         (La_s390_64_retval): Likeweise.
7011         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7012         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7013         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7014         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7016 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7018         [BZ #19916]
7019         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7020         to create a non-vector/vector version for _dl_runtime_resolve and
7021         _dl_runtime_profile. Move implementation to ...
7022         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7023         (_dl_runtime_resolve) Save and restore fpr/vrs.
7024         (_dl_runtime_profile) Save and restore vrs and fix some issues
7025         if _dl_call_pltexit is called.
7026         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7027         Choose the correct resolver function if running on a machine with vx.
7028         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7029         to create a non-vector/vector version for _dl_runtime_resolve and
7030         _dl_runtime_profile. Move implementation to ...
7031         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7032         (_dl_runtime_resolve) Save and restore fpr/vrs.
7033         (_dl_runtime_profile) Save and restore vrs and fix some issues
7034         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7035         Choose the correct resolver function if running on a machine with vx.
7037 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7039         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7041 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7043         [BZ #19509]
7044         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7045         skip_map != NULL.
7046         * elf/tst-dlsym-error.c: New file.
7047         * elf/Makefile (tests): Add tst-dlsym-error.
7048         (tst-dlsym-error): Link against libdl.
7050 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7052         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7053         (__ASSUME_FUTIMESAT): Remove macro.
7054         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7056 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7058         [BZ #19879]
7059         CVE-2016-3075
7060         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7061         copy name.
7063 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7065         [BZ #19837]
7066         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7067         error if parse_line fails.
7069 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7071         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7072         (index_cpu_ERMS): Likewise.
7073         (reg_ERMS): Likewise.
7075 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7077         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7078         PER_LINUX_FDPIC): Add.
7080 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7083         memcpy-avx512-no-vzeroupper.
7084         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7085         to ...
7086         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7087         (MEMCPY): Don't define.
7088         (MEMCPY_CHK): Likewise.
7089         (MEMPCPY): Likewise.
7090         (MEMPCPY_CHK): Likewise.
7091         (MEMPCPY_CHK): Renamed to ...
7092         (__mempcpy_chk_avx512_no_vzeroupper): This.
7093         (MEMPCPY_CHK): Renamed to ...
7094         (__mempcpy_chk_avx512_no_vzeroupper): This.
7095         (MEMCPY_CHK): Renamed to ...
7096         (__memmove_chk_avx512_no_vzeroupper): This.
7097         (MEMCPY): Renamed to ...
7098         (__memmove_avx512_no_vzeroupper): This.
7099         (__memcpy_avx512_no_vzeroupper): New alias.
7100         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7102 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7104         [BZ #18858]
7105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7106         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7107         and mempcpy-avx512-no-vzeroupper.
7108         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7109         New.
7110         (MEMPCPY): Likewise.
7111         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7112         (MEMPCPY_CHK): New.
7113         (MEMPCPY): Likewise.
7114         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7115         (MEMPCPY): Likewise.
7116         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7117         (MEMPCPY): Likewise.
7118         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7119         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7120         Likewise.
7121         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7122         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7124 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7125              Amit Pawar  <Amit.Pawar@amd.com>
7127         [BZ #19583]
7128         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7129         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7130         processors.  Set Fast_Copy_Backward for AMD Excavator
7131         processors.
7132         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7133         New.
7134         (index_arch_Fast_Unaligned_Copy): Likewise.
7135         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7136         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7138 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7140         [BZ #19791]
7141         * resolv/res_send.c (close_and_return_error): New function.
7142         (send_dg): Initialize *resplen2 after reopen failure.  Call
7143         close_and_return_error for error returns.  On error paths without
7144         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7145         successful return.
7147 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7149         [BZ# 19860]
7150         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7151         zero if the compiler does not provide the AVX512F bit.
7153 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7155         [BZ #19848]
7156         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7157         from 8 to 4.
7158         (__ieee754_powl): Compare integer exponent against 4 not 8.
7159         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7160         from 8 to 4.
7161         (__ieee754_powl): Compare integer exponent against 4 not 8.
7162         * math/auto-libm-test-in: Add more tests of pow.
7163         * math/auto-libm-test-out: Regenerated.
7164         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7167 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7169         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7170         Make code unconditional.
7171         [!__NR_utimensat]: Remove conditional code.
7172         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7173         Make code unconditional.
7174         [!__NR_utimensat]: Remove conditional code.
7175         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7176         Make code unconditional.
7177         [!__NR_utimensat]: Remove conditional code.
7179 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7181         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7182         Make code unconditional.
7184 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7186         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7187         call-clobbered %eax on retry path.
7188         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7190 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7192         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7193         Don't set %rcx twice before "rep movsb".
7195 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7197         [BZ #19583]
7198         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7199         inline.  Check family before setting family, model and
7200         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7201         bits here.
7202         (init_cpu_features): Replace HAS_CPU_FEATURE and
7203         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7204         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7205         for Intel processors with usable AVX2.  Call get_common_indeces
7206         for other processors with family == NULL.
7207         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7208         (CPU_FEATURES_ARCH_P): Likewise.
7209         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7210         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7212 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7214         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7215         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7216         $(shared-thread-library) instead of hardcoding the path to libpthread.
7218 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7220         * sysdeps/unix/sysv/linux/kernel-features.h
7221         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7222         * sysdeps/unix/sysv/linux/getdents.c
7223         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7224         [!have_no_getdents64_defined]: Likewise.
7225         (__GETDENTS): Remove __have_no_getdents64 conditional.
7227 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7229         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7230         Remove macro.
7231         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7232         <kernel-features.h>.
7233         (signalfd) [__NR_signalfd4]: Make code unconditional.
7234         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7236 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7238         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7239         style.
7241 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7243         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7244         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7245         __pthread_unwind.
7246         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7247         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7248         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7249         (__condvar_cleanup1): Likewise.
7251 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7253         [BZ #19822]
7254         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7255         move it to the final $@ location.
7257 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7259         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7260         access where posix_spawn success and pid argument is null.
7261         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7262         success case.
7264 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7266         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7268         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7270         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7271         and __fcntl.
7272         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7273         __fcntl only.
7274         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7275         adding attribute_hidden to __open and __fcntl.
7277         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7278         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7279         depend on libc-modules.h,
7280         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7282 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7284         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7285         Remove macro.
7286         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7287         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7288         entry.
7290         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7291         Remove macro.
7292         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7293         include <kernel-features.h>.
7294         [!__ASSUME_FALLOCATE]: Remove conditional code.
7295         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7297 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7299         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7300         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7301         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7302         (_ZGVdN4v_cos_avx2): Likewise.
7303         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7304         (_ZGVdN4v_cos): Likewise.
7305         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7306         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7307         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7308         (_ZGVdN4v_exp_avx2): Likewise.
7309         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7310         (_ZGVdN4v_exp): Likewise.
7311         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7312         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7313         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7314         (_ZGVdN4v_log_avx2): Likewise.
7315         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7316         (_ZGVdN4v_log): Likewise.
7317         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7318         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7319         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7320         (_ZGVdN4vv_pow_avx2): Likewise.
7321         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7322         (_ZGVdN4vv_pow): Likewise.
7323         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7324         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7325         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7326         (_ZGVdN4v_sin_avx2): Likewise.
7327         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7328         (_ZGVdN4v_sin): Likewise.
7329         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7330         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7331         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7332         (_ZGVdN4vvv_sincos_avx2): Likewise.
7333         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7334         (_ZGVdN4vvv_sincos): Likewise.
7335         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7336         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7337         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7338         (_ZGVbN4v_cosf_sse4): Likewise.
7339         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7340         (_ZGVdN8v_cosf_avx2): Likewise.
7341         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7342         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7343         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7344         (_ZGVbN4v_expf_sse4): Likewise.
7345         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7346         (_ZGVdN8v_expf_avx2): Likewise.
7347         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7348         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7349         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7350         (_ZGVbN4v_logf_sse4): Likewise.
7351         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7352         (_ZGVdN8v_logf_avx2): Likewise.
7353         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7354         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7355         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7356         (_ZGVbN4vv_powf_sse4): Likewise.
7357         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7358         (_ZGVdN8vv_powf_avx2): Likewise.
7359         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7360         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7361         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7362         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7363         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7364         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7365         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7366         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7367         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7368         (_ZGVbN4v_sinf_sse4): Likewise.
7369         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7370         (_ZGVdN8v_sinf_avx2): Likewise.
7371         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7372         Use JUMPTARGET to call callee.
7373         (WRAPPER_IMPL_SSE2_ff): Likewise.
7374         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7375         (WRAPPER_IMPL_AVX): Likewise.
7376         (WRAPPER_IMPL_AVX_ff): Likewise.
7377         (WRAPPER_IMPL_AVX_fFF): Likewise.
7378         (WRAPPER_IMPL_AVX512): Likewise.
7379         (WRAPPER_IMPL_AVX512_ff): Likewise.
7380         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7381         Likewise.
7382         (WRAPPER_IMPL_SSE2_ff): Likewise.
7383         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7384         (WRAPPER_IMPL_AVX): Likewise.
7385         (WRAPPER_IMPL_AVX_ff): Likewise.
7386         (WRAPPER_IMPL_AVX_fFF): Likewise.
7387         (WRAPPER_IMPL_AVX512): Likewise.
7388         (WRAPPER_IMPL_AVX512_ff): Likewise.
7389         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7391 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7393         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7394         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7395         qualifier.
7396         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7397         internal_function qualifiers.
7399 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7401         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7402         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7403         * math/atest-exp.c (exp_mpn): Mark chk unused.
7404         * math/atest-exp2.c (exp_mpn): Likwise.
7405         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7406         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7408 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7410         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7411         Remove macro.
7412         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7413         <kernel-features.h>.
7414         [__NR_ppoll]: Make code unconditional.
7415         [!__ASSUME_PPOLL]: Remove conditional code.
7417         * sysdeps/unix/sysv/linux/kernel-features.h
7418         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7419         (__ASSUME_ACCEPT4): Likewise.
7420         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7421         Define.
7422         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7423         Likewise.
7424         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7425         Likewise.
7426         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7427         Likewise.
7428         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7429         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7430         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7431         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7432         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7433         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7434         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7435         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7436         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7437         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7438         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7439         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7440         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7441         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7442         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7443         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7444         Likewise.
7445         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7446         Likewise.
7447         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7448         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7449         0x040300].
7450         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7451         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7452         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7453         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7454         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7455         0x030300].
7456         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7457         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7458         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7459         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7460         0x040300].
7461         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7462         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7463         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7464         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7465         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7466         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7467         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7468         0x030300].
7469         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7470         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7471         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7472         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7473         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7474         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7475         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7476         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7477         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7478         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7479         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7480         0x040300].
7481         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7482         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7483         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7484         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7485         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7486         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7487         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7488         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7489         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7490         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7491         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7492         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7493         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7494         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7495         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7496         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7497         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7498         Likewise.
7499         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7500         Likewise.
7502 2016-03-15  Andreas Schwab  <schwab@suse.de>
7504         [BZ #19257]
7505         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7506         statp->_u._ext.nscount as loop count.
7508 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7510         * math/test-signgam-finite-c99.c: Also #undef
7511         __LIBC_INTERNAL_MATH_INLINES.
7512         * math/test-signgam-main.c: Likewise.
7514 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7516         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7517         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7518         (MADV_FREE): Likewise.
7519         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7520         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7521         EPOLLEXCLUSIVE.
7523 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7525         * timezone/README: Remove mention of checktab.awk. Mention wiki
7526         SharedSourceFiles.
7528 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7530         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7531         WUNTRACED.
7533 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7535         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7536         order to match the type of p when calling atomic_exchange_acq().
7538 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7540         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7541         cfi_offset calls.
7542         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7543         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7544         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7545         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7546         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7548 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7550         * timezone/checktab.awk: Removed.
7552 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7554         * manual/math.texi (Errors in Math Functions): Document relaxed
7555         accuracy goals for IBM long double.
7556         * math/libm-test.inc (test_exceptions): Always allow spurious
7557         "underflow" and "inexact" exceptions for IBM long double.
7559 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7561         [BZ #19762]
7562         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7563         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7564         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7565         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7566         (bit_arch_*): This for feature array.
7567         (bit_*): Renamed to ...
7568         (bit_cpu_*): This for cpu array.
7569         (index_*): Renamed to ...
7570         (index_arch_*): This for feature array.
7571         (index_*): Renamed to ...
7572         (index_cpu_*): This for cpu array.
7573         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7574         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7575         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7576         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7577         bit_##name with index_cpu_##name and bit_cpu_##name.
7578         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7579         bit_##name with index_arch_##name and bit_arch_##name.
7581 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7583         [BZ #19792]
7584         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7585         Terminate FDE before return label.
7587 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7589         [BZ #19790]
7590         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7591         (rintl): Define as macro.
7592         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7593         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7594         of fesetround.  Ensure results are evaluated before end of scope.
7595         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7596         USE_AS_NEARBYINTL and include s_rintl.c.
7597         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7598         Disable exception traps in new environment.
7599         (libc_feholdsetround_ppc_ctx): Likewise.
7601 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7603         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7604         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7605         (tst_audit10_aux) [__AVX512F__]: ... here.
7607 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7609         * include/sys/auxv.h: New file.
7611 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7613         [BZ #19759]
7614         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7616 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7618         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7619         operand modifier.
7620         (feclearexcept): Likewise.
7622 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7624         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7625         to reflect the entire 32-bit HWCAP.
7626         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7627         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7629 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7631         [BZ #19783]
7632         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7633         $(test-via-rtld-prefix).
7634         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7636 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7638         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7639         union wait.  Report any non-zero exit status as error.
7641 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7643         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7644         configured with --enable-hardcoded-path-in-tests.
7646 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7648         [BZ #19677]
7649         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7650         (__ieee754_remainderl): Put zero low parts in canonical form.
7651         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7652         file.  Based on
7653         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7654         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7655         with wrapper round test-fmodrem-ldbl-128ibm.c.
7656         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7657         file.
7658         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7659         Likewise.
7660         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7661         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7663 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7665         [BZ #19610]
7666         * elf/ldconfig.c (opt_link): Update comment.
7667         (options): Update help string for option -X.
7668         (search_dir): Unlink stale symbolic link only if updating symbolic
7669         links.
7670         * elf/tst-ldconfig-X.sh: New file.
7671         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7672         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7674 2016-03-07  Andreas Schwab  <schwab@suse.de>
7676         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7677         needed arguments.
7679 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7681         [BZ #15333]
7682         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7683         to lstat64.
7685 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7687         * libio/filedoalloc.c (isatty): Remove.
7688         (local_isatty): Add comment.  Call __isatty directly.
7689         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7690         * libio/wfiledoalloc.c (isatty): Remove.
7691         (_IO_wfile_doallocate): Update comment.
7693 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7695         [BZ #19269]
7696         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7697         tst-audit4-aux.o.
7698         (tst-audit10): Depend on tst-audit10-aux.o.
7699         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7700         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7701         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7702         instead of inline AVX code.
7703         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7704         instead of inline AVX512 code.
7705         * sysdeps/x86_64/tst-audit4-aux.c: New file
7706         * sysdeps/x86_64/tst-audit10-aux.c: New file
7708         [BZ #19648]
7709         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7711 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7713         [BZ #14750]
7714         [BZ #10354]
7715         [BZ #18433]
7716         * include/sched.h (__clone): Add hidden prototype.
7717         (__clone2): Likewise.
7718         * include/unistd.h (__dup): Likewise.
7719         * posix/Makefile (tests): Add tst-spawn2.
7720         * posix/tst-spawn2.c: New file.
7721         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7722         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7723         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7724         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7725         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7726         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7727         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7728         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7729         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7730         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7731         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7733         Likewise.
7734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7735         Likewise.
7736         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7737         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7738         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7739         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7740         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7741         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7742         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7743         * sysdeps/unix/sysv/linux/nptl-signals.h
7744         (____nptl_is_internal_signal): New function.
7745         * sysdeps/unix/sysv/linux/spawni.c: New file.
7747         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7748         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7749         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7750         * posix/tst-execvp2.c (do_test): Likewise.
7751         * posix/tst-execvp3.c (do_test): Likewise.
7752         * posix/tst-execvp4.c (do_test): Likewise.
7753         * posix/tst-execvpe1.c: New file.
7754         * posix/tst-execvpe2.c: Likewise.
7755         * posix/tst-execvpe3.c: Likewise.
7756         * posix/tst-execvpe4.c: Likewise.
7757         * posix/tst-execvpe5.c: Likewise.
7758         * posix/tst-execvpe6.c: Likewise.
7760         [BZ #19534]
7761         * posix/execl.c (execl): Remove dynamic memory allocation.
7762         * posix/execle.c (execle): Likewise.
7763         * posix/execlp.c (execlp): Likewise.
7765 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7767         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7768         Replace .text with .text.avx512.
7769         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7770         Likewise.
7772 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7774         * sysdeps/generic/libnsl.abilist: New file.
7775         * sysdeps/generic/libutil.abilist: New file.
7777 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7779         [BZ #19762]
7780         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7781         HAS_ARCH_FEATURE with Fast_Rep_String.
7782         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7783         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7784         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7785         Likewise.
7786         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7787         Likewise.
7788         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7789         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7790         Likewise.
7791         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7792         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7793         Likewise.
7795 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7797         [BZ #19745]
7798         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7799         with *%rax in call.
7801 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7803         [BZ #19745]
7804         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7805         with *__libc_start_main@GOTPCREL(%rip) in call.
7807 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7809         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7810         inside conditional for nonempty $(CXX).
7812         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7813         nonempty.
7815         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7816         to test for empty $(CXX) rather than $(CXX) of "no".
7818 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7820         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7822 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7823             H.J. Lu  <hongjiu.lu@intel.com>
7825         [BZ #18880]
7826         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7827         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7828         enable __memcpy_ssse3_back.
7830 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7832         [BZ #19758]
7833         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7834         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7836 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7838         [BZ #19490]
7839         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7840         (__fentry__): Likewise.
7842 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7844         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7845         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7847 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7849         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7850         __mcount_internal directly.
7851         (C_LABEL(__fentry__)): Likewise.
7852         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7853         directly.
7855 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7857         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7858         (__start_context): Call __setcontext directly.
7860 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7862         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7863         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7864         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7865         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7866         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7867         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7868         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7869         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7870         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7871         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7872         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7873         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7874         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7875         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7876         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7877         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7878         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7879         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7880         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7881         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7882         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7883         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7884         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7885         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7886         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7887         Remove conditional code.
7888         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7889         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7890         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7891         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7892         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7893         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7894         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7895         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7896         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7897         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7898         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7899         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7901 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7903         * NEWS (2.23): Fix typo in bug 19048 text.
7905 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7907         [BZ #14259]
7908         * Makeconfig: Rename msgcatdir to localedir.
7909         Rename inst_msgcatdir to inst_localedir.
7910         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7911         * config.make.in: Add localedir.
7912         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7913         (ldd-rewrite): Likewise.
7914         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7915         (install-others): Use inst_localedir.
7916         (CPPFLAGS): Use localedir.
7917         * locale/Makefile (locale-CPPFLAGS): Likewise.
7918         * po/Makefile (mo-installed): Use inst_localedir.
7920         [BZ #19575]
7921         * localedata/charmaps/GB18030: Update comments regarding PAU to
7922         non-PUA mappings.
7924 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7926         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7927         test for header.
7928         * sysdeps/unix/sysv/linux/configure: Regenerated.
7929         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7930         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7931         Remove conditional code.
7932         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7934         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7935         Define to 3.2.0.
7936         (arch_minimum_kernel): Likewise.
7937         * sysdeps/unix/sysv/linux/configure: Regenerated.
7938         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7939         Define to 2.6.32.
7940         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7941         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7942         (arch_minimum_kernel): Define to 2.6.32.
7943         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7944         * README: Document Linux 3.2 requirement.
7945         * manual/install.texi (Linux): Document Linux 3.2 headers
7946         requirement.
7947         * INSTALL: Regenerated.
7949 2016-02-24  Andreas Schwab  <schwab@suse.de>
7951         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7952         if !NO_LONG_DOUBLE.
7954 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7956         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7957         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7959 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7961         [BZ #19512]
7962         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7964 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7966         * posix/tst-dir.c: Include libc-internal.h.
7968 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7970         [BZ #19056]
7971         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7972         * manual/filesys.texi (Reading/Closing Directory): Mention
7973         deprecaion.
7974         * posix/tst-dir.c (main): Disable deprecation warning in test.
7976 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7978         [BZ #19679]
7979         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7980         Renamed to ...
7981         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7982         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7983         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7984         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7985         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7986         * sysdeps/x86_64/dl-trampoline.h
7987         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7988         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7990 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7992         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7994 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7996         * elf/elf.h (R_386_GOT32X): New.
7997         (R_386_NUM): Update.
7998         (R_X86_64_GOTPCRELX: New.
7999         (R_X86_64_REX_GOTPCRELX): New.
8000         (R_X86_64_NUM): Update.
8002 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8004         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8006 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8008         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8009         assign attr->stackaddr to it, and adjust it down when
8010         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8011         [_STACK_GROWS_UP]: Delete assert.
8012         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8013         Implement stack grows up logic.
8014         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8015         stack grows up logic.
8017 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8019         * NEWS: Update with 2.24 template.
8021 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8023         [BZ #19678]
8024         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8025         Ensure +0.0 is returned when taking the next value below the least
8026         positive value.
8028 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8030         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8031         available.  Do not define NO_THREADS.
8032         * malloc/malloc.c: Do not check NO_THREADS.
8033         * malloc/arena.c: Likewise.
8035 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8037         * malloc/malloc.c (__libc_mallinfo): Update comment.
8038         (struct malloc_par): Remove max_total_mem member, it was always 0.
8039         (int_mallinfo): Store 0 into usmblks (no functional change).
8040         * malloc/hooks.c (struct malloc_state): Document that
8041         max_total_mem is always 0.
8042         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8043         always 0.
8044         * manual/memory.texi (Statistics of Malloc): Likewise.
8046 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8048         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8049         * malloc/arena.c (arena_max): Remove.
8050         (heap_trim, _int_new_arena): Do not update arena_max.
8052 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8054         * resolv/res_init.c (res_ninit): Update comment.
8056 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8058         [BZ #19505]
8059         * posix/spawn_int.h: Add headers and include guard.
8060         (__spawn_valid_fd): New function.
8061         * posix/spawn_faction_addopen.c
8062         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8063         * posix/spawn_faction_addclose.c
8064         (posix_spawn_file_actions_addclose): Likewise.
8065         * posix/spawn_faction_adddup2.c
8066         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8067         second file descriptor.
8068         * posix/spawn_valid_fd.c: New file.
8069         * posix/tst-posix_spawn-fd.c: New file.
8070         * posix/Makefile (routines): Add spawn_valid_fd.
8071         (tests): Add tst-posix_spawn-fd.
8073 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8075         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8076         (do_test): Limit the number of arenas, so that we can use fewer
8077         outer threads.  Limit timeout to 3 seconds, in preparation for a
8078         larger TIMEOUT value.
8080 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8082         [BZ #19674]
8083         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8084         sign in overflowing and underflowing results when overflow or
8085         underflow is detected early.  Include sign in result before rather
8086         than after scaling.
8088         [BZ #19603]
8089         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8090         (__ieee754_remainderl): Adjust sign of integer version of low part
8091         when taking absolute value of high part.
8092         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8093         * math/libm-test.inc (remainder_test_data): Add another test.
8094         (remquo_test_data): Likewise.
8096 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8098         [BZ #19602]
8099         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8100         equal high parts and both low parts zero specially.
8101         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8102         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8103         Add test-fmodl-ldbl-128ibm.
8105         [BZ #19595]
8106         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8107         common logic for all cases of shifting subnormal results.  Do not
8108         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8109         exponent to ldbl_insert_mantissa in subnormal case.
8111         [BZ #19594]
8112         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8113         on high and low parts then adjust result and use
8114         ldbl_canonicalize_int if needed.
8116         [BZ #19593]
8117         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8118         on high part and __floor or __ceil on low part then use
8119         ldbl_canonicalize_int if needed.
8121         [BZ #19592]
8122         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8123         high and low parts then use ldbl_canonicalize_int if needed.
8125         [BZ #17899]
8126         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8127         New function.
8128         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8129         on high and low parts then use ldbl_canonicalize_int if needed.
8131 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8133         * configure: Regenerated.
8135         * po/libc.pot: Regenerated.
8137         * po/be.po: Updated translation.
8138         * po/bg.po: Likewise.
8139         * po/ca.po: Likewise.
8140         * po/cs.po: Likewise.
8141         * po/da.po: Likewise.
8142         * po/el.po: Likewise.
8143         * po/eo.po: Likewise.
8144         * po/es.po: Likewise.
8145         * po/fi.po: Likewise.
8146         * po/fr.po: Likewise.
8147         * po/gl.po: Likewise.
8148         * po/hr.po: Likewise.
8149         * po/hu.po: Likewise.
8150         * po/ia.po: Likewise.
8151         * po/id.po: Likewise.
8152         * po/it.po: Likewise.
8153         * po/ja.po: Likewise.
8154         * po/lt.po: Likewise.
8155         * po/nb.po: Likewise.
8156         * po/nl.po: Likewise.
8157         * po/pt_BR.po: Likewise.
8158         * po/rw.po: Likewise.
8159         * po/sk.po: Likewise.
8160         * po/sl.po: Likewise.
8161         * po/sv.po: Likewise.
8162         * po/tr.po: Likewise.
8163         * po/zh_CN.po: Likewise.
8164         * po/zh_TW.po: Likewise.
8166         * version.h (RELEAES): Set to "development".
8167         (VERSION): Set to 2.23.90.
8169         * version.h (RELEASE): Set to "stable".
8170         (VERSION): Set to 2.23.
8171         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8173         * NEWS: Updated fixed bugs.
8175 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8176             Wilco Dijkstra  <wdijkstr@arm.com>
8178         [BZ #19462]
8179         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8180         (_STRING_INLINE_unaligned): This.
8181         * include/string.h: Include <string_private.h>.
8182         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8183         _STRING_INLINE_unaligned.
8184         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8185         (_STRING_INLINE_unaligned): New.
8186         * sysdeps/aarch64/string_private.h: New file.
8187         * sysdeps/generic/string_private.h: Likewise.
8188         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8189         * sysdeps/s390/string_private.h: Likewise.
8190         * sysdeps/x86/string_private.h: Likewise.
8191         * sysdeps/m68k/m680x0/m68020/bits/string.h
8192         (_STRING_ARCH_unaligned): Renamed to ...
8193         (_STRING_INLINE_unaligned): This.
8194         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8195         to ...
8196         (_STRING_INLINE_unaligned): This.
8197         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8198         to ...
8199         (_STRING_INLINE_unaligned): This.
8200         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8201         to ...
8202         (_STRING_INLINE_unaligned): This.
8204 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8205             H.J. Lu  <hongjiu.lu@intel.com>
8207         [BZ #19590]
8208         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8209         relocation.
8211 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8213         [BZ #18665]
8214         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8215         *herrno_p.
8216         (gaih_getanswer): Document functional behviour. Return tryagain
8217         if any result is tryagain.
8218         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8219         when freed.
8220         * resolv/res_send.c: Add copyright text.
8221         (__libc_res_nsend): Document that MAXPACKET is expected.
8222         (send_vc): Document. Remove buffer reuse.
8223         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8224         size of the buffer. Add Dprint for truncated UDP buffer.
8226 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8228         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8229         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8230         * INSTALL: Regenerate.
8232 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8233             Jonathan Wakely  <jwakely@redhat.com>
8234             Carlos O'Donell  <carlos@redhat.com>
8236         [BZ 19439]
8237         * math/Makefile (tests): Add test-math-isinff.
8238         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8239         * math/bits/mathcalls.h [__USE_MISC]: Use
8240         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8241         functions not in C++11 and which don't conflict e.g. isinff,
8242         isinfl etc.
8243         * math/test-math-isinff.cc: New file.
8245 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8247         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8249 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8251         [BZ #19529]
8252         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8254 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8256         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8258 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8260         [BZ #19550]
8261         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8262         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8263         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8264         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8265         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8266         New syscall entry.
8267         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8268         New syscall entry.
8269         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8270         syscall entry.
8272 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8274         [BZ #18240]
8275         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8276         unsigned int wraparound.
8278 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8280         [BZ #18240]
8281         * misc/bug18240.c: New test.
8282         * misc/Makefile (tests): Add it.
8284 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8285             Joseph Myers  <joseph@codesourcery.com>
8287         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8288         load in branch delay slot when less than a word of input left.
8290 2016-01-27  Andreas Schwab  <schwab@suse.de>
8292         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8293         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8294         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8295         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8297 2016-01-26  David S. Miller  <davem@davemloft.net>
8299         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8301 2016-01-25  David S. Miller  <davem@davemloft.net>
8303         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8304         __sqrtl_finite.
8305         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8306         instead using versioned_symbol.
8307         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8308         of entries.
8310         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8311         __sqrtl_finite to GLIBC_2.23
8313 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8315         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8317 2016-01-25  Andreas Schwab  <schwab@suse.de>
8319         [BZ #17514]
8320         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8321         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8322         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8323         * nptl/tst-mutex-errorcheck.c: New file.
8325 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8327         [BZ #18560]
8328         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8329         (IPCOP_semop): Likewise.
8330         (IPCOP_semget): Likewise.
8331         (IPCOP_semctl): Likewise.
8332         (IPCOP_msgsnd): Likewise.
8333         (IPCOP_msgrcv): Likewise.
8334         (IPCOP_msgget): Likewise.
8335         (IPCOP_msgctl): Likewise.
8336         (IPCOP_shmat): Likewise.
8337         (IPCOP_shmdt): Likewise.
8338         (IPCOP_shmget): Likewise.
8339         (IPCOP_shmctl): Likewise.
8341 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8343         * string/tst-endian.c: Include <libc-internal.h>.
8344         (do_test): Ignore tautological-compare warnings around
8345         "htobeXX (beXXtoh (i)) != i" and
8346         "htoleXX (leXXtoh (i)) != i" if-statements.
8348 2016-01-24  David S. Miller  <davem@davemloft.net>
8350         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8351         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8352         alias.
8353         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8354         __sqrtl_finite.
8356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8358 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8360         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8361         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8362         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8364 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8366         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8367         (thread_func): Use new function to simplify barrier check.
8368         (do_test): Use new function to simplify checking barrier exit
8369         code, and actually join the child thread.
8371 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8373         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8374         semicolon.
8375         (__libc_tend): Likewise.
8376         (__libc_tabort): Likewise.
8378 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8380         * sysdeps/nios2/libm-test-ulps: Update.
8381         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8382         (__gtsf2): Likewise.
8383         (__unorddf2): Likewise.
8384         (__unordsf2): Likewise.
8385         (__ledf2): Likewise.
8387 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8389         * nis/nis_table.c (__follow_path): Disable diagnostic for
8390         uninitialized variable that is a false positive for gcc 4.7.
8391         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8393 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8395         * sysdeps/nacl/lowlevellock-futex.h
8396         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8397         Always evaluate PRIVATE argument.
8399 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8401         [BZ #19490]
8402         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8403         (pthread_cond_broadcast): Use ENTRY/END
8404         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8405         (pthread_cond_signal): Likewise.
8406         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8407         Likewise.
8408         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8409         Likewise.
8410         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8411         Likewise.
8413 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8415         * sysdeps/ieee754/dbl-64/s_finite.c
8416         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8417         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8418         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8419         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8420         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8423         (__gtsf2): Add as optional for libc.so.
8424         (__unordsf2): Likewise.
8425         (__signbit): Remove for libc.so.
8426         (__signbitl): Likewise.
8428 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8430         * iconvdata/bug-iconv11.c (test_ibm93x):
8431         Use %zu printf format specifier for size_t argument.
8433 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8435         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8436         already-recorded ulps.
8437         * sysdeps/arm/libm-test-ulps: Regenerated.
8438         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8439         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8440         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8442 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8443             Paul Pluzhnikov  <ppluzhnikov@google.com>
8445         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8446         assembler not supporting AVX-512.
8448 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8450         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8452 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8454         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8455         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8457         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8459         * sysdeps/arm/libm-test-ulps: Regenerated.
8461 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8463         [BZ #19451]
8464         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8466 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8468         [BZ #19486]
8469         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8470         * sysdeps/generic/fix-fp-int-convert-overflow.h
8471         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8472         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8473         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8474         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8475         Likewise.
8476         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8477         Avoid conversions to long int where inexact exceptions
8478         could be raised.
8479         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8480         Likewise.
8481         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8482         Avoid conversions to long long int where inexact exceptions
8483         could be raised.
8484         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8485         Likewise.
8487 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8489         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8490         * configure: Regenerated.
8492 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8494         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8496 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8498         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8499         outside of comment.
8501 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8503         * nptl/tst-barrier1.c: Add description on first line.
8504         * nptl/tst-barrier2.c: Likewise.
8505         * nptl/tst-barrier3.c: Likewise.
8506         * nptl/tst-barrier4.c: Likewise.
8507         * nptl/tst-barrier5.c: Likewise.
8509 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8511         [BZ #18868]
8512         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8514 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8516         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8517         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8518         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8519         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8520         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8521         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8522         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8523         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8524         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8525         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8526         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8528 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8530         [BZ #13065]
8531         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8532         new implementation.
8533         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8534         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8535         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8536         (BARRIER_IN_THRESHOLD): New macro.
8537         * nptl/pthread_barrierattr_setpshared.c
8538         (pthread_barrierattr_setpshared): Clean up.
8539         * nptl/tst-barrier4.c: Correct comment.
8540         * nptl/tst-barrier5.c: New file.
8541         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8542         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8543         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8544         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8545         * nptl/lowlevelbarrier.sym: Remove.
8546         * nptl/DESIGN-barrier.txt: Remove.
8547         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8548         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8549         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8550         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8551         error.
8552         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8553         implementation.
8555 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8557         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8558         (do_child): Mask SIGRTMIN while thr is running.
8560 2016-01-15  Martin Sebor  <msebor@redhat.com>
8562         [BZ #19432]
8563         * iconvdata/Makefile: Add bug-iconv11.
8564         * iconvdata/bug-iconv11.c: New test.
8565         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8566         * iconvdata/ibm933.c: Same.
8567         * iconvdata/ibm935.c: Same.
8568         * iconvdata/ibm937.c: Same.
8569         * iconvdata/ibm939.c: Same.
8571 2016-01-15  Martin Sebor  <msebor@redhat.com>
8573         [BZ #19443]
8574         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8575         [DEBUG] (_ufc_set_bits): Declare used.
8576         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8577         [DEBUG] (print_all): Declare used.
8578         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8579         operands of the ternary ?: expression to target type.
8580         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8581         calling the undeclared abort.
8582         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8584 2016-01-15  Martin Sebor  <msebor@redhat.com>
8586         [BZ #18755]
8587         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8588         warnings.
8589         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8590         (__gai_create_helper_thread): Same.
8591         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8592         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8593         to suppress -Wmaybe-uninitialized warnings.
8595 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8597         [BZ #19465]
8598         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8599         inside if.
8600         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8601         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8602         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8604 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8606         [BZ #19466]
8607         * time/tst-mktime2.c (time_t_max): Removed.
8608         (time_t_min): Likewise.
8609         (TYPE_SIGNED): New.
8610         (TYPE_MINIMUM): Likewise.
8611         (TYPE_MAXIMUM): Likewise.
8612         (TIME_T_MIN): Likewise.
8613         (TIME_T_MAX): Likewise.
8614         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8615         and TIME_T_MIN.
8616         (do_test): Likewise.
8618 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8620         [BZ #19467]
8621         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8622         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8624 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8626         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8628 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8630         * benchtests/Makefile (PYTHON): Define.
8631         (bench-func): Use $(PYTHON) to run python scripts.
8632         ($(objpfx)bench-%.c): Likewise.
8634 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8636         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8637         leading slash when `file_name' is "/".
8639 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8641         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8642         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8643         Likewise.
8644         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8645         Likewise.
8646         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8647         Likewise.
8648         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8649         enum constant and macro.
8650         (PTRACE_SETSIGMASK): Likewise.
8651         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8652         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8653         (PTRACE_GETSIGMASK): Likewise.
8654         (PTRACE_SETSIGMASK): Likewise.
8655         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8656         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8657         Likewise.
8658         (PTRACE_SETSIGMASK): Likewise.
8659         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8660         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8661         (PTRACE_GETSIGMASK): Likewise.
8662         (PTRACE_SETSIGMASK): Likewise.
8663         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8664         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8665         Likewise.
8666         (PTRACE_SETSIGMASK): Likewise.
8667         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8668         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8669         Likewise.
8670         (PTRACE_SETSIGMASK): Likewise.
8671         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8672         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8673         Likewise.
8674         (PTRACE_SETSIGMASK): Likewise.
8675         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8677 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8678             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8680         [BZ #19439]
8681         * math/bits/mathcalls.h
8682         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8683         prototype.
8684         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8686 2016-01-11  Andreas Schwab  <schwab@suse.de>
8688         [BZ #19253]
8689         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8690         cache when TZDEFRULES was used.
8691         * time/tst-tzname.c: New file.
8692         * time/Makefile (test): Add tst-tzname.
8693         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8694         * timezone/Makefile (test-zones): Add $(posixrules-file).
8695         ($(testdata)/$(posixrules-file)): New rule.
8697 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8699         Fix doc quoting problems with Texinfo 5
8700         Without this change, in the info file output, Texinfo 5 quotes code
8701         in text with undirected single quotes 'like this' and generates
8702         code examples that with many PDF readers cannot be cut out of PDFs
8703         and pasted into code.
8704         * manual/libc.texinfo: Configure the libc manual like the GNU
8705         Emacs manual, by using @documentencoding and setting
8706         txicodequoteundirected and txicodequotebacktick.  This way,
8707         Texinfo 5 quotes code in text with directed single quotes ‘like
8708         this’ and produces examples that can be cut out of PDFs.  This
8709         change causes Texinfo 5 to generate info files that contain UTF-8
8710         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8711         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8713 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8715         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8716         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8717         barriers to their respective compiler built-ins.
8718         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8719         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8720         * sysdeps/powerpc/sysdep.h: Likewise.
8721         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8722         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8723         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8725 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8727         * scripts/config.guess: Revert previous shebang change.
8728         * scripts/config.sub: Likewise.
8729         * scripts/mkinstalldirs: Likewise.
8731 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8733         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8734         PPC_FEATURE2_HAS_IEEE128.
8735         * sysdeps/powerpc/dl-procinfo.c:
8736         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8738 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8740         [BZ #19415]
8741         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8742         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8743         (_dl_lookup_address): Rewrite using function resolver trampoline.
8744         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8745         two bits in address.
8747 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8749         * longlong.h: Change !__SHMEDIA__ to
8750         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8751         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8753 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8754             Joseph Myers  <joseph@codesourcery.com>
8755             Mark Shinwell  <shinwell@codesourcery.com>
8756             Andrew Stubbs  <ams@codesourcery.com>
8757             Rich Felker <dalias@libc.org>
8759         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8761 2016-01-07  Richard Henderson  <rth@redhat.com>
8763         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8765 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8767         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8768         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8769         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8770         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8771         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8773 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8774             Joseph Myers  <joseph@codesourcery.com>
8776         * timezone/private.h: Update from tzcode 2015g.
8777         * timezone/tzfile.h: Likewise.
8778         * timezone/tzselect.ksh: Likewise.
8779         * timezone/zdump.c: Likewise.
8780         * timezone/zic.c: Likewise.
8781         * timezone/ialloc.c: Remove file.
8782         * timezone/scheck.c: Likewise.
8783         * timezone/Makefile (extra-objs): Remove variable.
8784         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8785         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8786         -Wno-maybe-uninitialized.
8787         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8788         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8789         (CFLAGS-ialloc.c): Remove variable.
8790         (CFLAGS-scheck.c): Likewise.
8791         * timezone/README: Update list of files from tzcode.
8793 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8795         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8796         instead of __fxprintf when _LIBC is undefined.
8798 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8800         * catgets/test-gencat.sh: Remove space after shebang.
8801         * conform/GlibcConform.pm: Likewise.
8802         * conform/check-header-lists.sh: Likewise.
8803         * conform/conformtest.pl: Likewise.
8804         * conform/linknamespace.pl: Likewise.
8805         * conform/list-header-symbols.pl: Likewise.
8806         * debug/catchsegv.sh: Likewise.
8807         * elf/genrtldtbl.awk: Likewise.
8808         * elf/tst-pathopt.sh: Likewise.
8809         * elf/tst-rtld-load-self.sh: Likewise.
8810         * grp/tst_fgetgrent.sh: Likewise.
8811         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8812         * iconvdata/gen-8bit-gap.sh: Likewise.
8813         * iconvdata/gen-8bit.sh: Likewise.
8814         * iconvdata/run-iconv-test.sh: Likewise.
8815         * intl/tst-gettext.sh: Likewise.
8816         * intl/tst-gettext2.sh: Likewise.
8817         * intl/tst-gettext4.sh: Likewise.
8818         * intl/tst-gettext6.sh: Likewise.
8819         * intl/tst-translit.sh: Likewise.
8820         * io/ftwtest-sh: Likewise.
8821         * libio/test-freopen.sh: Likewise.
8822         * locale/gen-translit.pl: Likewise.
8823         * malloc/tst-mtrace.sh: Likewise.
8824         * manual/check-safety.sh: Likewise.
8825         * manual/libc-texinfo.sh: Likewise.
8826         * manual/tsort.awk: Likewise.
8827         * manual/xtract-typefun.awk: Likewise.
8828         * nptl/tst-cancel-wrappers.sh: Likewise.
8829         * nptl/tst-tls6.sh: Likewise.
8830         * posix/globtest.sh: Likewise.
8831         * posix/tst-getconf.sh: Likewise.
8832         * posix/wordexp-tst.sh: Likewise.
8833         * scripts/check-c++-types.sh: Likewise.
8834         * scripts/check-local-headers.sh: Likewise.
8835         * scripts/config.guess: Likewise.
8836         * scripts/config.sub: Likewise.
8837         * scripts/cpp: Likewise.
8838         * scripts/cross-test-ssh.sh: Likewise.
8839         * scripts/documented.sh: Likewise.
8840         * scripts/evaluate-test.sh: Likewise.
8841         * scripts/gen-libc-abis: Likewise.
8842         * scripts/gen-sorted.awk: Likewise.
8843         * scripts/list-fixed-bugs.py: Likewise.
8844         * scripts/merge-test-results.sh: Likewise.
8845         * scripts/mkinstalldirs: Likewise.
8846         * scripts/rellns-sh: Likewise.
8847         * scripts/test-installation.pl: Likewise.
8848         * scripts/update-copyrights: Likewise.
8849         * stdio-common/tst-printf.sh: Likewise.
8850         * stdio-common/tst-unbputc.sh: Likewise.
8851         * stdlib/tst-fmtmsg.sh: Likewise.
8852         * stdlib/tst-setcontext3.sh: Likewise.
8853         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8854         * sysdeps/unix/make-syscalls.sh: Likewise.
8856 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8858         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8859         asm stw with atomic_exchange_rel.  Add explanatory comment.
8860         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8861         Likewise.
8863 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8865         [BZ #19122]
8866         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8867         * sysdeps/generic/dl-unistd.h: New file.
8868         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8870 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8872          [BZ #19122]
8873          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8874          * sysdeps/generic/dl-mman.h: New file.
8875          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8877 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8879         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8880         trailing whitespace removed.
8881         * scripts/config.guess: Update to version 2016-01-01.
8882         * scripts/config.sub: Update to version 2016-01-01.
8883         * scripts/move-if-change: Update from gnulib.
8885 2016-01-04  Anton Blanchard  <anton@samba.org>
8887         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8888         for array indices.
8889         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8891 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8893         * NEWS: Update copyright dates.
8894         * catgets/gencat.c (print_version): Likewise.
8895         * csu/version.c (banner): Likewise.
8896         * debug/catchsegv.sh: Likewise.
8897         * debug/pcprofiledump.c (print_version): Likewise.
8898         * debug/xtrace.sh (do_version): Likewise.
8899         * elf/ldconfig.c (print_version): Likewise.
8900         * elf/ldd.bash.in: Likewise.
8901         * elf/pldd.c (print_version): Likewise.
8902         * elf/sotruss.sh: Likewise.
8903         * elf/sprof.c (print_version): Likewise.
8904         * iconv/iconv_prog.c (print_version): Likewise.
8905         * iconv/iconvconfig.c (print_version): Likewise.
8906         * locale/programs/locale.c (print_version): Likewise.
8907         * locale/programs/localedef.c (print_version): Likewise.
8908         * login/programs/pt_chown.c (print_version): Likewise.
8909         * malloc/memusage.sh (do_version): Likewise.
8910         * malloc/memusagestat.c (print_version): Likewise.
8911         * malloc/mtrace.pl: Likewise.
8912         * manual/libc.texinfo: Likewise.
8913         * nptl/version.c (banner): Likewise.
8914         * nscd/nscd.c (print_version): Likewise.
8915         * nss/getent.c (print_version): Likewise.
8916         * nss/makedb.c (print_version): Likewise.
8917         * posix/getconf.c (main): Likewise.
8918         * scripts/test-installation.pl: Likewise.
8919         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8921         * All files with FSF copyright notices: Update copyright dates
8922         using scripts/update-copyrights.
8923         * intl/plural.c: Regenerated.
8924         * locale/programs/charmap-kw.h: Likewise.
8925         * locale/programs/locfile-kw.h: Likewise.
8927 2016-01-02  Helge Deller  <deller@gmx.de>
8929         [BZ #19285]
8930         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8931         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8932         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8933         (MADV_xxK_PAGES): Remove.
8935 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8937         [BZ #15421]
8938         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8939         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8940         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8941         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8943 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8945         [BZ #19408]
8946         * sysdeps/unix/sysv/linux/personality.c: New file.
8947         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8948         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8949         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8950         (sysdep_routines): Add personality.
8951         (tests): Add tst-personality.
8952         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8953         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8954         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8955         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8956         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8957         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8958         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8959         Likewise.
8960         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8961         Likewise.
8962         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8963         Likewise.
8964         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8965         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8966         Likewise.
8968 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8970         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8971         (PATH_ARM_SYSTYPE): Remove.
8972         (PATH_CPUINFO): Likewise.
8973         (IO_BASE_FOOTBRIDGE): Likewise.
8974         (IO_SHIFT_FOOTBRIDGE): Likewise.
8975         (struct platform): Likewise.
8976         (init_iosys): Remove compatibility code for 2.4 kernels.
8977         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8979 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8981         * malloc/tst-malloc-thread-fail.c: New file.
8982         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8983         (tst-malloc-thread-fail): Link against libpthread.
8985 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8987         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8988         (get_parser): New function.
8989         (main): New function.
8991 2015-12-29  Rob Wu  <rob@robwu.nl>
8993         [BZ #19369]
8994         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8996 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8998         [BZ #19270]
8999         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9001 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9003         [BZ #15421]
9004         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9006 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9008         [BZ #13690]
9009         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9010         after releasing it.
9011         (__lll_robust_unlock): Likewise.
9012         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9013         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9014         (lll_robust_unlock): Likewise.
9015         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9016         Prevent warnings in callers.
9018 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9020         * malloc/arena.c (list_lock): Update comment.
9022 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9024         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9025         __parse_hwcap_and_convert_at_platform to libc.a.
9027 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9029         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9030         platform and feature support for POWER9.
9031         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9032         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9033         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9034         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9035         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9036         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9037         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9038         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9040 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9042         Harmonize generic stdio-lock support with nptl
9044         This fixes build when _IO_funlockfile is a macro, fixes build where
9045         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9046         stack unwind.
9048         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9049         _IO_release_lock ): Use cleanup attribute on new
9050         _IO_acquire_lock_file variable instead of assuming that
9051         _IO_release_lock will be called.
9052         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9053         _IO_acquire_lock_needs_exceptions_enabled.
9054         (_IO_acquire_lock_clear_flags2): New macro.
9056 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9058         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9060 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9062         [BZ #19182]
9063         * malloc/arena.c (list_lock): Document lock ordering requirements.
9064         (free_list_lock): New lock.
9065         (ptmalloc_lock_all): Comment on free_list_lock.
9066         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9067         (detach_arena): Update comment.  free_list_lock is now needed.
9068         (_int_new_arena): Use free_list_lock around detach_arena call.
9069         Acquire arena lock after list_lock.  Add comment, including FIXME
9070         about incorrect synchronization.
9071         (get_free_list): Switch to free_list_lock.
9072         (reused_arena): Acquire free_list_lock around detach_arena call
9073         and attached threads counter update.  Add two FIXMEs about
9074         incorrect synchronization.
9075         (arena_thread_freeres): Switch to free_list_lock.
9076         * malloc/malloc.c (struct malloc_state): Update comments to
9077         mention free_list_lock.
9079 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9081         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9082         Remove functions.
9083         (sloww, sloww1): Accept argument to offset quadrant.
9084         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9085         quadrant.
9086         (__sin, __cos): Consolidate common code into new functions.
9087         (reduce_sincos_1, do_sincos_1): New functions.
9088         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9090         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9091         code to new functions.
9092         (reduce_sincos_2, do_sincos_2): New functions.
9093         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9095         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9096         common code for sincos.
9097         (__cos) [!IN_SINCOS]: Likewise.
9098         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9099         New function.
9100         (__sincos): Use it.
9102 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9104         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9105         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9106         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9108 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9110         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9111         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9112         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9113         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9114         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9115         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9116         index_Prefer_No_VZEROUPPER): New feature.
9117         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9118         Prefer_No_VZEROUPPER for Knights Landing.
9120 015-12-18  Torvald Riegel  <triegel@redhat.com>
9122         * math/atest-exp2.c (mp_exp_m1): Remove.
9124 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9126         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9127         syscalls.
9128         (__SYSCALL0): New macro.
9129         (__SYSCALL1): Likewise.
9130         (__SYSCALL2): Likewise.
9131         (__SYSCALL3): Likewise.
9132         (__SYSCALL4): Likewise.
9133         (__SYSCALL5): Likewise.
9134         (__SYSCALL6): Likewise.
9135         (__SYSCALL_CONCAT_X): Likewise.
9136         (__SYSCALL_CONCAT): Likewise.
9137         (__SYSCALL_DIST): Likewise.
9138         (__SYSCALL_CALL): Likewise.
9140 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9142         [BZ #19363]
9143         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9145 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9147         [BZ #19375]
9148         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9149         negative subnormals.
9151 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9153         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9154         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9155         (INTERNAL_SYSCALL_NCS): Use it.
9156         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9158 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9160         [BZ #19243]
9161         * malloc/arena.c (get_free_list): Remove assert and adjust
9162         reference count handling.  Add comment about reused_arena
9163         interaction.
9164         (reused_arena): Add comments abount get_free_list interaction.
9165         * malloc/tst-malloc-thread-exit.c: New file.
9166         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9167         (tst-malloc-thread-exit): Link against libpthread.
9169 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9171         [BZ #19367]
9172         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9173         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9174         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9175         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9176         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9178 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9180         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9181         Silvermont optimizations for Knights Landing.
9183 2015-12-15  Andreas Schwab  <schwab@suse.de>
9185         [BZ #17197]
9186         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9187         immediately after emitting SI.
9188         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9189         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9190         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9191         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9192         * iconvdata/bug-iconv10.c: New file.
9193         * iconvdata/Makefile (tests): Add bug-iconv10.
9194         ($(objpfx)bug-iconv10.out): New rule.
9196 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9198         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9199         aliasing violation.
9201 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9203         [BZ #18472]
9204         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9205         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9206         conditionals for them.
9207         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9208         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9209         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9210         sys/kdaemon.h.
9211         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9212         compat-only syscall, obsoleted in glibc 2.23.
9213         (create_module): Likewise.
9214         (get_kernel_syms): Likewise.
9215         (query_module): Likewise.
9216         (uselib): Likewise.
9217         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9219 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9221         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9222         <linux/version.h>.
9223         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9224         conditional code.
9225         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9226         and ioshift_name initialization.
9228 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9230         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9231         Fix indentation.
9233 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9235         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9237 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9239         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9241 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9242             Jakub Wilk  <jwilk@debian.org>
9244         [BZ #19347]
9245         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9246         to change the group of the device to the tty group.
9248 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9250         Split large string section; add truncation advice
9251         * manual/examples/strncat.c: Remove.
9252         This example was misleading, as the code would have undefined
9253         behavior if "hello" was longer than SIZE.  Anyway, the manual
9254         shouldn't encourage strncpy+strncat for this sort of thing.
9255         * manual/string.texi (Copying Strings and Arrays): Split into
9256         three sections Copying Strings and Arrays, Concatenating Strings,
9257         and Truncating Strings, as this section was way too long.  All
9258         cross-referenced changed.  Add advice about string-truncation
9259         functions.  Remove misleading strncat example.
9261 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9263         * manual/nss.texi (NSS Modules Interface): Document
9264         NSS_STATUS_NOTFOUND and SUCCESS.
9266 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9268         [BZ 18568]
9269         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9270         201505L, for Unicode 8.
9272 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9274         * locale/C-translit.h: Regenerate.
9276 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9278         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9279         and U+0153.
9281 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9283         [BZ #19351]
9284         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9285         expanding log(1+z), compare z rather than its square with epsilon
9286         to determine when to avoid evaluating the expansion.
9288         [BZ #19350]
9289         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9290         Increase overflow threshold.
9292         [BZ #19349]
9293         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9294         when small.
9296         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9297         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9298         New macro.
9299         [__LINUX_KERNEL_VERSION >= 0x040300]
9300         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9301         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9302         Likewise.
9303         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9304         Likewise.
9305         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9306         Likewise.
9307         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9308         Likewise.
9309         [__LINUX_KERNEL_VERSION >= 0x040300]
9310         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9311         [__LINUX_KERNEL_VERSION >= 0x040300]
9312         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9313         [__LINUX_KERNEL_VERSION >= 0x040300]
9314         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9315         [__LINUX_KERNEL_VERSION >= 0x040300]
9316         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9317         [__LINUX_KERNEL_VERSION >= 0x040300]
9318         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9319         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9320         Likewise.
9321         [__LINUX_KERNEL_VERSION >= 0x040300]
9322         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9323         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9324         Likewise.
9325         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9326         Likewise.
9327         [__LINUX_KERNEL_VERSION >= 0x040300]
9328         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9329         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9330         Likewise.
9331         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9332         Likewise.
9333         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9334         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9335         Likewise.
9336         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9337         Likewise.
9338         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9339         Likewise.
9340         [__LINUX_KERNEL_VERSION >= 0x040300]
9341         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9342         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9343         Likewise.
9344         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9345         Likewise.
9346         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9347         Likewise.
9348         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9349         Likewise.
9350         [__LINUX_KERNEL_VERSION >= 0x040300]
9351         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9352         [__LINUX_KERNEL_VERSION >= 0x040300]
9353         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9354         [__LINUX_KERNEL_VERSION >= 0x040300]
9355         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9356         [__LINUX_KERNEL_VERSION >= 0x040300]
9357         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9358         [__LINUX_KERNEL_VERSION >= 0x040300]
9359         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9360         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9361         Likewise.
9362         [__LINUX_KERNEL_VERSION >= 0x040300]
9363         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9364         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9365         Likewise.
9366         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9367         Likewise.
9368         [__LINUX_KERNEL_VERSION >= 0x040300]
9369         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9370         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9371         Likewise.
9372         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9373         Likewise.
9374         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9375         (__ASSUME_SOCKET_SYSCALL): Likewise.
9376         (__ASSUME_BIND_SYSCALL): Likewise.
9377         (__ASSUME_CONNECT_SYSCALL): Likewise.
9378         (__ASSUME_LISTEN_SYSCALL): Likewise.
9379         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9380         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9381         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9382         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9383         (__ASSUME_SEND_SYSCALL): Likewise.
9384         (__ASSUME_SENDTO_SYSCALL): Likewise.
9385         (__ASSUME_RECV_SYSCALL): Likewise.
9386         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9387         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9388         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9389         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9390         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9391         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9392         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9393         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9394         Likewise.
9395         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9396         Likewise.
9397         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9398         Likewise.
9399         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9400         Likewise.
9401         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9402         Likewise.
9403         [__LINUX_KERNEL_VERSION >= 0x020625]
9404         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9405         [__LINUX_KERNEL_VERSION >= 0x020625]
9406         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9407         [__LINUX_KERNEL_VERSION >= 0x020625]
9408         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9409         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9410         Likewise.
9411         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9412         Likewise.
9413         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9414         Likewise.
9415         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9416         Likewise.
9417         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9418         Likewise.
9419         [__LINUX_KERNEL_VERSION >= 0x020625]
9420         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9421         [__LINUX_KERNEL_VERSION >= 0x020625]
9422         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9423         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9424         Likewise.
9425         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9426         Likewise.
9428 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9430         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9431         record the current if the current ABI and CPU support the FP64
9432         extension.
9433         (has-modd-spreg): Define to record the current if the current ABI and
9434         CPU support 32-bit floating point values in odd FPU registers.
9435         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9436         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9437         $(has-modd-spreg) equals yes.
9438         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9439         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9440         $(has-modd-spreg) equal yes.
9442 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9444         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9445         basename.
9447 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9449         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9450         (bench-string): ... here.
9451         (bench): Add bench-string.
9452         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9453         to *-benchset to reflect what they are.
9454         (benchset): Adjust.
9456         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9457         cos-inputs.
9459 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9461         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9462         __attribute__ ((__simd__)) for vector math function declarations.
9464 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9466         Fix typo in strncat, wcsncat manual entries
9467         * manual/string.texi (Copying and Concatenation): Fix typos in
9468         sample implementations of strncat and wcsncat, by having them use
9469         the old value of the destination length, not the new one.
9471 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9473         [BZ #16961]
9474         [BZ #16962]
9475         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9476         string on the stack for strtod.
9477         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9478         a string on the stack for strtof.
9479         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9480         constructing a string on the stack for strtold.
9481         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9482         __strtold_nan to GLIBC_PRIVATE.
9483         * math/test-nan-overflow.c: New file.
9484         * math/test-nan-payload.c: Likewise.
9485         * math/Makefile (tests): Add test-nan-overflow and
9486         test-nan-payload.
9488 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9490         Consistency about byte vs character in string.texi
9491         * manual/string.texi (String and Array Utilities):
9492         Distinguish more carefully among bytes, multibyte characters,
9493         and wide characters.  Use "byte" when talking about C 'char',
9494         to distinguish it more clearly from multibyte characters.
9495         Say "wide character" or "multibyte character" instead of
9496         "character", when a wide or multibyte character is intended.
9497         Similarly for "multibyte string" versus "string".
9498         Define these terms more carefully.
9500 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9502         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9503         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9504         Likewise.
9505         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9506         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9507         * sysdeps/sh/math_private.h: New file.
9508         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9509         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9510         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9511         long double function name.
9512         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9513         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9514         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9515         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9516         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9518         Remove __finitel, __isinfl, and __isnanl.
9519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9520         Likewise.
9521         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9523         Remove __finitel.
9524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9525         Likewise.
9526         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9528 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9530         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9531         installed libmvec_nonshared.a.
9533 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9535         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9536         (sysdep_routines): Likewise.
9537         (sysdep-rtld-routines): Likewise.
9538         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9539         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9540         * sysdeps/powerpc/Versions: Added new
9541         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9542         * sysdeps/powerpc/hwcapinfo.c: New file.
9543         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9544         and parse hwcap, hwcap2 and platform number information.
9545         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9546         to store HWCAP+HWCAP2 and platform number.
9547         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9548         for HWCAP+HWCAP2 and platform number in the TCB.
9549         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9550         the HWCAP, HWCAP2 and platform number in the TCB.
9551         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9552         (TLS_INIT_TP): Included calls to add the hwcap and
9553         at_platform values in the TCB in TP initialization.
9554         (TLS_DEFINE_INIT_TP): Likewise.
9555         (THREAD_GET_HWCAP): New macro.
9556         (THREAD_SET_HWCAP): Likewise.
9557         (THREAD_GET_AT_PLATFORM): Likewise.
9558         (THREAD_SET_AT_PLATFORM): Likewise.
9559         * sysdeps/powerpc/powerpc32/dl-machine.h:
9560         (dl_platform_init): New function that calls
9561         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9562         powerpc32.
9563         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9564         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9565         this functionality, static linking case.
9566         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9567         linking case.
9568         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9569         __parse_hwcap_and_convert_at_platform for the static linking case.
9570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9571         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9572         ABI list for GLIBC 2.23.
9573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9574         Likewise.
9575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9576         Likewise.
9578 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9580         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9581         * configure: Regenerate.
9582         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9583         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9585 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9587         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9588         * iconvdata/ibm933.c: Likewise.
9589         * iconvdata/ibm935.c: Likewise.
9590         * iconvdata/ibm937.c: Likewise.
9591         * iconvdata/ibm939.c: Likewise.
9593 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9595         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9596         pthread_join.
9597         * nptl/tst-cancel21.c (tf): Likewise.
9599 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9601         [BZ #19313]
9602         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9603         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9604         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9605         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9606         Likewise.
9607         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9608         Likewise.
9609         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9610         Likewise.
9611         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9612         Likewise.
9613         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9614         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9615         unsigned long int with __CPU_MASK_TYPE.
9617 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9619         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9621 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9623         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9624         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9625         t512.x.
9626         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9628 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9630         [BZ #19214]
9631         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9632         argument to return extended model.  Update family and model
9633         with extended family and model when family == 0x0f.
9634         (init_cpu_features): Updated.
9636 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9638         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9639         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9641         * sysdeps/mach/hurd/mmap64.c: New file.
9643 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9645         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9646         rights for its main user thread in NEWTASK.
9648 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9650         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9651         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9653 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9655         [BZ #14259]
9656         * Makeconfig: Rename localedir to complocaledir.
9657         Rename inst_localedir to inst_complocaledir.
9658         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9659         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9660         * configure.ac: Use libc_cv_complocaledir.
9661         * configure: Regenerate.
9662         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9663         -DCOMPLOCALEDIR.
9664         * locale/findlocale.c: Use COMPLOCALEDIR.
9665         * locale/loadarchive.c: Likewise.
9666         * locale/programs/locale.c: Likewise.
9667         * locale/programs/localedef.c: Likewise.
9668         * locale/programs/locarchive.c: Likewise.
9669         * localedata/Makefile: Use inst_complocaledir.
9670         * sysdeps/gnu/configure: Regenerate.
9671         * sysdeps/hppa/configure: Regenerate.
9672         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9673         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9675         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9676         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9677         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9678         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9680 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9682         [BZ #19058]
9683         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9684         AS_NEEDED.
9685         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9686         workaround.
9687         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9688         libmvec-static-only-routines): Added new file.
9689         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9691 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9693         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9694         of interrupted RPC instead of restoring it.
9696         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9697         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9698         libc_hidden_def.
9699         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9700         into initialized data instead of common. Define rtld_hidden_data_def.
9701         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9702         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9703         libc_hidden_def.
9704         (if_freenameindex): Add libc_hidden_weak.
9705         (if_nameindex): Add libc_hidden_weak.
9706         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9707         __open64.
9708         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9709         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9710         * sysdeps/mach/nanosleep.c: Include <time.h>
9711         (__nanosleep): Rename to __libc_nanosleep.
9712         (__nanosleep): Add weak_alias.
9713         (nanosleep): Update alias.
9715 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9717         * stdlib/strtod_nan.c: New file.
9718         * stdlib/strtod_nan_double.h: Likewise.
9719         * stdlib/strtod_nan_float.h: Likewise.
9720         * stdlib/strtod_nan_main.c: Likewise.
9721         * stdlib/strtod_nan_narrow.h: Likewise.
9722         * stdlib/strtod_nan_wide.h: Likewise.
9723         * stdlib/strtof_nan.c: Likewise.
9724         * stdlib/strtold_nan.c: Likewise.
9725         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9726         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9727         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9728         * wcsmbs/wcstod_nan.c: Likewise.
9729         * wcsmbs/wcstof_nan.c: Likewise.
9730         * wcsmbs/wcstold_nan.c: Likewise.
9731         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9732         strtold_nan.
9733         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9734         wcstof_nan.
9735         * include/stdlib.h (__strtof_nan): Declare and use
9736         libc_hidden_proto.
9737         (__strtod_nan): Likewise.
9738         (__strtold_nan): Likewise.
9739         (__wcstof_nan): Likewise.
9740         (__wcstod_nan): Likewise.
9741         (__wcstold_nan): Likewise.
9742         * include/wchar.h (____wcstoull_l_internal): Declare.
9743         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9744         (____strtoull_l_internal): Remove declaration.
9745         (STRTOF_NAN): Define macro.
9746         (SET_MANTISSA): Remove macro.
9747         (STRTOULL): Likewise.
9748         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9749         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9750         (STRTOF_NAN): Define macro.
9751         (SET_MANTISSA): Remove macro.
9752         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9753         (SET_MANTISSA): Remove macro.
9754         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9755         macro.
9756         (SET_MANTISSA): Remove macro.
9757         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9758         macro.
9759         (SET_MANTISSA): Remove macro.
9760         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9761         (SET_MANTISSA): Remove macro.
9762         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9763         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9764         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9766         [BZ #19266]
9767         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9768         upper case and lower case letters inside NAN(), not using TOLOWER.
9769         * stdlib/tst-strtod-nan-locale-main.c: New file.
9770         * stdlib/tst-strtod-nan-locale.c: Likewise.
9771         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9772         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9773         Depend on $(gen-locales).
9774         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9775         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9776         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9777         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9778         Depend on $(gen-locales).
9779         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9781 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9783         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9785         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9787         __finitel, __isinfl, and __isnanl.
9788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9789         Likewise.
9790         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9792         __finitel.
9793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9794         Likewise.
9795         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9797 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9799         * malloc/memusage.c (me): Remove redundant getenv call.
9801 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9803         [BZ #19143]
9804         [BZ #19164]
9805         * nptl/check-cpuset.h: Remove.
9806         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9807         Remove CPU set size check.
9808         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9809         Likewise.
9810         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9811         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9812         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9813         (__pthread_setaffinity_new): Remove CPU set size check.
9814         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9815         (__kernel_cpumask_size): Remove.
9816         (__sched_setaffinity_new): Remove CPU set size check.
9817         * manual/threads.texi (Default Thread Attributes): Remove stale
9818         reference to check_cpuset_attr, determine_cpumask_size in comment.
9819         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9820         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9821         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9822         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9823         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9824         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9825         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9826         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9827         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9828         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9829         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9830         skeleton test file.
9831         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9832         tst-affinity-pid.
9834 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9836         * scripts/update-abilist.sh: New file.
9837         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9838         * Makerules (update-all-abi-%, update-all-abi)
9839         (subdir_update-all-abi): New targets.
9840         * elf/Makefile (update-all-abi): New target.
9842 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9844         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9845         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9846         (__libc_lock_define_initialized): Use it.
9847         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9848         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9849         * malloc/malloc.c (main_arena): Likewise.
9850         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9851         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9853 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9855         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9856         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9857         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9858         (PTRACE_O_MASK): Update value.
9859         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9860         New value in enum __ptrace_setoptions.
9861         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9862         (PTRACE_O_MASK): Update value.
9863         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9864         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9865         (PTRACE_O_MASK): Update value.
9866         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9867         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9868         (PTRACE_O_MASK): Update value.
9869         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9870         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9871         (PTRACE_O_MASK): Update value.
9872         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9873         New value in enum __ptrace_setoptions.
9874         (PTRACE_O_MASK): Update value.
9875         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9876         New value in enum __ptrace_setoptions.
9877         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9878         (PTRACE_O_MASK): Update value.
9880         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9881         New macro.
9882         (PACKET_AUXDATA): Likewise.
9883         (PACKET_ORIGDEV): Likewise.
9884         (PACKET_VERSION): Likewise.
9885         (PACKET_HDRLEN): Likewise.
9886         (PACKET_RESERVE): Likewise.
9887         (PACKET_TX_RING): Likewise.
9888         (PACKET_LOSS): Likewise.
9889         (PACKET_VNET_HDR): Likewise.
9890         (PACKET_TX_TIMESTAMP): Likewise.
9891         (PACKET_TIMESTAMP): Likewise.
9892         (PACKET_FANOUT): Likewise.
9893         (PACKET_TX_HAS_OFF): Likewise.
9894         (PACKET_QDISC_BYPASS): Likewise.
9895         (PACKET_ROLLOVER_STATS): Likewise.
9896         (PACKET_FANOUT_DATA): Likewise.
9897         (PACKET_MR_UNICAST): Likewise.
9899         [BZ #19242]
9900         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9901         (TOUPPER): Likewise.
9902         * stdlib/tst-strtol-locale-main.c: New file.
9903         * stdlib/tst-strtol-locale.c: Likewise.
9904         * stdlib/Makefile (tests): Add tst-strtol-locale.
9905         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9906         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9907         Depend on $(gen-locales).
9908         * wcsmbs/tst-wcstol-locale.c: New file.
9909         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9910         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9911         tr_TR.ISO-8859-9.
9912         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9913         Depend on $(gen-locales).
9915 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9917         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9918         __glibc_likely instead of __builtin_expect.  After falling back to
9919         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9920         system interface to register the code pages as occupied.
9922 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9924         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9925         [!ARM_MATH_PRIVATE_H].
9926         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9927         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9928         [!HPPA_MATH_PRIVATE_H].
9929         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9930         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9931         to [!I386_MATH_PRIVATE_H].
9932         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9933         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9934         Change guard to [!M68K_MATH_PRIVATE_H].
9935         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9936         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9937         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9938         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9939         macro.
9940         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9941         [!MIPS_MATH_PRIVATE_H].
9942         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9943         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9944         [!NIO2_MATH_PRIVATE_H].
9945         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9946         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9947         [!TILE_MATH_PRIVATE_H].
9948         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9950         [BZ #15421]
9951         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9952         initialize with 0 and define as weak alias of __signgam.
9953         * include/math.h [!_ISOMAC] (__signgam): Declare.
9954         * math/Makefile (libm-calls): Add w_lgamma_compat.
9955         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9956         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9957         test-signgam-ullong-init.
9958         (tests-static): Add test-signgam-uchar-static,
9959         test-signgam-uchar-init-static, test-signgam-uint-static,
9960         test-signgam-uint-init-static, test-signgam-ullong-static and
9961         test-signgam-ullong-init-static.
9962         (CFLAGS-test-signgam-uchar.c): New variable.
9963         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9964         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9965         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9966         (CFLAGS-test-signgam-uint.c): Likewise.
9967         (CFLAGS-test-signgam-uint-init.c): Likewise.
9968         (CFLAGS-test-signgam-uint-static.c): Likewise.
9969         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9970         (CFLAGS-test-signgam-ullong.c): Likewise.
9971         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9972         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9973         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9974         * math/Versions (libm): Add GLIBC_2.23.
9975         * math/lgamma-compat.h: New file.
9976         * math/test-signgam-main.c: Likewise.
9977         * math/test-signgam-uchar-init-static.c: Likewise.
9978         * math/test-signgam-uchar-init.c: Likewise.
9979         * math/test-signgam-uchar-static.c: Likewise.
9980         * math/test-signgam-uchar.c: Likewise.
9981         * math/test-signgam-uint-init-static.c: Likewise.
9982         * math/test-signgam-uint-init.c: Likewise.
9983         * math/test-signgam-uint-static.c: Likewise.
9984         * math/test-signgam-uint.c: Likewise.
9985         * math/test-signgam-ullong-init-static.c: Likewise.
9986         * math/test-signgam-ullong-init.c: Likewise.
9987         * math/test-signgam-ullong-static.c: Likewise.
9988         * math/test-signgam-ullong.c: Likewise.
9989         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9990         wrapper of w_lgamma_main.c.
9991         * math/w_lgamma_compat.c: New file.
9992         * math/w_lgamma_compatf.c: Likewise.
9993         * math/w_lgamma_compatl.c: Likewise.
9994         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9995         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9996         defining compatibility symbols.
9997         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9998         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9999         wrapper of w_lgammaf_main.c.
10000         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10001         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10002         defining compatibility symbols.
10003         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10004         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10005         wrapper of w_lgammal_main.c.
10006         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10007         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10008         defining compatibility symbols.
10009         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10010         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10011         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10012         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10013         <lgamma-compat.h>.
10014         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10015         (__ieee754_gamma): Define as alias.
10016         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10017         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10018         <lgamma-compat.h>.
10019         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10020         (__ieee754_gammaf): Define as alias.
10021         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10022         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10023         <lgamma-compat.h>.
10024         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10025         (__ieee754_gammal): Define as alias.
10026         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10027         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10028         <math/w_lgamma_compat.c>.
10029         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10030         Define as alias of __lgamma_compat and use in defining lgammal.
10031         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10032         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10033         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10034         (USE_AS_COMPAT): New macro.
10035         (LGAMMA_OLD_VER): Undefine and redefine.
10036         (lgammal): Do not define here.
10037         (gammal): Only define here if [GAMMA_ALIAS].
10038         * conform/linknamespace.pl (@whitelist): Remove signgam.
10039         * sysdeps/nacl/libm.abilist: Update.
10040         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10041         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10042         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10043         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10044         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10045         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10046         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10047         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10048         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10049         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10050         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10051         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10053         Likewise.
10054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10055         Likewise.
10056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10057         Likewise.
10058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10059         Likewise.
10060         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10061         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10062         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10063         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10064         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10066         Likewise.
10067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10068         Likewise.
10069         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10070         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10071         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10073 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10075         [BZ #16364]
10076         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10077         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10079 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10081         * sysdeps/s390/fpu/bits/mathinline.h:
10082         Use __asm__ [__volatile__] instead of asm [volatile].
10083         * sysdeps/s390/abort-instr.h: Likewise.
10084         * sysdeps/s390/atomic-machine.h: Likewise.
10085         * sysdeps/s390/bits/string.h: Likewise.
10086         * sysdeps/s390/dl-tls.h: Likewise.
10087         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10088         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10089         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10090         * sysdeps/s390/fpu/fesetround.c: Likewise.
10091         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10092         * sysdeps/s390/fpu/s_fma.c: Likewise.
10093         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10094         * sysdeps/s390/memusage.h: Likewise.
10095         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10096         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10097         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10098         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10099         * sysdeps/s390/nptl/tls.h: Likewise.
10100         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10101         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10102         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10103         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10104         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10105         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10106         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10107         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10108         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10109         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10110         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10111         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10112         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10113         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10114         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10115         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10116         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10117         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10118         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10119         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10120         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10121         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10122         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10124 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10125             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10127         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10128         Add lwarx hint, and use macro for acquire instruction.
10129         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10130         Likewise.
10131         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10132         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10133         update to use new atomic macros.
10135 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10137         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10138         (__lll_trylock_elision): Fix setting of adapt_count.
10139         * sysdeps/unix/sysv/linux/powerpc/htm.h
10140         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10141         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10142         (_ABORT_SYSCALL): Renumber, and clarify definition.
10143         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10145 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10147         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10148         after system headers to prevent MIN/MAX redefinition.  Define
10149         HAVE_ALLOCA to preserve builtin alloca usage.
10151 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10153         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10154         static and don't set or restore rounding.
10155         (__cos)[IN_SINCOS]: Likewise.
10156         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10157         (__sincos): Set and restore rounding mode.  Remove check for infinite
10158         or NaN input.
10160         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10162         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10163         as used.
10165 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10167         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10169 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10171         * config.make.in (have-glob-dat-reloc): New.
10172         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10173         target supports GLOB_DAT relocaton. AC_SUBST.
10174         * configure: Regenerated.
10175         * elf/Makefile (tests): Add tst-prelink.
10176         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10177         (tst-prelink-ENV): New.
10178         ($(objpfx)tst-prelink-conflict.out): Likewise.
10179         ($(objpfx)tst-prelink-cmp.out): Likewise.
10180         * sysdeps/x86/tst-prelink.c: Moved to ...
10181         * elf/tst-prelink.c: Here.
10182         * sysdeps/x86/tst-prelink.exp: Moved to ...
10183         * elf/tst-prelink.exp: Here.
10184         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10185         (tst-prelink-ENV): Removed.
10186         ($(objpfx)tst-prelink-conflict.out): Likewise.
10187         ($(objpfx)tst-prelink-cmp.out): Likewise.
10188         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10190 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10192         [BZ #14551]
10193         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10194         (__mpn_construct_long_double): If high part overflows to infinity,
10195         set errno and recompute overflowed result of the correct sign.
10196         * sysdeps/ieee754/ldbl-128ibm/Makefile
10197         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10198         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10199         $(libm).
10200         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10202 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10204         [BZ #15479]
10205         [BZ #19238]
10206         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10207         floating-point state after first operation on input.  Restore full
10208         state rather than just rounding mode.
10209         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10210         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10211         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10213         [BZ #19235]
10214         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10215         add 0.5 to integer arguments.
10216         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10217         Likewise.
10218         (.LC2): New object.
10220 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10222         * scripts/pylintrc (reports): Set to no.
10224 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10226         * elf/dl-load.c (open_verify): Take new argument FD.
10227         Skip __open call if passed FD is not -1.
10228         (_dl_map_object, open_path): Update callers.
10229         * elf/dl-sysdep-open.h: New file.
10230         * elf/dl-load.c: Include it.
10231         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10232         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10233         * sysdeps/nacl/dl-sysdep-open.h: New file.
10234         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10235         from libc to rtld.
10237 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10239         [BZ #19228]
10240         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10241         and restore full floating-point state.
10242         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10243         Likewise.
10244         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10245         Likewise.
10246         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10247         Likewise.
10248         * math/test-nearbyint-except-2.c: New file.
10249         * math/Makefile (tests): Add test-nearbyint-except-2.
10251 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10253         [BZ #19178]
10254         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10255         (tst-prelink-ENV): New.
10256         ($(objpfx)tst-prelink-conflict.out): Likewise.
10257         ($(objpfx)tst-prelink-cmp.out): Likewise.
10258         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10259         * sysdeps/x86/tst-prelink.c: New file.
10260         * sysdeps/x86/tst-prelink.exp: Likewise.
10262 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10264         * math/auto-libm-test-in: Add another test of pow.
10265         * math/auto-libm-test-out: Regenerated.
10266         * math/libm-test.inc (pow_test_data): Add another test.
10268 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10270         [BZ #19219]
10271         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10272         weak_alias to nearbyintl.
10274 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10276         * sysdeps/aarch64/bits/string.h: New file.
10277         (_STRING_ARCH_unaligned): Define.
10279 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10281         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10282         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10283         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10284         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10287 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10289         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10290         for original name of the DSO.  Add it to the name list of the DSO
10291         if it is actually given.
10292         (_dl_map_object): Keep track of whether an audit module rewrote
10293         the file name.  If yes, pass the original name to
10294         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10295         debugging is enabled, log the change of the file name.
10296         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10297         _dl_map_object_from_fd.
10298         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10299         * elf/tst-audit11.c: New file
10300         * elf/tst-auditmod11.c: New file.
10301         * elf/tst-audit11mod1.c: New file.
10302         * elf/tst-audit11mod2.c: New file.
10303         * elf/tst-audit11mod2.map: New file.
10304         * elf/tst-audit12.c: New file
10305         * elf/tst-auditmod12.c: New file.
10306         * elf/tst-audit12mod1.c: New file.
10307         * elf/tst-audit12mod2.c: New file.
10308         * elf/tst-audit12mod2.map: New file.
10309         * elf/tst-audit12mod3.c: New file.
10311 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10313         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10314         Don't create weak aliases,
10315         because versioned symbols are created later.
10316         * sysdeps/s390/s390-32/setjmp.S
10317         (setjmp, _setjmp): Remove weak and rename to an unique name
10318         in SHARED case due to existing versioned symbols.
10319         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10320         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10321         (getcontext): Create weak alias only in non SHARED case.
10322         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10324 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10326         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10327         (__ASSUME_*_SYSCALL) Define new macros.
10328         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10329         Remove socketcall syscalls.
10330         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10331         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10332         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10333         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10334         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10335         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10337 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10339         [BZ #12926]
10340         Terminate process on invalid netlink response.
10341         * sysdeps/unix/sysv/linux/netlinkaccess.h
10342         (__netlink_assert_response): Declare.
10343         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10344         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10345         (sysdep_routines): Add netlink_assert_response.
10346         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10347         __netlink_assert_response.
10348         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10349         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10350         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10351         __netlink_assert_response.
10353 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10355         [BZ #19178]
10356         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10357         (RTYPE_CLASS_PLT): Likewise.
10358         (RTYPE_CLASS_COPY): Likewise.
10359         (RTYPE_CLASS_TLS): Likewise.
10360         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10361         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10362         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10363         DL_DEBUG_PRELINK.
10365 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10367         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10368         calls with argument -0.5.
10369         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10371         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10372         (libc_cv_z_nodlopen): Likewise.
10373         (libc_cv_z_initfirst): Likewise.
10374         * configure: Regenerated.
10376 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10378         Simplify abilist format to be line-based.
10379         * scripts/abilist.awk: Collect descriptors in the descs variable.
10380         (emit): Write descs variable and sort it
10381         externally, with sort.
10382         * sysdeps/**/*.abilist: Convert to new format.
10384 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10386         [BZ #11460]
10387         * io/Makefile (routines): Add fts64.
10388         (tests): Add tst-fts and tst-fts-lfs.
10389         (CFLAGS-fts64.c): New.
10390         * io/Versions (GLIBC_2.23): New.
10391         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10392         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10393         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10394         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10395         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10396         (FTSENT64): Likewise.
10397         (fts64_children): Likewise.
10398         (fts64_close): Likewise.
10399         (fts64_open): Likewise.
10400         (fts64_read): Likewise.
10401         (fts64_set): Likewise.
10402         * io/fts64.c: New file.
10403         * io/tst-fts.c: New test.
10404         * io/tst-fts-lfs.c: Likewise.
10405         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10406         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10407         fts64_set.
10408         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10409         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10410         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10411         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10412         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10413         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10414         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10415         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10416         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10417         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10418         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10419         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10420         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10422         Likewise.
10423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10424         Likewise.
10425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10427         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10428         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10429         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10430         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10431         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10434         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10435         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10436         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10437         * sysdeps/wordsize-64/fts.c: New file.
10438         * sysdeps/wordsize-64/fts64.c: Likewise.
10439         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10440         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10441         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10442         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10444 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10446         * math/libm-test.inc (NON_FINITE): New macro.
10447         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10448         * math/gen-libm-test.pl (show_exceptions): Add argument
10449         $non_finite.
10450         (parse_args): Update call to show_exceptions.
10451         * math/test-math-finite.h: New file.
10452         * math/test-math-no-finite.h: Likewise.
10453         * math/test-double-finite.c: Likewise.
10454         * math/test-float-finite.c: Likewise.
10455         * math/test-ldouble-finite.c: Likewise.
10456         * math/test-double.c: Include "test-math-no-finite.h".
10457         * math/test-float.c: Include "test-math-no-finite.h".
10458         * math/test-ldouble.c: Include "test-math-no-finite.h".
10459         * math/test-math-inline.h (TEST_FINITE): New macro.
10460         * math/test-math-vector.h (TEST_FINITE): Likewise.
10461         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10462         (libm-tests): Add test-float-finite and test-double-finite.
10463         ($(objpfx)test-float-finite.o): New dependency on
10464         $(objpfx)libm-test.stmp.
10465         ($(objpfx)test-double-finite.o): Likewise.
10466         ($(objpfx)test-ldouble-finite.o): Likewise.
10467         (libm-test-no-inline-cflags): New variable.
10468         (libm-test-finite-cflags): Likewise.
10469         (CFLAGS-test-float-finite.c): Likewise.
10470         (CFLAGS-test-double-finite.c): Likewise.
10471         (CFLAGS-test-ldouble-finite.c): Likewise.
10472         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10473         (CFLAGS-test-double.c): Likewise.
10474         (CFLAGS-test-ldouble.c): Likewise.
10476 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10478         * io/fcntl.c (__fcntl): Add ... to prototype.
10479         * misc/ioctl.c (__ioctl): Likewise.
10480         * misc/syscall.c (syscall): Likewise.
10482 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10484         * scripts/list-fixed-bugs.py: New file.
10486         [BZ #19213]
10487         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10488         returned for argument 1.
10489         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10490         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10491         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10492         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10493         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10494         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10496         [BZ #19211]
10497         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10498         __USE_XOPEN], not if [!__USE_ISOC99].
10499         (lgammaf): Likewise.
10500         (lgammal): Likewise.
10501         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10502         (gammaf): Likewise.
10503         (gammal): Likewise.
10504         * math/test-signgam-finite-c11.c: New file.
10505         * math/test-signgam-finite-c99.c: Likewise.
10506         * math/test-signgam-finite.c: Likewise.
10507         * math/Makefile (tests): Add test-signgam-finite,
10508         test-signgam-finite-c99 and test-signgam-finite-c11.
10509         (CFLAGS-test-signgam-finite.c): New variable.
10510         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10511         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10513         [BZ #19212]
10514         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10515         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10516         500].
10517         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10518         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10519         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10520         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10521         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10522         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10523         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10524         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10525         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10526         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10528         [BZ #19209]
10529         * math/bits/math-finite.h (ldexp): Remove declaration.
10530         (ldexpf): Likewise.
10531         (ldexpl): Likewise.
10533         [BZ #19205]
10534         * math/bits/math-finite.h (acosf): Condition declaration on
10535         [__USE_ISOC99].
10536         (acosl): Likewise.
10537         (acoshf): Likewise.
10538         (acoshl): Likewise.
10539         (asinf): Likewise.
10540         (asinl): Likewise.
10541         (atan2f): Likewise.
10542         (atan2l): Likewise.
10543         (atanhf): Likewise.
10544         (atanhl): Likewise.
10545         (coshf): Likewise.
10546         (coshl): Likewise.
10547         (expf): Likewise.
10548         (expl): Likewise.
10549         (fmodf): Likewise.
10550         (fmodl): Likewise.
10551         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10552         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10553         (j0l): Likewise.
10554         (y0f): Likewise.
10555         (y0l): Likewise.
10556         (j1f): Likewise.
10557         (j1l): Likewise.
10558         (y1f): Likewise.
10559         (y1l): Likewise.
10560         (jnf): Likewise.
10561         (jnl): Likewise.
10562         (ynf): Likewise.
10563         (ynl): Likewise.
10564         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10565         (lgammal_r): Likewise.
10566         (__lgamma_r_finite): New declaration.
10567         (__lgammaf_r_finite): Likewise.
10568         (__lgammal_r_finite): Likewise.
10569         (lgamma): Use __lgamma_r_finite.
10570         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10571         __lgammaf_r_finite.
10572         (lgammal): Condition definition on [__USE_ISOC99].  Use
10573         __lgammal_r_finite.
10574         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10575         __lgamma_r_finite.
10576         (gammaf): Condition definition on [__USE_ISOC99].  Use
10577         __lgammaf_r_finite.
10578         (gammal): Condition definition on [__USE_ISOC99].  Use
10579         __lgammal_r_finite.
10580         (logf): Condition declaration on [__USE_ISOC99].
10581         (logl): Likewise.
10582         (log10f): Likewise.
10583         (log10l): Likewise.
10584         (ldexpf): Likewise.
10585         (ldexpl): Likewise.
10586         (powf): Likewise.
10587         (powl): Likewise.
10588         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10589         __USE_ISOC99].
10590         (remainderf): Condition declaration on [__USE_ISOC99].
10591         (remainderl): Likewise.
10592         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10593         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10594         (scalbl): Likewise.
10595         (sinhf): Condition declaration on [__USE_ISOC99].
10596         (sinhl): Likewise.
10597         (sqrtf): Likewise.
10598         (sqrtl): Likewise.
10600 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10602         * sysdeps/arm/atomic-machine.h
10603         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10604         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10605         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10606         Remove conditional code.
10607         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10608         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10609         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10610         Change conditional to [__ASSEMBLER__].
10611         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10612         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10613         [!__ASSEMBLER__].
10614         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10615         code.
10616         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10617         conditional macro definitions.
10618         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10619         (__arch_compare_and_exchange_val_16_acq): Likewise.
10620         (__arch_compare_and_exchange_val_32_acq): Likewise.
10621         (atomic_exchange_and_add): Likewise.
10622         (atomic_add): Likewise.
10623         (atomic_add_negative): Likewise.
10624         (atomic_add_zero): Likewise.
10625         (atomic_bit_set): Likewise.
10626         (atomic_bit_test_set): Likewise.
10627         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10628         code unconditional.
10629         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10631         * math/test-math-errno.h: New file.
10632         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10633         empty.
10634         (TEST_ERRNO): New macro.
10635         (TEST_EXCEPTIONS): Likewise.
10636         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10637         (TEST_EXCEPTIONS): Likewise.
10638         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10639         * math/test-double.c: Include "test-math-errno.h".
10640         * math/test-float.c: Likewise.
10641         * math/test-ldouble.c: Likewise.
10642         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10643         code unconditional.
10644         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10645         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10646         unconditional.
10647         (test_errno): Only run code if TEST_ERRNO.
10648         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10650 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10652         * nptl/tst-once5.cc: Remove attribution.
10654 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10656         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10657         sqrt, tan, tanh, y0, y1 and yn.
10658         * math/auto-libm-test-out: Regenerated.
10659         * math/libm-test.inc (scalb_test_data): Add more tests.
10660         (scalbn_test_data): Likewise.
10661         (scalbln_test_data): Likewise.
10662         (signbit_test_data): Likewise.
10663         (sin_test_data): Likewise.
10664         (sincos_test_data): Likewise.
10665         (sinh_test_data): Likewise.
10666         (sqrt_test_data): Likewise.
10667         (tan_test_data): Likewise.
10668         (tanh_test_data): Likewise.
10669         (tgamma_test_data): Likewise.
10670         (y0_test_data): Likewise.
10671         (y1_test_data): Likewise.
10672         (yn_test_data): Likewise.
10673         (significand_test_data): Likewise.
10674         * sysdeps/i386/fpu/libm-test-ulps: Update.
10676 2015-11-03  David Kastrup  <dak@gnu.org>
10678         [BZ #18604]
10679         * assert/assert.h (assert): Don't macro-expand failed assertion
10680         expression in error message.
10681         * malloc/malloc.c (assert): Likewise.
10683 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10685         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10686         test.
10687         * configure: Regenerated.
10689 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10691         * math/libm-test.inc (modf_test_data): Add more tests.
10692         (nearbyint_test_data): Likewise.
10693         (nextafter_test_data): Likewise.
10694         (nexttoward_test_data): Likewise.
10695         (pow_test_data): Likewise.
10696         (remainder_test_data): Likewise.
10697         (remquo_test_data): Likewise.
10698         (rint_test_data): Likewise.
10700         [BZ #19201]
10701         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10702         Check for zero remainder in case of large exponents and ensure
10703         correct sign of result in that case.
10704         * math/libm-test.inc (remainder_test_data): Add more tests.
10706         [BZ #6799]
10707         * math/s_nextafter.c: Include <errno.h>.
10708         (__nextafter): Set errno on overflow and underflow.
10709         * math/s_nexttowardf.c: Include <errno.h>.
10710         (__nexttowardf): Set errno on overflow and underflow.
10711         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10712         (__nextafterl): Set errno on overflow and underflow.
10713         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10714         (__nexttoward): Set errno on overflow and underflow.
10715         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10716         (__nexttowardf): Set errno on overflow and underflow.
10717         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10718         (__nextafterf): Set errno on overflow and underflow.
10719         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10720         (__nextafterl): Set errno on overflow and underflow.
10721         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10722         (__nexttoward): Set errno on overflow and underflow.
10723         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10724         (__nexttowardf): Set errno on overflow and underflow.
10725         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10726         (__nextafterl): Set errno on overflow and underflow.
10727         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10728         (__nexttoward): Set errno on overflow and underflow.
10729         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10730         (__nexttowardf): Set errno on overflow and underflow.
10731         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10732         (__nexttoward): Set errno on overflow and underflow.
10733         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10734         (__nexttowardf): Set errno on overflow and underflow.
10735         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10736         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10737         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10738         (__nextafterl): Set errno on overflow and underflow.
10739         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10740         setting to be missing on overflow.  Add more tests.
10741         (nexttoward_test_data): Likewise.
10743         * configure.ac (libc_cv_initfini_array): Remove configure test.
10744         * configure: Regenerated.
10746 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10748         [BZ #19189]
10749         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10750         non-finite argument handle arguments with negative sign.
10752         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10753         result from infinite argument.
10754         (j1_test_data): Likewise.
10755         (jn_test_data): Likewise.
10756         (y0_test_data): Likewise.
10757         (y1_test_data): Likewise.
10758         (yn_test_data): Likewise.
10760         [BZ #16171]
10761         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10762         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10763         * math/w_remainderf.c (dremf): Define as weak alias of
10764         __remainderf.
10765         * math/w_remainderl.c (dreml): Define as weak alias of
10766         __remainderl.
10767         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10768         __remainder.
10769         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10770         __remainderf.
10771         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10772         __remainderl.
10773         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10774         weak alias of remainderl.
10775         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10776         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10777         alias of __remainder.
10778         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10779         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10780         strong alias of __remainderl.
10781         (dreml): Use long_double_symbol.
10782         * math/Makefile (libm-calls): Remove w_drem.
10783         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10784         (CFLAGS-nldbl-drem.c): Remove variable.
10785         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10786         * math/w_drem.c: Remove file.
10787         * math/w_dremf.c: Likewise.
10788         * math/w_dreml.c: Likewise.
10789         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10790         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10791         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10793         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10794         * sysdeps/i386/configure: Regenerated.
10795         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10796         * sysdeps/x86_64/configure: Regenerated.
10798         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10799         test.
10800         (libc_cv_visibility_attribute): Likewise.
10801         (libc_cv_protected_data): Test unconditionally.
10802         (libc_cv_broken_visibility_attribute): Remove configure test.
10803         (libc_cv_have_sdata_section): Test unconditionally.
10804         * configure: Regenerated.
10806         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10807         * include/scratch_buffer.h: Include <stddef.h> instead of
10808         <libc-internal.h>.
10809         (struct scratch_buffer): Use max_align_t instead of
10810         libc_max_align_t.
10812 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10814         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10815         instead of extend_alloca.  Change control flow to avoid a goto.
10816         Remove assert which is trivially always true.
10818 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10820         [BZ #16068]
10821         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10822         (FE_ALL_EXCEPT_X86): New macro.
10823         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10824         FE_ALL_EXCEPT.  Ensure precision control is included in
10825         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10826         handle "denormal operand exception" and clear FZ and DAZ bits.
10827         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10828         (FE_ALL_EXCEPT_X86): New macro.
10829         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10830         FE_ALL_EXCEPT.  Ensure precision control is included in
10831         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10832         handle "denormal operand exception" and clear FZ and DAZ bits.
10833         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10834         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10835         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10836         test-fenv-x87 and test-fenv-sse-2.
10837         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10839         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10840         * math/test-double.h (BUILD_COMPLEX): New macro.
10841         * math/test-float.h (BUILD_COMPLEX): Likewise.
10842         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10844         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10845         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10846         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10848         instead of DBL_DENORM_MIN in comment.
10849         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10850         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10851         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10852         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10853         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10854         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10856 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10858         [BZ# 19048]
10859         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10860         attached_threads member.
10861         (main_arena): Initialize attached_threads.
10862         * malloc/arena.c (list_lock): Update comment.
10863         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10864         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10865         (deattach_arena): New function.
10866         (_int_new_arena): Initialize arena reference count and deattach
10867         replaced arena.
10868         (get_free_list, reused_arena): Update reference count and deattach
10869         replaced arena.
10870         (arena_thread_freeres): Update arena reference count and only put
10871         unreferenced arenas on the free list.
10873 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10875         [BZ #19181]
10876         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10877         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10878         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10879         * math/test-fenv-clear-main.c: New file.
10880         * math/test-fenv-clear.c: Likewise.
10881         * math/Makefile (tests): Add test-fenv-clear.
10882         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10883         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10884         test-fenv-clear-sse.
10885         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10887         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10888         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10889         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10891 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10893         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10894         static libc.
10896 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10898         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10899         test.
10900         * sysdeps/i386/configure: Regenerated.
10901         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10902         test.
10903         * sysdeps/x86_64/configure: Regenerated.
10904         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10905         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10906         memset-avx2 unconditionally instead of conditionally on
10907         [$(config-cflags-avx2) = yes].
10908         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10909         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10910         unconditional.
10911         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10912         * sysdeps/x86_64/multiarch/memset_chk.S
10913         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10914         to [IS_IN (libc) && SHARED].
10916 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10918         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10919         configure test.
10920         * sysdeps/arm/configure: Regenerated.
10921         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10922         Define variable if not already defined.
10924         [BZ #17404]
10925         * sysdeps/mips/atomic-machine.h
10926         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10927         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10928         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10930         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10931         unconditional.
10932         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10933         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10934         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10935         unconditional.
10936         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10937         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10938         unconditional.
10939         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10940         * stdlib/setenv.c
10941         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10942         code unconditional.
10943         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10944         Remove conditional code.
10945         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10946         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10947         unconditional.
10948         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10949         code.
10950         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10951         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10952         unconditional.
10953         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10954         code.
10955         * sysdeps/ieee754/ldbl-128/k_tanl.c
10956         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10957         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10958         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10959         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10960         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10961         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10962         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10963         unconditional.
10964         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10965         code.
10966         * sysdeps/ieee754/ldbl-96/k_tanl.c
10967         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10968         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10970         * nptl/tst-initializers1-c11.c: New file.
10971         * nptl/tst-initializers1-gnu11.c: Likewise.
10972         * nptl/Makefile (tests): Add these new tests.
10973         (CFLAGS-tst-initializers1-c11.c): New variable.
10974         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10976         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10977         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10978         instead of -std=gnu99.
10979         * configure.ac (systemtap): Test with -std=gnu11 instead of
10980         -std=gnu99.
10981         * configure: Regenerated.
10982         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10983         in compilation command in comment.
10985         * sysdeps/nptl/configure.ac: Remove file.
10986         * sysdeps/nptl/configure: Remove generated file.
10987         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10988         * configure: Regenerated.
10989         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10990         * config.make.in (have-forced-unwind): Remove variable.
10991         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10992         unconditional.
10993         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10994         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10995         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10996         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10997         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10998         unconditional.
11000 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11002         [BZ #19174]
11003         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11004         .skip_lock_out_of_tbegin_retries.
11005         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11006         (__lll_lock_elision): Likewise, and respect a value of
11007         try_tbegin <= 0.
11009 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11011         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11012         statement.
11014 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11016         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11017         variable.
11018         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11019         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11021         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11022         of -std=c1x -D_ISOC11_SOURCE.
11024         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11025         * configure: Regenerated.
11026         * manual/install.texi (Tools for Compilation): Document
11027         requirement for GCC 4.7 or later.
11028         * INSTALL: Regenerated.
11030 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11032         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11033         on CNT to a conditional jump to 'puntdata'.
11035 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11037         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11038         (libc_cv_gcc_tls_model_attr): Likewise.
11039         * configure: Regenerated.
11041         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11042         * configure: Regenerated.
11043         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11045 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11047         * configure.ac (old_glibc_headers): Remove configure test.
11048         * configure: Regenerated.
11049         * config.make.in (old-glibc-headers): Remove variable.
11050         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11051         (install): Remove dependency on remove-old-headers.
11052         (headers2_0): Remove variable.
11053         (remove-old-headers): Remove rule.
11055         * configure.ac (libc_cv_dot_text): Remove configure test.
11056         (libc_cv_asm_set_directive): Use .text instead of
11057         ${libc_cv_dot_text} in configure test.
11058         * configure: Regenerated.
11060 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11062         [BZ #19168]
11063         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11065 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11067         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11068         not support static linking.
11069         * configure: Regenerate.
11071 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11073         * math/libm-test.inc (check_float_internal): Do not special-case
11074         errors up to 0.5 ulp.
11076         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11077         log2.
11078         * math/auto-libm-test-out: Regenerated.
11079         * math/libm-test.inc (MAX_EXP): New macro.
11080         (ilogb_test_data): Add more tests.
11081         (isfinite_test_data): Likewise.
11082         (isgreater_test_data): Likewise.
11083         (isgreaterequal_test_data): Likewise.
11084         (isinf_test_data): Likewise.
11085         (isless_test_data): Likewise.
11086         (islessequal_test_data): Likewise.
11087         (islessgreater_test_data): Likewise.
11088         (isnan_test_data): Likewise.
11089         (isnormal_test_data): Likewise.
11090         (issignaling_test_data): Likewise.
11091         (isunordered_test_data): Likewise.
11092         (j0_test_data): Likewise.
11093         (j1_test_data): Likewise.
11094         (jn_test_data): Likewise.
11095         (lgamma_test_data): Likewise.
11096         (log_test_data): Likewise.
11097         (log10_test_data): Likewise.
11098         (log1p_test_data): Likewise.
11099         (log2_test_data): Likewise.
11100         (logb_test_data): Likewise.
11101         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11103         [BZ #18611]
11104         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11105         avoid excess range and precision on underflow.
11106         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11107         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11108         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11109         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11110         underflow.
11111         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11112         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11113         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11114         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11115         * math/auto-libm-test-in: Do not allow missing errno setting for
11116         tests of j1 and jn.
11117         * math/auto-libm-test-out: Regenerated.
11119 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11121         [BZ #15491]
11122         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11123         floating-point environment instead of clearing all exceptions.
11124         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11125         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11126         merging in "invalid" exceptions from frndint.
11127         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11128         * math/test-nearbyint-except.c: New file.
11129         * math/Makefile (tests): Add test-nearbyint-except.
11131 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11133         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11135         * sysdeps/tile/libm-test-ulps: Regenerated.
11137 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11140         (__NR_sync_file_range2): Assume it is always defined.
11141         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11142         (__NR_sync_file_range): Assume it is always defined.
11144 2015-10-22  Andreas Schwab  <schwab@suse.de>
11146         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11147         INTERNAL_SYSCALL_ERRNO.
11148         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11149         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11150         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11151         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11152         Likewise.
11153         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11155 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11157         * io/tst-fcntl.c (fd): New static variable.
11158         (do_prepare): Open temporary file here....
11159         (do_test): ...not here.
11161         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11163 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11165         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11166         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11167         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11168         Moved before "#ifdef __ASSEMBLER__".
11170 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11172         [BZ #19156]
11173         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11174         arguments very close to 0.
11176 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11178         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11179         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11181 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11183         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11184         New.  Defined for GCC 5 and above when not compiling for
11185         profiling.
11186         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11188         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11189         Renamed to ...
11190         (CFLAGS-epoll_pwait.o): This.
11191         (CFLAGS-mmap.c): Renamed to ...
11192         (CFLAGS-mmap.o): This.
11193         (CFLAGS-mmap64.c): Renamed to ...
11194         (CFLAGS-mmap64.o): This.
11195         (CFLAGS-epoll_pwait.os): New.
11196         (CFLAGS-mmap.os): Likewise.
11197         (CFLAGS-mmap64.os): Likewise.
11198         (CFLAGS-semtimedop.os): Likewise.
11199         (CFLAGS-semtimedop.c): Renamed to ...
11200         (CFLAGS-semtimedop.o): This.
11202 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11204         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11205         warning message.
11207 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11209         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11210         * Makefile ($(objpfx)c++-types-check.out): Filter out
11211         $(+gccwarn-c) instead of -Wstrict-prototypes.
11213         * io/fts.c (fts_open): Convert to prototype-style function
11214         definition.
11215         * malloc/mcheck.c (mcheck): Likewise.
11216         (mcheck_pedantic): Likewise.
11217         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11218         internal_function.
11219         (re_search_internal): Likewise.
11220         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11221         prototype-style function definition.
11222         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11223         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11224         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11225         (xdr_utmpptr): Likewise.
11226         (xdr_utmparr): Likewise.
11227         (xdr_utmpidle): Likewise.
11228         (xdr_utmpidleptr): Likewise.
11229         (xdr_utmpidlearr): Likewise.
11231         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11232         log, log10 and log2.
11233         * math/auto-libm-test-out: Regenerated.
11234         * math/libm-test.inc (fmod_test_data): Add more tests.
11235         (fpclassify_test_data): Likewise.
11236         (frexp_test_data): Likewise.
11237         (hypot_test_data): Likewise.
11238         (ilogb_test_data): Likewise.
11240 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11242         * debug/fortify_fail.c (__fortify_fail): Convert to
11243         prototype-style function definition.  Use internal_function.
11244         * libio/genops.c (save_for_backup): Convert to prototype-style
11245         function definition.
11246         * libio/wgenops.c (save_for_wbackup): Likewise.
11247         * login/grantpt.c (grantpt): Likewise.
11248         * login/ptsname.c (ptsname): Likewise.
11249         (__ptsname_r): Likewise.
11250         * login/unlockpt.c (unlockpt): Likewise.
11251         * mach/msgserver.c (__mach_msg_server): Likewise.
11252         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11253         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11254         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11255         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11256         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11257         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11258         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11259         Likewise.
11260         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11261         internal_function.
11262         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11263         prototype-style function definition.
11264         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11265         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11266         (__pthread_create_2_0): Likewise.
11267         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11268         * nptl/register-atfork.c (__register_atfork): Likewise.
11269         * posix/glob.c (glob): Likewise.
11270         * posix/regcomp.c (re_comp): Likewise.
11271         * posix/regexec.c (re_exec): Likewise.
11272         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11273         [!__STDC__]: Remove conditional code.
11274         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11275         [!__STDC__]: Remove conditional code.
11276         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11277         [!__STDC__]: Remove conditional code.
11278         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11279         [!__STDC__]: Remove conditional code.
11280         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11281         [!__STDC__]: Remove conditional code.
11282         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11283         [!__STDC__]: Remove conditional code.
11284         * stdlib/mul.c [__STDC__]: Make code unconditional.
11285         [!__STDC__]: Remove conditional code.
11286         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11287         [!__STDC__]: Remove conditional code.
11288         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11289         [!__STDC__]: Remove conditional code.
11290         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11291         function definition.
11292         (STRTOF): Likewise.
11293         * stdlib/strtod_l.c (__STRTOF): Likewise.
11294         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11295         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11296         (__strtol_l): Likewise.
11297         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11298         [!__STDC__]: Remove conditional code.
11299         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11300         definition.
11301         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11302         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11303         type.
11304         (__strcasecmp): Convert to prototype-style function definition.
11305         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11306         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11307         type.
11308         (__strncasecmp): Convert to prototype-style function definition.
11309         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11310         * sunrpc/xdr.c (xdr_union): Likewise.
11311         * sunrpc/xdr_array.c (xdr_array): Likewise.
11312         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11313         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11314         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11315         Likewise.
11316         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11317         Likewise.
11318         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11319         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11320         Likewise.
11321         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11322         (LOCALE_PARAM_PROTO): Likewise.
11323         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11324         argument type.
11325         (ut_argument_spec): Remove macro.
11326         (ut_argument_spec_iso): Rename to ut_argument_spec.
11327         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11328         prototype-style function definition.
11329         (memcpy_uppcase): Likewise.
11330         (__strftime_internal): Likewise.
11331         (my_strftime): Likewise.
11332         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11333         (LOCALE_PARAM_DECL): Likewise.
11334         [_LIBC] (LOCALE_PARAM): Include argument type.
11335         (__strptime_internal): Convert to prototype-style function
11336         definition.
11337         (strptime): Likewise.
11338         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11339         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11340         type.
11341         (__wcscasecmp): Convert to prototype-style function definition.
11342         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11343         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11344         type.
11345         (__wcsncasecmp): Convert to prototype-style function definition.
11347         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11348         function definition.
11349         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11350         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11351         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11352         * elf/dl-minimal.c (_itoa): Likewise.
11353         * hurd/hurdmalloc.c (malloc): Likewise.
11354         (free): Likewise.
11355         (realloc): Likewise.
11356         * inet/inet6_option.c (inet6_option_space): Likewise.
11357         (inet6_option_init): Likewise.
11358         (inet6_option_append): Likewise.
11359         (inet6_option_alloc): Likewise.
11360         (inet6_option_next): Likewise.
11361         (inet6_option_find): Likewise.
11362         * io/ftw.c (FTW_NAME): Likewise.
11363         (NFTW_NAME): Likewise.
11364         (NFTW_NEW_NAME): Likewise.
11365         (NFTW_OLD_NAME): Likewise.
11366         * libio/iofwide.c (_IO_fwide): Likewise.
11367         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11368         (_IO_str_init_static): Likewise.
11369         (_IO_str_init_readonly): Likewise.
11370         (_IO_str_overflow): Likewise.
11371         (_IO_str_underflow): Likewise.
11372         (_IO_str_count): Likewise.
11373         (_IO_str_seekoff): Likewise.
11374         (_IO_str_pbackfail): Likewise.
11375         (_IO_str_finish): Likewise.
11376         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11377         (_IO_wstr_overflow): Likewise.
11378         (_IO_wstr_underflow): Likewise.
11379         (_IO_wstr_count): Likewise.
11380         (_IO_wstr_seekoff): Likewise.
11381         (_IO_wstr_pbackfail): Likewise.
11382         (_IO_wstr_finish): Likewise.
11383         * locale/programs/localedef.c (normalize_codeset): Likewise.
11384         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11385         (add_locales_to_archive): Likewise.
11386         (delete_locales_from_archive): Likewise.
11387         * malloc/malloc.c (__libc_mallinfo): Likewise.
11388         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11389         * misc/tsearch.c (__tfind): Likewise.
11390         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11391         * nptl/pthread_attr_getdetachstate.c
11392         (__pthread_attr_getdetachstate): Likewise.
11393         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11394         Likewise.
11395         * nptl/pthread_attr_getinheritsched.c
11396         (__pthread_attr_getinheritsched): Likewise.
11397         * nptl/pthread_attr_getschedparam.c
11398         (__pthread_attr_getschedparam): Likewise.
11399         * nptl/pthread_attr_getschedpolicy.c
11400         (__pthread_attr_getschedpolicy): Likewise.
11401         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11402         Likewise.
11403         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11404         Likewise.
11405         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11406         Likewise.
11407         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11408         Likewise.
11409         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11410         (__pthread_attr_init_2_0): Likewise.
11411         * nptl/pthread_attr_setdetachstate.c
11412         (__pthread_attr_setdetachstate): Likewise.
11413         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11414         Likewise.
11415         * nptl/pthread_attr_setinheritsched.c
11416         (__pthread_attr_setinheritsched): Likewise.
11417         * nptl/pthread_attr_setschedparam.c
11418         (__pthread_attr_setschedparam): Likewise.
11419         * nptl/pthread_attr_setschedpolicy.c
11420         (__pthread_attr_setschedpolicy): Likewise.
11421         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11422         Likewise.
11423         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11424         Likewise.
11425         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11426         Likewise.
11427         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11428         Likewise.
11429         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11430         Likewise.
11431         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11432         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11433         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11434         use internal_function.
11435         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11436         prototype-style function definition.
11437         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11438         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11439         internal_function.
11440         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11441         Convert to prototype-style function definition.
11442         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11443         Likewise.
11444         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11445         Likewise.
11446         (__pthread_mutex_unlock): Likewise.
11447         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11448         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11449         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11450         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11451         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11452         * nss/makedb.c (process_input): Likewise.
11453         * posix/fnmatch.c (__strchrnul): Likewise.
11454         (__wcschrnul): Likewise.
11455         (fnmatch): Likewise.
11456         * posix/fnmatch_loop.c (FCT): Likewise.
11457         * posix/glob.c (globfree): Likewise.
11458         (__glob_pattern_type): Likewise.
11459         (__glob_pattern_p): Likewise.
11460         * posix/regcomp.c (re_compile_pattern): Likewise.
11461         (re_set_syntax): Likewise.
11462         (re_compile_fastmap): Likewise.
11463         (regcomp): Likewise.
11464         (regerror): Likewise.
11465         (regfree): Likewise.
11466         * posix/regexec.c (regexec): Likewise.
11467         (re_match): Likewise.
11468         (re_search): Likewise.
11469         (re_match_2): Likewise.
11470         (re_search_2): Likewise.
11471         (re_search_stub): Likewise.  Use internal_function
11472         (re_copy_regs): Likewise.
11473         (re_set_registers): Convert to prototype-style function
11474         definition.
11475         (prune_impossible_nodes): Likewise.  Use internal_function.
11476         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11477         prototype-style function definition.
11478         (inet_net_pton_ipv4): Likewise.
11479         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11480         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11481         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11482         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11483         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11484         Make variadic.
11485         * time/strptime_l.c (localtime_r): Convert to prototype-style
11486         function definition.
11487         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11488         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11489         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11490         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11492         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11493         definition.
11494         (_ufc_doit_r): Likewise.
11495         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11496         (_ufc_output_conversion_r): Likewise.
11497         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11498         * inet/rcmd.c (rcmd_af): Likewise.
11499         (rcmd): Likewise.
11500         (ruserok_af): Likewise.
11501         (ruserok): Likewise.
11502         (ruserok2_sa): Likewise.
11503         (ruserok_sa): Likewise.
11504         (iruserok_af): Likewise.
11505         (iruserok): Likewise.
11506         (__ivaliduser): Likewise.
11507         (__validuser2_sa): Likewise.
11508         * inet/rexec.c (rexec_af): Likewise.
11509         (rexec): Likewise.
11510         * inet/ruserpass.c (ruserpass): Likewise.
11511         * locale/programs/xmalloc.c (xcalloc): Likewise.
11512         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11513         * math/w_drem.c (__drem): Likewise.
11514         * math/w_dremf.c (__dremf): Likewise.
11515         * math/w_dreml.c (__dreml): Likewise.
11516         * misc/daemon.c (daemon): Likewise.
11517         * resolv/res_debug.c (p_fqnname): Likewise.
11518         * stdlib/div.c (div): Likewise.
11519         * string/memcmp.c (memcmp_bytes): Likewise.
11520         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11521         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11523         * crypt/cert.c (main): Convert to prototype-style function
11524         definition.
11525         * io/pipe.c (__pipe): Likewise.
11526         * io/pipe2.c (__pipe2): Likewise.
11527         * misc/futimesat.c (futimesat): Likewise.
11528         * misc/utimes.c (__utimes): Likewise.
11529         * posix/execve.c (__execve): Likewise.
11530         * posix/execvp.c (execvp): Likewise.
11531         * posix/execvpe.c (__execvpe): Likewise.
11532         * posix/fexecve.c (fexecve): Likewise.
11533         * socket/socketpair.c (socketpair): Likewise.
11534         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11535         * stdlib/erand48.c (erand48): Likewise.
11536         * stdlib/erand48_r.c (__erand48_r): Likewise.
11537         * stdlib/jrand48.c (jrand48): Likewise.
11538         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11539         * stdlib/lcong48.c (lcong48): Likewise.
11540         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11541         * stdlib/nrand48.c (nrand48): Likewise.
11542         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11543         * stdlib/seed48.c (seed48): Likewise.
11544         * stdlib/seed48_r.c (__seed48_r): Likewise.
11545         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11546         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11547         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11549 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11551         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11552         * configure: Regenerated.
11553         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11554         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11555         unconditional.
11556         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11557         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11558         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11559         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11560         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11561         unconditional.
11562         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11564         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11565         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11567         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11568         function definition.
11569         * crypt/crypt_util.c (__encrypt_r): Likewise.
11570         * libio/genops.c (_IO_no_init): Likewise.
11571         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11572         (_IO_old_fopencookie): Likewise.
11573         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11574         * libio/iogetline.c (_IO_getline): Likewise.
11575         (_IO_getline_info): Likewise.
11576         * libio/iogetwline.c (_IO_getwline): Likewise.
11577         (_IO_getwline_info): Likewise.
11578         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11579         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11580         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11581         (find_entry): Likewise.
11582         (iterate_table): Likewise.
11583         (lookup): Likewise.
11584         * login/forkpty.c (forkpty): Likewise.
11585         * misc/hsearch_r.c (__hsearch_r): Likewise.
11586         * misc/select.c (__select): Likewise.
11587         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11588         Likewise.
11589         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11590         Likewise.
11591         * nptl/old_pthread_cond_timedwait.c
11592         (__pthread_cond_timedwait_2_0): Likewise.
11593         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11594         * nptl/pthread_barrierattr_getpshared.c
11595         (pthread_barrierattr_getpshared): Likewise.
11596         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11597         Likewise.
11598         * nptl/pthread_mutex_setprioceiling.c
11599         (pthread_mutex_setprioceiling): Likewise.
11600         * nptl/pthread_mutexattr_getprioceiling.c
11601         (pthread_mutexattr_getprioceiling): Likewise.
11602         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11603         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11604         Likewise.
11605         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11606         Likewise.
11607         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11608         Likewise.
11609         * socket/recvfrom.c (__recvfrom): Likewise.
11610         * socket/sendto.c (__sendto): Likewise.
11611         * socket/setsockopt.c (__setsockopt): Likewise.
11612         * stdio-common/_itoa.c (_itoa): Likewise.
11613         * stdio-common/_itowa.c (_itowa): Likewise.
11614         * stdio-common/reg-printf.c (__register_printf_specifier):
11615         Likewise.
11616         (__register_printf_function): Likewise.
11617         * stdio-common/tempname.c (__path_search): Likewise.
11618         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11619         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11620         * stdlib/random_r.c (__initstate_r): Likewise.
11621         * stdlib/setenv.c (__add_to_environ): Likewise.
11622         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11623         * streams/getpmsg.c (getpmsg): Likewise.
11624         * streams/putmsg.c (putmsg): Likewise.
11625         * streams/putpmsg.c (putpmsg): Likewise.
11626         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11627         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11628         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11629         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11630         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11631         * sunrpc/svc_udp.c (cache_get): Likewise.
11632         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11633         * sysdeps/mach/hurd/getcwd.c
11634         (__canonicalize_directory_name_internal): Likewise.
11635         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11636         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11637         * sysdeps/mach/hurd/select.c (__select): Likewise.
11638         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11639         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11640         * sysdeps/sparc/nptl/pthread_barrier_init.c
11641         (__pthread_barrier_init): Likewise.
11642         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11643         (__pthread_cond_timedwait): Likewise.
11644         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11645         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11646         Likewise.
11647         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11648         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11649         Likewise.
11650         * sysvipc/semtimedop.c (semtimedop): Likewise.
11651         * time/setitimer.c (__setitimer): Likewise.
11652         * time/strftime_l.c (emacs_strftime): Likewise.
11654 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11656         * config.make.in (have-ssp): Delete.
11657         (stack-protector): New variable.
11658         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11659         cache test for -fstack-protector-strong.  Export stack_protector to
11660         the best ssp flag.
11661         * configure: Regenerated.
11662         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11663         * nscd/Makefile (CFLAGS-nscd): Likewise.
11664         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11666 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11668         [BZ #19122]
11669         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11670         attribute_hidden.
11672 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11674         [BZ #18743]
11675         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11676         code to...
11677         (ELIDE_LOCK): ...here.
11678         (__get_new_count): New function with part of the code from
11679         __elide_lock that updates the value of adapt_count after a
11680         transaction abort.
11681         (__elided_trylock): Moved this code to...
11682         (ELIDE_TRYLOCK): ...here.
11684 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11686         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11687         * configure: Regenerate.
11688         * INSTALL: Regenerate.
11689         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11690         and tweak grammar.
11692 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11694         * login/programs/pt_chown.c: Include signal.h
11695         (main): Clear any signal mask from the parent process.
11697 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11699         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11700         * configure: Regenerated.
11701         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11702         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11703         $(gnu89-inline-CFLAGS).
11705         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11706         test.
11707         (libc_cv_asm_weakext_directive): Likewise.
11708         * configure: Regenerated.
11709         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11710         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11711         * include/libc-symbols.h
11712         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11713         #error.
11714         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11715         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11717         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11718         prototype-style function definition.
11719         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11720         * sysdeps/i386/ffs.c (__ffs): Likewise.
11721         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11722         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11723         Likewise.
11724         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11725         Likewise.
11726         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11727         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11728         Likewise.
11729         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11730         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11731         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11732         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11733         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11734         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11735         * sysdeps/mach/hurd/access.c (__access): Likewise.
11736         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11737         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11738         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11739         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11740         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11741         (cthread_getspecific): Likewise.
11742         (cthread_setspecific): Likewise.
11743         (__libc_getspecific): Likewise.
11744         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11745         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11746         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11747         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11748         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11749         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11750         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11751         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11752         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11753         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11754         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11755         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11756         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11757         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11758         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11759         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11760         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11761         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11762         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11763         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11764         * sysdeps/mach/hurd/link.c (__link): Likewise.
11765         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11766         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11767         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11768         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11769         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11770         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11771         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11772         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11773         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11774         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11775         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11776         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11777         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11778         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11779         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11780         * sysdeps/mach/hurd/send.c (__send): Likewise.
11781         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11782         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11783         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11784         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11785         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11786         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11787         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11788         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11789         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11790         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11791         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11792         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11793         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11794         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11795         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11796         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11797         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11798         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11799         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11800         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11801         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11802         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11803         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11804         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11805         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11806         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11807         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11808         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11809         * sysdeps/posix/alarm.c (alarm): Likewise.
11810         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11811         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11812         * sysdeps/posix/dup.c (__dup): Likewise.
11813         * sysdeps/posix/dup2.c (__dup2): Likewise.
11814         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11815         (main): Likewise.
11816         * sysdeps/posix/flock.c (__flock): Likewise.
11817         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11818         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11819         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11820         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11821         * sysdeps/posix/isatty.c (__isatty): Likewise.
11822         * sysdeps/posix/killpg.c (killpg): Likewise.
11823         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11824         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11825         * sysdeps/posix/raise.c (raise): Likewise.
11826         * sysdeps/posix/remove.c (remove): Likewise.
11827         * sysdeps/posix/rename.c (rename): Likewise.
11828         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11829         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11830         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11831         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11832         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11833         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11834         * sysdeps/posix/sigset.c (sigset): Likewise.
11835         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11836         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11837         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11838         * sysdeps/posix/time.c (time): Likewise.
11839         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11840         (ttyname): Likewise.
11841         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11842         * sysdeps/posix/utime.c (utime): Likewise.
11843         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11844         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11845         Likewise.
11846         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11847         (pthread_spin_trylock): Likewise.
11848         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11849         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11850         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11851         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11852         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11853         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11854         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11855         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11856         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11857         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11858         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11859         * sysdeps/s390/ffs.c (__ffs): Likewise.
11860         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11861         Likewise.
11862         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11863         Likewise.
11864         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11865         Likewise.
11866         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11867         (pthread_barrier_destroy): Likewise.
11868         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11869         (__pthread_barrier_wait): Likewise.
11870         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11871         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11872         (__pthread_barrier_wait): Likewise.
11873         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11874         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11875         (memcmp_not_common_alignment): Likewise.
11876         (MEMCMP): Likewise.
11877         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11878         (_wordcopy_fwd_dest_aligned): Likewise.
11879         (_wordcopy_bwd_aligned): Likewise.
11880         (_wordcopy_bwd_dest_aligned): Likewise.
11881         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11882         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11883         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11884         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11885         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11886         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11887         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11888         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11889         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11890         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11891         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11892         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11893         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11894         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11895         * sysdeps/unix/stime.c (stime): Likewise.
11896         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11897         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11898         Likewise.  Use internal_function.
11899         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11900         Convert to prototype-style function definition.
11901         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11902         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11903         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11904         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11905         Likewise.  Use internal_function.
11906         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11907         prototype-style function definition
11908         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11909         Likewise.
11910         (__getlogin_r): Likewise.
11911         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11912         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11913         (__pthread_cond_broadcast): Likewise.
11914         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11915         (__pthread_cond_destroy): Likewise.
11916         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11917         (__pthread_cond_init): Likewise.
11918         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11919         (__pthread_cond_signal): Likewise.
11920         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11921         (__pthread_cond_wait): Likewise.
11922         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11923         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11924         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11925         Likewise.
11926         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11927         Likewise.
11928         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11929         Likewise.
11930         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11931         Likewise.
11932         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11934         (__ftruncate64): Likewise.
11935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11936         (truncate64): Likewise.
11937         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11938         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11939         (pthread_getcpuclockid): Likewise.
11940         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11941         Likewise.
11942         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11943         Likewise.
11944         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11945         Likewise.
11946         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11947         Likewise.
11948         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11949         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11950         (__libc_sigaction): Likewise.
11951         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11952         Likewise.
11953         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11954         (__sigprocmask): Likewise.
11955         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11956         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11957         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11958         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11959         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11960         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11961         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11962         Likewise.
11963         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11964         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11965         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11966         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11967         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11968         Likewise.
11969         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11970         (__sigprocmask): Likewise.
11971         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11972         (cfgetispeed): Likewise.
11973         (cfsetospeed): Likewise.
11974         (cfsetispeed): Likewise.
11975         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11976         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11977         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11978         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11979         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11980         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11981         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11982         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11983         Likewise.
11984         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11985         Likewise.
11986         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11987         Likewise.
11988         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11989         Likewise.
11990         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11992 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11994         sunrpc: Rewrite with explicit TLS access using __thread.
11995         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11996         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11997         directly.
11998         (__rpc_thread_variables): Access thread_rpc_vars directly.
11999         Eliminate redundant assignment of the tvp variable.
12001 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12003         malloc: Rewrite with explicit TLS access using __thread.
12004         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12005         (tsd_setspecific, tsd_getspecific): Remove.
12006         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12007         (tsd_setspecific, tsd_getspecific): Likewise.
12008         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12009         (tsd_setspecific, tsd_getspecific): Likewise.
12010         * malloc/arena.c (thread_arena): New TLS variable.
12011         (arena_key): Remove variable.
12012         (arena_get): Use thread_arena.
12013         (arena_lookup): Remove macro.
12014         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12015         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12016         (_int_new_arena, get_free_list, reused_arena)
12017         (arena_thread_freeres): Use thread_arena.
12018         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12019         tsd_getspecific, tsd_setspecific from safety annotations.
12020         (Allocating Cleared Space): Remove arena_lookup from safety
12021         annotations.
12023 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12025         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12026         struct scratch_buffer instead of extend_alloca.
12028 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12030         * sysdeps/unix/sysv/linux/kernel-features.h
12031         (__ASSUME_SOCK_CLOEXEC): Remove.
12032         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12033         (__have_paccept): Remove unused macro.
12034         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12035         * misc/syslog.c (openlog_internal): Remove fallback code for
12036         !__ASSUME_SOCK_CLOEXEC.
12037         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12038         missing SOCK_CLOEXEC.
12039         * nscd/connections.c (have_sock_cloexec): Remove definition.
12040         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12041         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12042         !__ASSUME_SOCK_CLOEXEC.
12043         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12044         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12045         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12046         definition.
12047         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12048         code for !__ASSUME_SOCK_CLOEXEC.
12050 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12052         [BZ #18982]
12053         * manual/stdio.texi (Variable Arguments Output): Add portability
12054         note, explaining that vfprintf clobbers the va_list pointer.
12056 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12058         * math/libm-test.inc (fabs_test_data): Add more tests.
12059         (fdim_test_data): Likewise.
12060         (fma_test_data): Likewise.
12061         (fmax_test_data): Likewise.
12062         (fmin_test_data): Likewise.
12063         (fmod_test_data): Likewise.
12065 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12067         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12068         data.
12070 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12072         * math/libm-test.inc (ceil_test_data): Add more tests and more
12073         expectations for "inexact".
12074         (floor_test_data): Add more tests.
12075         (round_test_data): Likewise.
12076         (trunc_test_data): Likewise.
12078         * crypt/cert.c (good_bye): Convert to prototype-style function
12079         definition.
12080         (get8): Likewise.
12081         (put8): Likewise.
12082         * crypt/crypt-entry.c (crypt): Likewise.
12083         (__fcrypt): Likewise.
12084         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12085         (_ufc_set_bits): Likewise.
12086         (_ufc_clearmem): Likewise.
12087         (__init_des_r): Likewise.
12088         (shuffle_sb): Likewise.
12089         (shuffle_sb): Likewise.
12090         (_ufc_setup_salt_r): Likewise.
12091         (_ufc_mk_keytab_r): Likewise.
12092         (_ufc_dofinalperm_r): Likewise.
12093         (encrypt): Likewise.
12094         (__setkey_r): Likewise.
12095         (setkey): Likewise.
12096         * crypt/md5.c (md5_init_ctx): Likewise.
12097         (md5_read_ctx): Likewise.
12098         (md5_finish_ctx): Likewise.
12099         (md5_stream): Likewise.
12100         (md5_buffer): Likewise.
12101         (md5_process_bytes): Likewise.
12102         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12103         (__sha256_finish_ctx): Likewise.
12104         (__sha256_process_bytes): Likewise.
12105         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12106         (__sha512_finish_ctx): Likewise.
12107         (__sha512_process_bytes): Likewise.
12108         * ctype/isctype.c (__isctype): Likewise.
12109         * debug/backtrace.c (__backtrace): Likewise.
12110         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12111         * debug/fgets_chk.c (__fgets_chk): Likewise.
12112         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12113         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12114         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12115         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12116         * debug/memset_chk.c (__memset_chk): Likewise.
12117         * debug/strcat_chk.c (__strcat_chk): Likewise.
12118         * debug/strncat_chk.c (__strncat_chk): Likewise.
12119         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12120         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12121         * dirent/dirfd.c (dirfd): Likewise.
12122         * dirent/getdents.c (__getdirentries): Likewise.
12123         * dirent/getdents64.c (getdirentries64): Likewise.
12124         * dirent/rewinddir.c (__rewinddir): Likewise.
12125         * dirent/seekdir.c (seekdir): Likewise.
12126         * dirent/telldir.c (telldir): Likewise.
12127         * elf/sln.c (makesymlinks): Likewise.
12128         (makesymlink): Likewise.
12129         * gmon/gmon.c (__moncontrol): Likewise.
12130         (__monstartup): Likewise.
12131         (write_hist): Likewise.
12132         (write_call_graph): Likewise.
12133         (write_bb_counts): Likewise.
12134         * grp/setgroups.c (setgroups): Likewise.
12135         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12136         * inet/inet_net.c (inet_network): Likewise.
12137         * inet/inet_netof.c (inet_netof): Likewise.
12138         * inet/rcmd.c (rresvport_af): Likewise.
12139         (rresvport): Likewise.
12140         * io/access.c (__access): Likewise.
12141         * io/chdir.c (__chdir): Likewise.
12142         * io/chmod.c (__chmod): Likewise.
12143         * io/chown.c (__chown): Likewise.
12144         * io/close.c (__close): Likewise.
12145         * io/creat.c (creat): Likewise.
12146         * io/creat64.c (creat64): Likewise.
12147         * io/dup.c (__dup): Likewise.
12148         * io/dup2.c (__dup2): Likewise.
12149         * io/dup3.c (__dup3): Likewise.
12150         * io/euidaccess.c (__euidaccess): Likewise.
12151         * io/faccessat.c (faccessat): Likewise.
12152         * io/fchmod.c (__fchmod): Likewise.
12153         * io/fchmodat.c (fchmodat): Likewise.
12154         * io/fchown.c (__fchown): Likewise.
12155         * io/fchownat.c (fchownat): Likewise.
12156         * io/fcntl.c (__fcntl): Likewise.
12157         * io/flock.c (__flock): Likewise.
12158         * io/fts.c (fts_load): Likewise.
12159         (fts_close): Likewise.
12160         (fts_read): Likewise.
12161         (fts_set): Likewise.
12162         (fts_children): Likewise.
12163         (fts_build): Likewise.
12164         (fts_stat): Likewise.
12165         (fts_sort): Likewise.
12166         (fts_alloc): Likewise.
12167         (fts_lfree): Likewise.
12168         (fts_palloc): Likewise.
12169         (fts_padjust): Likewise.
12170         (fts_maxarglen): Likewise.
12171         (fts_safe_changedir): Likewise.
12172         * io/getwd.c (getwd): Likewise.
12173         * io/isatty.c (__isatty): Likewise.
12174         * io/lchown.c (__lchown): Likewise.
12175         * io/link.c (__link): Likewise.
12176         * io/linkat.c (linkat): Likewise.
12177         * io/lseek.c (__libc_lseek): Likewise.
12178         * io/mkdir.c (__mkdir): Likewise.
12179         * io/mkdirat.c (mkdirat): Likewise.
12180         * io/mkfifo.c (mkfifo): Likewise.
12181         * io/mkfifoat.c (mkfifoat): Likewise.
12182         * io/open.c (__libc_open): Likewise.
12183         * io/open64.c (__libc_open64): Likewise.
12184         * io/readlink.c (__readlink): Likewise.
12185         * io/readlinkat.c (readlinkat): Likewise.
12186         * io/rmdir.c (__rmdir): Likewise.
12187         * io/symlink.c (__symlink): Likewise.
12188         * io/symlinkat.c (symlinkat): Likewise.
12189         * io/ttyname.c (ttyname): Likewise.
12190         * io/ttyname_r.c (__ttyname_r): Likewise.
12191         * io/umask.c (__umask): Likewise.
12192         * io/unlink.c (__unlink): Likewise.
12193         * io/unlinkat.c (unlinkat): Likewise.
12194         * io/utime.c (utime): Likewise.
12195         * libio/clearerr.c (clearerr): Likewise.
12196         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12197         * libio/feof.c (_IO_feof): Likewise.
12198         * libio/feof_u.c (feof_unlocked): Likewise.
12199         * libio/ferror.c (_IO_ferror): Likewise.
12200         * libio/ferror_u.c (ferror_unlocked): Likewise.
12201         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12202         * libio/fileno.c (__fileno): Likewise.
12203         * libio/fputc.c (fputc): Likewise.
12204         * libio/fputc_u.c (fputc_unlocked): Likewise.
12205         * libio/fputwc.c (fputwc): Likewise.
12206         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12207         * libio/freopen.c (freopen): Likewise.
12208         * libio/freopen64.c (freopen64): Likewise.
12209         * libio/fseek.c (fseek): Likewise.
12210         * libio/fseeko.c (fseeko): Likewise.
12211         * libio/fseeko64.c (fseeko64): Likewise.
12212         * libio/ftello.c (__ftello): Likewise.
12213         * libio/ftello64.c (ftello64): Likewise.
12214         * libio/fwide.c (fwide): Likewise.
12215         * libio/genops.c (_IO_un_link): Likewise.
12216         (_IO_link_in): Likewise.
12217         (_IO_least_marker): Likewise.
12218         (_IO_switch_to_main_get_area): Likewise.
12219         (_IO_switch_to_backup_area): Likewise.
12220         (_IO_switch_to_get_mode): Likewise.
12221         (_IO_free_backup_area): Likewise.
12222         (_IO_switch_to_put_mode): Likewise.
12223         (__overflow): Likewise.
12224         (__underflow): Likewise.
12225         (__uflow): Likewise.
12226         (_IO_setb): Likewise.
12227         (_IO_doallocbuf): Likewise.
12228         (_IO_default_underflow): Likewise.
12229         (_IO_default_uflow): Likewise.
12230         (_IO_default_xsputn): Likewise.
12231         (_IO_sgetn): Likewise.
12232         (_IO_default_xsgetn): Likewise.
12233         (_IO_sync): Likewise.
12234         (_IO_default_setbuf): Likewise.
12235         (_IO_default_seekpos): Likewise.
12236         (_IO_default_doallocate): Likewise.
12237         (_IO_init): Likewise.
12238         (_IO_old_init): Likewise.
12239         (_IO_default_sync): Likewise.
12240         (_IO_default_finish): Likewise.
12241         (_IO_default_seekoff): Likewise.
12242         (_IO_sputbackc): Likewise.
12243         (_IO_sungetc): Likewise.
12244         (_IO_set_column): Likewise.
12245         (_IO_set_column): Likewise.
12246         (_IO_adjust_column): Likewise.
12247         (_IO_get_column): Likewise.
12248         (_IO_init_marker): Likewise.
12249         (_IO_remove_marker): Likewise.
12250         (_IO_marker_difference): Likewise.
12251         (_IO_marker_delta): Likewise.
12252         (_IO_seekmark): Likewise.
12253         (_IO_unsave_markers): Likewise.
12254         (_IO_nobackup_pbackfail): Likewise.
12255         (_IO_default_pbackfail): Likewise.
12256         (_IO_default_seek): Likewise.
12257         (_IO_default_stat): Likewise.
12258         (_IO_default_read): Likewise.
12259         (_IO_default_write): Likewise.
12260         (_IO_default_showmanyc): Likewise.
12261         (_IO_default_imbue): Likewise.
12262         (_IO_iter_next): Likewise.
12263         (_IO_iter_file): Likewise.
12264         * libio/getc.c (_IO_getc): Likewise.
12265         * libio/getwc.c (_IO_getwc): Likewise.
12266         * libio/iofclose.c (_IO_new_fclose): Likewise.
12267         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12268         * libio/iofflush.c (_IO_fflush): Likewise.
12269         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12270         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12271         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12272         * libio/iofgets.c (_IO_fgets): Likewise.
12273         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12274         * libio/iofgetws.c (fgetws): Likewise.
12275         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12276         * libio/iofopen64.c (_IO_fopen64): Likewise.
12277         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12278         (_IO_cookie_write): Likewise.
12279         (_IO_cookie_seek): Likewise.
12280         (_IO_cookie_close): Likewise.
12281         (_IO_cookie_seekoff): Likewise.
12282         (_IO_old_cookie_seek): Likewise.
12283         * libio/iofputs.c (_IO_fputs): Likewise.
12284         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12285         * libio/iofputws.c (fputws): Likewise.
12286         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12287         * libio/iofread.c (_IO_fread): Likewise.
12288         * libio/iofread_u.c (__fread_unlocked): Likewise.
12289         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12290         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12291         * libio/ioftell.c (_IO_ftell): Likewise.
12292         * libio/iofwrite.c (_IO_fwrite): Likewise.
12293         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12294         * libio/iogets.c (_IO_gets): Likewise.
12295         * libio/iopadn.c (_IO_padn): Likewise.
12296         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12297         (_IO_new_popen): Likewise.
12298         (_IO_new_proc_close): Likewise.
12299         * libio/ioputs.c (_IO_puts): Likewise.
12300         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12301         (_IO_seekoff): Likewise.
12302         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12303         (_IO_seekpos): Likewise.
12304         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12305         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12306         * libio/ioungetc.c (_IO_ungetc): Likewise.
12307         * libio/ioungetwc.c (ungetwc): Likewise.
12308         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12309         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12310         * libio/iowpadn.c (_IO_wpadn): Likewise.
12311         * libio/libc_fatal.c (__libc_fatal): Likewise.
12312         * libio/memstream.c (__open_memstream): Likewise.
12313         (_IO_mem_sync): Likewise.
12314         (_IO_mem_finish): Likewise.
12315         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12316         (_IO_old_file_close_it): Likewise.
12317         (_IO_old_file_finish): Likewise.
12318         (_IO_old_file_fopen): Likewise.
12319         (_IO_old_file_attach): Likewise.
12320         (_IO_old_file_setbuf): Likewise.
12321         (_IO_old_do_write): Likewise.
12322         (old_do_write): Likewise.
12323         (_IO_old_file_underflow): Likewise.
12324         (_IO_old_file_overflow): Likewise.
12325         (_IO_old_file_sync): Likewise.
12326         (_IO_old_file_seekoff): Likewise.
12327         (_IO_old_file_write): Likewise.
12328         (_IO_old_file_xsputn): Likewise.
12329         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12330         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12331         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12332         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12333         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12334         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12335         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12336         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12337         (_IO_old_popen): Likewise.
12338         (_IO_old_proc_close): Likewise.
12339         * libio/oldpclose.c (__old_pclose): Likewise.
12340         * libio/pclose.c (__new_pclose): Likewise.
12341         * libio/peekc.c (_IO_peekc_locked): Likewise.
12342         * libio/putc.c (_IO_putc): Likewise.
12343         * libio/putc_u.c (putc_unlocked): Likewise.
12344         * libio/putchar.c (putchar): Likewise.
12345         * libio/putchar_u.c (putchar_unlocked): Likewise.
12346         * libio/putwc.c (putwc): Likewise.
12347         * libio/putwc_u.c (putwc_unlocked): Likewise.
12348         * libio/putwchar.c (putwchar): Likewise.
12349         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12350         * libio/rewind.c (rewind): Likewise.
12351         * libio/setbuf.c (setbuf): Likewise.
12352         * libio/setlinebuf.c (setlinebuf): Likewise.
12353         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12354         * libio/vscanf.c (_IO_vscanf): Likewise.
12355         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12356         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12357         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12358         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12359         (_IO_switch_to_main_wget_area): Likewise.
12360         (_IO_switch_to_wbackup_area): Likewise.
12361         (_IO_wsetb): Likewise.
12362         (_IO_wdefault_pbackfail): Likewise.
12363         (_IO_wdefault_finish): Likewise.
12364         (_IO_wdefault_uflow): Likewise.
12365         (__woverflow): Likewise.
12366         (__wuflow): Likewise.
12367         (__wunderflow): Likewise.
12368         (_IO_wdefault_xsputn): Likewise.
12369         (_IO_wdefault_xsgetn): Likewise.
12370         (_IO_wdoallocbuf): Likewise.
12371         (_IO_wdefault_doallocate): Likewise.
12372         (_IO_switch_to_wget_mode): Likewise.
12373         (_IO_free_wbackup_area): Likewise.
12374         (_IO_switch_to_wput_mode): Likewise.
12375         (_IO_sputbackwc): Likewise.
12376         (_IO_sungetwc): Likewise.
12377         (_IO_adjust_wcolumn): Likewise.
12378         (_IO_init_wmarker): Likewise.
12379         (_IO_wmarker_delta): Likewise.
12380         (_IO_seekwmark): Likewise.
12381         (_IO_unsave_wmarkers): Likewise.
12382         * libio/wmemstream.c (open_wmemstream): Likewise.
12383         (_IO_wmem_sync): Likewise.
12384         (_IO_wmem_finish): Likewise.
12385         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12386         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12387         * locale/programs/simple-hash.c (init_hash): Likewise.
12388         (delete_hash): Likewise.
12389         (insert_entry): Likewise.
12390         (set_entry): Likewise.
12391         (next_prime): Likewise.
12392         (is_prime): Likewise.
12393         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12394         (xmalloc): Likewise.
12395         (xrealloc): Likewise.
12396         * locale/programs/xstrdup.c (xstrdup): Likewise.
12397         * localedata/collate-test.c (xstrcoll): Likewise.
12398         * localedata/xfrm-test.c (xstrcmp): Likewise.
12399         * login/getlogin_r.c (__getlogin_r): Likewise.
12400         * login/getpt.c (__posix_openpt): Likewise.
12401         * login/login_tty.c (login_tty): Likewise.
12402         * login/setlogin.c (setlogin): Likewise.
12403         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12404         (mach_msg_destroy_port): Likewise.
12405         (mach_msg_destroy_memory): Likewise.
12406         * malloc/mcheck.c (flood): Likewise.
12407         * misc/acct.c (acct): Likewise.
12408         * misc/brk.c (__brk): Likewise.
12409         * misc/chflags.c (chflags): Likewise.
12410         * misc/chroot.c (chroot): Likewise.
12411         * misc/fchflags.c (fchflags): Likewise.
12412         * misc/fstab.c (getfsspec): Likewise.
12413         (getfsfile): Likewise.
12414         * misc/fsync.c (fsync): Likewise.
12415         * misc/ftruncate.c (__ftruncate): Likewise.
12416         * misc/ftruncate64.c (__ftruncate64): Likewise.
12417         * misc/getdomain.c (getdomainname): Likewise.
12418         (getdomainname): Likewise.
12419         * misc/gethostname.c (__gethostname): Likewise.
12420         * misc/getpass.c (getpass): Likewise.
12421         * misc/getttyent.c (skip): Likewise.
12422         (value): Likewise.
12423         * misc/gtty.c (gtty): Likewise.
12424         * misc/hsearch.c (hsearch): Likewise.
12425         (hcreate): Likewise.
12426         * misc/hsearch_r.c (__hcreate_r): Likewise.
12427         (__hdestroy_r): Likewise.
12428         * misc/ioctl.c (__ioctl): Likewise.
12429         * misc/mkdtemp.c (mkdtemp): Likewise.
12430         * misc/mkostemp.c (mkostemp): Likewise.
12431         * misc/mkostemp64.c (mkostemp64): Likewise.
12432         * misc/mkostemps.c (mkostemps): Likewise.
12433         * misc/mkostemps64.c (mkostemps64): Likewise.
12434         * misc/mkstemp.c (mkstemp): Likewise.
12435         * misc/mkstemp64.c (mkstemp64): Likewise.
12436         * misc/mkstemps.c (mkstemps): Likewise.
12437         * misc/mkstemps64.c (mkstemps64): Likewise.
12438         * misc/mktemp.c (__mktemp): Likewise.
12439         * misc/preadv.c (preadv): Likewise.
12440         * misc/preadv64.c (preadv64): Likewise.
12441         * misc/pwritev.c (pwritev): Likewise.
12442         * misc/pwritev64.c (pwritev64): Likewise.
12443         * misc/readv.c (__readv): Likewise.
12444         * misc/revoke.c (revoke): Likewise.
12445         * misc/setdomain.c (setdomainname): Likewise.
12446         * misc/setegid.c (setegid): Likewise.
12447         * misc/seteuid.c (seteuid): Likewise.
12448         * misc/sethostid.c (sethostid): Likewise.
12449         * misc/sethostname.c (sethostname): Likewise.
12450         * misc/setregid.c (__setregid): Likewise.
12451         * misc/setreuid.c (__setreuid): Likewise.
12452         * misc/sstk.c (sstk): Likewise.
12453         * misc/stty.c (stty): Likewise.
12454         * misc/syscall.c (syscall): Likewise.
12455         * misc/syslog.c (setlogmask): Likewise.
12456         * misc/truncate.c (__truncate): Likewise.
12457         * misc/truncate64.c (truncate64): Likewise.
12458         * misc/ualarm.c (ualarm): Likewise.
12459         * misc/usleep.c (usleep): Likewise.
12460         * misc/ustat.c (ustat): Likewise.
12461         * misc/writev.c (__writev): Likewise.
12462         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12463         * nptl/old_pthread_cond_broadcast.c
12464         (__pthread_cond_broadcast_2_0): Likewise.
12465         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12466         Likewise.
12467         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12468         Likewise.
12469         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12470         Likewise.
12471         * nptl/pt-raise.c (raise): Likewise.
12472         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12473         Likewise.
12474         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12475         * nptl/pthread_barrierattr_destroy.c
12476         (pthread_barrierattr_destroy): Likewise.
12477         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12478         Likewise.
12479         * nptl/pthread_barrierattr_setpshared.c
12480         (pthread_barrierattr_setpshared): Likewise.
12481         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12482         Likewise.
12483         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12484         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12485         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12486         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12487         Likewise.
12488         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12489         Likewise.
12490         * nptl/pthread_condattr_getpshared.c
12491         (pthread_condattr_getpshared): Likewise.
12492         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12493         Likewise.
12494         * nptl/pthread_condattr_setpshared.c
12495         (pthread_condattr_setpshared): Likewise.
12496         * nptl/pthread_detach.c (pthread_detach): Likewise.
12497         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12498         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12499         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12500         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12501         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12502         Likewise.
12503         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12504         Likewise.
12505         * nptl/pthread_mutex_getprioceiling.c
12506         (pthread_mutex_getprioceiling): Likewise.
12507         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12508         Likewise.
12509         * nptl/pthread_mutexattr_getprotocol.c
12510         (pthread_mutexattr_getprotocol): Likewise.
12511         * nptl/pthread_mutexattr_getpshared.c
12512         (pthread_mutexattr_getpshared): Likewise.
12513         * nptl/pthread_mutexattr_getrobust.c
12514         (pthread_mutexattr_getrobust): Likewise.
12515         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12516         Likewise.
12517         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12518         Likewise.
12519         * nptl/pthread_mutexattr_setprioceiling.c
12520         (pthread_mutexattr_setprioceiling): Likewise.
12521         * nptl/pthread_mutexattr_setprotocol.c
12522         (pthread_mutexattr_setprotocol): Likewise.
12523         * nptl/pthread_mutexattr_setpshared.c
12524         (pthread_mutexattr_setpshared): Likewise.
12525         * nptl/pthread_mutexattr_setrobust.c
12526         (pthread_mutexattr_setrobust): Likewise.
12527         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12528         Likewise.
12529         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12530         Likewise.
12531         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12532         Likewise.
12533         * nptl/pthread_rwlockattr_getkind_np.c
12534         (pthread_rwlockattr_getkind_np): Likewise.
12535         * nptl/pthread_rwlockattr_getpshared.c
12536         (pthread_rwlockattr_getpshared): Likewise.
12537         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12538         Likewise.
12539         * nptl/pthread_rwlockattr_setkind_np.c
12540         (pthread_rwlockattr_setkind_np): Likewise.
12541         * nptl/pthread_rwlockattr_setpshared.c
12542         (pthread_rwlockattr_setpshared): Likewise.
12543         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12544         Likewise.
12545         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12546         Likewise.
12547         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12548         Likewise.
12549         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12550         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12551         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12552         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12553         * nptl/sem_close.c (sem_close): Likewise.
12554         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12555         * nptl/sem_init.c (__old_sem_init): Likewise.
12556         * nptl/sigaction.c (__sigaction): Likewise.
12557         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12558         * posix/_exit.c (_exit): Likewise.
12559         * posix/alarm.c (alarm): Likewise.
12560         * posix/confstr.c (confstr): Likewise.
12561         * posix/fpathconf.c (__fpathconf): Likewise.
12562         * posix/getgroups.c (__getgroups): Likewise.
12563         * posix/getpgid.c (__getpgid): Likewise.
12564         * posix/group_member.c (__group_member): Likewise.
12565         * posix/pathconf.c (__pathconf): Likewise.
12566         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12567         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12568         * posix/setgid.c (__setgid): Likewise.
12569         * posix/setpgid.c (__setpgid): Likewise.
12570         * posix/setuid.c (__setuid): Likewise.
12571         * posix/sleep.c (__sleep): Likewise.
12572         * posix/sysconf.c (__sysconf): Likewise.
12573         * posix/times.c (__times): Likewise.
12574         * posix/uname.c (__uname): Likewise.
12575         * posix/waitid.c (__waitid): Likewise.
12576         * pwd/getpw.c (__getpw): Likewise.
12577         * resolv/base64.c (b64_pton): Likewise.
12578         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12579         * resolv/gethnamaddr.c (Dprintf): Likewise.
12580         (gethostbyname): Likewise.
12581         (gethostbyname2): Likewise.
12582         (gethostbyaddr): Likewise.
12583         (_sethtent): Likewise.
12584         (_gethtbyname): Likewise.
12585         (_gethtbyname2): Likewise.
12586         (_gethtbyaddr): Likewise.
12587         (map_v4v6_address): Likewise.
12588         (map_v4v6_hostent): Likewise.
12589         (addrsort): Likewise.
12590         (ht_sethostent): Likewise.
12591         (ht_gethostbyname): Likewise.
12592         (ht_gethostbyaddr): Likewise.
12593         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12594         (inet_net_ntop_ipv4): Likewise.
12595         * resolv/inet_neta.c (inet_neta): Likewise.
12596         * resolv/inet_ntop.c (inet_ntop): Likewise.
12597         (inet_ntop4): Likewise.
12598         (inet_ntop6): Likewise.
12599         * resolv/inet_pton.c (__inet_pton): Likewise.
12600         (inet_pton4): Likewise.
12601         (inet_pton6): Likewise.
12602         * resolv/res_debug.c (loc_aton): Likewise.
12603         (loc_ntoa): Likewise.
12604         * resource/getpriority.c (__getpriority): Likewise.
12605         * resource/getrusage.c (__getrusage): Likewise.
12606         * resource/nice.c (nice): Likewise.
12607         * resource/setpriority.c (__setpriority): Likewise.
12608         * resource/setrlimit64.c (setrlimit64): Likewise.
12609         * resource/vlimit.c (vlimit): Likewise.
12610         * resource/vtimes.c (vtimes): Likewise.
12611         * rt/aio_error.c (aio_error): Likewise.
12612         * rt/aio_return.c (aio_return): Likewise.
12613         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12614         * signal/kill.c (__kill): Likewise.
12615         * signal/killpg.c (killpg): Likewise.
12616         * signal/raise.c (raise): Likewise.
12617         * signal/sigaction.c (__sigaction): Likewise.
12618         * signal/sigaddset.c (sigaddset): Likewise.
12619         * signal/sigaltstack.c (sigaltstack): Likewise.
12620         * signal/sigandset.c (sigandset): Likewise.
12621         * signal/sigblock.c (__sigblock): Likewise.
12622         * signal/sigdelset.c (sigdelset): Likewise.
12623         * signal/sigempty.c (sigemptyset): Likewise.
12624         * signal/sigfillset.c (sigfillset): Likewise.
12625         * signal/sighold.c (sighold): Likewise.
12626         * signal/sigignore.c (sigignore): Likewise.
12627         * signal/sigintr.c (siginterrupt): Likewise.
12628         * signal/sigisempty.c (sigisemptyset): Likewise.
12629         * signal/sigismem.c (sigismember): Likewise.
12630         * signal/signal.c (signal): Likewise.
12631         * signal/sigorset.c (sigorset): Likewise.
12632         * signal/sigpause.c (__sigpause): Likewise.
12633         * signal/sigpending.c (sigpending): Likewise.
12634         * signal/sigprocmask.c (__sigprocmask): Likewise.
12635         * signal/sigrelse.c (sigrelse): Likewise.
12636         * signal/sigreturn.c (__sigreturn): Likewise.
12637         * signal/sigset.c (sigset): Likewise.
12638         * signal/sigsetmask.c (__sigsetmask): Likewise.
12639         * signal/sigstack.c (sigstack): Likewise.
12640         * signal/sigsuspend.c (__sigsuspend): Likewise.
12641         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12642         * signal/sysv_signal.c (__sysv_signal): Likewise.
12643         * socket/accept.c (accept): Likewise.
12644         * socket/accept4.c (__libc_accept4): Likewise.
12645         * socket/bind.c (__bind): Likewise.
12646         * socket/connect.c (__connect): Likewise.
12647         * socket/getpeername.c (getpeername): Likewise.
12648         * socket/getsockname.c (__getsockname): Likewise.
12649         * socket/getsockopt.c (getsockopt): Likewise.
12650         * socket/listen.c (__listen): Likewise.
12651         * socket/recv.c (__recv): Likewise.
12652         * socket/recvmsg.c (__recvmsg): Likewise.
12653         * socket/send.c (__send): Likewise.
12654         * socket/sendmsg.c (__sendmsg): Likewise.
12655         * socket/shutdown.c (shutdown): Likewise.
12656         * socket/sockatmark.c (sockatmark): Likewise.
12657         * socket/socket.c (__socket): Likewise.
12658         * stdio-common/ctermid.c (ctermid): Likewise.
12659         * stdio-common/cuserid.c (cuserid): Likewise.
12660         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12661         * stdio-common/remove.c (remove): Likewise.
12662         * stdio-common/rename.c (rename): Likewise.
12663         * stdio-common/renameat.c (renameat): Likewise.
12664         * stdio-common/tempname.c (__gen_tempname): Likewise.
12665         * stdio-common/xbug.c (InitBuffer): Likewise.
12666         (AppendToBuffer): Likewise.
12667         (ReadFile): Likewise.
12668         * stdlib/a64l.c (a64l): Likewise.
12669         * stdlib/drand48_r.c (drand48_r): Likewise.
12670         * stdlib/getcontext.c (getcontext): Likewise.
12671         * stdlib/getenv.c (getenv): Likewise.
12672         * stdlib/l64a.c (l64a): Likewise.
12673         * stdlib/llabs.c (llabs): Likewise.
12674         * stdlib/lldiv.c (lldiv): Likewise.
12675         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12676         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12677         * stdlib/putenv.c (putenv): Likewise.
12678         * stdlib/random.c (__srandom): Likewise.
12679         (__initstate): Likewise.
12680         (__setstate): Likewise.
12681         * stdlib/random_r.c (__srandom_r): Likewise.
12682         (__setstate_r): Likewise.
12683         (__random_r): Likewise.
12684         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12685         * stdlib/setcontext.c (setcontext): Likewise.
12686         * stdlib/setenv.c (setenv): Likewise.
12687         (unsetenv): Likewise.
12688         * stdlib/srand48.c (srand48): Likewise.
12689         * stdlib/srand48_r.c (__srand48_r): Likewise.
12690         * stdlib/swapcontext.c (swapcontext): Likewise.
12691         * stdlib/system.c (__libc_system): Likewise.
12692         * stdlib/tst-strtod.c (expand): Likewise.
12693         * stdlib/tst-strtol.c (expand): Likewise.
12694         * stdlib/tst-strtoll.c (expand): Likewise.
12695         * streams/fattach.c (fattach): Likewise.
12696         * streams/fdetach.c (fdetach): Likewise.
12697         * streams/getmsg.c (getmsg): Likewise.
12698         * streams/isastream.c (isastream): Likewise.
12699         * string/ffs.c (__ffs): Likewise.
12700         * string/ffsll.c (ffsll): Likewise.
12701         * string/memcmp.c (memcmp_common_alignment): Likewise.
12702         (memcmp_not_common_alignment): Likewise.
12703         (MEMCMP): Likewise.
12704         * string/memcpy.c (memcpy): Likewise.
12705         * string/memmove.c (MEMMOVE): Likewise.
12706         * string/memset.c (memset): Likewise.
12707         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12708         * string/strchrnul.c (STRCHRNUL): Likewise.
12709         * string/strerror.c (strerror): Likewise.
12710         * string/strndup.c (__strndup): Likewise.
12711         * string/strverscmp.c (__strverscmp): Likewise.
12712         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12713         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12714         (clnttcp_freeres): Likewise.
12715         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12716         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12717         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12718         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12719         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12720         (xdr_callhdr): Likewise.
12721         * sunrpc/rpcinfo.c (udpping): Likewise.
12722         (tcpping): Likewise.
12723         (pstatus): Likewise.
12724         (pmapdump): Likewise.
12725         (brdcst): Likewise.
12726         (deletereg): Likewise.
12727         (getprognum): Likewise.
12728         (getvers): Likewise.
12729         (get_inet_address): Likewise.
12730         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12731         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12732         (svcudp_stat): Likewise.
12733         (svcudp_recv): Likewise.
12734         (svcudp_reply): Likewise.
12735         (svcudp_getargs): Likewise.
12736         (svcudp_freeargs): Likewise.
12737         (svcudp_destroy): Likewise.
12738         * sunrpc/xdr.c (xdr_bytes): Likewise.
12739         (xdr_netobj): Likewise.
12740         (xdr_string): Likewise.
12741         (xdr_wrapstring): Likewise.
12742         * sunrpc/xdr_float.c (xdr_float): Likewise.
12743         (xdr_double): Likewise.
12744         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12745         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12746         * sysvipc/ftok.c (ftok): Likewise.
12747         * sysvipc/msgctl.c (msgctl): Likewise.
12748         * sysvipc/msgget.c (msgget): Likewise.
12749         * sysvipc/msgrcv.c (msgrcv): Likewise.
12750         * sysvipc/msgsnd.c (msgsnd): Likewise.
12751         * sysvipc/semget.c (semget): Likewise.
12752         * sysvipc/semop.c (semop): Likewise.
12753         * sysvipc/shmat.c (shmat): Likewise.
12754         * sysvipc/shmctl.c (shmctl): Likewise.
12755         * sysvipc/shmdt.c (shmdt): Likewise.
12756         * sysvipc/shmget.c (shmget): Likewise.
12757         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12758         * termios/speed.c (cfgetospeed): Likewise.
12759         (cfgetispeed): Likewise.
12760         (cfsetospeed): Likewise.
12761         (cfsetispeed): Likewise.
12762         * termios/tcflow.c (tcflow): Likewise.
12763         * termios/tcflush.c (tcflush): Likewise.
12764         * termios/tcgetattr.c (__tcgetattr): Likewise.
12765         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12766         * termios/tcgetsid.c (tcgetsid): Likewise.
12767         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12768         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12769         * time/adjtime.c (__adjtime): Likewise.
12770         * time/dysize.c (dysize): Likewise.
12771         * time/ftime.c (ftime): Likewise.
12772         * time/getitimer.c (__getitimer): Likewise.
12773         * time/gettimeofday.c (__gettimeofday): Likewise.
12774         * time/gmtime.c (__gmtime_r): Likewise.
12775         (gmtime): Likewise.
12776         * time/localtime.c (__localtime_r): Likewise.
12777         (localtime): Likewise.
12778         * time/offtime.c (__offtime): Likewise.
12779         * time/settimeofday.c (__settimeofday): Likewise.
12780         * time/stime.c (stime): Likewise.
12781         * time/strftime_l.c (tm_diff): Likewise.
12782         (iso_week_days): Likewise.
12783         * time/strptime.c (strptime): Likewise.
12784         * time/time.c (time): Likewise.
12785         * time/timespec_get.c (timespec_get): Likewise.
12786         * time/tzset.c (tzset_internal): Likewise.
12787         (compute_change): Likewise.
12788         (__tz_compute): Likewise.
12789         * wcsmbs/btowc.c (__btowc): Likewise.
12790         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12791         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12792         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12793         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12794         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12795         * wcsmbs/wcscat.c (__wcscat): Likewise.
12796         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12797         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12798         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12799         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12800         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12801         * wcsmbs/wcslen.c (__wcslen): Likewise.
12802         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12803         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12804         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12805         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12806         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12807         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12808         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12809         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12810         * wcsmbs/wcstok.c (wcstok): Likewise.
12811         * wcsmbs/wctob.c (wctob): Likewise.
12812         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12813         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12814         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12815         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12816         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12817         * wcsmbs/wmemset.c (__wmemset): Likewise.
12818         * wctype/wcfuncs.c (__towlower): Likewise.
12819         (__towupper): Likewise.
12821         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12822         (lll_unlock_elision): Add adapt_count parameter.
12824 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12826         * sysdeps/nptl/configure.ac: Do not give errors based on the
12827         results of top-level configure tests.
12828         * sysdeps/nptl/configure: Regenerated.
12830         * configure.ac (libc_cv_Bgroup): Remove configure test.
12831         * configure: Regenerated.
12832         * config.make.in (have-Bgroup): Remove variable.
12834         * configure.ac (sizeof_long_double): Remove configure test.
12835         * configure: Regenerated.
12836         * config.make.in (sizeof-long-double): Remove variable.
12838         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12839         * configure: Regenerated.
12840         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12841         variable.
12842         (exceptions): Likewise.
12843         * sysdeps/arm/configure: Regenerated.
12844         * config.make.in (exceptions): Remove variable.
12845         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12846         $(exceptions).
12847         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12848         (CFLAGS-vdprintf_chk.c): Likewise.
12849         (CFLAGS-printf_chk.c): Likewise.
12850         (CFLAGS-fprintf_chk.c): Likewise.
12851         (CFLAGS-vprintf_chk.c): Likewise.
12852         (CFLAGS-vfprintf_chk.c): Likewise.
12853         (CFLAGS-gets_chk.c): Likewise.
12854         (CFLAGS-fgets_chk.c): Likewise.
12855         (CFLAGS-fgets_u_chk.c): Likewise.
12856         (CFLAGS-fread_chk.c): Likewise.
12857         (CFLAGS-fread_u_chk.c): Likewise.
12858         (CFLAGS-wprintf_chk.c): Likewise.
12859         (CFLAGS-fwprintf_chk.c): Likewise.
12860         (CFLAGS-vwprintf_chk.c): Likewise.
12861         (CFLAGS-vfwprintf_chk.c): Likewise.
12862         (CFLAGS-fgetws_chk.c): Likewise.
12863         (CFLAGS-fgetws_u_chk.c): Likewise.
12864         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12865         (CFLAGS-fputc.c): Likewise.
12866         (CFLAGS-fputwc.c): Likewise.
12867         (CFLAGS-freopen64.c): Likewise.
12868         (CFLAGS-freopen.c): Likewise.
12869         (CFLAGS-fseek.c): Likewise.
12870         (CFLAGS-fseeko64.c): Likewise.
12871         (CFLAGS-fseeko.c): Likewise.
12872         (CFLAGS-ftello64.c): Likewise.
12873         (CFLAGS-ftello.c): Likewise.
12874         (CFLAGS-fwide.c): Likewise.
12875         (CFLAGS-genops.c): Likewise.
12876         (CFLAGS-getc.c): Likewise.
12877         (CFLAGS-getchar.c): Likewise.
12878         (CFLAGS-getwc.c): Likewise.
12879         (CFLAGS-getwchar.c): Likewise.
12880         (CFLAGS-iofclose.c): Likewise.
12881         (CFLAGS-iofflush.c): Likewise.
12882         (CFLAGS-iofgetpos64.c): Likewise.
12883         (CFLAGS-iofgetpos.c): Likewise.
12884         (CFLAGS-iofgets.c): Likewise.
12885         (CFLAGS-iofgetws.c): Likewise.
12886         (CFLAGS-iofputs.c): Likewise.
12887         (CFLAGS-iofputws.c): Likewise.
12888         (CFLAGS-iofread.c): Likewise.
12889         (CFLAGS-iofsetpos64.c): Likewise.
12890         (CFLAGS-iofsetpos.c): Likewise.
12891         (CFLAGS-ioftell.c): Likewise.
12892         (CFLAGS-iofwrite.c): Likewise.
12893         (CFLAGS-iogetdelim.c): Likewise.
12894         (CFLAGS-iogetline.c): Likewise.
12895         (CFLAGS-iogets.c): Likewise.
12896         (CFLAGS-iogetwline.c): Likewise.
12897         (CFLAGS-ioputs.c): Likewise.
12898         (CFLAGS-ioseekoff.c): Likewise.
12899         (CFLAGS-ioseekpos.c): Likewise.
12900         (CFLAGS-iosetbuffer.c): Likewise.
12901         (CFLAGS-iosetvbuf.c): Likewise.
12902         (CFLAGS-ioungetc.c): Likewise.
12903         (CFLAGS-ioungetwc.c): Likewise.
12904         (CFLAGS-oldfileops.c): Likewise.
12905         (CFLAGS-oldiofclose.c): Likewise.
12906         (CFLAGS-oldiofgetpos64.c): Likewise.
12907         (CFLAGS-oldiofgetpos.c): Likewise.
12908         (CFLAGS-oldiofsetpos64.c): Likewise.
12909         (CFLAGS-oldiofsetpos.c): Likewise.
12910         (CFLAGS-peekc.c): Likewise.
12911         (CFLAGS-putc.c): Likewise.
12912         (CFLAGS-putchar.c): Likewise.
12913         (CFLAGS-putwc.c): Likewise.
12914         (CFLAGS-putwchar.c): Likewise.
12915         (CFLAGS-rewind.c): Likewise.
12916         (CFLAGS-wfileops.c): Likewise.
12917         (CFLAGS-wgenops.c): Likewise.
12918         (CFLAGS-oldiofopen.c): Likewise.
12919         (CFLAGS-iofopen.c): Likewise.
12920         (CFLAGS-iofopen64.c): Likewise.
12921         (CFLAGS-oldtmpfile.c): Likewise.
12922         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12923         (CFLAGS-fprintf.c): Likewise.
12924         (CFLAGS-printf.c): Likewise.
12925         (CFLAGS-vfwprintf.c): Likewise.
12926         (CFLAGS-vfscanf.c): Likewise.
12927         (CFLAGS-vfwscanf.c): Likewise.
12928         (CFLAGS-fscanf.c): Likewise.
12929         (CFLAGS-scanf.c): Likewise.
12930         (CFLAGS-isoc99_vfscanf.c): Likewise.
12931         (CFLAGS-isoc99_vscanf.c): Likewise.
12932         (CFLAGS-isoc99_fscanf.c): Likewise.
12933         (CFLAGS-isoc99_scanf.c): Likewise.
12934         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12935         (CFLAGS-isoc99_fwscanf.c): Likewise.
12936         (CFLAGS-isoc99_vwscanf.c): Likewise.
12937         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12939         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12940         after mkstemp64.
12941         * login/tst-utmp.c (do_prepare): Likewise.
12942         * rt/tst-aio.c (do_prepare): Likewise.
12943         * rt/tst-aio64.c (do_prepare): Likewise.
12945 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12947         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12948         (__lll_lock_elision): Remove adapt_count decrement...
12949         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12950         (__lll_trylock_elision): Likewise.
12951         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12952         (__lll_unlock_elision): ... to here. And utilize
12953         new adapt_count parameter.
12954         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12955         (__lll_unlock_elision): Update to include adapt_count
12956         parameter.
12957         (lll_unlock_elision): Pass pointer to adapt_count
12958         variable.
12960 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12962         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12963         Add elision adapt_count parameter to list of arguments.
12964         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12965         (lll_unlock_elision): Update with new parameter list
12966         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12967         (lll_unlock_elision): Likewise.
12968         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12969         (lll_unlock_elision): Likewise.
12971 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12973         [BZ #19122]
12974         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12975         attribute_hidden.
12977         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12978         attribute_hidden.
12979         [IS_IN (rtld)] (__strdup): Likewise.
12980         [IS_IN (rtld)] (__strerror_r): Likewise.
12981         [IS_IN (rtld)] (__strsep_g): Likewise.
12982         [IS_IN (rtld)] (memchr): Likewise.
12983         [IS_IN (rtld)] (memcmp): Likewise.
12984         [IS_IN (rtld)] (memcpy): Likewise.
12985         [IS_IN (rtld)] (memmove): Likewise.
12986         [IS_IN (rtld)] (memset): Likewise.
12987         [IS_IN (rtld)] (rawmemchr): Likewise.
12988         [IS_IN (rtld)] (stpcpy): Likewise.
12989         [IS_IN (rtld)] (strchr): Likewise.
12990         [IS_IN (rtld)] (strcmp): Likewise.
12991         [IS_IN (rtld)] (strlen): Likewise.
12992         [IS_IN (rtld)] (strnlen): Likewise.
12993         [IS_IN (rtld)] (strsep): Likewise.
12995         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12996         attribute_hidden.
12997         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12999         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13000         attribute_hidden.
13001         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13003         * include/setjmp.h (__longjmp): Add attribute_hidden.
13004         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13006         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13007         Add attribute_hidden.
13009         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13010         [IS_IN (rtld)] (__open): Likewise.
13011         [IS_IN (rtld)] (__fcntl): Likewise.
13013         * include/dirent.h (__opendirat): Add attribute_hidden.
13014         (__getdents): Likewise.
13015         (__getdents64): Likewise.
13016         (__alloc_dir): Likewise.
13017         [IS_IN (rtld)] (__closedir): Likewise.
13018         [IS_IN (rtld)] (__fdopendir): Likewise.
13019         [IS_IN (rtld)] (__readdir): Likewise.
13020         [IS_IN (rtld)] (__readdir64): Likewise.
13021         [IS_IN (rtld)] (__rewinddir): Likewise.
13023         * include/dlfcn.h (_dl_catch_error): Moved to ...
13024         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13025         attribute_hidden.
13027         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13028         (_itoa_word): Likewise.
13030         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13031         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13032         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13033         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13034         (_dl_higher_prime_number): Likewise.
13035         (_dl_debug_printf_c): Likewise.
13036         (_dl_signal_cerror): Likewise.
13037         (_dl_receive_error): Likewise.
13038         (_dl_reloc_bad_type): Likewise.
13039         (_dl_resolve_conflicts): Likewise.
13040         (_dl_check_all_versions): Likewise.
13041         (_dl_check_map_versions): Likewise.
13042         (_dl_sort_fini): Likewise.
13043         (_dl_debug_initialize): Likewise.
13044         (_dl_init_paths): Likewise.
13045         (_dl_show_auxv): Likewise.
13046         (_dl_next_ld_env_entry): Likewise.
13047         (_dl_important_hwcaps): Likewise.
13048         (_dl_load_cache_lookup): Likewise.
13049         (_dl_update_slotinfo): Likewise.
13050         (_dl_show_scope): Likewise.
13052         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13053         attribute_hidden.
13054         (_wordcopy_fwd_dest_aligned): Likewise.
13055         (_wordcopy_bwd_aligned): Likewise.
13056         (_wordcopy_bwd_dest_aligned): Likewise.
13058         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13059         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13060         Likewise.
13061         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13062         Likewise.
13063         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13065 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13067         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13068         GCC 5 requirement.
13070 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13072         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13073         test.
13074         * sysdeps/i386/configure: Regenerated.
13075         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13076         code unconditional.
13078         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13079         test.
13080         (libc_cv_asm_popsection_directive): Likewise.
13081         * configure: Regenerated.
13082         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13083         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13084         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13085         (__make_section_unallocated): Make definition unconditional.
13086         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13087         Remove conditional definition.
13088         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13089         (__make_section_unallocated): Likewise.
13091         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13092         * configure: Regenerated.
13093         * config.make.in (static-libgcc): Remove variable.
13094         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13095         $(static-libgcc).
13096         (build-module-helper): Likewise.
13098         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13099         * configure: Regenerated.
13101 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13103         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13104         (struct char_buffer): New type.
13105         (char_buffer_start, char_buffer_size, char_buffer_error)
13106         (char_buffer_rewind, char_buffer_add): New functions.
13107         (ADDW): Remove macro, replaced by the char_buffer_add function.
13108         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13109         of extend_alloca.  Make control flow more explicit.
13111 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13113         [BZ #19137]
13114         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13115         Add -fomit-frame-pointer.
13116         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13118 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13120         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13121         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13122         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13123         only if !__GNUC_PREREQ (5,0).
13124         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13125         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13126         (INTERNAL_SYSCALL_NCS): Likewise.
13127         (LOADREGS_0): New macro for GCC 5.
13128         (ASMARGS_0): Likewise.
13129         (LOADREGS_1): Likewise.
13130         (ASMARGS_1): Likewise.
13131         (LOADREGS_2): Likewise.
13132         (ASMARGS_2): Likewise.
13133         (LOADREGS_3): Likewise.
13134         (ASMARGS_3): Likewise.
13135         (LOADREGS_4): Likewise.
13136         (ASMARGS_4): Likewise.
13137         (LOADREGS_5): Likewise.
13138         (ASMARGS_5): Likewise.
13139         (LOADREGS_6): Likewise.
13140         (ASMARGS_6): Likewise.
13142 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13144         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13145         -fomit-frame-pointer.
13146         (CFLAGS-mmap64.c): Likewise.
13147         (CFLAGS-semtimedop.c): Likewise.
13148         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13149         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13150         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13151         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13153 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13155         [BZ #18928]
13156         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13157         _dl_pointer_guard member.
13158         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13159         initializer.
13160         (security_init): Always set up pointer guard.
13161         (process_envvars): Do not process LD_POINTER_GUARD.
13163 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13165         [BZ #19134]
13166         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13167         (.LC2): Likewise.
13168         (.LC3): Likewise.
13169         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13171 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13173         [BZ #19129]
13174         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13175         r0 and r1.
13177 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13179         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13181 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13183         * include/stap-probe.h: Fix macro definition formatting.
13185 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13187         [BZ #19074]
13188         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13189         load and store num_ifs.
13191 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13193         [BZ #18822]
13194         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13195         (__sched_getaffinity_new): Add libc_hidden_proto and
13196         libc_hidden_def.
13198 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13200         [BZ #19007]
13201         * scripts/localplt.awk: Also allow GOT references.
13202         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13203         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13204         with "+ REL R_386_GLOB_DAT".
13205         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13206         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13208 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13210         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13211         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13212         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13213         Likewise.
13214         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13215         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13216         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13217         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13218         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13219         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13220         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13221         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13222         Likewise.
13223         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13225 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13227         [BZ #19125]
13228         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13229         <math_private.h> and <stdint.h>.
13230         (__llround): Avoid conversions to and from long long int, and
13231         subtractions, where those might raise spurious exceptions.
13232         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13233         <math_private.h> and <stdint.h>.
13234         (__llroundf): Avoid conversions to and from long long int, and
13235         subtractions, where those might raise spurious exceptions.
13237 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13239         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13240         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13241         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13242         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13243         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13244         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13245         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13246         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13247         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13248         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13249         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13250         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13251         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13252         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13253         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13254         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13255         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13256         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13257         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13258         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13259         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13260         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13261         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13262         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13263         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13264         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13265         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13266         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13267         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13268         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13269         (__xstat64_conv): Likewise.
13270         (__xstat32_conv): Likewise.
13272 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13274         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13275         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13276         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13277         <sysdeps/unix/sysv/linux/sysdep.h>.
13278         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13279         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13280         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13281         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13282         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13283         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13284         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13285         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13286         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13289         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13290         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13291         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13292         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13293         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13294         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13295         (sysdep-dl-routines): Add sysdep.
13296         [$(subdir) == nptl] (libpthread-routines): Likewise.
13297         [$(subdir) == rt] (librt-routines): Likewise.
13298         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13299         PIC when branching to SYSCALL_ERROR_LABEL.
13300         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13301         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13302         <sysdeps/unix/sysv/linux/sysdep.h>.
13303         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13304         (SYSCALL_ERROR_ERRNO): Removed.
13305         (SYSCALL_ERROR_HANDLER): Changed to empty.
13306         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13307         (__syscall_error): New prototype.
13308         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13309         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13311 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13313         [BZ #19124]
13314         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13315         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13316         _dl_runtime_resolve_avx.
13317         (_dl_runtime_profile_avx512): Make it a hidden alias of
13318         _dl_runtime_profile_avx.
13320 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13322         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13323         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13324         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13325         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13327         [BZ #16422]
13328         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13329         New configure test.
13330         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13331         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13332         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13333         <math_private.h> and <stdint.h>.
13334         (__llrint): Avoid conversions to long long int where those might
13335         raise spurious exceptions.
13336         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13337         <math_private.h> and <stdint.h>.
13338         (__llrintf): Avoid conversions to long long int where those might
13339         raise spurious exceptions.
13341 2015-10-12  Andreas Schwab  <schwab@suse.de>
13343         [BZ #18969]
13344         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13345         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13346         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13347         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13348         $(gen-locales).
13349         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13350         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13351         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13352         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13353         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13354         $(gen-locales).
13355         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13356         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13357         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13358         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13359         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13360         ($(objpfx)tst-ftell-active-handler.out)
13361         ($(objpfx)tst-ftell-append.out)
13362         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13363         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13364         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13365         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13366         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13367         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13368         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13369         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13370         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13371         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13372         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13373         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13374         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13375         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13376         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13377         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13378         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13379         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13380         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13381         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13382         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13383         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13384         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13385         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13386         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13387         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13388         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13389         $(gen-locales).
13390         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13391         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13392         $(gen-locales).
13393         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13394         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13395         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13396         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13397         $(gen-locales).
13398         * libio/tst_wprintf2.c (main): Use explicit locale.
13399         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13401 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13403         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13404         __msg_sig_post.
13405         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13407 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13409         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13410         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13412         * sysdeps/arm/libm-test-ulps: Regenerated.
13414         [BZ #15470]
13415         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13417         [BZ #16399]
13418         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13419         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13420         and <fix-fp-int-convert-overflow.h>.
13421         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13422         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13423         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13424         and <fix-fp-int-convert-overflow.h>.
13425         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13426         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13427         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13428         <fix-fp-int-convert-overflow.h>.
13429         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13430         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13431         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13432         <fix-fp-int-convert-overflow.h>.
13433         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13434         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13435         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13436         and <fix-fp-int-convert-overflow.h>.
13437         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13438         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13439         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13440         <limits.h> and <fix-fp-int-convert-overflow.h>.
13441         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13442         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13443         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13444         and <fix-fp-int-convert-overflow.h>.
13445         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13446         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13447         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13448         and <fix-fp-int-convert-overflow.h>.
13449         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13450         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13451         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13453 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13455         [BZ #18589]
13456         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13457         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13458         $(gen-locales).
13460 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13461             Phil Blundell <pb@pbcl.net>
13463         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13464         * nptl/tst-cancel26.c: New file.
13465         * nptl/tst-cancel27.c: Likewise.
13467 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13469         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13470         __ILP32__ isn't defined.
13471         (lrint): Likewise.
13472         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13473         (lrintf): Likewise.
13474         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13475         (lrintl): Likewise.
13476         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13477         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13478         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13480 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13482         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13483         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13485         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13486         file.
13487         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13488         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13490 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13492         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13493         configure test.
13494         * sysdeps/i386/configure: Regenerated.
13495         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13496         configure test.
13497         * sysdeps/x86_64/configure: Regenerated.
13498         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13499         Make code unconditional.
13501         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13502         test.
13503         * sysdeps/i386/configure: Regenerated.
13504         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13505         test.
13506         * sysdeps/x86_64/configure: Regenerated.
13507         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13508         Make code unconditional.
13509         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13510         Likewise.
13511         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13512         Likewise.
13513         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13514         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13515         code unconditional.
13516         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13517         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13518         code unconditional.
13519         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13520         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13521         code unconditional.
13522         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13523         code unconditional.
13524         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13525         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13526         code unconditional.
13527         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13528         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13529         code unconditional.
13530         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13531         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13532         code unconditional.
13533         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13534         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13535         code unconditional.
13536         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13537         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13539         [BZ #19095]
13540         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13541         mantissa to long int before shifting left.
13543 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13545         [BZ #19094]
13546         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13547         <limits.h>.
13548         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13549         when result overflows but exception would not result from cast.
13550         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13551         <limits.h>.
13552         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13553         when result overflows but exception would not result from cast.
13554         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13555         <limits.h>.
13556         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13557         when result overflows but exception would not result from cast.
13558         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13559         <limits.h>.
13560         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13561         when result overflows but exception would not result from cast.
13562         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13563         <limits.h>.
13564         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13565         when result overflows but exception would not result from cast.
13566         * math/libm-test.inc (lrint_test_data): Add more tests.
13567         (llrint_test_data): Likewise.
13569 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13571         [BZ #18872]
13572         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13573         Move out from under [$(run-built-tests) = yes] conditional.
13574         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13575         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13577 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13579         [BZ #18589]
13580         * string/Makefile (tests): Add bug-strcoll2.
13581         (LOCALES): Add cs_CZ.UTF-8.
13582         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13584         [BZ #18589]
13585         * string/bug-strcoll2.c: New file.
13586         * locale/categories.def: Revert commit
13587         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13588         * locale/langinfo.h: Likewise.
13589         * locale/localeinfo.h: Likewise.
13590         * locale/C-collate.c: Likewise.
13591         * locale/programs/ld-collate.c (collate_output): Likewise.
13592         * string/strcoll_l.c (STRDIFF): Likewise.
13593         (STRCOLL): Likewise.
13594         * wcsmbs/wcscoll_l.c: Likewise.
13596 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13598         * math/libm-test.inc (lround_test_data): Do not expect the absence
13599         of "inexact" for some tests with non-integer arguments.
13600         (llround_test_data): Likewise.
13602         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13603         test.
13604         (libc_cv_cc_sse2avx): Likewise.
13605         * sysdeps/i386/configure: Regenerated.
13606         * sysdeps/i386/i686/multiarch/Makefile
13607         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13608         [$(subdir) = math].
13609         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13610         code unconditional.
13611         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13612         Likewise.
13613         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13614         Likewise.
13615         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13616         Likewise.
13617         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13618         test.
13619         (libc_cv_cc_sse2avx): Likewise.
13620         * sysdeps/x86_64/configure: Regenerated.
13621         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13622         unconditional.
13623         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13624         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13625         unconditional.
13626         (_dl_runtime_profile)
13627         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13628         conditional code.
13629         * sysdeps/x86_64/fpu/multiarch/Makefile
13630         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13631         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13632         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13633         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13634         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13635         * sysdeps/x86_64/fpu/multiarch/e_log.c
13636         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13637         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13638         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13639         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13640         Likewise.
13641         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13642         Likewise.
13643         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13644         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13645         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13646         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13647         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13648         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13649         (HAVE_SSE2AVX_SUPPORT): Likewise.
13651 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13653         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13654         instead of #pragma optimize.
13656 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13658         [BZ #17195]
13659         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13660         as is similarly done in systrim and _int_free already.
13662 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13664         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13666 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13668         [BZ #19088]
13669         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13670         <limits.h>.
13671         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13672         overflows but exception would not result from cast.
13673         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13674         and <limits.h>.
13675         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13676         overflows but exception would not result from cast.
13677         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13678         <limits.h>.
13679         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13680         overflows but exception would not result from cast.
13681         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13682         <limits.h>.
13683         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13684         overflows but exception would not result from cast.
13685         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13686         <limits.h>.
13687         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13688         overflows but exception would not result from cast.
13689         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13690         <limits.h>.
13691         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13692         overflows but exception would not result from cast.
13693         * math/libm-test.inc (lround_test_data): Add more tests.
13694         (llround_test_data): Likewise.
13696 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13698         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13699         (CFLAGS-ialloc.c): Ditto.
13700         (CFLAGS-scheck.c): Ditto.
13702 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13704         [BZ #19086]
13705         * manual/filesys.texi (Storage Allocation): Fix argument order for
13706         posix_fallocate64.
13708 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13710         [BZ #19085]
13711         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13712         exponent below 48 inside case for non-overflowing exponent.
13713         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13715 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13717         * iconvdata/cp737.h (from_idx): Add const.
13718         * iconvdata/cp775.h (from_idx): Likewise.
13720 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13722         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13723         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13724         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13726         [BZ #19079]
13727         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13728         file, conditioned on [!_LP64].
13729         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13730         [!_LP64] (__lround): Do not define as function or alias.
13731         [!_LP64] (lround): Likewise.
13732         [!_LP64] (__lroundl): Likewise.
13733         [!_LP64] (lroundl): Likewise.
13734         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13735         macro.
13736         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13737         Likewise.
13739 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13741         * math/libm-test.inc (lrint_test_data): Add more tests.
13742         (llrint_test_data): Likewise.
13743         (lround_test_data): Likewise.
13744         (llround_test_data): Likewise.
13746         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13747         (llrint_test_data): Add tests used for lrint.
13749         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13750         test.
13751         * sysdeps/i386/configure: Regenerated.
13752         * sysdeps/i386/i686/multiarch/Makefile
13753         [$(config-cflags-sse4) = yes]: Make code unconditional.
13754         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13755         Likewise.
13756         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13757         Likewise.
13758         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13759         test.
13760         * sysdeps/x86_64/configure: Regenerated.
13761         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13762         Make code unconditional.
13763         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13764         Likewise.
13765         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13766         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13768         * scripts/rpm2dynsym.sh: Remove file.
13770 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13772         * configure.ac (libc_cv_cxx_thread_local): Define.
13773         * configure: Regenerate.
13774         * config.make.in (have-cxx-thread_local): Define.
13775         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13776         (LDLIBS-tst-thread_local1): Define.
13777         (tests): Add tst-thread_local1.
13778         [have-cxx-thread_local != yes] (tests-unsupported): Add
13779         tst-thread_local1.
13780         * nptl/tst-thread_local1.cc: New file.
13782 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13784         [BZ #19078]
13785         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13786         (u_thres): Likewise.
13787         (__expl): Determine whether to call __kernel_standard_l based on
13788         value of result, not argument.
13790         * math/libm-test.inc (scalb_test_data): Add more expectations for
13791         the "inexact" exception.
13793         [BZ #19077]
13794         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13795         0.0L for argument 1.0L.
13797         [BZ #19076]
13798         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13799         constant 0.0L when computing infinite result.
13801 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13803         [BZ #10432]
13804         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13805         malloc_usable_size.
13807 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13809         [BZ #19018]
13810         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13811         Mangle function pointer before storing it.
13812         (__call_tls_dtors): Demangle function pointer before calling it.
13814 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13816         [BZ #19012]
13817         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13818         Clean up on failure.
13820 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13822         [BZ #19071]
13823         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13824         long int variable to store possibly incremented high part of
13825         mantissa.
13826         * math/libm-test.inc (lround_test_data): Add tests used for
13827         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13828         for tests requiring 64-bit long.  Do not condition tests on
13829         [TEST_FLOAT] unnecessarily.
13830         (llround_test_data): Add tests used for lround.  Add another
13831         expectation for the "inexact" exception.  Do not condition tests
13832         on [TEST_FLOAT] unnecessarily.
13834         [BZ #887]
13835         [BZ #19049]
13836         [BZ #19050]
13837         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13838         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13839         <fix-int-fp-convert-zero.h>.
13840         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13841         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13842         <fix-int-fp-convert-zero.h>.
13843         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13844         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13845         <fix-int-fp-convert-zero.h>.
13846         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13847         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13848         <fix-int-fp-convert-zero.h>.
13849         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13850         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13851         <fix-int-fp-convert-zero.h>.
13852         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13853         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13854         <fix-int-fp-convert-zero.h>.
13855         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13856         * sysdeps/ieee754/flt-32/s_erff.c: Include
13857         <fix-int-fp-convert-zero.h>.
13858         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13859         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13860         <fix-int-fp-convert-zero.h>.
13861         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13862         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13863         <fix-int-fp-convert-zero.h>.
13864         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13865         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13866         <fix-int-fp-convert-zero.h>.
13867         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13868         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13869         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13870         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13871         file.
13872         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13874 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13876         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13878 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13880         [BZ #19059]
13881         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13882         overflowing computation.
13883         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13884         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13885         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13886         Likewise.
13887         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13888         Likewise.
13889         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13890         Likewise.
13891         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13892         Likewise.
13893         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13894         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13895         Likewise.
13896         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13897         Likewise.
13898         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13900         * nss/rewrite_field.c (__nss_rewrite_field): Use
13901         internal_function.
13902         * nss/valid_field.c (__nss_valid_field): Likewise.
13903         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13905 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13907         [BZ #18724]
13908         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13909         (__nss_invalid_field_characters, __nss_valid_field)
13910         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13911         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13912         tst-field.c: New file.
13913         * nss/Makefile (routines): Add valid_field, rewrite_field.
13914         (tests-static): Define unconditionally.
13915         (tests): Include tests-static.
13916         [build-static-nss] (tests-static): Use append.
13917         [build-static-nss] (tests): Remove modification.
13918         * nss/getent.c (print_group): Call putgrent.  Report error.
13919         (print_gshadow): Call putsgent.  Report error.
13920         (print_passwd): Call putpwent.  Report error.
13921         (print_shadow): Call putspent.  Report error.
13922         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13923         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13924         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13925         name, password, directory, shell fields for valid syntax.  Rewrite
13926         GECOS field to match syntax.
13927         * pwd/Makefile (tests): Add tst-putpwent.
13928         * pwd/tst-putpwent.c: New file.
13929         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13930         Check grName, grpasswd, gr_mem fields for valid syntax.
13931         Change loop variable i to size_t.
13932         * grp/Makefile (tests): Add tst-putgrent.
13933         * grp/tst-putgrent.c: New file.
13934         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13935         valid syntax.
13936         * shadow/Makefile (tests): Add tst-putspent.
13937         * shadow/tst-putspent.c: New file.
13938         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13939         sg_mem fields for valid syntax.
13940         * gshadow/Makefile (tests): Add tst-putsgent.
13941         * gshadow/tst-putsgent.c: New file.
13943 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13945         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13946         assembly instructions.
13948 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13950         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13951         prefix from operands.
13953 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13955         [BZ #16347]
13956         [BZ #19046]
13957         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13958         <libc-internal.h>.
13959         (MAXLGM): Do not use diagnostic control macros.
13960         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13961         threshold for ldbl-128ibm.
13962         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13963         instead of multiplying by log then subtracting.
13964         * math/auto-libm-test-in: Add more tests of lgamma.
13965         * math/auto-libm-test-out: Regenerated.
13967         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13968         (TYPE_HEX_DIG): Likewise.
13969         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13970         precisions when printing floating-point numbers.
13971         (check_float_internal): Likewise.
13973 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13975         [BZ #16620]
13976         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13977         of log (10) rounded downward to 48 bits.
13978         (log10_low): Use corresponding low part of log (10).
13980         [BZ #19032]
13981         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13982         compute result as (x - x) / (x - x) not as 0 / 0.
13983         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13984         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13986         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13987         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13988         and expm1.
13989         * math/auto-libm-test-out: Regenerated.
13990         * math/libm-test.inc (acos_test_data): Add more tests.
13991         (asin_test_data): Likewise.
13992         (asinh_test_data): Likewise.
13993         (atan_test_data): Likewise.
13994         (atanh_test_data): Likewise.
13995         (atan2_test_data): Likewise.
13996         (cbrt_test_data): Likewise.
13997         (ceil_test_data): Likewise.
13998         (copysign_test_data): Likewise.
13999         (cos_test_data): Likewise.
14000         (cosh_test_data): Likewise.
14001         (erf_test_data): Likewise.
14002         (erfc_test_data): Likewise.
14003         (exp_test_data): Likewise.
14004         (exp10_test_data): Likewise.
14005         (exp2_test_data): Likewise.
14006         (expm1_test_data): Likewise.
14007         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14009 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14011         [BZ #19006]
14012         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14013         to ...
14014         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14015         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14016         to ...
14017         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14018         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14019         to ...
14020         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14021         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14022         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14023         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14024         to ...
14025         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14026         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14027         Moved to ...
14028         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14029         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14030         Moved to ...
14031         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14032         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14033         to ...
14034         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14035         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14036         Moved to ...
14037         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14038         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14039         to ...
14040         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14041         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14042         Removed.
14043         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14044         Likewise.
14045         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14046         Likewise.
14047         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14048         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14049         Likewise.
14050         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14051         Likewise.
14052         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14053         Likewise.
14054         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14055         Likewise.
14056         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14057         Likewise.
14058         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14059         Likewise.
14060         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14061         Likewise.
14062         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14063         Likewise.
14064         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14065         Likewise.
14066         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14067         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14068         Likewise.
14069         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14070         Likewise.
14071         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14072         Likewise.
14073         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14074         Likewise.
14075         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14076         Likewise.
14077         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14078         Replace ../i486/pthread_cond_timedwait.S with
14079         ../pthread_cond_timedwait.S.
14081 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14083         * math/libm-test.inc (acos_test_data): Refine expectations for
14084         errno and "inexact" exceptions.
14085         (acosh_test_data): Likewise.
14086         (asin_test_data): Likewise.
14087         (asinh_test_data): Likewise.
14088         (atan_test_data): Likewise.
14089         (atanh_test_data): Likewise.
14090         (atan2_test_data): Likewise.
14091         (cbrt_test_data): Likewise.
14092         (ceil_test_data): Likewise.
14093         (copysign_test_data): Likewise.
14094         (cosh_test_data): Likewise.
14095         (erf_test_data): Likewise.
14096         (erfc_test_data): Likewise.
14097         (exp_test_data): Likewise.
14098         (exp10_test_data): Likewise.
14099         (exp2_test_data): Likewise.
14100         (expm1_test_data): Likewise.
14101         (fabs_test_data): Likewise.
14102         (floor_test_data): Likewise.
14103         (fma_test_data): Likewise.
14104         (fmax_test_data): Likewise.
14105         (fmin_test_data): Likewise.
14106         (fmod_test_data): Likewise.
14107         (fpclassify_test_data): Likewise.
14108         (frexp_test_data): Likewise.
14109         (hypot_test_data): Likewise.
14110         (ilogb_test_data): Likewise.
14111         (isgreater_test_data): Likewise.
14112         (isgreaterequal_test_data): Likewise.
14113         (isinf_test_data): Likewise.
14114         (isless_test_data): Likewise.
14115         (islessequal_test_data): Likewise.
14116         (islessgreater_test_data): Likewise.
14117         (isnan_test_data): Likewise.
14118         (isnormal_test_data): Likewise.
14119         (issignaling_test_data): Likewise.
14120         (isunordered_test_data): Likewise.
14121         (j0_test_data): Likewise.
14122         (j1_test_data): Likewise.
14123         (jn_test_data): Likewise.
14124         (lgamma_test_data): Likewise.
14125         (lrint_test_data): Likewise.
14126         (llrint_test_data): Likewise.
14127         (log_test_data): Likewise.
14128         (log10_test_data): Likewise.
14129         (log1p_test_data): Likewise.
14130         (log2_test_data): Likewise.
14131         (logb_test_data): Likewise.
14132         (lround_test_data): Likewise.
14133         (llround_test_data): Likewise.
14134         (modf_test_data): Likewise.
14135         (nearbyint_test_data): Likewise.
14136         (nextafter_test_data): Likewise.
14137         (nexttoward_test_data): Likewise.
14138         (pow_test_data): Likewise.
14139         (remainder_test_data): Likewise.
14140         (remquo_test_data): Likewise.
14141         (rint_test_data): Likewise.
14142         (round_test_data): Likewise.
14143         (signbit_test_data): Likewise.
14144         (sinh_test_data): Likewise.
14145         (sqrt_test_data): Likewise.
14146         (tanh_test_data): Likewise.
14147         (tgamma_test_data): Likewise.
14148         (trunc_test_data): Likewise.
14149         (y0_test_data): Likewise.
14150         (y1_test_data): Likewise.
14151         (yn_test_data): Likewise.
14152         (significand_test_data): Likewise.
14154 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14156         * manual/filesys.texi (Storage Allocation): Document that
14157         posix_fallocate emulation fails when fd is open with O_WRONLY.
14159 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14161         [BZ #19016]
14162         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14163         allow more cases with X^2 + Y^2 >= 0.5.
14164         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14165         normal element in sum instead of special-casing based on values of
14166         arguments.
14167         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14168         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14169         -1 as normal element in sum instead of special-casing based on
14170         values of arguments.
14171         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14172         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14173         (__x2y2m1): Update comment.
14174         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14175         as normal element in sum instead of special-casing based on values
14176         of arguments.
14177         * math/s_clog.c (__clog): Handle more cases using log1p without
14178         hypot.
14179         * math/s_clog10.c (__clog10): Likewise.
14180         * math/s_clog10f.c (__clog10f): Likewise.
14181         * math/s_clog10l.c (__clog10l): Likewise.
14182         * math/s_clogf.c (__clogf): Likewise.
14183         * math/s_clogl.c (__clogl): Likewise.
14184         * math/auto-libm-test-in: Add more tests of clog and clog10.
14185         * math/auto-libm-test-out: Regenerated.
14186         * sysdeps/i386/fpu/libm-test-ulps: Update.
14187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14189 2015-09-28  Martin Sebor  <msebor@redhat.com>
14191         [BZ #18969]
14192         * string/Makefile (LOCALES): Define.
14193         (gen-locales.mk): Include.
14194         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14195         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14196         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14197         on setlocale failure.
14199 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14201         [BZ #18985]
14202         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14203         (__strftime_internal): Likewise.
14204         * time/tst-strftime.c (do_bz18985): New test.
14205         (do_test): Call it.
14207 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14209         [BZ #18956]
14210         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14211         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14212         extracting high part.
14213         * math/auto-libm-test-in: Add another test of pow.
14214         * math/auto-libm-test-out: Regenerated.
14215         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14217 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14219         [BZ #18825]
14220         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14221         New macro.
14222         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14223         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14224         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14225         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14226         DBL_NARROW_EVAL, reloading the PIC register as needed.
14227         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14228         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14229         FLT_NARROW_EVAL.  Use separate return path for case when first
14230         argument is NaN.
14231         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14232         DEFINE_LDBL_MIN.
14233         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14234         PIC register.
14235         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14236         math_check_force_underflow_nonneg.
14237         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14238         underflow for subnormal result.
14239         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14240         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14241         math_check_force_underflow_nonneg.
14242         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14243         math_check_force_underflow.
14244         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14245         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14246         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14247         DEFINE_LDBL_MIN.
14248         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14249         * math/auto-libm-test-in: Add more tests of pow.
14250         * math/auto-libm-test-out: Regenerated.
14252 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14254         * nss/bug17079.c (init_test_items): Add diagnostic for
14255         inconsistent entries.
14256         (test_buffer_size): Skip inconsistent entries.
14258 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14260         [BZ #13304]
14261         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14262         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14263         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14265         [BZ #13304]
14266         * sysdeps/microblaze/s_fma.c: New file.
14267         * sysdeps/microblaze/s_fmaf.c: Likewise.
14268         * sysdeps/microblaze/sfp-machine.h: Likewise.
14270 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14272         [BZ #17250]
14273         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14274         member.
14276 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14278         [BZ #18803]
14279         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14280         (MO): New macro.
14281         (__ieee754_hypot) [PIC]: Load PIC register.
14282         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14283         DBL_NARROW_EVAL.
14284         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14285         math_check_force_underflow_nonneg in case where result might be
14286         tiny.
14287         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14288         Likewise.
14289         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14290         Likewise.
14291         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14292         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14293         * math/auto-libm-test-in: Add more tests of hypot.
14294         * math/auto-libm-test-out: Regenerated.
14296 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14298         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14300 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14302         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14303         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14304         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14305         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14306         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14307         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14308         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14310         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14311         LOAD_PIC_REG.
14313         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14314         (FLT_CHECK_FORCE_UFLOW): Likewise.
14315         (DBL_CHECK_FORCE_UFLOW): Likewise.
14316         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14317         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14318         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14319         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14320         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14321         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14322         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14323         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14324         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14325         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14326         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14327         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14328         (flt_min): Replace with use of DEFINE_FLT_MIN.
14329         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14330         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14331         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14332         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14333         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14334         (flt_min): Replace with use of DEFINE_FLT_MIN.
14335         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14336         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14337         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14338         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14339         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14340         (flt_min): Replace with use of DEFINE_FLT_MIN.
14341         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14342         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14343         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14344         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14345         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14346         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14347         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14348         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14349         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14350         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14351         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14352         (flt_min): Replace with use of DEFINE_FLT_MIN.
14353         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14354         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14355         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14356         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14357         main computation.
14358         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14359         (flt_min): Replace with use of DEFINE_FLT_MIN.
14360         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14361         main computation.
14362         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14363         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14364         (MO): New macro.
14365         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14366         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14367         (flt_min): Replace with use of DEFINE_FLT_MIN.
14368         (MO): New macro.
14369         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14370         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14371         (__log1pl): Use MO.
14373         [BZ #19003]
14374         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14375         $(config-cflags-nofma).
14377 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14379         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14381 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14383         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14384         (TWO127): Likewise.
14386         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14387         (min_of_type): Likewise.
14388         (math_check_force_underflow): Likewise.
14389         (math_check_force_underflow_nonneg): Likewise.
14390         (math_check_force_underflow_complex): Likewise.
14391         * math/e_exp2l.c (__ieee754_exp2l): Use
14392         math_check_force_underflow_nonneg.
14393         * math/k_casinh.c (__kernel_casinh): Likewise.
14394         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14395         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14396         * math/s_catan.c (__catan): Use
14397         math_check_force_underflow_complex.
14398         * math/s_catanf.c (__catanf): Likewise.
14399         * math/s_catanh.c (__catanh): Likewise.
14400         * math/s_catanhf.c (__catanhf): Likewise.
14401         * math/s_catanhl.c (__catanhl): Likewise.
14402         * math/s_catanl.c (__catanl): Likewise.
14403         * math/s_ccosh.c (__ccosh): Likewise.
14404         * math/s_ccoshf.c (__ccoshf): Likewise.
14405         * math/s_ccoshl.c (__ccoshl): Likewise.
14406         * math/s_cexp.c (__cexp): Likewise.
14407         * math/s_cexpf.c (__cexpf): Likewise.
14408         * math/s_cexpl.c (__cexpl): Likewise.
14409         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14410         * math/s_clog10.c (__clog10): Likewise.
14411         * math/s_clog10f.c (__clog10f): Likewise.
14412         * math/s_clog10l.c (__clog10l): Likewise.
14413         * math/s_clogf.c (__clogf): Likewise.
14414         * math/s_clogl.c (__clogl): Likewise.
14415         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14416         * math/s_csinf.c (__csinf): Likewise.
14417         * math/s_csinh.c (__csinh): Likewise.
14418         * math/s_csinhf.c (__csinhf): Likewise.
14419         * math/s_csinhl.c (__csinhl): Likewise.
14420         * math/s_csinl.c (__csinl): Likewise.
14421         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14422         * math/s_csqrtf.c (__csqrtf): Likewise.
14423         * math/s_csqrtl.c (__csqrtl): Likewise.
14424         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14425         * math/s_ctanf.c (__ctanf): Likewise.
14426         * math/s_ctanh.c (__ctanh): Likewise.
14427         * math/s_ctanhf.c (__ctanhf): Likewise.
14428         * math/s_ctanhl.c (__ctanhl): Likewise.
14429         * math/s_ctanl.c (__ctanl): Likewise.
14430         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14431         instead of volatile.
14432         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14433         math_check_force_underflow.
14434         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14435         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14436         volatile when forcing underflow.
14437         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14438         math_check_force_underflow_nonneg.
14439         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14440         Likewise.
14441         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14442         math_check_force_underflow.
14443         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14444         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14445         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14446         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14447         math_check_force_underflow_nonneg.
14448         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14449         math_check_force_underflow.
14450         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14451         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14452         instead of volatile.
14453         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14454         math_check_force_underflow.
14455         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14456         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14457         math_check_force_underflow_nonneg.
14458         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14459         math_check_force_underflow.
14460         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14461         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14462         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14463         math_check_force_underflow_nonneg.
14464         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14465         Likewise.
14466         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14467         math_check_force_underflow.
14468         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14469         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14470         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14471         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14472         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14473         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14474         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14475         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14476         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14477         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14478         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14479         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14480         Likewise.
14481         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14482         math_check_force_underflow_nonneg.
14483         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14484         Likewise.
14485         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14486         math_check_force_underflow.
14487         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14488         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14489         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14490         Likewise.
14491         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14492         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14493         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14494         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14495         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14496         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14497         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14498         instead of volatile.
14499         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14500         math_check_force_underflow.
14501         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14502         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14503         math_check_force_underflow.
14504         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14505         Likewise.
14506         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14507         Use math_check_force_underflow_nonneg.
14508         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14509         math_check_force_underflow.
14510         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14511         Likewise.
14512         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14513         Likewise.
14514         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14515         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14516         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14517         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14518         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14519         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14520         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14521         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14522         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14523         math_check_force_underflow_nonneg.
14524         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14525         math_check_force_underflow.
14526         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14527         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14528         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14529         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14530         math_check_force_underflow_nonneg.
14531         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14532         math_check_force_underflow.
14533         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14534         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14535         instead of volatile.
14536         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14537         math_check_force_underflow.
14539         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14540         * stdlib/strtod_l.c: Include <math_private.h>.
14541         (overflow_value): Use math_narrow_eval.
14542         (underflow_value): Likewise.
14543         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14544         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14545         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14546         (__ieee754_gamma_r): Likewise.
14547         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14548         Likewise.
14549         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14550         Likewise.
14551         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14552         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14553         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14554         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14555         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14556         (__ieee754_gammaf_r): Likewise.
14557         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14558         Likewise.
14559         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14560         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14561         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14562         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14563         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14564         volatile.
14565         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14566         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14567         math_narrow_eval.
14568         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14569         Likewise.
14570         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14571         Likewise.
14572         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14573         Likewise.
14574         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14575         volatile.
14576         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14577         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14578         math_narrow_eval.
14579         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14580         Likewise.
14581         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14582         Likewise.
14584 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14586         * nptl/Versions: Remove ignored symbols.
14588 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14590         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14591         * nss/Makefile (tests): Update.
14593 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14595         * nss/bug18287.c: New file.
14596         * nss/Makefile (tests): Add bug18287.
14598 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14600         * mach/Versions (__mach_host_self_): Add symbol.
14602 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14604         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14605         vm_page_size.
14607 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14609         Really fix sysdeps/i386/fpu/s_scalbn.S build
14611         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14612         (libc: GLIBC_2_22): Remove unused version set.
14614 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14616         * config.make.in (enable-timezone-tools): New variable.
14617         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14618         (enable_timezone_tools): Export to generated files.
14619         * configure: Regenerate.
14620         * INSTALL: Regenerate.
14621         * manual/install.texi (--disable-timezone-tools): Document new flag.
14622         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14623         ifeq ($(enable-timezone-tools),yes) check.
14625 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14627         * timezone/Makefile: Revert previous change.
14629         [BZ #18980]
14630         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14631         (DEFINE_DBL_MIN): Likewise.
14632         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14633         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14634         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14635         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14636         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14637         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14638         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14639         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14640         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14641         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14642         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14643         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14644         (flt_min): Replace with use of DEFINE_FLT_MIN.
14645         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14646         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14647         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14648         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14649         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14650         (flt_min): Replace with use of DEFINE_FLT_MIN.
14651         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14652         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14653         (flt_min): Replace with use of DEFINE_FLT_MIN.
14654         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14655         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14656         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14657         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14658         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14659         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14660         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14661         (__ieee754_pow): Use DBL_NARROW_EVAL.
14662         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14663         (__ieee754_powf): Use FLT_NARROW_EVAL.
14664         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14665         (__ieee754_expf_sse2): Convert double-precision result to single
14666         precision.
14667         * sysdeps/i386/fpu/libm-test-ulps: Update.
14669 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14671         * timezone/Makefile: Ignore unused variable errors due to private.h
14672         (time_t_min) and (time_t_max).
14673         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14674         Likewise.
14676 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14678         [BZ #18981]
14679         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14680         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14681         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14682         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14683         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14684         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14685         (__scalbn): Use DBL_NARROW_EVAL.
14686         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14687         (__scalbnf): Use FLT_NARROW_EVAL.
14689 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14691         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14692         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14693         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14694         * stdio-common/printf_fp.c (___printf_fp):
14695         Use signbit to get the sign. Use isinf macro to allow inlining.
14696         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14697         * stdio-common/printf_size.c (__printf_size): Likewise.
14699 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14701         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14703 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14705         [BZ #18980]
14706         * sysdeps/generic/math_private.h: Include <float.h>.
14707         (math_narrow_eval): New macro.
14708         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14709         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14710         math_narrow_eval on overflowing return value.
14711         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14712         Likewise.
14713         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14714         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14715         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14716         Likewise.
14717         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14719 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14721         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14722         * math/Makefile: Remove isinf_ns.c.
14723         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14724         * math/multc3.c (__multc3): Likewise.
14725         * math/s_casin.c (__casin): Likewise.
14726         * math/s_casinf.c (__casinf): Likewise.
14727         * math/s_casinl.c (__casinl): Likewise.
14728         * math/s_cproj.c (__cproj): Likewise.
14729         * math/s_cprojf.c (__cprojf): Likewise.
14730         * math/s_cprojl.c (__cprofl): Likewise.
14731         * math/s_ctan.c (__ctan): Likewise.
14732         * math/s_ctanf.c (__ctanf): Likewise.
14733         * math/s_ctanh.c (__ctanh): Likewise.
14734         * math/s_ctanhf.c (__ctanhf): Likewise.
14735         * math/s_ctanhl.c (__ctanhl): Likewise.
14736         * math/s_ctanl.c (__ctanl): Likewise.
14737         * math/w_fmod.c (__fmod): Likewise.
14738         * math/w_fmodf.c (__fmodf): Likewise.
14739         * math/w_fmodl.c (_fmodl): Likewise.
14740         * math/w_remainder.c (__remainder): Likewise.
14741         * math/w_remainderf.c (__remainderf): Likewise.
14742         * math/w_remainderl.c (__remainderl): Likewise.
14743         * math/w_scalb.c (__scalb): Likewise.
14744         * math/w_scalbf.c (__scalbf): Likewise.
14745         * math/w_scalbl.c (__scalbl): Likewise.
14746         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14747         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14748         with isinf.
14749         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14750         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14751         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14752         __isinf_nsf with isinf.
14753         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14754         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14755         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14756         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14757         with isinf.
14758         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14759         __isinf_nsl with isinf.
14760         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14761         with isinf.
14762         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14763         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14764         __isinf_nsl with isinf.
14765         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14766         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14767         with isinf.
14769 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14771         * resolv/base64.c (rcsid): Remove unused static.
14772         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14773         static.  (tqpi1): Likewise.
14774         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14775         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14776         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14777         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14778         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14779         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14780         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14781         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14782         Likewise.
14784 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14786         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14787         <nptl/pthreadP.h>.
14788         (_longjmp_unwind): Use __libc_ptf_call.
14789         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14791 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14793         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14794         * sysdeps/arm/__longjmp.S: Likewise.
14796 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14798         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14799         Use __builtin_signbit.
14800         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14801         Use __builtin_signbitf.
14802         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14803         Use __builtin_signbitl.
14804         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14805         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14807 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14809         [BZ #15367]
14810         [BZ #17441]
14812         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14813         * math/math.h (fpclassify): Use __builtin_fpclassify when
14814         available.  (signbit): Use __builtin_signbit(f/l).
14815         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14816         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14817         (isinf): Use __builtin_isinf_sign.
14819 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14821         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14822         * benchtests/bench-math-inlines.c: New benchmark.
14823         * benchtests/bench-util.h: New file.
14824         * benchtests/bench-util.c: New file.
14825         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14827 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14829         * elf/tst-dlmopen1.c: Define TEST_SO.
14830         (do_test): Use TEST_SO.
14832         * elf/dl-load.c: Include libc-internal.h.
14833         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14835 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14837         [BZ #17887]
14838         * time/strptime_l.c (__strptime_internal): Make %z accept
14839         [+-]HH:MM time zones.
14841 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14843         [BZ #17886]
14844         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14845         valid time zone.
14847 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14849         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14850         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14851         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14852         (__ASSUME_FDATASYNC): Delete.
14854 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14856         * conform/linknamespace.pl: Require weak undefined symbols to be
14857         in the standard namespace.
14858         (%strong_syms): Rename to %seen_syms.
14859         (%strong_seen): Rename to %seen_where.
14861 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14863         [BZ #18970]
14864         * misc/error.c (error): Replace pthread_setcancelstate with
14865         __pthread_setcancelstate.
14866         (error_at_line): Likewise.
14867         * posix/wordexp.c (parse_comm): Likewise.
14868         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14869         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14870         (__pthread_setcancelstate): This.
14871         (pthread_setcancelstate): Add an alias.
14872         * nptl/nptl-init.c (pthread_functions): Replace
14873         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14874         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14875         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14876         hidden_proto.
14877         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14878         it with hidden_def.
14879         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14880         (pthread_setcancelstate): Renamed to ...
14881         (__pthread_setcancelstate): This.
14882         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14883         __libc_ptf_call with __pthread_setcancelstate.
14885 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14886             Andreas Schwab  <schwab@suse.de>
14888         [BZ #17118]
14889         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14890         result when imaginary part of argument is infinite using sine and
14891         cosine.
14892         * math/s_ctanf.c (__ctanf): Likewise.
14893         * math/s_ctanl.c (__ctanl): Likewise.
14894         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14895         of result when real part of argument is infinite using sine and
14896         cosine.
14897         * math/s_ctanhf.c (__ctanhf): Likewise.
14898         * math/s_ctanhl.c (__ctanhl): Likewise.
14899         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14900         (ctanh_test_data): Add more tests of ctanh.
14902 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14904         [BZ #15384]
14905         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14906         bit-mask as in subtraction.
14907         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14908         Likewise.
14909         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14910         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14911         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14913         [BZ #18951]
14914         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14915         underflow exception for small results.
14916         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14917         Likewise.
14918         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14919         Likewise.
14920         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14921         Likewise.
14922         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14923         Likewise.
14924         * math/auto-libm-test-in: Add more tests of tgamma.
14925         * math/auto-libm-test-out: Regenerated.
14927 2015-09-17  Andreas Schwab  <schwab@suse.de>
14929         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14931 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14933         [BZ #18977]
14934         * math/bits/mathcalls.h
14935         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14936         not declare.
14937         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14938         Likewise.
14939         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14940         Likewise.
14941         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14942         Likewise.
14943         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14944         Likewise.
14945         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14946         Likewise.
14947         * conform/data/math.h-data
14948         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14949         function.
14950         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14951         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14952         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14953         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14954         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14955         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14956         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14957         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14958         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14959         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14960         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14962         [BZ #6803]
14963         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14964         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14965         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14966         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14967         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14968         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14969         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14970         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14971         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14972         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14973         Likewise.
14974         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14975         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14976         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14977         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14978         long_double_symbol calls.
14979         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14980         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14981         strong alias of __ldexpl.
14982         (scalbnl): Define using long_double_symbol.
14983         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14984         Remove alias.
14985         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14986         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14987         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14988         (scalbln_test_data): Add more errno expectations.
14990 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14992         Cache the host port like we cache the task port.  This way we do not
14993         need to call the kernel just to get the port.  Furthermore, we no
14994         longer increase the reference count on every invocation of
14995         `mach_host_self'.
14997         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14998         Protect declarations against the macro expansion.
14999         * mach/mach_init.c (__mach_host_self_): New variable.
15000         (mach_init): Initialize `__mach_host_self_'.
15001         * mach/mach_init.h (__mach_host_self_): New declaration.
15002         (__mach_host_self, mach_host_self): New macros.
15003         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15004         Release reference.
15006 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15008         [BZ #4404]
15009         * po/de.po: Update from Translation Project.
15011         [BZ #16415]
15012         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15013         (__expm1l): Remove code to handle positive infinity and overflow.
15014         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15015         variable.
15016         (__expm1l): Remove code to handle positive infinity and overflow.
15018 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15019             Paul Pluzhnikov  <ppluzhnikov@google.com>
15021         [BZ #18872]
15022         * stdio-common/Makefile (tst-printf-bz18872): New test.
15023         (tst-printf-bz18872-mem.out): Likewise.
15024         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15025         * stdio-common/vfprintf.c: Fix memory leaks.
15027 2015-09-16  Andreas Schwab  <schwab@suse.de>
15029         [BZ #17244]
15030         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15031         Remove extra va_start/va_end calls.
15033         [BZ #17243]
15034         * posix/execl.c (execl): Add missing va_end.
15035         * posix/execle.c (execle): Likewise.
15036         * posix/execlp.c (execlp): Likewise.
15038 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15040         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15041         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15043 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15045         [BZ #18967]
15046         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15047         undefine around includes of <bits/mathcalls.h>.
15048         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15049         not declare function.
15050         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15051         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15052         (scalb): Likewise.
15053         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15054         not define macro.
15055         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15056         variable.
15057         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15058         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15059         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15061         [BZ #18857]
15062         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15063         return non-finite argument without doing ordered comparisons on
15064         it.
15066         [BZ #16296]
15067         * math/fenv.h (fegetround): Use __attribute_pure__.
15068         * include/fenv.h (__fegetround): Likewise.
15070         [BZ #18595]
15071         * math/s_ctan.c (__ctan): Force underflow exception for results
15072         whose real or imaginary part has small absolute value.
15073         * math/s_ctanf.c (__ctanf): Likewise.
15074         * math/s_ctanh.c (__ctanh): Likewise.
15075         * math/s_ctanhf.c (__ctanhf): Likewise.
15076         * math/s_ctanhl.c (__ctanhl): Likewise.
15077         * math/s_ctanl.c (__ctanl): Likewise.
15078         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15079         and ctanh.  Add more tests of ctan and ctanh.
15081         [BZ #15918]
15082         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15083         handling of cases where one argument is an infinity.
15085         [BZ #18875]
15086         [BZ #18966]
15087         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15088         (MO): New macro.
15089         (__ieee754_exp10): For small results, force underflow exception
15090         and remove excess range and precision from return value.
15091         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15092         (MO): New macro.
15093         (__ieee754_exp10f): For small results, force underflow exception
15094         and remove excess range and precision from return value.
15095         * math/auto-libm-test-in: Add more tests of exp10.
15096         * math/auto-libm-test-out: Regenerated.
15098 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15100         [BZ #18875]
15101         [BZ #18961]
15102         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15103         (MO): New macro.
15104         (__ieee754_exp): For small results, force underflow exception and
15105         remove excess range and precision from return value.
15106         (__exp_finite): Likewise.
15107         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15108         (MO): New macro.
15109         (__ieee754_expf): For small results, force underflow exception and
15110         remove excess range and precision from return value.
15111         (__expf_finite): Likewise.
15112         * math/auto-libm-test-in: Add more tests of exp.
15113         * math/auto-libm-test-out: Regenerated.
15115         [BZ #16521]
15116         [BZ #18875]
15117         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15118         small results.
15119         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15120         (MO): New macro.
15121         (__ieee754_exp2): For small results, force underflow exception and
15122         remove excess range and precision from return value.
15123         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15124         (MO): New macro.
15125         (__ieee754_exp2f): For small results, force underflow exception
15126         and remove excess range and precision from return value.
15127         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15128         (MO): New macro.
15129         (__ieee754_exp2l): Force underflow exception for small results.
15130         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15131         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15132         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15133         (MO): New macro.
15134         (__ieee754_exp2l): Force underflow exception for small results.
15135         * math/auto-libm-test-in: Add more tests or exp2.
15136         * math/auto-libm-test-out: Regenerated.
15138 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15140         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15142         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15143         /dev/null.
15145 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15147         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15148         io fs process)): Drop spurious backslash.
15150 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15152         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15153         Use sysinfo system call instead of parsing /proc/meminfo.
15154         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15155         Likewise.
15157 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15159         [BZ #16985]
15160         * programs/localedef.c (main): Display argv[remaining] when
15161         output_path is NULL.
15163 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15165         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15166         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15167         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15168         tanh.
15169         * math/auto-libm-test-out: Regenerated.
15170         * sysdeps/i386/fpu/libm-test-ulps: Update.
15171         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15172         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15175 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15177         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15178         Use 'override' keyword to freeze the value here, preventing
15179         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15181 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15183         [BZ #14912]
15184         * sysdeps/aarch64/bits/atomic.h: Move to ...
15185         * sysdeps/aarch64/atomic-machine.h: ...here.
15186         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15187         _AARCH64_ATOMIC_MACHINE_H.
15188         * sysdeps/alpha/bits/atomic.h: Move to ...
15189         * sysdeps/alpha/atomic-machine.h: ...here.
15190         * sysdeps/arm/bits/atomic.h: Move to ...
15191         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15192         * bits/atomic.h: Move to ...
15193         * sysdeps/generic/atomic-machine.h: ...here.
15194         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15195         * sysdeps/i386/bits/atomic.h: Move to ...
15196         * sysdeps/i386/atomic-machine.h: ...here.
15197         * sysdeps/ia64/bits/atomic.h: Move to ...
15198         * sysdeps/ia64/atomic-machine.h: ...here.
15199         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15200         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15201         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15202         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15203         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15204         * sysdeps/microblaze/bits/atomic.h: Move to ...
15205         * sysdeps/microblaze/atomic-machine.h: ...here.
15206         * sysdeps/mips/bits/atomic.h: Move to ...
15207         * sysdeps/mips/atomic-machine.h: ...here.
15208         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15209         * sysdeps/powerpc/bits/atomic.h: Move to ...
15210         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15211         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15212         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15213         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15214         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15215         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15216         <atomic-machine.h> instead of <bits/atomic.h>.
15217         * sysdeps/s390/bits/atomic.h: Move to ...
15218         * sysdeps/s390/atomic-machine.h: ...here.
15219         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15220         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15221         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15222         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15223         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15224         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15225         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15226         * sysdeps/tile/bits/atomic.h: Move to ...
15227         * sysdeps/tile/atomic-machine.h: ...here.
15228         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15229         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15230         <sysdeps/tile/atomic-machine.h> instead of
15231         <sysdeps/tile/bits/atomic.h>.
15232         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15233         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15234         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15235         <sysdeps/tile/atomic-machine.h> instead of
15236         <sysdeps/tile/bits/atomic.h>.
15237         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15238         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15239         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15240         <sysdeps/arm/atomic-machine.h> instead of
15241         <sysdeps/arm/bits/atomic.h>.
15242         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15243         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15244         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15245         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15246         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15247         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15248         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15249         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15250         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15251         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15252         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15253         * sysdeps/x86_64/bits/atomic.h: Move to ...
15254         * sysdeps/x86_64/atomic-machine.h: ...here.
15255         * include/atomic.h: Include <atomic-machine.h> instead of
15256         <bits/atomic.h>.
15258         * sysdeps/mips/mips32/libm-test-ulps: Update.
15259         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15261         [BZ #18952]
15262         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15263         not convert non-integer negative arguments to int to determine the
15264         value of signgam.
15265         * math/auto-libm-test-in: Add more tests of lgamma.
15266         * math/auto-libm-test-out: Regenerated.
15268         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15269         cosh, csqrt, erfc, expm1 and lgamma.
15270         * math/auto-libm-test-out: Regenerated.
15271         * sysdeps/i386/fpu/libm-test-ulps: Update.
15272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15274 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15276         [BZ #2542]
15277         [BZ #2543]
15278         [BZ #2558]
15279         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15280         __lgamma_neg for arguments from -28.0 to -2.0.
15281         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15282         __lgamma_negf for arguments from -15.0 to -2.0.
15283         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15284         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15285         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15286         Call __lgamma_negl for arguments from -33.0 to -2.0.
15287         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15288         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15289         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15290         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15291         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15292         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15293         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15294         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15295         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15296         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15297         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15298         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15299         (__lgamma_neg): Likewise.
15300         (__lgamma_negl): Likewise.
15301         (__lgamma_product): Likewise.
15302         (__lgamma_productl): Likewise.
15303         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15304         * math/auto-libm-test-in: Add more tests of lgamma.
15305         * math/auto-libm-test-out: Regenerated.
15306         * sysdeps/i386/fpu/libm-test-ulps: Update.
15307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15309 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15311         [BZ #18675]
15312         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15314 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15316         [BZ #14912]
15317         * bits/libc-lock.h: Move to ...
15318         * sysdeps/generic/libc-lock.h: ...here.
15319         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15320         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15321         * sysdeps/mach/hurd/libc-lock.h: ...here.
15322         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15323         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15324         * sysdeps/mach/bits/libc-lock.h: Move to ...
15325         * sysdeps/mach/libc-lock.h: ...here.
15326         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15327         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15328         * sysdeps/nptl/libc-lock.h: ...here.
15329         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15330         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15331         * sysdeps/nptl/libc-lockP.h: ...here.
15332         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15333         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15334         <bits/libc-lock.h>.
15335         * dirent/scandir-tail.c: Likewise.
15336         * dlfcn/dlerror.c: Likewise.
15337         * elf/dl-close.c: Likewise.
15338         * elf/dl-iteratephdr.c: Likewise.
15339         * elf/dl-lookup.c: Likewise.
15340         * elf/dl-open.c: Likewise.
15341         * elf/dl-support.c: Likewise.
15342         * elf/dl-writev.h: Likewise.
15343         * elf/rtld.c: Likewise.
15344         * grp/fgetgrent.c: Likewise.
15345         * gshadow/fgetsgent.c: Likewise.
15346         * gshadow/sgetsgent.c: Likewise.
15347         * iconv/gconv_conf.c: Likewise.
15348         * iconv/gconv_db.c: Likewise.
15349         * iconv/gconv_dl.c: Likewise.
15350         * iconv/gconv_int.h: Likewise.
15351         * iconv/gconv_trans.c: Likewise.
15352         * include/link.h: Likewise.
15353         * inet/getnameinfo.c: Likewise.
15354         * inet/getnetgrent.c: Likewise.
15355         * inet/getnetgrent_r.c: Likewise.
15356         * intl/bindtextdom.c: Likewise.
15357         * intl/dcigettext.c: Likewise.
15358         * intl/finddomain.c: Likewise.
15359         * intl/gettextP.h: Likewise.
15360         * intl/loadmsgcat.c: Likewise.
15361         * intl/localealias.c: Likewise.
15362         * intl/textdomain.c: Likewise.
15363         * libidn/idn-stub.c: Likewise.
15364         * libio/libioP.h: Likewise.
15365         * locale/duplocale.c: Likewise.
15366         * locale/freelocale.c: Likewise.
15367         * locale/newlocale.c: Likewise.
15368         * locale/setlocale.c: Likewise.
15369         * login/getutent_r.c: Likewise.
15370         * login/getutid_r.c: Likewise.
15371         * login/getutline_r.c: Likewise.
15372         * login/utmp-private.h: Likewise.
15373         * login/utmpname.c: Likewise.
15374         * malloc/mtrace.c: Likewise.
15375         * misc/efgcvt.c: Likewise.
15376         * misc/error.c: Likewise.
15377         * misc/fstab.c: Likewise.
15378         * misc/getpass.c: Likewise.
15379         * misc/mntent.c: Likewise.
15380         * misc/syslog.c: Likewise.
15381         * nis/nis_call.c: Likewise.
15382         * nis/nis_callback.c: Likewise.
15383         * nis/nss-default.c: Likewise.
15384         * nis/nss_compat/compat-grp.c: Likewise.
15385         * nis/nss_compat/compat-initgroups.c: Likewise.
15386         * nis/nss_compat/compat-pwd.c: Likewise.
15387         * nis/nss_compat/compat-spwd.c: Likewise.
15388         * nis/nss_nis/nis-alias.c: Likewise.
15389         * nis/nss_nis/nis-ethers.c: Likewise.
15390         * nis/nss_nis/nis-grp.c: Likewise.
15391         * nis/nss_nis/nis-hosts.c: Likewise.
15392         * nis/nss_nis/nis-network.c: Likewise.
15393         * nis/nss_nis/nis-proto.c: Likewise.
15394         * nis/nss_nis/nis-pwd.c: Likewise.
15395         * nis/nss_nis/nis-rpc.c: Likewise.
15396         * nis/nss_nis/nis-service.c: Likewise.
15397         * nis/nss_nis/nis-spwd.c: Likewise.
15398         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15399         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15400         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15401         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15402         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15403         * nis/nss_nisplus/nisplus-network.c: Likewise.
15404         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15405         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15406         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15407         * nis/nss_nisplus/nisplus-service.c: Likewise.
15408         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15409         * nis/ypclnt.c: Likewise.
15410         * nptl/libc_pthread_init.c: Likewise.
15411         * nss/getXXbyYY.c: Likewise.
15412         * nss/getXXent.c: Likewise.
15413         * nss/getXXent_r.c: Likewise.
15414         * nss/nss_db/db-XXX.c: Likewise.
15415         * nss/nss_db/db-netgrp.c: Likewise.
15416         * nss/nss_db/nss_db.h: Likewise.
15417         * nss/nss_files/files-XXX.c: Likewise.
15418         * nss/nss_files/files-alias.c: Likewise.
15419         * nss/nsswitch.c: Likewise.
15420         * posix/regex_internal.h: Likewise.
15421         * posix/wordexp.c: Likewise.
15422         * pwd/fgetpwent.c: Likewise.
15423         * resolv/res_hconf.c: Likewise.
15424         * resolv/res_libc.c: Likewise.
15425         * shadow/fgetspent.c: Likewise.
15426         * shadow/lckpwdf.c: Likewise.
15427         * shadow/sgetspent.c: Likewise.
15428         * socket/opensock.c: Likewise.
15429         * stdio-common/reg-modifier.c: Likewise.
15430         * stdio-common/reg-printf.c: Likewise.
15431         * stdio-common/reg-type.c: Likewise.
15432         * stdio-common/vfprintf.c: Likewise.
15433         * stdio-common/vfscanf.c: Likewise.
15434         * stdlib/abort.c: Likewise.
15435         * stdlib/cxa_atexit.c: Likewise.
15436         * stdlib/fmtmsg.c: Likewise.
15437         * stdlib/random.c: Likewise.
15438         * stdlib/setenv.c: Likewise.
15439         * string/strsignal.c: Likewise.
15440         * sunrpc/auth_none.c: Likewise.
15441         * sunrpc/bindrsvprt.c: Likewise.
15442         * sunrpc/create_xid.c: Likewise.
15443         * sunrpc/key_call.c: Likewise.
15444         * sunrpc/rpc_thread.c: Likewise.
15445         * sysdeps/arm/backtrace.c: Likewise.
15446         * sysdeps/generic/ldsodefs.h: Likewise.
15447         * sysdeps/generic/stdio-lock.h: Likewise.
15448         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15449         * sysdeps/i386/backtrace.c: Likewise.
15450         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15451         * sysdeps/m68k/backtrace.c: Likewise.
15452         * sysdeps/mach/hurd/cthreads.c: Likewise.
15453         * sysdeps/mach/hurd/dirstream.h: Likewise.
15454         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15455         * sysdeps/nptl/malloc-machine.h: Likewise.
15456         * sysdeps/nptl/stdio-lock.h: Likewise.
15457         * sysdeps/posix/dirstream.h: Likewise.
15458         * sysdeps/posix/getaddrinfo.c: Likewise.
15459         * sysdeps/posix/system.c: Likewise.
15460         * sysdeps/pthread/aio_suspend.c: Likewise.
15461         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15462         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15463         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15464         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15465         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15466         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15467         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15468         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15469         * sysdeps/unix/sysv/linux/system.c: Likewise.
15470         * sysdeps/x86_64/backtrace.c: Likewise.
15471         * time/alt_digit.c: Likewise.
15472         * time/era.c: Likewise.
15473         * time/tzset.c: Likewise.
15474         * wcsmbs/wcsmbsload.c: Likewise.
15475         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15476         instead of <bits/libc-lock.h> in comment.
15478 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15480         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15481         Only use .set mips2 if the current ISA is below mips2.
15482         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15483         Likewise.
15484         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15485         mips32r2 if the current ISA is below mips32r2.
15486         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15487         (TLS_IE): Updated to use the TLD_RDHWR macro.
15488         (TLS_LE): Likewise.
15489         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15490         __ASSEMBLER__ condition.
15492 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15494         Fix parallel build of before-compile targets.
15496         * sysdeps/mach/Makefile ($(patsubst
15497         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15498         mach-before-compile target.
15499         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15500         io fs process)): Move rule to dedicated hurd-before-compile target.
15502 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15504         Fix rules generating headers in hurd/ and mach/ when initial make call
15505         has subdir= explicitly set.
15507         * sysdeps/mach/Makefile ($(patsubst
15508         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15509         calling $(MAKE).
15510         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15511         io fs process)): Force subdir to hurd when calling $(MAKE).
15512         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15513         subdir to mach when calling $(MAKE).
15515 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15517         Check sysheaders when looking for Mach and Hurd headers
15519         * sysdeps/mach/configure.ac: Add sysheaders check.
15520         * sysdeps/mach/configure: Regenerate.
15521         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15522         * sysdeps/mach/hurd/configure: Regenerate.
15524 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15526         [BZ #18921]
15527         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15528         Fix inverted sense of test of 'o_directory_works' value.
15529         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15530         Bernhard Voelker <mail@bernhard-voelker.de>.
15532 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15534         [BZ #14912]
15535         * bits/linkmap.h: Move to ...
15536         * sysdeps/generic/linkmap.h: ...here.
15537         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15538         * sysdeps/aarch64/linkmap.h: ...here.
15539         * sysdeps/arm/bits/linkmap.h: Move to ...
15540         * sysdeps/arm/linkmap.h: ...here.
15541         * sysdeps/hppa/bits/linkmap.h: Move to ...
15542         * sysdeps/hppa/linkmap.h: ...here.
15543         * sysdeps/ia64/bits/linkmap.h: Move to ...
15544         * sysdeps/ia64/linkmap.h: ...here.
15545         * sysdeps/mips/bits/linkmap.h: Move to ...
15546         * sysdeps/mips/linkmap.h: ...here.
15547         * sysdeps/s390/bits/linkmap.h: Move to ...
15548         * sysdeps/s390/linkmap.h: ...here.
15549         * sysdeps/sh/bits/linkmap.h: Move to ...
15550         * sysdeps/sh/linkmap.h: ...here.
15551         * sysdeps/x86/bits/linkmap.h: Move to ...
15552         * sysdeps/x86/linkmap.h: ...here.
15553         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15555 2015-09-04  Andreas Schwab  <schwab@suse.de>
15557         [BZ #18635]
15558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15559         (__makecontext): Terminate FDE before return label.
15560         (__novec_makecontext): Likewise.
15562 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15564         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15565         first member of struct sv in syscall macro.
15567 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15569         [BZ #14912]
15570         * bits/stdio-lock.h: Move to ...
15571         * sysdeps/generic/stdio-lock.h: ...here.
15572         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15573         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15574         * sysdeps/nptl/stdio-lock.h: ...here.
15575         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15576         * include/libio.h: Include <stdio-lock.h> instead of
15577         <bits/stdio-lock.h>.
15578         * sysdeps/nptl/fork.c: Likewise.
15579         * sysdeps/pthread/flockfile.c: Likewise.
15580         * sysdeps/pthread/ftrylockfile.c: Likewise.
15581         * sysdeps/pthread/funlockfile.c: Likewise.
15583         [BZ #14912]
15584         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15585         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15586         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15587         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15588         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15589         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15590         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15592 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15594         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15595         (test-xfail-tst-protected1b): New variable.
15597 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15599         [BZ #14912]
15600         * bits/libc-tsd.h: Move to ...
15601         * sysdeps/generic/libc-tsd.h: ...here.
15602         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15603         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15604         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15605         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15606         * include/ctype.h: Include <libc-tsd.h> instead of
15607         <bits/libc-tsd.h>.
15608         * include/rpc/rpc.h: Likewise.
15609         * locale/localeinfo.h: Likewise.
15610         * sunrpc/rpc_thread.c: Likewise.
15611         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15612         * sysdeps/nptl/malloc-machine.h: Likewise.
15614         * Makefile (headers): Remove bits/libc-lock.h.
15615         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15617         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15618         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15619         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15620         <bits/stdio-lock.h>.
15621         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15622         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15624 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15626         [BZ #18757]
15627         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15628         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15629         BZ #18757.
15631 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15633         * malloc/mtrace.pl: Filter out NULL entries.
15635 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15637         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15638         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15639         macro.
15641         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15642         (TCP_CC_INFO): Likewise.
15643         (TCP_SAVE_SYN): Likewise.
15644         (TCP_SAVED_SYN): Likewise.
15646 2015-08-31  Brett Neumeier <brett@neumeier.us>
15648         [BZ #18870]
15649         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15651 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15653         [BZ #18873]
15654         Fix broken overflow check in posix_fallocate
15655         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15656         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15657         Fix parenthesization typo.
15659 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15661         [BZ #18887]
15662         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15663         tst-mntent-blank-passno.
15664         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15665         * misc/tst-mntent-blank-corrupt.c: New test.
15666         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15667         * misc/tst-mntent.c (do_test): ... here.
15669 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15671         [BZ #4404]
15672         * po/de.po: Fix SIGALRM typo.
15674 2015-08-28  James Perkins  <james@loowit.net>
15676         * time/tst-strptime2.c (tests): Replace short list of test
15677         strings for strptime %z specifier with code which exhaustively
15678         tests every combination of sign and 0 to 5 digits. Tests for
15679         rejection of invalid strings.
15681 2015-08-28  James Perkins  <james@loowit.net>
15683         [BZ #16141]
15684         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15685         calculation, removing incorrect decimal time rounding, so that
15686         all minute values result in a valid seconds value.
15687         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15688         offset range limits to UTC-99:59 through UTC+99:59 to parse
15689         current and historical use cases.
15690         * time/tst-strptime2.c (tests): Modify and add tests for the
15691         strptime %z input field descriptor, specifically conversion of
15692         minutes to seconds and validating an offset range of -9959 to
15693         +9959.
15695 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15696             Dmitry V. Levin  <ldv@altlinux.org>
15698         [BZ #18877]
15699         * posix/Makefile (tests): Add tst-mmap-offset.
15700         * posix/tst-mmap.c: New file.
15701         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15702         offset calculation for negative values.
15704 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15706         * sysdeps/i386/init-arch.h: New file.
15707         * sysdeps/i386/i586/init-arch.h: Likewise.
15708         * sysdeps/i386/i686/init-arch.h: Likewise.
15709         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15710         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15711         * sysdeps/x86/cpu-features.h (bit_I586): New.
15712         (bit_I686): Likewise.
15713         (bit_CX8): Likewise.
15714         (bit_CMOV): Likewise.
15715         (index_CX8): Likewise.
15716         (index_CMOV): Likewise.
15717         (index_I586): Likewise.
15718         (index_I686): Likewise.
15719         (reg_CX8): Likewise.
15720         (reg_CMOV): Likewise.
15721         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15722         available at compile-time.
15723         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15724         available at compile-time.
15725         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15726         (USE_I686): Likewise.
15728 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15730         * sysdeps/i386/bcopy.S: New file.
15731         * sysdeps/i386/bzero.S: Likewise.
15732         * sysdeps/i386/memcpy.S: Likewise.
15733         * sysdeps/i386/memmove.S: Likewise.
15734         * sysdeps/i386/mempcpy.S: Likewise.
15735         * sysdeps/i386/memset.S: Likewise.
15736         * sysdeps/i386/bzero.c: Removed.
15737         * sysdeps/i386/memset.c: Likewise.
15738         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15739         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15740         * sysdeps/i386/i586/memset_chk.S: Likewise.
15741         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15742         * sysdeps/i386/memcpy_chk.S: Here.
15743         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15744         * sysdeps/i386/memmove_chk.S: Here.
15745         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15746         * sysdeps/i386/mempcpy_chk.S: Likewise.
15747         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15748         * sysdeps/i386/memset_chk.S: Likewise.
15750 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15752         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15753         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15754         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15755         * soft-fp/fmadf4.c: Ditto.
15756         * soft-fp/fmatf4.c: Ditto.
15758 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15760         * sysdeps/i386/i586/Implies: Removed.
15761         * sysdeps/i386/i686/Implies: Likewise.
15763 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15765         * sysdeps/i386/i486/strlen.S: Moved to ...
15766         * sysdeps/i386/strlen.S: Here.
15768 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15770         * sysdeps/i386/i486/strcat.S: Moved to ...
15771         * sysdeps/i386/strcat.S: Here.
15773 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15775         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15776         * sysdeps/i386/pthread_spin_trylock.S: Here.
15777         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15778         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15780 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15782         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15783         * sysdeps/i386/string-inlines.c: Here.
15785 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15787         * sysdeps/i386/i486/htonl.S: Moved ...
15788         * sysdeps/i386/htonl.S: here.
15790 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15792         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15793         * sysdeps/i386/bits/atomic.h: Here.
15795 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15797         * sysdeps/i386/i486/Versions: Removed.
15799 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15801         [BZ #2898]
15802         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15803         Based on patch by Aurelien Jarno.
15805 2015-08-26  Stan Shebs  <stanshebs@google.com>
15807         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15808         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15810 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15812         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15813         * sysdeps/powerpc/dl-procinfo.c:
15814         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15815         feature so it shows when LD_SHOW_AUXV=1.
15817 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15819         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15820         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15821         definition.  ISA 2.07B no longer requires full sync.
15823 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15825         [BZ #18863]
15826         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15827         (si_call_addr): Define.
15828         (si_syscall): Define.
15829         (si_arch): Define.
15831 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15833         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15834         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15835         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15836         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15837         (__memset_zero_constant_len_parameter): New.
15838         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15839         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15840         (__memset_zero_constant_len_parameter): Don't define if
15841         __memset_chk or USE_AS_BZERO are defined.
15843         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15844         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15845         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15847         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15848         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15849         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15850         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15851         comments.
15852         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15853         -mno-mmx for $(all-rtld-routines).
15854         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15855         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15856         i386.
15858 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15860         * sysdeps/generic/unwind.h
15861         (_Unwind_Word): Use __mode__(__unwind_word__)
15862         instead of __mode__(__word__).
15863         (_Unwind_Sword): Likewise.
15865         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15866         (MAX_NEEDED_INPUT): New define.
15867         (MAX_NEEDED_OUTPUT): New define.
15869         * NEWS: New item for IBM z13 string optimizations.
15871         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15872         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15873         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15874         * sysdeps/s390/multiarch/Makefile
15875         (sysdep_routines): Add memrchr functions.
15876         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15877         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15879         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15880         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15881         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15882         * sysdeps/s390/multiarch/Makefile
15883         (sysdep_routines): Add wmemcmp functions.
15884         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15885         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15886         * benchtests/bench-wmemcmp.c: New File.
15887         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15889         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15890         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15891         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15892         * sysdeps/s390/multiarch/Makefile
15893         (sysdep_routines): Add wmemset functions.
15894         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15895         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15896         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15897         * string/test-memset.c: Add wmemset support.
15898         * wcsmbs/test-wmemset.c: New File.
15899         * wcsmbs/Makefile (strop-tests): Add wmemset.
15900         * benchtests/bench-memset.c: Add wmemset support.
15901         * benchtests/bench-wmemset.c: New File.
15902         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15904         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15905         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15906         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15907         * sysdeps/s390/multiarch/Makefile
15908         (sysdep_routines): Add memccpy functions.
15909         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15910         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15911         * string/memccpy.c: Use MEMCCPY if defined.
15913         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15914         * sysdeps/s390/multiarch/memchr.c: Likewise.
15915         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15916         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15917         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15918         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15919         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15920         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15921         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15922         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15923         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15924         and rawmemchr functions.
15925         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15926         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15927         and wmemchr.
15928         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15929         * string/test-memchr.c: Add wmemchr support.
15930         * wcsmbs/test-wmemchr.c: New File.
15931         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15932         * benchtests/bench-memchr.c: Add wmemchr support.
15933         * benchtests/bench-wmemchr.c: New File.
15934         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15936         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15937         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15938         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15939         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15940         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15941         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15942         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15943         wcscspn functions.
15944         * sysdeps/s390/multiarch/ifunc-impl-list.c
15945         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15946         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15947         * string/test-strcspn.c: Add wcscspn support.
15948         * wcsmbs/test-wcscspn.c: New File.
15949         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15950         * benchtests/bench-strcspn.c: Add wcscspn support.
15951         * benchtests/bench-wcscspn.c: New File.
15952         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15954         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15955         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15956         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15957         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15958         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15959         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15960         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15961         wcspbrk functions.
15962         * sysdeps/s390/multiarch/ifunc-impl-list.c
15963         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15964         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15965         * string/test-strpbrk.c: Add wcspbrk support.
15966         * wcsmbs/test-wcspbrk.c: New File.
15967         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15968         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15969         * benchtests/bench-wcspbrk.c: New File.
15970         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15972         * sysdeps/s390/multiarch/strspn-c.c: New File.
15973         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15974         * sysdeps/s390/multiarch/strspn.c: Likewise.
15975         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15976         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15977         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15978         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15979         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15980         wcsspn functions.
15981         * sysdeps/s390/multiarch/ifunc-impl-list.c
15982         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15983         * string/test-strspn.c: Add wcsspn support.
15984         * wcsmbs/test-wcsspn.c: New File.
15985         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15986         * benchtests/bench-strspn.c: Add wcsspn support.
15987         * benchtests/bench-wcsspn.c: New File.
15988         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15990         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15991         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15992         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15993         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15994         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15995         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15996         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15997         wcsrchr functions.
15998         * sysdeps/s390/multiarch/ifunc-impl-list.c
15999         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16000         * benchtests/bench-wcsrchr.c: New File.
16001         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16003         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16004         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16005         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16006         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16007         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16008         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16009         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16010         wcschrnul functions.
16011         * sysdeps/s390/multiarch/ifunc-impl-list.c
16012         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16013         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16014         * string/test-strchr.c: Add wcschrnul support.
16015         * wcsmbs/test-wcschrnul.c: New File.
16016         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16017         * benchtests/bench-strchr.c: Add wcschrnul support.
16018         * benchtests/bench-wcschrnul.c: New File.
16019         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16021         * sysdeps/s390/multiarch/strchr-c.c: New File.
16022         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16023         * sysdeps/s390/multiarch/strchr.c: Likewise.
16024         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16025         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16026         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16027         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16028         wcschr functions.
16029         * sysdeps/s390/multiarch/ifunc-impl-list.c
16030         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16031         * string/strchr.c (STRCHR): Define and use macro.
16032         * benchtests/bench-wcschr.c: New File.
16033         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16035         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16036         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16037         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16038         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16039         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16040         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16041         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16042         wcsncmp functions.
16043         * sysdeps/s390/multiarch/ifunc-impl-list.c
16044         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16045         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16046         * benchtests/bench-strncmp.c: Add wcsncmp support.
16047         * benchtests/bench-wcsncmp.c: New File.
16048         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16050         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16051         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16052         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16053         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16054         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16055         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16056         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16057         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16058         wcscmp functions.
16059         * sysdeps/s390/multiarch/ifunc-impl-list.c
16060         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16061         * string/strcmp.c (STRCMP): Define and use macro.
16062         * benchtests/bench-wcscmp.c: New File.
16063         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16064         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16065         instead of _HAVE_STRING_ARCH_memchr.
16067         * sysdeps/s390/multiarch/strncat-c.c: New File.
16068         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16069         * sysdeps/s390/multiarch/strncat.c: Likewise.
16070         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16071         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16072         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16073         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16074         wcsncat functions.
16075         * sysdeps/s390/multiarch/ifunc-impl-list.c
16076         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16077         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16078         * string/test-strncat.c: Add wcsncat support.
16079         * wcsmbs/test-wcsncat.c: New File.
16080         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16081         * benchtests/bench-strncat.c: Add wcsncat support.
16082         * benchtests/bench-wcsncat.c: New File.
16083         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16085         * sysdeps/s390/multiarch/strcat-c.c: New File.
16086         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16087         * sysdeps/s390/multiarch/strcat.c: Likewise.
16088         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16089         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16090         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16091         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16092         wcscat functions.
16093         * sysdeps/s390/multiarch/ifunc-impl-list.c
16094         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16095         * string/strcat.c (STRCAT): Define and use macro.
16096         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16097         * string/test-strcat.c: Add wcscat support.
16098         * wcsmbs/test-wcscat.c: New File.
16099         * wcsmbs/Makefile (strop-tests): Add wcscat.
16100         * benchtests/bench-strcat.c: Add wcscat support.
16101         * benchtests/bench-wcscat.c: New File.
16102         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16104         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16105         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16106         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16107         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16108         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16109         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16110         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16111         wcpncpy functions.
16112         * sysdeps/s390/multiarch/ifunc-impl-list.c
16113         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16114         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16115         * string/test-stpncpy.c: Add wcpncpy support.
16116         * wcsmbs/test-wcpncpy.c: New File.
16117         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16118         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16119         * benchtests/bench-wcpncpy.c: New File.
16120         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16122         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16123         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16124         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16125         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16126         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16127         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16128         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16129         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16130         wcsncpy functions.
16131         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16132         * sysdeps/s390/multiarch/ifunc-impl-list.c
16133         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16134         * string/test-strncpy.c: Add wcsncpy support.
16135         * wcsmbs/test-wcsncpy.c: New File.
16136         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16137         * benchtests/bench-strncpy.c: Add wcsncpy support.
16138         * benchtests/bench-wcsncpy.c: New File.
16139         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16141         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16142         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16143         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16144         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16145         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16146         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16147         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16148         wcpcpy functions.
16149         * string/stpcpy.c: Use STPCPY if defined.
16150         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16151         * sysdeps/s390/multiarch/ifunc-impl-list.c
16152         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16153         * string/test-stpcpy.c: Add wcpcpy support.
16154         * wcsmbs/test-wcpcpy.c: New File.
16155         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16156         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16157         * benchtests/bench-wcpcpy.c: New File.
16158         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16160         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16161         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16162         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16163         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16164         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16165         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16166         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16167         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16168         wcscpy functions.
16169         * sysdeps/s390/multiarch/ifunc-impl-list.c
16170         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16171         * benchtests/bench-wcscpy.c: New File.
16172         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16174         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16175         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16176         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16177         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16178         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16179         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16180         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16181         wcsnlen functions.
16182         * sysdeps/s390/multiarch/ifunc-impl-list.c
16183         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16184         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16185         * string/test-strnlen.c: Add wcsnlen support.
16186         * wcsmbs/test-wcsnlen.c: New File.
16187         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16188         * benchtests/bench-strnlen.c: Add wcsnlen support.
16189         * benchtests/bench-wcsnlen.c: New File.
16190         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16192         * sysdeps/s390/multiarch/Makefile: New File.
16193         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16194         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16195         * sysdeps/s390/multiarch/strlen.c: Likewise.
16196         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16197         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16198         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16199         * string/strlen.c (STRLEN): Define and use macro.
16200         * sysdeps/s390/multiarch/ifunc-impl-list.c
16201         (IFUNC_VX_IMPL): New macro function.
16202         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16203         * benchtests/Makefile (wcsmbs-bench): New variable.
16204         (string-bench-all): Added wcsmbs-bench.
16205         * benchtests/bench-wcslen.c: New File.
16207         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16208         s390_vx_libc_ifunc2): New macro function.
16210         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16211         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16212         assembler support.
16213         * sysdeps/s390/configure: Regenerated.
16215         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16216         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16218         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16219         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16220         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16222         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16223         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16224         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16225         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16226         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16227         (memcmp, bcmp): Use __memcmp_default as alias source.
16228         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16229         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16230         Rename to __memcmp_default.
16231         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16232         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16233         (memcpy): Use __memcpy_default as alias source.
16234         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16235         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16236         Rename to __memcpy_default.
16237         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16238         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16239         (memset): Use __memset_default as alias source.
16240         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16241         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16242         Rename to __memset_default.
16243         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16244         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16245         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16246         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16247         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16248         (memcmp, bcmp): Use __memcmp_default as alias source.
16249         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16250         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16251         Rename to __memcmp_default.
16252         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16253         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16254         (memcpy): Use __memcpy_default as alias source.
16255         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16256         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16257         Rename to __memcpy_default.
16258         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16259         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16260         (memset): Use __memset_default as alias source.
16261         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16262         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16263         Rename to __memset_default.
16264         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16265         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16267         [BZ #18610]
16268         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16269         __ieee_instruction_pointer to __unused.
16270         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16271         __ieee_instruction_pointer.
16272         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16273         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16274         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16275         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16276         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16277         Mark dxc-field as reserved.
16279 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16281         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16282         if the weak reference is not null.
16284 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16286         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16288         [BZ #11214]
16289         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16291 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16293         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16294         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16295         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16296         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16297         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16298         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16299         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16300         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16301         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16302         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16303         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16304         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16305         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16306         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16307         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16308         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16309         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16310         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16312 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16314         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16315         register other than r0 for tabort, it has special meaning.
16316         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16317         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16318         transaction before starting syscall.
16320 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16322         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16324 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16326         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16328         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16329         * sysdeps/x86_64/rtld-memset.S: Likewise.
16330         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16331         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16332         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16333         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16335         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16337 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16339         * debug/strcpy_chk.c: Improve performance.
16340         * debug/stpcpy_chk.c: Likewise.
16341         * sysdeps/x86_64/strcpy_chk.S: Remove.
16342         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16344         [BZ #18240]
16345         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16347 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16349         [BZ #15128]
16350         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16351         ifuncmain8.
16352         (modules-names): Add ifuncmod8.
16353         ($(objpfx)ifuncmain8): New rule.
16354         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16355         <cpuid.h>.
16356         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16357         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16358         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16359         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16360         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16361         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16362         * sysdeps/x86_64/ifuncmain8.c: New file.
16363         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16364         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16365         Removed.
16366         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16367         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16368         Change rtld_savespace_sse to __glibc_unused2.
16369         (RTLD_CHECK_FOREIGN_CALL): Removed.
16370         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16371         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16372         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16374 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16376         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16378 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16380         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16381         Unconditionally set __fpcr to avoid uninialized warning.
16382         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16384 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16386         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16387         is corrupt.
16389         * malloc/arena.c (arena_get2): Drop unused argument.
16390         (arena_lock): Adjust.
16391         (arena_get_retry): Likewise.
16393 2015-08-24  Andreas Schwab  <schwab@suse.de>
16395         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16396         Don't define.
16397         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16398         (__ASSUME_IPC64): Don't undef.
16399         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16400         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16401         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16402         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16403         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16404         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16405         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16406         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16407         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16408         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16409         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16410         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16411         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16412         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16413         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16414         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16415         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16416         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16417         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16418         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16419         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16421 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16423         * manual/Makefile (install): Only build manual when perl is available.
16425 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16427         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16428         '#undef memcpy' by '#undef memchr'.
16430 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16432         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16433         memchr not point to the internal __GI_memchr implementation.
16435 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16437         * timezone/Makefile (CFLAGS-zdump.c): Remove
16438         -Wno-strict-prototypes.
16439         (CFLAGS-zic.c): Likewise.
16440         (CFLAGS-ialloc.c): Likewise.
16441         (CFLAGS-scheck.c): Likewise.
16443         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16444         -Wno-error=undef.
16446 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16448         * i386/i686/multiarch/strcasestr-c.c: Removed.
16449         * x86_64/multiarch/strcasestr.c: Likewise.
16450         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16451         Remove strcasestr.
16453 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16455         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16457         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16458         variables for high and low parts before possibly modifying them.
16460 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16462         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16463         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16464         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16465         of "multiarch/init-arch.h".
16466         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16467         * sysdeps/x86/init-arch.h: This.
16469 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16471         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16472         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16474 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16476         [BZ #17787]
16477         * manual/macros.texi: Add twoexp macro.
16478         * manual/filesys.texi: Fix exponents.
16479         * manual/llio.texi: Likewise.
16480         * manual/stdio.texi: Likewise.
16482 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16484         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16485         incorrect use.
16487 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16489         [BZ #18370]
16490         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16491         whose real or imaginary part has small absolute value.
16492         * math/s_csqrtf.c (__csqrtf): Likewise.
16493         * math/s_csqrtl.c (__csqrtl): Likewise.
16494         * math/auto-libm-test-in: Add more tests of csqrt.
16495         * math/auto-libm-test-out: Regenerated.
16496         * sysdeps/i386/fpu/libm-test-ulps: Update.
16498 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16500         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16501         __ppc_set_ppr_very_low): New functions.
16502         * manual/platform.texi: Add documentation about
16503         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16505 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16507         * string/stpncpy.c (stpncpy): Improve performance using
16508         __strnlen/memcpy/memset.
16510 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16512         [BZ #18796]
16513         * scripts/test-installation.pl: Don't add -lmvec to build options if
16514         libmvec wasn't built.
16516 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16518         [BZ #14341]
16519         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16520         case when there is a gap between DT_REL and DT_JMPREL sections.
16521         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16522         (LDFLAGS-tst-split-dynreloc): New.
16523         (tst-split-dynreloc-ENV): Likewise.
16524         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16525         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16527 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16529         [BZ #18822]
16530         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16531         attribute_hidden.
16532         (__xstat64_conv): Likewise.
16533         (__xstat32_conv): Likewise.
16535 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16537         [BZ #18822]
16538         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16539         Don't load %ebx when calling __setcontext.  Call __setcontext
16540         with HIDDEN_JUMPTARGET.
16541         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16542         libc_hidden_def.
16544 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16546         * sysdeps/i386/i686/Makefile
16547         [$(subdir) == string] (sysdep_routines): Moved to ...
16548         * sysdeps/i386/Makefile: Here.
16549         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16550         * sysdeps/i386/cacheinfo.c: Here.
16551         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16552         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16553         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16554         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16556 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16558         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16559         __i586__ is defined.
16560         (HAS_I686): Defined to 1 if __i686__ is defined.
16562 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16564         * elf/Makefile [$(have-z-execstack) = yes]
16565         (CPPFLAGS-tst-execstack.c): New variable.
16567         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16568         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16569         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16570         UTMPX || _HAVE_UT_TV].
16571         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16572         UTMPX || _HAVE_UT_TV - 0].
16574 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16576         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16577         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16578         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16580 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16582         * sysdeps/powerpc/dl-procinfo.c:
16583         (_dl_powerpc_cap_flags): Added missing strings for some
16584         hwcap features.
16585         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16587 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16589         Port the 0x7efe...feff pattern to GCC 6.
16590         See Steve Ellcey's bug report in:
16591         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16592         * string/memrchr.c (MEMRCHR):
16593         * string/rawmemchr.c (RAWMEMCHR):
16594         * string/strchr.c (strchr):
16595         * string/strchrnul.c (STRCHRNUL):
16596         Rewrite code to avoid issues with signed shift overflow.
16598 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16600         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16601         whether cpuid is available only if HAS_CPUID is 0.
16602         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16603         (HAS_I586): Likewise.
16604         (HAS_I686): Likewise.
16606 2015-08-18  Zack Weinberg  <zackw@panix.com>
16608         * misc/Versions (libc): Add GLIBC_2.23.
16610 2015-08-18  Alan Modra  <amodra@gmail.com>
16612         [BZ #18421]
16613         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16614         .Lp__global.
16615         (_start): Load %dp via .Lp__global.
16616         [!SHARED]: Use .section .rodata.
16618 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16620         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16621         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16623 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16625         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16626         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16628 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16630         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16631         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16633 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16635         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16636         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16638 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16640         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16641         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16643 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16645         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16646         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16648 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16650         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16652 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16654         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16655         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16656         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16657         (__ASSUME_LWS_CAS): Delete.
16659 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16661         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16662         * sysdeps/hppa/configure: Regenerated.
16663         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16664         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16665         * sysdeps/hppa/nptl/tls.h: Likewise.
16667 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16669         [BZ #18823]
16670         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16671         for scaling up small arguments.
16672         * math/s_csqrtf.c (__csqrtf): Likewise.
16673         * math/s_csqrtl.c (__csqrtl): Likewise.
16674         * math/auto-libm-test-in: Add more tests of csqrt.
16675         * math/auto-libm-test-out: Regenerated.
16677 2015-08-17  Andreas Schwab  <schwab@suse.de>
16679         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16680         version set GLIBC_2.19.
16682 2015-08-16  Zack Weinberg  <zackw@panix.com>
16684         [BZ #18681]
16685         * misc/regexp.h: This interface is no longer supported.
16686         Remove all contents, leaving only an #error directive.
16687         * misc/regexp.c (loc1, loc2, locs, step, advance):
16688         Demote to compatibility symbols.
16690 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16692         [BZ #18084]
16693         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16694         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16695         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16696         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16697         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16698         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16699         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16700         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16701         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16703 2015-08-15  Zack Weinberg  <zackw@panix.com>
16705         [BZ #18795]
16706         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16707         buffer length is known to be too large, not if it's known to be
16708         small enough.
16709         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16710         overflow at runtime, involving a length parameter, twice: once
16711         with a compile-time constant length parameter, once without.
16713 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16715         [BZ #18824]
16716         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16717         scaling x * y up instead of down.
16718         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16719         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16720         * math/auto-libm-test-in: Add more tests of fma.
16721         * math/auto-libm-test-out: Regenerated.
16723 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16725         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16727 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16729         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16730         unnecessary movq.
16731         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16732         Likewise.
16734 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16736         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16737         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16738         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16739         and tgamma.
16740         * math/auto-libm-test-out: Regenerated.
16741         * sysdeps/i386/fpu/libm-test-ulps: Update.
16742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16744         [BZ #16520]
16745         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16746         (__tanh): Force underflow exception for arguments with small
16747         absolute value.
16748         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16749         (__tanhf): Force underflow exception for arguments with small
16750         absolute value.
16751         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16752         (__tanhl): Force underflow exception for arguments with small
16753         absolute value.
16754         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16755         (__tanhl): Force underflow exception for arguments with small
16756         absolute value.
16757         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16758         (__tanhl): Force underflow exception for arguments with small
16759         absolute value.
16760         * math/auto-libm-test-in: Add more tests of tanh.
16761         * math/auto-libm-test-out: Regenerated.
16762         * sysdeps/i386/fpu/libm-test-ulps: Update.
16764 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16766         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16767         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16769 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16771         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16772         <cpuid.h>.
16774 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16776         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16777         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16779 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16781         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16782         Remove $(objpfx)init-arch.o.
16783         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16784         init-arch.
16785         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16786         (INIT_ARCH_EXT): Defined as empty.
16787         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16788         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16789         __init_cpu_features call.  Replace HAS_XXX with
16790         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16791         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16792         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16793         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16794         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16795         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16796         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16797         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16798         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16799         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16800         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16801         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16802         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16803         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16804         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16805         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16806         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16807         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16808         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16809         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16810         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16811         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16812         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16813         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16814         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16815         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16816         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16817         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16818         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16819         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16820         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16821         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16822         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16823         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16824         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16825         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16827 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16829         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16830         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16831         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16832         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16833         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16834         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16835         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16836         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16837         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16838         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16839         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16840         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16841         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16842         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16843         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16844         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16845         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16846         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16847         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16848         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16849         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16850         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16851         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16852         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16853         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16854         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16855         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16856         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16857         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16858         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16859         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16860         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16861         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16862         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16863         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16864         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16865         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16866         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16867         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16868         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16869         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16870         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16871         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16873 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16875         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16876         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16877         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16878         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16879         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16880         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16881         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16882         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16883         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16884         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16885         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16886         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16887         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16888         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16889         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16890         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16891         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16892         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16893         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16894         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16895         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16896         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16897         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16898         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16899         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16900         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16901         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16902         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16903         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16904         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16905         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16906         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16907         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16908         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16909         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16910         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16911         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16912         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16913         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16914         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16915         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16916         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16917         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16919 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16921         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16922         (dl_platform_init): Call init_cpu_features.
16923         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16924         * sysdeps/i386/i686/cacheinfo.c
16925         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16926         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16927         * sysdeps/i386/i686/multiarch/Versions: Removed.
16928         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16929         Removed.
16930         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16931         * sysdeps/unix/sysv/linux/x86/Makefile
16932         (libpthread-sysdep_routines): Remove init-arch.
16933         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16934         <sysdeps/x86_64/dl-procinfo.c> instead of
16935         sysdeps/generic/dl-procinfo.c>.
16936         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16937         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16938         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16939         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16940         [$(subdir) == elf] (tests-static): Add
16941         tst-get-cpu-features-static.
16942         * sysdeps/x86/Versions: New file.
16943         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16944         * sysdeps/x86/cpu-features.c: Likewise.
16945         * sysdeps/x86/cpu-features.h: Likewise.
16946         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16947         * sysdeps/x86/libc-start.c: Likewise.
16948         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16949         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16950         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16951         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16952         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16953         Assume USE_MULTIARCH is defined and don't check it.
16954         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16955         (is_amd): Likewise.
16956         (max_cpuid): Likewise.
16957         (intel_check_word): Likewise.
16958         (__cache_sysconf): Don't call __init_cpu_features.
16959         (__x86_preferred_memory_instruction): Removed.
16960         (init_cacheinfo): Don't call __init_cpu_features. Replace
16961         __cpu_features with GLRO(dl_x86_cpu_features).
16962         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16963         (dl_platform_init): Call init_cpu_features.
16964         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16965         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16966         * sysdeps/x86_64/multiarch/Versions: Removed.
16967         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16968         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16969         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16970         Removed.
16971         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16973 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16975         [BZ #18820]
16976         * libio/Makefile (test-fmemopen-mem): New test.
16977         * libio/test-fmemopen.c (do_bz18820): New test.
16978         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16979         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16981 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16983         [BZ #16734]
16984         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16985         (FREE_BUF): Delete.
16986         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16987         * libio/genops.c (_IO_setb): Use malloc and free directly.
16988         (_IO_default_doallocate, _IO_default_finish): Likewise.
16989         ( _IO_unbuffer_all): Likewise.
16990         ( libc_freeres_fn): Likewise.
16991         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16992         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16993         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16994         (_IO_wdefault_doallocate): Likewise.
16996 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16998         [BZ #18086]
16999         * sysdeps/posix/nice.c (nice): Restore old errno.
17000         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17002 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17004         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17006 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17008         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17009         __bcopy and add a weak_alias to bcopy.
17010         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17011         for static build.
17013         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17014         cleanup macro usage.
17015         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17016         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17017         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17018         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17019         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17020         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17021         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17022         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17023         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17024         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17025         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17026         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17027         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17028         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17029         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17030         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17031         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17032         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17033         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17035         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17036         libc_hidden_def.
17037         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17039         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17040         (sysdep_routines): Add strstr-ppc64.
17041         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17043 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17045         [BZ #18778]
17046         * elf/Makefile (tests): Add Add tst-nodelete2.
17047         (modules-names): Add tst-nodelete2mod.
17048         (tst-nodelete2mod.so-no-z-defs): New.
17049         ($(objpfx)tst-nodelete2): Likewise.
17050         ($(objpfx)tst-nodelete2.out): Likewise.
17051         (LDFLAGS-tst-nodelete2): Likewise.
17052         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17053         out of loop through all loaded libraries.
17054         * elf/tst-nodelete2.c: New file.
17055         * elf/tst-nodelete2mod.c: Likewise.
17056         * elf/tst-znodelete-zlib.cc: Delete.
17058 2015-08-11  Andreas Schwab  <schwab@suse.de>
17060         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17061         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17062         (__openat64_nocancel): Likewise.
17064 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17066         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17067         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17068         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17069         * math/auto-libm-test-out: Regenerated.
17070         * sysdeps/i386/fpu/libm-test-ulps: Update.
17071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17073 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17075         [BZ #18790]
17076         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17077         threshold for returning +/- 1.
17078         * math/auto-libm-test-in: Add more tests of tanh.
17079         * math/auto-libm-test-out: Regenerated.
17080         * sysdeps/i386/fpu/libm-test-ulps: Update.
17082 2015-08-10  Andreas Schwab  <schwab@suse.de>
17084         [BZ #18781]
17085         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17086         MORE_OFLAGS to oflag.
17087         * io/test-lfs.c (do_test): Test openat64.
17089 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17091         [BZ #18789]
17092         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17093         smaller threshold for returning the argument.
17094         * math/auto-libm-test-in: Add more tests of sinh.
17095         * math/auto-libm-test-out: Regenerated.
17096         * sysdeps/i386/fpu/libm-test-ulps: Update.
17098 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17100         [BZ #18674]
17101         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17102         break.
17104 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17106         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17107         (generated): Don't add $(addprefix z.,$(tzfiles)).
17109 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17111         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17112         * scripts/sysd-rules.awk: Likewise.
17114 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17116         * iconvdata/tst-tables.sh: Change echo -n to printf.
17117         * nss/db-Makefile: Likewise.
17118         * posix/tst-getconf.sh: Likewise.
17119         * stdio-common/tst-unbputc.sh: Likewise.
17121 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17123         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17124         MADV_*_PAGES defines behind this feature check.
17126 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17128         [BZ #18480]
17129         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17130         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17131         Define.
17132         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17133         LOAD_REGS_5, LOAD_REGS_6): Update.
17134         (INTERNAL_SYSCALL): Update using new LOAD defines.
17135         (INTERNAL_SYSCALL_NCS): Likewise.
17136         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17138 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17140         [BZ #16734]
17141         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17143 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17145         [BZ #17905]
17146         * catgets/Makefile (tst-catgets-mem): New test.
17147         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17148         * catgets/open_catalog.c (__open_catalog): Likewise.
17149         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17151 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17153         [BZ #18787]
17154         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17155         clobber registers.
17156         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17157         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17158         Cast return to __typeof (oldval).
17160 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17162         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17163         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17164         and delete sys/syscall.h include.
17166 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17168         [BZ #16517]
17169         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17170         (tan): Force underflow exception for arguments with small absolute
17171         value.
17172         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17173         (__kernel_tanf): Force underflow exception for arguments with
17174         small absolute value.
17175         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17176         (__kernel_tanl): Force underflow exception for arguments with
17177         small absolute value.
17178         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17179         (__kernel_tanl): Force underflow exception for arguments with
17180         small absolute value.
17181         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17182         (__kernel_tanl): Force underflow exception for arguments with
17183         small absolute value.
17184         * math/auto-libm-test-in: Add more tests of tan.
17185         * math/auto-libm-test-out: Regenerated.
17187 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17189         Fix sysdeps/i386/fpu/s_scalbn.S build
17191         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17193 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17195         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17197 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17199         Fix gcrt0.o compilation
17201         When static-start-installed-name is different from
17202         start-installed-name, we must not use the shared objects.
17204         * csu/Makefile
17205         (extra-objs): Add gmon-start.o when building shared library and
17206         $(static-start-installed-name) is different from
17207         $(start-installed-name).
17208         $(objpfx)g$(static-start-installed-name): When building shared
17209         library and $(static-start-installed-name) is different from
17210         $(static-start-installed-name), revert to non-shared rule,
17211         i.e. using $(objpfx)% and gmon-start.o.
17213 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17215         [BZ #16519]
17216         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17217         (__ieee754_sinh): Force underflow exception for arguments with
17218         small absolute value.
17219         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17220         (__ieee754_sinhf): Force underflow exception for arguments with
17221         small absolute value.
17222         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17223         (__ieee754_sinhl): Force underflow exception for arguments with
17224         small absolute value.
17225         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17226         (__ieee754_sinhl): Force underflow exception for arguments with
17227         small absolute value.
17228         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17229         (__ieee754_sinhl): Force underflow exception for arguments with
17230         small absolute value.
17231         * math/auto-libm-test-in: Add more tests of sinh.
17232         * math/auto-libm-test-out: Regenerated.
17233         * sysdeps/i386/fpu/libm-test-ulps: Update.
17235 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17237         * libio/oldfileops.c: Include unistd.h.
17239 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17241         * stdlib/isomac.c: Include ctype.h.
17243 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17245         * dirent/tst-seekdir.c (main): Converted to ...
17246         (do_test): ... this.
17247         (TEST_FUNCTION): New macro.
17248         Include test-skeleton.c.
17249         * elf/tst-dlmodcount.c (main): Converted to ...
17250         (do_test): ... this.
17251         (TEST_FUNCTION): New macro.
17252         Include test-skeleton.c.
17253         * elf/tst-order-main.c (main): Converted to ...
17254         (do_test): ... this.
17255         (TEST_FUNCTION): New macro.
17256         Include test-skeleton.c.
17257         * elf/tst-pie2.c (main): Converted to ...
17258         (do_test): ... this.
17259         (TEST_FUNCTION): New macro.
17260         Include test-skeleton.c.
17261         * inet/tst-ether_aton.c (main): Converted to ...
17262         (do_test): ... this.
17263         (TEST_FUNCTION): New macro.
17264         Include test-skeleton.c.
17265         * misc/tst-mntent.c (main): Converted to ...
17266         (do_test): ... this.
17267         (TEST_FUNCTION): New macro.
17268         Include test-skeleton.c.
17269         * misc/tst-tsearch.c (main): Converted to ...
17270         (do_test): ... this.
17271         (TEST_FUNCTION): New macro.
17272         Include test-skeleton.c.
17273         * posix/tst-regexloc.c (main): Converted to ...
17274         (do_test): ... this.
17275         (TEST_FUNCTION): New macro.
17276         Include test-skeleton.c.
17277         * resolv/tst-aton.c (main): Converted to ...
17278         (do_test): ... this.
17279         (TEST_FUNCTION): New macro.
17280         Include test-skeleton.c.
17281         * stdio-common/test-fwrite.c (main): Converted to ...
17282         (do_test): ... this.
17283         (TEST_FUNCTION): New macro.
17284         Include test-skeleton.c.
17285         * stdio-common/tst-ferror.c (main): Converted to ...
17286         (do_test): ... this.
17287         (TEST_FUNCTION): New macro.
17288         Include test-skeleton.c.
17289         * stdio-common/tst-printf.c (main): Converted to ...
17290         (do_test): ... this.
17291         (TEST_FUNCTION): New macro.
17292         Include test-skeleton.c.
17293         * stdio-common/tst-printfsz.c (main): Converted to ...
17294         (do_test): ... this.
17295         (TEST_FUNCTION): New macro.
17296         Include test-skeleton.c.
17297         * stdlib/tst-strtod.c (main): Converted to ...
17298         (do_test): ... this.
17299         (TEST_FUNCTION): New macro.
17300         Include test-skeleton.c.
17301         * string/tst-strlen.c (main): Converted to ...
17302         (do_test): ... this.
17303         (TEST_FUNCTION): New macro.
17304         Include test-skeleton.c.
17305         * string/tst-svc.c (main): Converted to ...
17306         (do_test): ... this.
17307         (TEST_FUNCTION): New macro.
17308         Include test-skeleton.c.
17309         * time/tst-strptime.c (main): Converted to ...
17310         (do_test): ... this.
17311         (TEST_FUNCTION): New macro.
17312         Include test-skeleton.c.
17313         * timezone/tst-timezone.c (main): Converted to ...
17314         (do_test): ... this.
17315         (TEST_FUNCTION): New macro.
17316         Include test-skeleton.c.
17318 2015-08-05  Zack Weinberg  <zackw@panix.com>
17320         * misc/regexp.h: Update comments.
17322 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17324         [BZ #18635]
17325         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17326         before return label.
17328 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17330         [BZ #18661]
17331         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17332         when calling __errno_location.
17333         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17334         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17336 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17338         [BZ #18661]
17339         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17340         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17341         __gettimeofday.
17343 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17345         [BZ #18661]
17346         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17347         (__start_context): Don't use pop to restore %rdi so that stack
17348         is aligned to 16 bytes when calling __setcontext.
17350 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17352         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17353         only for libc.
17354         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17356 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17358         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17359         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17360         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17362 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17364         * string/memccpy.c (memccpy):
17365         Improve performance by using memchr/memcpy/__mempcpy.
17367 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17369         * string/strncpy.c (strncpy):
17370         Improve performance by using __strnlen/memcpy.
17372 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17374         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17375         Optimize to avoid an unnecessary FPCR read.
17377 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17379         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17380         Optimize to reduce FPCR/FPSR accesses.
17382 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17384         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17385         dead->data[category] != NULL.
17387 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17389         [BZ #18647]
17390         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17391         and |x| close to 1, use absolute value of x when computing log.
17392         * math/auto-libm-test-in: Add more tests of pow.
17393         * math/auto-libm-test-out: Regenerated.
17395 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17397         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17398         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17399         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17401 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17403         [BZ #18525]
17404         * locales/km_KH: Remove timezone definition.
17405         * locales/lo_LA: Likewise.
17406         * locales/my_MM: Likewise.
17407         * locales/nan_TW@latin: Likewise.
17408         * locales/th_TH: Likewise.
17409         * locales/uk_UA: Likewise.
17411 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17413         [BZ #18265]
17414         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17415         (wcsncat): Likewise.
17416         (wcscmp): Likewise.
17417         (wcsncmp): Likewise.
17419 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17421         * test-skeleton.c (usage): New function.
17422         (main): Call usage when opt is '?'.
17424 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17426         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17427         before first use.
17429 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17431         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17432         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17433         in there too.
17435 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17437         * version.h (RELEASE): Set to "development".
17438         (VERSION): Set to "2.22.90"
17440         * version.h (RELEASE): Set to "stable".
17441         (VERSION): Set to "2.22"
17442         * include/features.h (__GLIBC_MINOR__): Set to 22.
17444 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17446         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17447         Restructure macro to avoid "value computed is not used" warning.
17448         (atomic_compare_and_exchange_val_acq): Likewise.
17450 2015-08-04  Andreas Schwab  <schwab@suse.de>
17452         [BZ #18635]
17453         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17454         ret.
17455         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17457 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17459         * po/pl.po: Updated translation.
17460         * po/uk.po: Likewise.
17461         * po/fi.po: Likewise.
17462         * po/ko.po: Likewise.
17463         * po/ru.po: Likewise.
17464         * po/vi.po: Likewise.
17466 2015-07-31  Zack Weinberg  <zackw@panix.com>
17468         [BZ #18681]
17469         * regexp.h: Add unconditional #warning stating that this header
17470         will be removed soon.  Revise banner comment to match.
17471         (compile): Consistently use ERROR instead of RETURN to report
17472         errors (partial fix for bz#18681).
17473         * regexp.c: Don't include regexp.h. Remove some unnecessary
17474         declarations.
17476 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17478         * po/libc.pot: Regenerated.
17480 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17482         [BZ #18740]
17483         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17484         float-vlen4-arch-ext-cflags): Removed.
17485         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17486         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17488 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17490         [BZ #14113]
17491         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17492         aligned to __aligned__.
17493         (pthread_cond_t, pthread_rwlock_t): Likewise.
17495 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17497         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17499 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17501         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17502         (struct sigaction): Change sa_flags from a long to an int, and add
17503         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17505 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17507         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17508         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17509         sysdeps/generic/sysdep.h include.
17510         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17511         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17512         sysdeps/hppa/sysdep.h.
17513         (ENTRY, PSEUDO): Undefine before defining.
17515 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17517         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17518         from scratch to use INTERNAL_SYSCALL.
17520 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17522         [BZ #18078]
17523         * scripts/check-localplt.awk: Support alternate relocations.
17524         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17525         sections.
17526         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17527         malloc entries with + REL R_386_GLOB_DAT.
17528         * sysdeps/x86_64/localplt.data: New file.
17530 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17532         [BZ #18731]
17533         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17534         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17535         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17537 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17539         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17541 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17543         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17544         directly in terms of __sync_fetch_and_add and delete (int) cast.
17546 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17548         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17549         the -D_ASM_IA64_CURRENT_H flag.
17551 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17553         [BZ #18641]
17554         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17556 2015-07-27  Andreas Schwab  <schwab@suse.de>
17558         * conform/conformtest.pl (checknamespace): Filter out string
17559         literals while tokenizing.
17561 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17563         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17564         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17565         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17567 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17569         * nptl/tst-join7mod.c: Add #include <string.h>.
17571 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17573         * sysdeps/nios2/libm-test-ulps: Update.
17575 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17577         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17578         Fix order of arguments to the rt_sigprocmask syscall.
17579         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17580         Likewise.
17582 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17584         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17586 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17588         [BZ #18457]
17589         * nptl/Makefile (tests): New test case tst-join7.
17590         (modules-names): New test case module tst-join7mod.
17591         * nptl/tst-join7.c: New file.
17592         * nptl/tst-join7mod.c: New file.
17593         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17594         all translation units in libc.so, libpthread.so and rtld.
17596 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17600 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17602         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17603         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17604         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17605         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17606         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17607         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17608         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17609         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17610         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17611         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17612         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17613         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17614         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17615         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17616         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17617         implementation.
17619 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17621         [BZ #17711]
17622         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17623         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17624         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17625         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17626         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17627         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17629 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17631         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17632         instead of just saying load lock in the comments.
17634 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17636         * sysdeps/unix/Subdirs: Moved ...
17637         * sysdeps/posix/Subdirs: ... here.
17638         * login/pty.h (struct termios, struct winsize): Add forward decls.
17639         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17640         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17641         * sysdeps/arm/nacl/libc.abilist: Updated.
17642         * sysdeps/nacl/libutil.abilist: New file.
17644         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17645         (SIGWINCH): New macro.
17647         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17648         * sysdeps/arm/nacl/libc.abilist: Add it.
17650 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17652         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17654 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17656         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17657         Swap __glibc_reserved0 and sa_flags order.
17659 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17661         [BZ #18657]
17662         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17663         are pending TLS destructor calls.
17664         * include/link.h (struct link_map): Add concurrency note for
17665         L_TLS_DTOR_COUNT.
17666         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17667         Don't touch the link map flag.  Atomically increment
17668         l_tls_dtor_count.
17669         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17670         Avoid taking the load lock and don't touch the link map flag.
17671         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17672         * stdlib/Makefile (tests): Use it.
17673         * stdlib/tst-tls-atexit.c (do_test): dlopen
17674         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17675         to allow tst-tls-atexit-nodelete test case to use it.
17677 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17679         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17680         to bits/types.h.
17681         (msgqnum_t): New typedef.
17682         (msglen_t): Likewise.
17683         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17684         and msg_qbytes type to msglen_t.
17686 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17688         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17689         pad0 to __glibc_reserved0.
17690         (struct stat64): Likewise.
17692 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17694         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17695         Change sa_flags from a long to an int and add __glibc_reserved0 before
17696         it for padding.
17698 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17700         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17701         anonymous by deleting "siginfo" name.
17703 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17705         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17706         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17707         rather than __nacl_irt_filename.
17708         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17710         * NEWS: New item for arm-nacl port.
17711         * sysdeps/arm/nacl/libc.abilist: New file.
17712         * sysdeps/nacl/ld.abilist: New file.
17713         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17714         * sysdeps/nacl/libanl.abilist: New file.
17715         * sysdeps/nacl/libcrypt.abilist: New file.
17716         * sysdeps/nacl/libdl.abilist: New file.
17717         * sysdeps/nacl/libm.abilist: New file.
17718         * sysdeps/nacl/libpthread.abilist: New file.
17719         * sysdeps/nacl/libresolv.abilist: New file.
17720         * sysdeps/nacl/librt.abilist: New file.
17722 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17724         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17725         __startcontext to initialize the new context.
17726         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17727         up CFI directive to forbid further backtracing.
17729 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17731         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17732         reference.
17733         * charmaps/ANSI_X3.4-1968: Likewise.
17734         * charmaps/BS_4730: Likewise.
17735         * charmaps/BS_VIEWDATA: Likewise.
17736         * charmaps/CP1250: Likewise.
17737         * charmaps/CP1251: Likewise.
17738         * charmaps/CP1252: Likewise.
17739         * charmaps/CP1253: Likewise.
17740         * charmaps/CP1254: Likewise.
17741         * charmaps/CP1255: Likewise.
17742         * charmaps/CP1256: Likewise.
17743         * charmaps/CSN_369103: Likewise.
17744         * charmaps/EBCDIC-DK-NO: Likewise.
17745         * charmaps/GB_1988-80: Likewise.
17746         * charmaps/GREEK-CCITT: Likewise.
17747         * charmaps/GREEK7: Likewise.
17748         * charmaps/INIS-8: Likewise.
17749         * charmaps/ISIRI-3342: Likewise.
17750         * charmaps/ISO_2033-1983: Likewise.
17751         * charmaps/ISO_5427-EXT: Likewise.
17752         * locales/POSIX: Likewise.
17753         * locales/ar_SA: Likewise.
17754         * locales/be_BY: Likewise.
17755         * locales/be_BY@latin: Likewise.
17756         * locales/ca_ES: Likewise.
17757         * locales/cs_CZ: Likewise.
17758         * locales/da_DK: Likewise.
17759         * locales/de_BE: Likewise.
17760         * locales/de_CH: Likewise.
17761         * locales/de_LU: Likewise.
17762         * locales/en_AU: Likewise.
17763         * locales/en_BW: Likewise.
17764         * locales/en_CA: Likewise.
17765         * locales/en_DK: Likewise.
17766         * locales/en_GB: Likewise.
17767         * locales/en_IE: Likewise.
17768         * locales/en_NZ: Likewise.
17769         * locales/en_ZA: Likewise.
17770         * locales/en_ZW: Likewise.
17771         * locales/es_AR: Likewise.
17772         * locales/es_BO: Likewise.
17773         * locales/es_CL: Likewise.
17774         * locales/es_CO: Likewise.
17775         * locales/es_DO: Likewise.
17776         * locales/es_EC: Likewise.
17777         * locales/es_ES: Likewise.
17778         * locales/es_HN: Likewise.
17779         * locales/es_MX: Likewise.
17780         * locales/es_PA: Likewise.
17781         * locales/es_PE: Likewise.
17782         * locales/es_PY: Likewise.
17783         * locales/es_SV: Likewise.
17784         * locales/es_US: Likewise.
17785         * locales/es_UY: Likewise.
17786         * locales/es_VE: Likewise.
17787         * locales/et_EE: Likewise.
17788         * locales/fa_IR: Likewise.
17789         * locales/fo_FO: Likewise.
17790         * locales/fr_CA: Likewise.
17791         * locales/fr_CH: Likewise.
17792         * locales/gv_GB: Likewise.
17793         * locales/he_IL: Likewise.
17794         * locales/hr_HR: Likewise.
17795         * locales/id_ID: Likewise.
17796         * locales/is_IS: Likewise.
17797         * locales/it_CH: Likewise.
17798         * locales/iw_IL: Likewise.
17799         * locales/kl_GL: Likewise.
17800         * locales/ko_KR: Likewise.
17801         * locales/kw_GB: Likewise.
17802         * locales/lg_UG: Likewise.
17803         * locales/lt_LT: Likewise.
17804         * locales/lv_LV: Likewise.
17805         * locales/mi_NZ: Likewise.
17806         * locales/nhn_MX: Likewise.
17807         * locales/nl_BE: Likewise.
17808         * locales/pl_PL: Likewise.
17809         * locales/sk_SK: Likewise.
17810         * locales/sl_SI: Likewise.
17811         * locales/sv_FI: Likewise.
17812         * locales/tl_PH: Likewise.
17813         * locales/tr_TR: Likewise.
17814         * locales/vi_VN: Likewise.
17816 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17818         [BZ #17475]
17819         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17820         of tu_IN and bh_IN.
17822 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17824         [BZ #18694]
17825         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17826         bits/wordsize.h.
17827         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17829 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17831         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17832         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17833         (spawn_thread): New function.
17834         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17835         (do_test): ... here.  Use IS_LOADED to test for its
17836         availability.
17838 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17840         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17842 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17844         [BZ #18696]
17845         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17846         si_addr_bnd.
17847         (si_lower): New.
17848         (si_upper): Likewise.
17850 2015-07-16  David S. Miller  <davem@davemloft.net>
17852         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17854 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17856         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17857         buffer.
17858         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17859         fail output information.
17861 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17864         and strstr-ppc64..
17865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17866         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17867         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17868         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17869         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17871 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17873         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17874         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17875         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17876         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17878 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17880         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17881         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17882         rtld_hidden_proto.
17883         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17885 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17887         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17888         the test can fail.
17890         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17892         [BZ #18676]
17893         * elf/tst-nodelete-opened.c: New test case.
17894         * elf/tst-nodelete-opened-lib.c: New test case module.
17895         * elf/Makefile (tests, modules-names): Use them.
17896         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17897         early.
17899 2015-07-15  David S. Miller  <davem@davemloft.net>
17901         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17902         futex-intenal.h
17903         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17904         * sysdeps/sparc/sparc64/Makefile: Likewise.
17905         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17906         Remove space from macro define.
17907         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17909 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17911         [BZ #17475]
17912         * locale/iso-639.def: Update Bhili and Tulu language codes as
17913         per iso639-3.
17915 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17917         * elf/tst-leaks1.c (main): Converted to ...
17918         (do_test): ... this.
17919         (TEST_FUNCTION): New macro.
17920         Include test-skeleton.c.
17921         * localedata/tst-langinfo.c (main): Converted to ...
17922         (do_test): ... this.
17923         (TEST_FUNCTION): New macro.
17924         Include test-skeleton.c.
17925         * math/test-fpucw.c (main): Converted to ...
17926         (do_test): ... this.
17927         (TEST_FUNCTION): New macro.
17928         Include test-skeleton.c.
17929         * math/test-tgmath.c (main): Converted to ...
17930         (do_test): ... this.
17931         (TEST_FUNCTION): New macro.
17932         Include test-skeleton.c.
17933         * math/test-tgmath2.c (main): Converted to ...
17934         (do_test): ... this.
17935         (TEST_FUNCTION): New macro.
17936         Include test-skeleton.c.
17937         * setjmp/tst-setjmp.c (main): Converted to ...
17938         (do_test): ... this.
17939         (TEST_FUNCTION): New macro.
17940         Include test-skeleton.c.
17941         * stdio-common/tst-sscanf.c (main): Converted to ...
17942         (do_test): ... this.
17943         (TEST_FUNCTION): New macro.
17944         Include test-skeleton.c.
17945         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17946         (do_test): ... this.
17947         (TEST_FUNCTION): New macro.
17948         Include test-skeleton.c.
17950         * elf/tst-audit9.c (main): Converted to ...
17951         (do_test): ... this.
17952         (TEST_FUNCTION): New macro.
17953         Include test-skeleton.c.
17955 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17957         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17959 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17961         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17962         New variable.
17964 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17966         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17968 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17970         * sysdeps/generic/dl-fileid.h: New file.
17971         * sysdeps/posix/dl-fileid.h: New file.
17972         * sysdeps/nacl/dl-fileid.h: New file.
17973         * include/link.h: Include <dl-fileid.h>.
17974         (struct link_map): Replace l_dev and l_ino with l_file_id.
17975         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17976         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17977         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17979 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17981         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17983 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17985         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17986         Add iff $CXX is set.
17987         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17988         Likewise.
17989         (tst-nodelete-zmodiff): Likewise.
17990         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17992 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17994         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17996 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17998         * sysdeps/aarch64/fpu/math_private.h
17999         (define math_opt_barrier): Add AArch64 version.
18000         (math_force_eval): Likewise.
18002 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18004         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18006 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18008         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18009         %ld with %jd and cast to intmax_t.
18010         (do_test_length_zero): Likewise.
18012 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18014         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18016 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18018         * sysdeps/tile/libm-test-ulps: Regenerated.
18020         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18021         Comment out the whole function, not just its body.
18023 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18025         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18026         locks.
18028         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18030 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18032         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18033         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18035 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18037         * sysdeps/nptl/futex-internal.h: New file.
18038         * sysdeps/nacl/futex-internal.h: New file.
18039         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18040         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18041         error checking.
18042         (setxid_unmark_thread): Likewise.
18043         (__nptl_setxid): Likewise.
18044         (__wait_lookup_done): Likewise.
18045         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18046         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18047         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18048         * nptl/pthread_once.c (clear_once_control): Likewise.
18049         (__pthread_once_slow): Likewise.
18050         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18051         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18052         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18053         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18054         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18055         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18056         Likewise.
18057         (__pthread_rwlock_rdlock): Likewise.
18058         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18059         Likewise.
18060         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18061         Likewise.
18062         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18063         Likewise.
18064         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18065         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18066         Likewise.
18067         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18068         __ASSUME_PRIVATE_FUTEX check.
18069         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18070         Check that shared futexes are supported.
18071         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18072         wrappers with error checking.
18073         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18074         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18075         * nptl/pthread_barrierattr_setpshared.c
18076         (pthread_barrierattr_setpshared): Check that shared futexes are
18077         supported.
18078         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18079         Likewise.
18080         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18081         Likewise.
18082         * nptl/sem_init.c (futex_private_if_supported): Remove.
18083         (__new_sem_init): Adapt and check that shared futexes are supported.
18084         * nptl/sem_open.c (sem_open): Likewise.
18085         * nptl/sem_post.c (futex_wake): Remove.
18086         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18087         (do_futex_wait): Use futex wrappers with error checking.
18088         * nptl/sem_wait.c: Include lowlevellock.h.
18089         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18090         Use futex_supports_pshared.
18091         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18092         Use futex wrappers with error checking.
18093         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18094         Likewise.
18095         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18096         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18097         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18098         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18099         (futex_wake): Likewise.
18100         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18101         (do_futex_wait): Use futex wrappers with error checking.
18102         (__new_sem_wait_slow): Update EINTR handling.
18103         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18105 2015-07-09  Martin Sebor  <msebor@redhat.com>
18107         [BZ #18435]
18108         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18109         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18110         * nptl/Makefile (test-xfail-tst-once5): Define.
18112 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18114         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18115         * elf/dl-minimal.c: For readability, reorder some definitions and
18116         introduce more page breaks.  Include <stdio.h>.
18117         (__libc_fatal): New function.
18119         * include/unistd.h: Add rtld_hidden_proto for _exit.
18120         * posix/_exit.c: Add rtld_hidden_def.
18121         * sysdeps/mach/hurd/_exit.c: Likewise.
18122         * sysdeps/nacl/_exit.c: Likewise.
18123         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18124         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18126 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18128         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18129         bndmov encoding with zero displacement.
18131 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18132             H.J. Lu  <hongjiu.lu@intel.com>
18134         [BZ #18134]
18135         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18136         * sysdeps/i386/configure: Regenerated.
18137         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18138         (_dl_runtime_profile): Save and restore Intel MPX return bound
18139         registers when calling _dl_call_pltexit.  Add
18140         PRESERVE_BND_REGS_PREFIX before return.
18141         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18142         (LRV_BND1_OFFSET): Likewise.
18143         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18144         lrv_bnd1.
18145         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18146         typo in bndmov encoding.
18147         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18148         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18149         branch instructions to preserve bounds.
18151 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18154         [GLIBC_2.22]: Add fmemopen.
18156 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18158         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18159         returns an error, also try to use host port from __mach_host_self for
18160         the __vm_wire call.
18161         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18163 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18165         [BZ #18400]
18166         [BZ #18648]
18167         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18168         Fix pr_uid and pr_gid members.
18169         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18170         definition to elf_greg_t.
18172 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18174         [BZ #18383]
18175         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18176         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18177         * sysdeps/arm/configure: Regenerated.
18178         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18179         (test-xfail-tst-tlsalign-static): Variable removed.
18181         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18182         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18183         rather than explicit 'ln -s'.
18185         * resolv/rpc/netdb.h: New file.
18186         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18188 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18190         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18191         length buffers.
18192         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18193         test-skeleton.c.
18195         [BZ #6544]
18196         [BZ #11216]
18197         [BZ #12836]
18198         [BZ #13151]
18199         [BZ #13152]
18200         [BZ #14292]
18201         * include/stdio.h (fmemopen): Remove hidden prototype.
18202         (__fmemopen): Add new hidden prototype.
18203         * libio/Makefile: Add oldfmemopen object.
18204         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18205         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18206         compliance.
18207         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18208         symbol compatibility.
18209         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18210         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18211         fmemopen.
18212         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18213         on append and read mode.
18214         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18215         fmemopen.
18216         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18217         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18218         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18219         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18220         Likewise.
18221         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18222         [GLIBC_2.22]: Likewise.
18223         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18224         Likewise.
18225         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18226         Likewise.
18227         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18228         [GLIBC_2.22]: Likewise.
18229         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18230         [GLIBC_2.22]: Likewise.
18231         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18232         [GLIBC_2.22]: Likewise.
18233         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18234         [GLIBC_2.22]: Likewise.
18235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18236         [GLIBC_2.22]: Likewise.
18237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18238         [GLIBC_2.22]: Likewise.
18239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18240         [GLIBC_2.22]: Likewise.
18241         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18242         Likewise.
18243         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18244         Likewise.
18245         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18246         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18247         [GLIBC_2.22]: Likewise.
18248         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18249         [GLIBC_2.22]: Likewise.
18250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18251         [GLIBC_2.22]: Likewise.
18252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18253         [GLIBC_2.22]: Likewise.
18254         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18255         Likewise.
18256         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18257         Likewise.
18258         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18259         Likewise.
18260         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18261         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18263 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18265         [BZ #18643]
18266         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18267         IPV6_PATHMTU, and IPV6_DONTFRAG.
18269 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18271         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18272         and _IO_UNBUFFERED.
18273         * libio/oldfileops.c: Likewise.
18274         * libio/wfileops.c: Likewise.
18276 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18278         * nscd/selinux.c: Delete selinux/flask.h include.
18280 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18282         [BZ #18641]
18283         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18284         (putpwent): Likewise.
18285         (getpwnam): Likewise.
18286         (getpwent_r): Likewise.
18287         (getpwuid_r): Likewise.
18288         (getpwnam_r): Likewise.
18289         (fgetpwent_r): Likewise.
18291 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18293         [BZ #18557]
18294         * inet/rcmd.c (__validuser2_sa): Check user first to
18295         short-circuit host check.
18297 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18298             Mikhail Ilin  <m.ilin@samsung.com>
18300         [BZ #17833]
18301         * elf/Makefile (tests): Add tst-nodelete.
18302         (modules-names): Add tst-nodelete-uniquemod.
18303         (tst-nodelete-uniquemod.so-no-z-defs): New.
18304         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18305         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18306         ($(objpfx)tst-nodelete): Likewise.
18307         ($(objpfx)tst-nodelete.out): Likewise.
18308         (LDFLAGS-tst-nodelete): Likewise.
18309         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18310         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18311         implement forced object deletion.
18312         (_dl_close): Pass false to _dl_close_worker.
18313         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18314         * elf/tst-nodelete.cc: New file.
18315         * elf/tst-nodeletelib.cc: Likewise.
18316         * elf/tst-znodeletelib.cc: Likewise.
18317         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18319 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18321         [BZ #18508]
18322         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18323         Depend on $(libdl).
18324         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18325         is not called infinitely times.
18326         (backtrace_helper): New function.
18327         (trace_arg): New struct.
18328         (st1): Enlarge stack size.
18329         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18330         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18331         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18332         Likewise.
18334 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18336         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18338 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18340         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18341         Include sys/types.h instead of bits/types.h.
18342         Remove inclusion of bits/wordsize.h.
18344 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18346         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18347         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18348         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18349         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18350         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18351         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18353 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18355         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18356         link-defines.sym.
18357         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18358         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18359         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18360         and LR_SIZE.
18361         * sysdeps/i386/link-defines.sym: New file.
18363 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18365         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18366         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18367         ($(objpfx)tst-audit3): New rule.
18368         ($(objpfx)tst-audit3.out): Likewise.
18369         * sysdeps/i386/tst-audit3.c: New file.
18370         * sysdeps/i386/tst-audit3.h: Likewise.
18371         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18372         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18374 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18376         [BZ #18633]
18377         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18378         pointer in C code.
18379         (__strcat_c): Likewise.
18380         (__strcat_g): Likewise.
18382 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18384         [BZ #18592]
18385         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18387 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18389         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18390         New function.  (__ieee754_sqrtf): New function.
18391         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18392         New function.
18393         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18394         New function.
18396 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18398         * sysdeps/ieee754/support.c: Remove unused file.
18400 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18402         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18403         registers instead of d ones so the layout is kernel abi compatible.
18404         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18405         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18406         Likewise.
18408 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18410         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18412 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18414         [BZ #18619]
18415         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18416         and return argument in case of subnormal argument.
18418 2015-07-01  Martin Sebor  <msebor@redhat.com>
18420         [BZ #18435]
18421         * nptl/Makefile: Add tst-once5.cc.
18422         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18423         Remove macro redefinitions.
18424         * nptl/tst-once5.cc: New test.
18426 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18428         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18430         * sysdeps/arm/libm-test-ulps: Regenerated.
18432         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18433         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18435 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18437         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18438         lll_lock_wait_private and lll_futex_wake probes.
18440         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18441         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18442         Likewise.
18443         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18444         atomic_spin_nop.
18445         * sysdeps/x86_64/bits/atomic.h: Likewise.
18446         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18447         to atomic_spin_nop and move ...
18448         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18449         ... here and ...
18450         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18451         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18452         atomic_spin_nop instead of BUSY_WAIT_NOP.
18453         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18454         Likewise.
18455         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18456         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18457         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18458         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18459         instead of atomic_delay.
18461 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18463         [BZ #18613]
18464         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18465         X_ADJ not X when adjusting exponent.
18466         (__ieee754_gamma_r): Do intermediate computations in
18467         round-to-nearest then adjust overflowing and underflowing results
18468         as needed.
18469         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18470         of X_ADJ not X when adjusting exponent.
18471         (__ieee754_gammaf_r): Do intermediate computations in
18472         round-to-nearest then adjust overflowing and underflowing results
18473         as needed.
18474         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18475         log of X_ADJ not X when adjusting exponent.
18476         (__ieee754_gammal_r): Do intermediate computations in
18477         round-to-nearest then adjust overflowing and underflowing results
18478         as needed.  Use 1.0L not 1.0f as numerator of division.
18479         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18480         log of X_ADJ not X when adjusting exponent.
18481         (__ieee754_gammal_r): Do intermediate computations in
18482         round-to-nearest then adjust overflowing and underflowing results
18483         as needed.  Use 1.0L not 1.0f as numerator of division.
18484         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18485         of X_ADJ not X when adjusting exponent.
18486         (__ieee754_gammal_r): Do intermediate computations in
18487         round-to-nearest then adjust overflowing and underflowing results
18488         as needed.  Use 1.0L not 1.0f as numerator of division.
18489         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18490         to auto-libm-test-in.
18491         (tgamma_test): Use ALL_RM_TEST.
18492         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18493         tests of tgamma with spurious-overflow.
18494         * math/auto-libm-test-out: Regenerated.
18495         * math/gen-libm-have-vector-test.sh: Do not check for START.
18496         * sysdeps/i386/fpu/libm-test-ulps: Update.
18497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18499         [BZ #18612]
18500         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18501         arguments, just return 0.5 times the argument, with underflow
18502         forced as needed.
18503         * math/auto-libm-test-in: Add more tests of j1.
18504         * math/auto-libm-test-out: Regenerated.
18506         [BZ #16559]
18507         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18508         (__ieee754_j1): Force underflow exception for small results.
18509         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18510         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18511         (__ieee754_j1f): Force underflow exception for small results.
18512         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18513         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18514         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18515         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18516         (__ieee754_j1l): Force underflow exception for small results.
18517         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18518         * math/auto-libm-test-in: Add more tests of j1 and jn.
18519         * math/auto-libm-test-out: Regenerated.
18521         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18522         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18523         (PF_MPLS): Likewise.
18524         (AF_IB): Likewise.
18525         (AF_MPLS): Likewise.
18526         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18527         value and macro.
18528         (MS_RMT_MASK): Include MS_LAZYTIME.
18530 2015-06-26  Mel Gorman  <mgorman@suse.de>
18532         [BZ #18502]
18533         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18534         already minimal.
18536 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18538         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18539         (DT_MIPS_NUM): Update.
18540         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18541         DT_MIPS_RLD_MAP_REL.
18543 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18545         [BZ #16559]
18546         [BZ #18602]
18547         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18548         round-to-nearest internally then recompute results that
18549         underflowed to zero in the original rounding mode.
18550         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18551         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18552         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18553         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18554         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18555         * sysdeps/i386/fpu/libm-test-ulps: Update.
18556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18558 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18560         * NEWS: Fixed description of link with vector math library.
18562 2015-06-25  Andreas Schwab  <schwab@suse.de>
18564         [BZ #18549]
18565         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18566         * libio/test-fmemopen.c (do_test): Add test for it.
18568 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18570         [BZ #17841]
18571         * Makeconfig (no-pie-ldflag): New.
18572         (+link): Set to $(+link-pie) if default to PIE.
18573         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18574         * config.make.in (build-pie-default): New.
18575         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18576         is default.  AC_SUBST.
18577         * configure: Regenerated.
18578         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18580 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18582         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18583         to 'unsigned int'.
18585         * resolv/gai_misc.h (struct waitlist): Change type of field
18586         counterp to 'volatile unsigned int *'.
18587         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18588         FUTEXADDR and OLDVAL.
18589         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18590         Give local variable TOTAL type 'volatile unsigned int'.
18591         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18592         * resolv/gai_suspend.c (gai_suspend):
18593         Give local variable CNTR type 'unsigned int'.
18595         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18596         counterp to 'volatile unsigned int *'.
18597         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18598         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18599         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18600         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18601         Give local variable TOTAL type 'volatile unsigned int'.
18602         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18604 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18606         [BZ #18383]
18607         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18608         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18609         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18610         comment for i386/x86-64.
18611         (test-xfail-tst-tlsalign-extern-static): Removed.
18613 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18615         * math/test-double.h: New file.
18616         * math/test-float.h: Likewise.
18617         * math/test-ldouble.h: Likewise.
18618         * math/test-math-inline.h: Likewise.
18619         * math/test-math-no-inline.h: Likewise.
18620         * math/test-math-scalar.h: Likewise.
18621         * math/test-math-vector.h: Likewise.
18622         * math/test-vec-loop.h: Remove file.  Contents moved into
18623         test-math-vector.h.
18624         * math/libm-test.inc (MATHCONST): Do not document macro.
18625         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18626         and test-math-scalar.h.
18627         (FUNC): Remove macro.
18628         (FUNC_TEST): Likewise.
18629         (FLOAT): Likewise.
18630         (MATHCONST): Likewise.
18631         (PRINTF_EXPR): Likewise.
18632         (PRINTF_XEXPR): Likewise.
18633         (PRINTF_NEXPR): Likewise.
18634         (TEST_DOUBLE): Likewise.
18635         (TEST_MATHVEC): Likewise.
18636         (__NO_MATH_INLINES): Likewise.
18637         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18638         and test-math-scalar.h.
18639         (FUNC): Remove macro.
18640         (FUNC_TEST): Likewise.
18641         (FLOAT): Likewise.
18642         (MATHCONST): Likewise.
18643         (PRINTF_EXPR): Likewise.
18644         (PRINTF_XEXPR): Likewise.
18645         (PRINTF_NEXPR): Likewise.
18646         (TEST_FLOAT): Likewise.
18647         (TEST_MATHVEC): Likewise.
18648         (__NO_MATH_INLINES): Likewise.
18649         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18650         and test-math-scalar.h.
18651         (FUNC): Remove macro.
18652         (FUNC_TEST): Likewise.
18653         (FLOAT): Likewise.
18654         (MATHCONST): Likewise.
18655         (PRINTF_EXPR): Likewise.
18656         (PRINTF_XEXPR): Likewise.
18657         (PRINTF_NEXPR): Likewise.
18658         (TEST_DOUBLE): Likewise.
18659         (TEST_MATHVEC): Likewise.
18660         (TEST_INLINE): Likewise.
18661         (__NO_MATH_INLINES): Likewise.
18662         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18663         test-math-scalar.h.
18664         (FUNC): Remove macro.
18665         (FUNC_TEST): Likewise.
18666         (FLOAT): Likewise.
18667         (MATHCONST): Likewise.
18668         (PRINTF_EXPR): Likewise.
18669         (PRINTF_XEXPR): Likewise.
18670         (PRINTF_NEXPR): Likewise.
18671         (TEST_FLOAT): Likewise.
18672         (TEST_MATHVEC): Likewise.
18673         (TEST_INLINE): Likewise.
18674         (__NO_MATH_INLINES): Likewise.
18675         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18676         and test-math-scalar.h.
18677         (FUNC): Remove macro.
18678         (FUNC_TEST): Likewise.
18679         (FLOAT): Likewise.
18680         (MATHCONST): Likewise.
18681         (PRINTF_EXPR): Likewise.
18682         (PRINTF_XEXPR): Likewise.
18683         (PRINTF_NEXPR): Likewise.
18684         (TEST_LDOUBLE): Likewise.
18685         (TEST_MATHVEC): Likewise.
18686         (TEST_INLINE): Likewise.
18687         (__NO_MATH_INLINES): Likewise.
18688         * math/test-ldouble.c: Include test-ldouble.h,
18689         test-math-no-inline.h and test-math-scalar.h.
18690         (FUNC): Remove macro.
18691         (FUNC_TEST): Likewise.
18692         (FLOAT): Likewise.
18693         (MATHCONST): Likewise.
18694         (PRINTF_EXPR): Likewise.
18695         (PRINTF_XEXPR): Likewise.
18696         (PRINTF_NEXPR): Likewise.
18697         (TEST_LDOUBLE): Likewise.
18698         (TEST_MATHVEC): Likewise.
18699         (__NO_MATH_INLINES): Likewise.
18700         * math/test-double-vlen2.h: Include test-double.h,
18701         test-math-no-inline.h and test-math-vector.h.
18702         (FLOAT): Remove macro.
18703         (FUNC): Likewise.
18704         (MATHCONST): Likewise.
18705         (PRINTF_EXPR): Likewise.
18706         (PRINTF_XEXPR): Likewise.
18707         (PRINTF_NEXPR): Likewise.
18708         (TEST_DOUBLE): Likewise.
18709         (TEST_MATHVEC): Likewise.
18710         (__NO_MATH_INLINES): Likewise.
18711         (CNCT): Likewise.
18712         (CONCAT): Likewise.
18713         (WRAPPER_NAME): Likewise.
18714         (WRAPPER_DECL): Likewise.
18715         (WRAPPER_DECL_ff): Likewise.
18716         (WRAPPER_DECL_fFF): Likewise.
18717         (VECTOR_WRAPPER): Likewise.
18718         (VECTOR_WRAPPER_ff): Likewise.
18719         (VECTOR_WRAPPER_fFF): Likewise.
18720         (VEC_LEN): New macro.
18721         * math/test-double-vlen4.h: Include test-double.h,
18722         test-math-no-inline.h and test-math-vector.h.
18723         (FLOAT): Remove macro.
18724         (FUNC): Likewise.
18725         (MATHCONST): Likewise.
18726         (PRINTF_EXPR): Likewise.
18727         (PRINTF_XEXPR): Likewise.
18728         (PRINTF_NEXPR): Likewise.
18729         (TEST_DOUBLE): Likewise.
18730         (TEST_MATHVEC): Likewise.
18731         (__NO_MATH_INLINES): Likewise.
18732         (CNCT): Likewise.
18733         (CONCAT): Likewise.
18734         (WRAPPER_NAME): Likewise.
18735         (WRAPPER_DECL): Likewise.
18736         (WRAPPER_DECL_ff): Likewise.
18737         (WRAPPER_DECL_fFF): Likewise.
18738         (VECTOR_WRAPPER): Likewise.
18739         (VECTOR_WRAPPER_ff): Likewise.
18740         (VECTOR_WRAPPER_fFF): Likewise.
18741         (VEC_LEN): New macro.
18742         * math/test-double-vlen8.h: Include test-double.h,
18743         test-math-no-inline.h and test-math-vector.h.
18744         (FLOAT): Remove macro.
18745         (FUNC): Likewise.
18746         (MATHCONST): Likewise.
18747         (PRINTF_EXPR): Likewise.
18748         (PRINTF_XEXPR): Likewise.
18749         (PRINTF_NEXPR): Likewise.
18750         (TEST_DOUBLE): Likewise.
18751         (TEST_MATHVEC): Likewise.
18752         (__NO_MATH_INLINES): Likewise.
18753         (CNCT): Likewise.
18754         (CONCAT): Likewise.
18755         (WRAPPER_NAME): Likewise.
18756         (WRAPPER_DECL): Likewise.
18757         (WRAPPER_DECL_ff): Likewise.
18758         (WRAPPER_DECL_fFF): Likewise.
18759         (VECTOR_WRAPPER): Likewise.
18760         (VECTOR_WRAPPER_ff): Likewise.
18761         (VECTOR_WRAPPER_fFF): Likewise.
18762         (VEC_LEN): New macro.
18763         * math/test-float-vlen4.h: Include test-float.h,
18764         test-math-no-inline.h and test-math-vector.h.
18765         (FLOAT): Remove macro.
18766         (FUNC): Likewise.
18767         (MATHCONST): Likewise.
18768         (PRINTF_EXPR): Likewise.
18769         (PRINTF_XEXPR): Likewise.
18770         (PRINTF_NEXPR): Likewise.
18771         (TEST_FLOAT): Likewise.
18772         (TEST_MATHVEC): Likewise.
18773         (__NO_MATH_INLINES): Likewise.
18774         (CNCT): Likewise.
18775         (CONCAT): Likewise.
18776         (WRAPPER_NAME): Likewise.
18777         (WRAPPER_DECL): Likewise.
18778         (WRAPPER_DECL_ff): Likewise.
18779         (WRAPPER_DECL_fFF): Likewise.
18780         (VECTOR_WRAPPER): Likewise.
18781         (VECTOR_WRAPPER_ff): Likewise.
18782         (VECTOR_WRAPPER_fFF): Likewise.
18783         (VEC_LEN): New macro.
18784         * math/test-float-vlen8.h: Include test-float.h,
18785         test-math-no-inline.h and test-math-vector.h.
18786         (FLOAT): Remove macro.
18787         (FUNC): Likewise.
18788         (MATHCONST): Likewise.
18789         (PRINTF_EXPR): Likewise.
18790         (PRINTF_XEXPR): Likewise.
18791         (PRINTF_NEXPR): Likewise.
18792         (TEST_FLOAT): Likewise.
18793         (TEST_MATHVEC): Likewise.
18794         (__NO_MATH_INLINES): Likewise.
18795         (CNCT): Likewise.
18796         (CONCAT): Likewise.
18797         (WRAPPER_NAME): Likewise.
18798         (WRAPPER_DECL): Likewise.
18799         (WRAPPER_DECL_ff): Likewise.
18800         (WRAPPER_DECL_fFF): Likewise.
18801         (VECTOR_WRAPPER): Likewise.
18802         (VECTOR_WRAPPER_ff): Likewise.
18803         (VECTOR_WRAPPER_fFF): Likewise.
18804         (VEC_LEN): New macro.
18805         * math/test-float-vlen16.h: Include test-float.h,
18806         test-math-no-inline.h and test-math-vector.h.
18807         (FLOAT): Remove macro.
18808         (FUNC): Likewise.
18809         (MATHCONST): Likewise.
18810         (PRINTF_EXPR): Likewise.
18811         (PRINTF_XEXPR): Likewise.
18812         (PRINTF_NEXPR): Likewise.
18813         (TEST_FLOAT): Likewise.
18814         (TEST_MATHVEC): Likewise.
18815         (__NO_MATH_INLINES): Likewise.
18816         (CNCT): Likewise.
18817         (CONCAT): Likewise.
18818         (WRAPPER_NAME): Likewise.
18819         (WRAPPER_DECL): Likewise.
18820         (WRAPPER_DECL_ff): Likewise.
18821         (WRAPPER_DECL_fFF): Likewise.
18822         (VECTOR_WRAPPER): Likewise.
18823         (VECTOR_WRAPPER_ff): Likewise.
18824         (VECTOR_WRAPPER_fFF): Likewise.
18825         (VEC_LEN): New macro.
18826         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18827         test-vec-loop.h.
18828         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18829         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18830         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18831         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18832         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18833         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18834         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18836 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18838         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18839         (__getlogin_r): ... this.
18841 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18843         [BZ #18594]
18844         * math/s_ccosh.c (__ccosh): Compare with least normal value
18845         instead of comparing class with FP_SUBNORMAL.
18846         * math/s_ccoshf.c (__ccoshf): Likewise.
18847         * math/s_ccoshl.c (__ccoshl): Likewise.
18848         * math/s_cexp.c (__cexp): Likewise.
18849         * math/s_cexpf.c (__cexpf): Likewise.
18850         * math/s_cexpl.c (__cexpl): Likewise.
18851         * math/s_csin.c (__csin): Likewise.
18852         * math/s_csinf.c (__csinf): Likewise.
18853         * math/s_csinh.c (__csinh): Likewise.
18854         * math/s_csinhf.c (__csinhf): Likewise.
18855         * math/s_csinhl.c (__csinhl): Likewise.
18856         * math/s_csinl.c (__csinl): Likewise.
18857         * math/s_ctan.c (__ctan): Likewise.
18858         * math/s_ctanf.c (__ctanf): Likewise.
18859         * math/s_ctanh.c (__ctanh): Likewise.
18860         * math/s_ctanhf.c (__ctanhf): Likewise.
18861         * math/s_ctanhl.c (__ctanhl): Likewise.
18862         * math/s_ctanl.c (__ctanl): Likewise.
18863         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18864         csin, csinh, ctan and ctanh.
18865         * math/auto-libm-test-out: Regenerated.
18866         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18867         * sysdeps/i386/fpu/libm-test-ulps: Update.
18868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18870 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18872         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18873         return value is wrong, print the expected value too.
18875 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18877         [BZ #18585]
18878         * elf/readlib.c (is_gdb_python_file): New.
18879         (process_file): Don't issue errors on filenames with -gdb.py
18880         suffix.
18882 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18884         * math/auto-libm-test-in: Add more tests of csin and csinh.
18885         * math/auto-libm-test-out: Regenerated.
18886         * math/libm-test.inc (csin_test_data): Remove tests moved to
18887         auto-libm-test-in.
18888         (csinh_test_data): Likewise.
18890         [BZ #18593]
18891         * math/s_csin.c (__csin): Negate before rather than after possibly
18892         overflowing multiplication.
18893         * math/s_csinf.c (__csinf): Likewise.
18894         * math/s_csinh.c (__csinh): Likewise.
18895         * math/s_csinhf.c (__csinhf): Likewise.
18896         * math/s_csinhl.c (__csinhl): Likewise.
18897         * math/s_csinl.c (__csinl): Likewise.
18898         * math/auto-libm-test-in: Add some tests of csin and csinh.
18899         * math/auto-libm-test-out: Regenerated.
18900         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18901         (csinh_test_data): Likewise.
18902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18904         [BZ #18586]
18905         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18906         underflow exception for small results.
18908 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18910         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18911         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18912         variable and included header.
18913         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18914         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18915         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18916         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18917         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18918         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18919         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18920         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18921         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18922         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18923         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18924         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18925         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18926         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18927         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18928         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18930 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18932         [BZ #16526]
18933         [BZ #16538]
18934         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18935         (__sin): Force underflow exception for arguments with small
18936         absolute value.
18937         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18938         (__kernel_sinf): Force underflow exception for arguments with
18939         small absolute value.
18940         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18941         (__kernel_sincosl): Force underflow exception for arguments with
18942         small absolute value.
18943         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18944         (__kernel_sinl): Force underflow exception for arguments with
18945         small absolute value.
18946         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18947         (__kernel_sincosl): Force underflow exception for arguments with
18948         small absolute value.
18949         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18950         (__kernel_sinl): Force underflow exception for arguments with
18951         small absolute value.
18952         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18953         (__kernel_sinl): Force underflow exception for arguments with
18954         small absolute value.
18955         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18956         (__kernel_sinf): Force underflow exception for arguments with
18957         small absolute value.
18958         * math/auto-libm-test-in: Add more tests of sin and sincos.
18959         * math/auto-libm-test-out: Regenerated.
18961         [BZ #18245]
18962         [BZ #18583]
18963         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18964         (__kernel_standard_l): Use feholdexcept and fesetenv around
18965         conversion to double instead of special-casing overflow and
18966         underflow.
18967         * math/libm-test.inc (fmod_test_data): Add more tests.
18968         (remainder_test_data): Likewise.
18969         (sqrt_test_data): Likewise.
18971 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18973         [BZ #17403]
18974         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18975         atomic_read_barrier, atomic_write_barrier): Define.
18976         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18977         atomic_read_barrier, atomic_write_barrier): Define.
18979 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18981         * math/Makefile [$(PERL) != no]
18982         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18983         dependency on libm-test.stmp below the inclusion of Rules.
18985 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18987         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18988         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18989         and included header.
18990         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18991         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18992         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18993         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18994         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18995         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18996         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18997         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18998         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18999         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19000         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19001         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19002         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19003         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19004         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19005         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19006         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19007         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19008         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19010 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19012         [BZ #18371]
19013         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19014         intermediate but not final result might underflow.
19015         * math/s_csqrtf.c (__csqrtf): Likewise.
19016         * math/s_csqrtl.c (__csqrtl): Likewise.
19017         * math/auto-libm-test-in: Add more tests of csqrt.
19018         * math/auto-libm-test-out: Regenerated.
19019         * sysdeps/i386/fpu/libm-test-ulps: Update.
19021         [BZ #18219]
19022         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19023         threshold on absolute value of exponent for which scaling is used.
19024         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19025         * math/auto-libm-test-in: Add more tests of exp2.
19026         * math/auto-libm-test-out: Regenerated.
19028 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19030         [BZ #17977]
19031         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19032         when initializing interface list, based on the bug analysis
19033         and the patch proposed by Eric Newton.
19034         * resolv/tst-res_hconf_reorder.c: New test.
19035         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19036         tst-res_hconf_reorder.
19037         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19038         and $(shared-thread-library).
19039         (tst-res_hconf_reorder-ENV): New variable.
19041         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19042         in comment.
19044 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19046         [BZ #16353]
19047         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19048         (__expm1): Force underflow exception for arguments with small
19049         absolute value.
19050         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19051         (__expm1f): Force underflow exception for arguments with small
19052         absolute value.
19053         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19054         (__expm1): Force underflow exception for arguments with small
19055         absolute value.
19056         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19057         (__expm1f): Force underflow exception for arguments with small
19058         absolute value.
19059         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19060         Check for small arguments before calling __expm1.
19061         * math/auto-libm-test-in: Do not mark underflow exceptions as
19062         possibly missing for bug 16353.
19063         * math/auto-libm-test-out: Regenerated.
19065 2015-06-22  Andreas Schwab  <schwab@suse.de>
19067         [BZ #18513]
19068         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19069         PTR queries.
19071 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19073         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19075         * string/strcoll_l.c: Remove unused struct element idxnow.
19077 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19079         [BZ #18569]
19080         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19081         underflow and return argument in case of subnormal argument.
19082         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19083         Likewise.
19084         * math/auto-libm-test-in: Add more tests of expm1.
19085         * math/auto-libm-test-out: Regenerated.
19087         [BZ #16361]
19088         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19089         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19090         tiny results.
19091         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19092         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19093         tiny results.
19094         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19095         mark underflow exceptions as possibly missing for bug 16361.
19096         * math/auto-libm-test-out: Regenerated.
19098 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19100         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19101         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19102         Remove variable.
19103         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19104         (test-xfail-XOPEN2K8/utmpx.h/conform).
19106         * conform/conformtest.pl ($xerrors): New variable.
19107         (note_error): New function.
19108         (compiletest): New argument $xfail.  Use not_error.
19109         (runtest): Likewise.
19110         (top level): Handle xfail- lines.  Update calls to compiletest and
19111         runtest.  Handle xfail- and optional- in headers listed with
19112         allow-header.
19113         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19114         (O_EXEC): Likewise.
19115         (O_SEARCH): Likewise.
19116         * conform/data/stropts.h-data (ioctl): Likewise.
19117         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19118         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19119         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19120         (msghdr.msg_controllen): Likewise.
19121         (cmsghdr.cmsg_len): Likewise.
19122         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19123         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19124         variable.
19125         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19126         (test-xfail-XPG4/stropts.h/conform): Likewise.
19127         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19128         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19129         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19130         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19131         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19132         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19133         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19134         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19135         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19136         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19137         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19138         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19139         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19140         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19141         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19142         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19143         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19144         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19145         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19147 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19149         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19150         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19151         definitions for proper unfolding of __MATHDECL_VEC.
19153 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19155         * benchtests/bench-strcoll.c:
19156         Include string.h.
19157         (main): Remove unused variable res.
19159 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19161         * timezone/Makefile (%/UTC %/Universal):
19162         Generate test-result files for UTC and Universal.
19164 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19166         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19168 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19170         [BZ #16350]
19171         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19172         for arguments with small absolute value.
19173         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19174         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19175         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19176         (__asinh): Force underflow exception for arguments with small
19177         absolute value.
19178         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19179         (__asinhf): Force underflow exception for arguments with small
19180         absolute value.
19181         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19182         (__asinhl): Force underflow exception for arguments with small
19183         absolute value.
19184         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19185         (__asinhl): Force underflow exception for arguments with small
19186         absolute value.
19187         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19188         (__asinhl): Force underflow exception for arguments with small
19189         absolute value.
19190         * math/auto-libm-test-in: Do not mark underflow exceptions as
19191         possibly missing for bug 16350.
19192         * math/auto-libm-test-out: Regenerated.
19194         * include/bits/ipc.h: Remove file.
19195         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19196         variable.
19197         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19198         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19199         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19200         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19201         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19202         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19203         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19204         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19205         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19207         * math/auto-libm-test-in: Remove spurious underflow allowance for
19208         tests of cexp.
19209         * math/auto-libm-test-out: Regenerated.
19211         [BZ #18558]
19212         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19213         unconditional definition.
19214         (MCAST_BLOCK_SOURCE): Likewise.
19215         (MCAST_UNBLOCK_SOURCE): Likewise.
19216         (MCAST_LEAVE_GROUP): Likewise.
19217         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19218         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19219         (MCAST_MSFILTER): Likewise.
19220         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19221         Remove variable.
19222         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19223         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19224         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19225         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19226         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19228 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19230         * NEWS: Mention addition of x86_64 vector sincosf.
19231         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19232         * math/test-float-vlen4.h: Likewise.
19233         * math/test-float-vlen8.h: Likewise.
19234         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19235         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19236         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19237         * sysdeps/x86_64/fpu/Versions: New versions added.
19238         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19239         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19240         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19241         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19242         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19243         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19244         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19245         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19246         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19247         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19248         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19249         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19250         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19251         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19252         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19253         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19254         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19255         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19256         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19257         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19258         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19259         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19260         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19261         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19263         * NEWS: Mention addition of x86_64 vector sincos.
19264         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19265         * math/math.h (__MATHDECL_VEC): New macro.
19266         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19267         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19268         declaration under condition.
19269         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19270         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19271         TEST_VEC_LOOP change.
19272         * math/test-double-vlen4.h: Likewise.
19273         * math/test-double-vlen8.h: Likewise.
19274         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19275         * math/test-float-vlen4.h: Likewise.
19276         * math/test-float-vlen8.h: Likewise.
19277         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19278         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19279         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19280         * sysdeps/x86_64/fpu/Versions: New versions added.
19281         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19282         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19283         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19284         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19285         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19286         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19287         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19288         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19289         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19290         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19291         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19292         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19293         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19294         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19295         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19296         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19297         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19298         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19299         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19300         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19301         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19302         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19303         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19304         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19306         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19307         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19308         redirections for powf.
19309         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19310         * sysdeps/x86_64/fpu/Versions: New versions added.
19311         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19312         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19313         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19314         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19315         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19316         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19317         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19318         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19319         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19320         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19321         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19322         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19323         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19324         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19325         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19326         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19327         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19328         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19329         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19330         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19331         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19332         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19333         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19334         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19335         * math/test-float-vlen16.h: Fixed 2 argument macro.
19336         * math/test-float-vlen4.h: Likewise.
19337         * math/test-float-vlen8.h: Likewise.
19338         * NEWS: Mention addition of x86_64 vector powf.
19340 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19342         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19343         and redefine.
19344         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19345         and redefine.
19346         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19347         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19348         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19350         [BZ #18553]
19351         * resource/getpriority.c (getpriority): Rename to __getpriority
19352         and define as weak alias of __getpriority.
19353         * resource/setpriority.c (setpriority): Rename to __setpriority
19354         and define as weak alias of __setpriority.
19355         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19356         __getpriority and define as weak alias of __getpriority.
19357         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19358         __setpriority and define as weak alias of __setpriority.
19359         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19360         strong name.
19361         (setpriority): Use __setpriority as strong name.
19362         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19363         __getpriority and define as weak alias of __getpriority.
19364         * include/sys/resource.h (__getpriority): Declare.  Use
19365         libc_hidden_proto.
19366         (__setpriority): Likewise.
19367         (getpriority): Don't use libc_hidden_proto.
19368         (setpriority): Likewise.
19369         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19370         getpriority.  Call __setpriority instead of setpriority.
19371         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19372         Remove variable.
19374         [BZ #18547]
19375         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19376         as weak alias of __getttynam.  Use prototype function definition.
19377         Call __setttyent, __getttyent and __endttyent instead of
19378         setttyent, getttyent and endttyent.
19379         (getttyent): Rename to __getttyent and define as weak alias of
19380         __getttyent.  Call __setttyent instead of setttyent.  Call
19381         __fgets_unlocked instead of fgets_unlocked.
19382         (setttyent): Rename to __setttyent and define as weak alias of
19383         __setttyent.
19384         (endttyent): Rename to __endttyent and define as weak alias of
19385         __endttyent.
19386         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19387         (__setttyent): Likewise.
19388         (__endttyent): Likewise.
19389         (getttyent): Don't use libc_hidden_proto.
19390         (setttyent): Likewise.
19391         (endttyent): Likewise.
19392         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19393         __endttyent instead of setttyent, getttyent and endttyent.
19394         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19395         Remove variable.
19397         [BZ #18546]
19398         * socket/recv.c (__recv): Use libc_hidden_def.
19399         * socket/socket.c (__socket): Likewise.
19400         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19401         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19402         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19403         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19404         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19405         libc_hidden_def.
19406         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19407         libc_hidden_weak.
19408         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19409         Use libc_hidden_proto.
19410         (__recv): Likewise.
19411         * socket/Versions (libc): Export __recv and __socket at version
19412         GLIBC_PRIVATE.
19413         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19414         instead of recv.
19415         (init_mq_netlink): Call __socket instead of socket.
19416         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19417         Remove variable.
19419         [BZ #18545]
19420         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19421         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19422         hidden_weak.
19423         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19424         define as alias of __mq_timedsend.  Use hidden_weak.
19425         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19426         __mq_timedsend as strong name.
19427         (mq_timedreceive): Use __mq_timedreceive as strong name.
19428         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19429         (__mq_timedreceive): Likewise.
19430         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19431         __mq_timedreceive instead of mq_timedreceive.
19432         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19433         instead of mq_timedsend.
19434         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19435         Remove variable.
19437         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19438         hidden_def and hidden_weak instead of libc_hidden_def and
19439         libc_hidden_weak.
19440         (top level): Refer to hidden_def in comment.
19441         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19442         macro.  Use it instead of libc_hidden_def.
19443         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19444         specify __GI_* name explicitly.
19445         (mq_timedreceive): Likewise.
19446         (mq_setattr): Likewise.
19448         [BZ #18544]
19449         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19450         __pthread_barrier_init and define as weak alias of
19451         __pthread_barrier_init.
19452         * sysdeps/sparc/nptl/pthread_barrier_init.c
19453         (pthread_barrier_init): Likewise.
19454         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19455         __pthread_barrier_wait and define as weak alias of
19456         __pthread_barrier_wait.
19457         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19458         (pthread_barrier_wait): Likewise.
19459         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19460         (pthread_barrier_wait): Likewise.
19461         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19462         (pthread_barrier_wait): Likewise.
19463         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19464         (pthread_barrier_wait): Likewise.
19465         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19466         __pthread_barrier_wait at version GLIBC_PRIVATE.
19467         * include/pthread.h (__pthread_barrier_init): Declare.
19468         (__pthread_barrier_wait): Likewise.
19469         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19470         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19471         (helper_thread): Likewise.
19472         (init_mq_netlink): Call __pthread_barrier_init instead of
19473         pthread_barrier_init.
19475         [BZ #18542]
19476         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19477         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19478         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19479         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19480         vswscanf.
19481         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19482         Remove variable.
19484         [BZ #18540]
19485         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19486         strong alias of _IO_fflush.  Use libc_hidden_def.
19487         * libio/iofflush_u.c (fflush_unlocked): Rename to
19488         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19489         Use libc_hidden_weak.
19490         * include/stdio.h (__fflush_unlocked): Declare.  Use
19491         libc_hidden_proto.
19492         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19493         fflush_unlocked.
19494         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19495         Remove variable.
19497         [BZ #18539]
19498         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19499         define as weak alias of __addseverity.
19500         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19501         Remove variable.
19502         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19503         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19504         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19506         [BZ #18536]
19507         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19508         (__tfind): Likewise.
19509         (__tdelete): Likewise.
19510         (__twalk): Likewise.
19511         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19512         __twalk to GLIBC_PRIVATE.
19513         * include/search.h (__tsearch): Use libc_hidden_proto.
19514         (__tfind): Likewise.
19515         (__tdelete): Likewise.
19516         (__twalk): Likewise.
19517         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19518         Call __tdelete instead of tdelete.
19519         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19520         tfind.  Call __tsearch instead of tsearch.
19521         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19522         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19523         Remove variable.
19524         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19526         [BZ #18534]
19527         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19528         (dprintf): Define as a weak alias of __dprintf, not a strong
19529         alias.
19530         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19531         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19532         dprintf.
19533         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19534         Remove variable.
19535         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19536         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19538         [BZ #18533]
19539         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19540         not a strong alias.
19541         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19542         Remove variable.
19544         [BZ #18532]
19545         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19546         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19547         (in6addr_loopback): Rename to __in6addr_loopback and define as
19548         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19549         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19550         libc_hidden_proto.
19551         (__in6addr_any): Likewise.
19552         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19553         in6addr_any.
19554         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19555         variable.
19556         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19558 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19560         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19561         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19562         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19563         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19564         redirections for pow.
19565         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19566         * sysdeps/x86_64/fpu/Versions: New versions added.
19567         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19568         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19569         build of SSE, AVX2 and AVX512 IFUNC versions.
19570         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19571         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19572         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19573         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19574         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19575         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19576         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19577         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19578         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19579         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19580         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19581         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19582         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19583         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19584         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19585         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19586         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19587         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19588         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19589         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19590         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19591         * NEWS: Mention addition of x86_64 vector pow.
19593         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19594         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19595         redirections for expf.
19596         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19597         * sysdeps/x86_64/fpu/Versions: New versions added.
19598         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19599         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19600         build of SSE, AVX2 and AVX512 IFUNC versions.
19601         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19602         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19603         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19604         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19605         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19606         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19607         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19608         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19609         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19610         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19611         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19612         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19613         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19614         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19615         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19616         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19617         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19618         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19619         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19620         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19621         * NEWS: Mention addition of x86_64 vector expf.
19623         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19624         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19625         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19626         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19627         redirections for exp.
19628         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19629         * sysdeps/x86_64/fpu/Versions: New versions added.
19630         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19631         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19632         build of SSE, AVX2 and AVX512 IFUNC versions.
19633         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19634         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19635         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19636         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19637         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19638         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19639         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19640         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19641         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19642         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19643         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19644         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19645         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19646         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19647         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19648         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19649         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19650         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19651         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19652         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19653         * NEWS: Mention addition of x86_64 vector exp.
19655         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19656         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19657         redirections for logf.
19658         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19659         * sysdeps/x86_64/fpu/Versions: New versions added.
19660         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19661         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19662         build of SSE, AVX2 and AVX512 IFUNC versions.
19663         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19664         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19665         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19666         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19667         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19668         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19669         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19670         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19671         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19672         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19673         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19674         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19675         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19676         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19677         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19678         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19679         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19680         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19681         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19682         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19683         * NEWS: Mention addition of x86_64 vector logf.
19685         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19686         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19687         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19688         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19689         redirections for log.
19690         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19691         * sysdeps/x86_64/fpu/Versions: New versions added.
19692         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19693         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19694         build of SSE, AVX2 and AVX512 IFUNC versions.
19695         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19696         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19697         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19698         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19699         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19700         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19701         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19702         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19703         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19704         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19705         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19706         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19707         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19708         test.
19709         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19710         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19711         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19712         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19713         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19714         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19715         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19716         * NEWS: Mention addition of x86_64 vector log.
19718 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19720         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19721         cfi_adjust_cfa_offset argument.
19722         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19723         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19725         [BZ #18034]
19726         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19727         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19728         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19729         ordering using ldar.
19730         (_dl_tlsdesc_dynamic): Likewise.
19731         (_dl_tlsdesc_return_lazy): Likewise.
19732         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19733         relaxed atomics instead of volatile and synchronize with release store.
19734         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19735         volatile.
19736         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19738 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19740         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19741         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19742         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19743         * sysdeps/x86_64/fpu/Versions: New versions added.
19744         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19745         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19746         build of SSE, AVX2 and AVX512 IFUNC versions.
19747         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19748         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19749         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19750         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19751         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19752         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19753         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19754         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19755         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19756         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19757         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19758         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19759         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19760         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19761         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19762         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19763         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19764         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19765         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19766         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19767         * NEWS: Mention addition of x86_64 vector sinf.
19769 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19771         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19772         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19773         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19774         Remove variable.
19775         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19776         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19778 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19780         [BZ #18530]
19781         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19782         strong alias of _IO_fputs.  Use libc_hidden_def.
19783         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19784         and define as weak alias of __fputs_unlocked.  Use
19785         libc_hidden_weak.
19786         * include/stdio.h (__fputs_unlocked): Declare.  Use
19787         libc_hidden_proto.
19788         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19789         fputs_unlocked.
19791         [BZ #18529]
19792         * resolv/netdb.h [__USE_POSIX]: Change condition to
19793         [__USE_XOPEN2K].
19794         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19795         not expect.
19796         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19797         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19798         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19799         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19800         [XPG4 || UNIX98] (AI_ALL): Likewise.
19801         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19802         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19803         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19804         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19805         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19806         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19807         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19808         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19809         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19810         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19811         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19812         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19813         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19814         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19815         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19816         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19817         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19818         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19819         [XPG4 || UNIX98] (gai_strerror): Likewise.
19820         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19821         [XPG4 || UNIX98] (getnameinfo): Likewise.
19823         [BZ #18528]
19824         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19825         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19826         __USE_XOPEN2K8].
19827         (getgrent): Likewise.
19828         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19829         expect.
19830         [XPG3 || POSIX2008] (endgrent): Likewise.
19831         [XPG3] (setgrent): Likewise.
19832         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19833         variable.
19834         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19836         [BZ #18527]
19837         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19838         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19839         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19840         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19841         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19842         * include/unistd.h (__getlogin_r): Declare.  Use
19843         libc_hidden_proto.
19844         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19845         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19846         variable.
19847         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19848         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19849         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19851 2015-06-12  Martin Sebor  <msebor@redhat.com>
19853         [BZ #18512]
19854         * Makerules (check-install-supported): New target.
19855         (install): Add check-install-supported as a dependency.
19856         * manual/install.texi (Installing the C Library): Document
19857         that overriding prefix and exec_prefix is not supported.
19858         Mention DESTDIR.
19859         * INSTALL: Regenerate from the above.
19861 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19863         [BZ #18519]
19864         * posix/Versions (libc): Export __libc_pread at version
19865         GLIBC_PRIVATE.
19866         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19867         instead of pread.
19868         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19869         variable.
19871         [BZ #18522]
19872         * misc/efgcvt_r.c
19873         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19874         (cvt_symbol): Use weak_alias instead of strong_alias.
19875         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19876         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19877         Remove variable.
19878         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19879         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19881         [BZ #18520]
19882         * inet/herrno.c (h_errno): Rename to __h_errno.
19883         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19884         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19885         to __h_errno instead of h_errno.
19886         * nptl/herrno.c (h_errno): Rename to __h_errno.
19887         (__h_errno_location): Refer to __h_errno not h_errno.
19888         * resolv/Versions (h_errno): Rename to __h_errno.
19889         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19890         Remove variable.
19891         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19893 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19895         * configure.ac: More strict check for AVX512 assembler support.
19896         * configure: Regenerated.
19898         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19899         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19900         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19901         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19902         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19903         * sysdeps/x86_64/fpu/Versions: New versions added.
19904         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19905         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19906         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19907         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19908         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19909         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19910         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19911         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19912         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19913         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19914         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19915         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19916         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19917         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19918         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19919         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19920         test.
19921         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19922         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19923         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19924         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19925         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19926         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19927         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19928         * NEWS: Mention addition of x86_64 vector sin.
19930 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19932         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19933         comment.
19935 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19937         [BZ #18479]
19938         * nptl/pt-interp.c: New file.
19939         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19940         Add pt-interp.
19941         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19942         $(common-objpfx)runtime-linker.h.
19944 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19946         * Makeconfig (+interp): Remove unused variable.
19947         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19948         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19949         $(elf-objpfx)runtime-linker.h.
19950         ($(elf-objpfx)runtime-linker.h): Rename to
19951         $(common-objpfx)runtime-linker.h and move ...
19952         * Makerules [$(build-shared) = yes]: ... here.
19953         * elf/interp.c: Include <runtime-linker.h> instead of
19954         <elf/runtime-linker.h>.
19956 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19958         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19959         (__gettimeofday_syscall): Remove vsyscall fallback.
19960         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19961         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19962         Add syscall fallback function.
19963         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19964         if vDSO is not present.
19965         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19966         fallback function.
19967         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19968         present.
19969         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19970         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19972 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19974         [BZ #18497]
19975         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19976         of wcscmp.
19977         (wcscmp): Define as weak alias of WCSCMP.
19978         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19979         wcscoll.
19980         (USE_HIDDEN_DEF): Define.
19981         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19982         __wcscoll.  Don't use libc_hidden_weak.
19983         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19984         wcscmp.
19985         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19986         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19987         __GI_wcscmp.
19988         (weak_alias): Undefine and redefine.
19989         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19990         __wcscmp and define as weak alias of __wcscmp.
19991         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19992         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19993         (__wcscoll): Likewise.
19994         (wcscmp): Don't use libc_hidden_proto.
19995         (wcscoll): Likewise.
19996         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19997         wcscoll.
19998         * posix/regexec.c (check_node_accept_bytes): Likewise.
19999         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20000         variable.
20001         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20002         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20004         [BZ #18507]
20005         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20006         __fstatvfs and define as weak alias of __fstatvfs.  Use
20007         libc_hidden_weak.
20008         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20009         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20010         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20011         Define as alias of __fstatvfs, not fstatvfs.
20012         (fstatvfs64): Likewise.
20013         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20014         Define as alias of __statvfs, not statvfs.
20015         (statvfs64): Likewise.
20016         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20017         Remove variable.
20019 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20022         (HAVE_GETCPU_VSYSCALL): Define.
20023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20024         (HAVE_GETCPU_VSYSCALL): Likewise.
20025         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20026         * sysdeps/unix/sysv/linux/sched_getcpu.c
20027         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20028         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20029         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20030         prototype.
20031         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20032         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20033         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20034         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20035         Define.
20036         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20037         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20038         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20039         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20041 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20043         * sysdeps/x86_64/fpu/Makefile: New file.
20044         * sysdeps/x86_64/fpu/Versions: New file.
20045         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20046         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20047         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20048         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20049         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20050         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20051         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20052         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20053         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20054         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20055         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20056         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20057         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20058         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20059         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20060         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20061         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20062         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20063         * sysdeps/x86_64/configure: Regenerated.
20064         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20065         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20066         * manual/install.texi (Configuring and compiling): Document
20067         --disable-mathvec.
20068         * INSTALL: Regenerated.
20069         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20071         * math/Makefile: Added rules for vector tests.
20072         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20073         declaration under condition.
20074         * math/test-double-vlen2.h: New file.
20075         * math/test-double-vlen4.h: New file.
20076         * math/test-double-vlen8.h: New file.
20077         * math/test-vec-loop.h: Added initialization macro.
20078         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20079         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20080         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20081         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20082         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20083         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20084         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20085         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20086         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20087         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20088         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20090         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20091         * sysdeps/x86_64/fpu/Versions: New versions added.
20092         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20093         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20094         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20095         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20096         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20097         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20098         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20099         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20100         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20101         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20102         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20103         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20104         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20105         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20106         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20107         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20108         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20109         * NEWS: Mention addition of x86_64 vector cosf.
20111         * math/Makefile: Added CFLAGS for new tests.
20112         * math/test-float-vlen16.h: New file.
20113         * math/test-float-vlen4.h: New file.
20114         * math/test-float-vlen8.h: New file.
20115         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20116         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20117         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20118         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20119         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20120         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20121         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20122         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20123         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20124         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20125         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20127 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20129         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20130         * locale/programs/ld-ctype.c: Likewise.
20132 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20134         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20135         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20136         bit_ZMM16_31_state): New macro.
20137         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20138         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20140 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20142         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20144 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20146         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20148 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20150         [BZ #18498]
20151         * libio/memstream.c (open_memstream): Rename to __open_memstream
20152         and define as weak alias of __open_memstream.
20153         * include/stdio.h (__open_memstream): Declare.  Use
20154         libc_hidden_proto.
20155         (open_memstream): Don't use libc_hidden_proto.
20156         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20157         open_memstream.
20158         * posix/getopt.c (_getopt_internal_r): Likewise.
20159         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20160         variable.
20161         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20162         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20163         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20165         [BZ #18496]
20166         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20167         instead of wcrtomb.
20169         [BZ #18483]
20170         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20171         [__USE_XOPEN2K8].  Remove redundant #endif.
20172         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20173         Remove redundant #if.
20174         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20175         Remove variable.
20176         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20177         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20179         [BZ #18495]
20180         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20181         (__iswlower): Likewise.
20182         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20183         (__iswlower): Likewise.
20184         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20185         instead of towlower.
20186         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20187         instead of iswlower.  Call __towupper instead of towupper.
20188         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20189         instead of iswalnum.
20191 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20193         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20194         errors to stderr.
20196 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20198         [BZ #15661]
20199         [BZ #17322]
20200         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20201         Check for overflow properly.  Check for O_APPEND.  Ignore large
20202         file system block sizes.  Add comments about problems.
20203         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20204         * manual/filesys.texi (Storage Allocation): New node.
20206 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20208         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20209         cancellable syscalls.
20210         (SYS_ify): Add guard to no redefine it.
20211         (INLINE_SYSCALL): Likewise.
20212         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20213         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20214         SYSCALL_CANCEL instead.
20215         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20216         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20217         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20218         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20219         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20220         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20221         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20222         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20223         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20224         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20225         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20226         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20227         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20228         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20229         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20230         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20231         Likewise.
20232         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20233         (__libc_pread64): Likewise.
20234         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20235         (__libc_preadv): Likewise.
20236         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20237         (__libc_readv64): Likewise.
20238         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20239         (__libc_pwrite): Likewise.
20240         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20241         (__libc_pwrite64): Likewise.
20242         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20243         (__libc_pwritev): Likewise.
20244         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20245         (__libc_pwritev64): Likewise.
20246         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20247         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20248         (sync_file_range): Likewise.
20249         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20250         Likewise.
20251         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20252         Likewise.
20253         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20254         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20255         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20256         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20257         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20258         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20259         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20260         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20262         Likewise.
20263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20264         (__libc_read64): Likewise.
20265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20266         Likewise.
20267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20268         Likewise.
20269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20270         Likewise.
20271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20272         Likewise.
20273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20274         (__libc_pread64): Likewise.
20275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20276         Likewise.
20277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20278         (__libc_pwrite64): Likewise.
20279         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20280         (sync_file_range): Likewise.
20281         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20282         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20283         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20284         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20285         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20286         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20287         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20288         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20289         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20290         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20291         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20292         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20293         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20294         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20295         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20296         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20297         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20298         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20299         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20300         Likewise.
20301         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20302         Likewise.
20303         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20304         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20305         Likewise.
20306         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20307         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20308         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20309         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20310         Likewise.
20311         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20312         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20313         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20314         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20315         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20317 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20319         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20320         Include dl-vdso.
20321         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20322         Use VDSO routines for gettimeofday, clock_gettime if
20323         available.
20324         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20325         Declare VDSO symbols.
20326         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20327         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20328         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20329         * sysdeps/unix/sysv/linux/arm/Versions: Add
20330         __vdso_clock_gettime.
20332 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20334         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20335         be an inline implementation regardless of library is built within.
20336         (open_not_cancel_2): Likewise.
20337         (__read_nocancel): Likewise.
20338         (__write_nocancel): Likewise.
20339         (openat_not_cancel): Likewise.
20340         (openat_not_cancel_3): Likewise.
20341         (openat64_not_cancel): Likewise.
20342         (openat64_not_cancel_3): Likewise.
20343         (__close_nocancel): Likewise.
20344         (pause_not_cancel): Likewise.
20345         (nanosleep_not_cancel): Likewise.
20346         (sigsuspend_not_cancel): Likewise.
20348 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20350         [BZ #14958]
20351         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20352         wake-up.
20353         (__pthread_rwlock_rdlock_slow): Likewise.
20354         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20355         Likewise.
20356         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20357         Likewise.
20358         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20359         * nptl/tst-rwlock16.c: New file.
20360         * nptl/Makefile (tests): Add new test.
20362 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20364         [BZ #18324]
20365         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20366         missing wake-up of readers.
20367         * nptl/tst-rwlock15.c: New file.
20368         * nptl/Makefile (tests): Add new test.
20370 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20372         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20373         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20374         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20375         and __nacl_supply_interface_rtld.
20376         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20377         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20378         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20379         Add __nacl_supply_interface_rtld.
20380         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20382 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20384         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20385         isfinite.
20386         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20387         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20389 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20391         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20392         __signbit* with standard C99 macros.
20393         * math/e_exp10l.c: Likewise.
20394         * math/e_exp2l.c: Likewise.
20395         * math/e_scalb.c: Likewise.
20396         * math/e_scalbf.c: Likewise.
20397         * math/e_scalbl.c: Likewise.
20398         * math/s_ldexp.c: Likewise.
20399         * math/s_ldexpf.c: Likewise.
20400         * math/s_ldexpl.c: Likewise.
20401         * math/w_atan2.c: Likewise.
20402         * math/w_atan2f.c: Likewise.
20403         * math/w_atan2l.c: Likewise.
20404         * math/w_cosh.c: Likewise.
20405         * math/w_coshf.c: Likewise.
20406         * math/w_coshl.c: Likewise.
20407         * math/w_exp10.c: Likewise.
20408         * math/w_exp10f.c: Likewise.
20409         * math/w_exp10l.c: Likewise.
20410         * math/w_exp2.c: Likewise.
20411         * math/w_exp2f.c: Likewise.
20412         * math/w_exp2l.c: Likewise.
20413         * math/w_fmod.c: Likewise.
20414         * math/w_fmodf.c: Likewise.
20415         * math/w_fmodl.c: Likewise.
20416         * math/w_hypot.c: Likewise.
20417         * math/w_hypotf.c: Likewise.
20418         * math/w_hypotl.c: Likewise.
20419         * math/w_jnl.c: Likewise.
20420         * math/w_lgamma.c: Likewise.
20421         * math/w_lgamma_r.c: Likewise.
20422         * math/w_lgammaf.c: Likewise.
20423         * math/w_lgammaf_r.c: Likewise.
20424         * math/w_lgammal.c: Likewise.
20425         * math/w_lgammal_r.c: Likewise.
20426         * math/w_pow.c: Likewise.
20427         * math/w_powf.c: Likewise.
20428         * math/w_powl.c: Likewise.
20429         * math/w_remainder.c: Likewise.
20430         * math/w_remainderf.c: Likewise.
20431         * math/w_remainderl.c: Likewise.
20432         * math/w_scalb.c: Likewise.
20433         * math/w_scalbf.c: Likewise.
20434         * math/w_scalbl.c: Likewise.
20435         * math/w_scalbln.c: Likewise.
20436         * math/w_scalblnf.c: Likewise.
20437         * math/w_scalblnl.c: Likewise.
20438         * math/w_sinh.c: Likewise.
20439         * math/w_sinhf.c: Likewise.
20440         * math/w_sinhl.c: Likewise.
20441         * math/w_tgamma.c: Likewise.
20442         * math/w_tgammaf.c: Likewise.
20443         * math/w_tgammal.c: Likewise.
20444         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20445         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20446         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20447         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20448         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20449         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20450         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20451         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20452         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20453         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20454         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20455         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20456         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20457         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20458         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20459         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20460         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20461         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20462         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20463         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20464         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20465         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20466         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20467         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20468         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20469         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20470         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20471         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20472         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20473         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20474         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20475         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20476         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20477         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20478         * stdio-common/printf_fp.c: Likewise.
20479         * stdio-common/printf_fphex.c: Likewise.
20480         * stdio-common/printf_size.c: Likewise.
20482 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20484         [BZ #18470]
20485         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20486         strnlen.
20487         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20488         Remove variable.
20489         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20490         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20491         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20492         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20493         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20494         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20495         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20496         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20497         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20498         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20500         [BZ #18468]
20501         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20502         weak alias of __wmemchr.  Use libc_hidden_weak.
20503         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20504         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20505         instead of wmemchr.
20507 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20509         [BZ #18383]
20510         * elf/tst-tlsalign-extern.c: New file.
20511         * elf/tst-tlsalign-extern-static.c: New file.
20512         * elf/tst-tlsalign-vars.c: New file.
20513         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20514         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20515         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20516         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20517         (test-xfail-tst-tlsalign-extern-static): New variable.
20519 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20521         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20522         Use variable name _sc_err instead of err.
20523         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20524         instead of ret.
20525         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20526         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20527         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20528         (INLINE_SYSCALL): Likewise.
20530         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20531         * include/string.h (__strnlen): Use libc_hidden_proto.
20532         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20533         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20534         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20535         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20536         (libc_hidden_def): Undefine and redefine.
20537         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20538         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20539         __GI_strnlen.
20540         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20541         libc_hidden_def.
20542         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20544         [BZ #18469]
20545         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20546         weak alias of __towlower.  Use libc_hidden_weak.
20547         (towupper): Rename to __towupper and define as weak alias of
20548         __towupper.  Use libc_hidden_weak.
20549         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20550         (__towupper): Likewise.
20551         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20552         __towlower instead of towlower.
20554 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20556         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20557         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20559 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20561         * sysdeps/aarch64/libm-test-ulps: Update.
20563 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20565         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20566         Define.
20567         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20568         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20569         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20570         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20571         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20572         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20573         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20575 2015-06-01  Martin Sebor  <msebor@redhat.com>
20577         [BZ #18116]
20578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20579         (__setcontext): Use extended four-operand version of mtsf whenever
20580         possible.
20581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20582         (__novec_swapcontext): Likewise.
20584 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20586         * benchtests/scripts/compare_bench.py: New file.
20587         * benchtests/scripts/import_bench.py (mean): New function.
20588         (split_list): Likewise.
20589         (do_for_all_timings): Likewise.
20590         (compress_timings): Likewise.
20592         * benchtests/scripts/import_bench.py: New file.
20593         * benchtests/scripts/validate_benchout.py: Import import_bench
20594         instead of jsonschema.
20595         (validate_bench): Remove function.
20596         (main): Use import_bench.
20598 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20600         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20601         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20603 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20607 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20609         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20610         set THREAD_SELF->tid to a magic value and futex-wake it.
20611         Pass its address to the thread_exit system call.
20612         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20613         bit is clear.
20614         * sysdeps/nacl/lowlevellock.h: New file.
20615         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20617         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20618         Add TIMEOUT to current time, don't subtract it.
20620 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20622         [BZ #2981]
20623         [BZ #18422]
20624         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20625         ($(objpfx)tst-audit2.out): Also depend on
20626         $(objpfx)tst-auditmod9b.so.
20627         * elf/tst-audit2.c: Include <dlfcn.h>.
20628         (calloc_called): New.
20629         (calloc): Allow to be called more than once.
20630         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20632 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20634         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20635         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20637 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20639         * stdlib/monetary.h: Fix comment.
20641 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20643         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20644         Avoid using variables in #defines that might cause shadowing.
20645         (INTERNAL_VSYSCALL_CALL): Likewise.
20647 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20649         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20651         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20652         * nptl/lll_timedlock_wait.c: ... to this new file.
20653         * nptl/Makefile (libpthread-routines): Add it.
20654         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20655         * nptl/lll_timedwait_tid.c: ... to this new file.
20656         * nptl/Makefile (libpthread-routines): Add it.
20657         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20658         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20659         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20660         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20661         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20662         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20663         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20664         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20665         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20666         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20668 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20670         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20671         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20672         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20673         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20674         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20675         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20676         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20677         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20678         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20679         * sysdeps/unix/sysv/linux/tile/sysdep.h
20680         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20681         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20682         using vDSO syscall macro.
20684 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20686         [BZ #17293]
20687         * uk_UA: Fix sorting order for Ukrainian locale
20689 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20691         * stdlib/monetary.h: Fix comment.
20693 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20695         [BZ #18234]
20696         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20697         st_mtim and st_ctim members.
20698         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20699         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20700         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20701         (struct stat64): Likewise.
20702         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20703         (struct stat64): Likewise.
20704         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20705         (struct stat64): Likewise.
20707 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20709         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20710         Define and include sysdep-vdso.h.
20711         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20712         Likewise.
20713         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20714         Likewise.
20715         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20716         Define with VDSO_SYMBOL and use PTR_MANGLE.
20717         (__vdso_clock_gettime): Likewise.
20718         (__vdso_clock_getres): Likewise.
20719         (_libc_vdso_platform_setup): Likewise.
20720         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20721         Likewise.
20722         (_libc_vdso_platform_setup): Likewise.
20723         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20724         Likewise.
20725         (__vdso_clock_gettime): Likewise.
20726         (__vdso_clock_getres): Likewise.
20727         (__vdso_get_tbfreq): Likewise.
20728         (__vdso_getcpu): Likewise.
20729         (__vdso_time): Likewise.
20730         (__vdso_sigtramp_rt64): Likewise.
20731         (__vdso_signtramp32): Likewise.
20732         (__vdso_sigtramp_rt32): Likewise.
20733         (_libc_vdso_platform_setup): Likewise.
20734         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20735         Likewise.
20736         (__vdso_clock_gettime): Likewise.
20737         (__vdso_clock_getres): Likewise.
20738         (_libc_vdso_platform_setup): Likewise.
20739         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20740         Likewise.
20741         (__vdso_clock_gettime): Likewise.
20742         (_libc_vdso_platform_setup): Likewise.
20743         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20744         Likewise.
20745         (__vdso_getcpu): Likewise.
20746         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20747         Use VDSO_SYMBOL macro to define.
20748         (__vdso_clock_gettime): Likewise.
20749         (__vdso_clock_getres): Likewise.
20750         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20751         Likewise.
20752         (__vdso_clock_gettime): Likewise.
20753         (__vdso_clock_getres): Likewise.
20754         (__vdso_get_tbfreq): Likewise.
20755         (__vdso_getcpu): Likewise.
20756         (__vdso_time): Likewise.
20757         (__vdso_sigtramp_rt64): Likewise.
20758         (__vdso_signtramp32): Likewise.
20759         (__vdso_sigtramp_rt32): Likewise.
20760         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20761         Likewise.
20762         (__vdso_clock_gettime): Likewise.
20763         (__vdso_clock_getres): Likewise.
20764         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20765         Likewise.
20766         (__vdso_clock_gettime): Likewise.
20767         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20768         Likewise.
20769         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20770         macro.
20771         (INTERNAL_VSYSCALL): Likewise.
20772         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20773         Remove macro.
20774         (INTERNAL_VSYSCALL): Likewise.
20775         (INTERNAL_VSYSCALL_NCS): Likewise.
20776         (INTERNAL_VSYSCALL_CALL): New macro.
20777         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20778         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20779         Likewise.
20780         (INTERNAL_VSYSCALL): Likewise.
20781         (INTERNAL_VSYSCALL_NCS): Likewise.
20782         (INTERNAL_VSYSCALL_CALL): New macro.
20783         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20785         (INLINE_VSYSCALL): Remove macro.
20786         (INTERNAL_VSYSCALL): Remove macro.
20787         (INTERNAL_VSYSCALL_NCS): Remove macro.
20788         (INTERNAL_VSYSCALL_CALL): New macro.
20789         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20790         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20791         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20792         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20793         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20795         (INLINE_VSYSCALL): Remove macro.
20796         (INTERNAL_VSYSCALL): Likewise.
20797         (INTERNAL_VSYSCALL_NCS): Likewise.
20798         (INTERNAL_VSYSCALL_CALL): New macro.
20799         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20800         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20801         PTR_DEMANGLE on vDSO pointer.
20802         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20803         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20804         macro.
20805         (INTERNAL_SYSCALL): Likewise.
20806         (INTERNAL_VSYSCALL_NCS): Remove macro.
20807         (INTERNAL_VSYSCALL_CALL): New macro.
20808         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20809         Remove macro.
20810         (INTERNAL_VSYSCALL): Likewise.
20811         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20812         sysdep-vdso.h instead of libc-vdso.h.
20813         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20814         definition.
20815         (INLINE_VSYSCALL): Likewise.
20816         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20817         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20818         definition.
20819         (INLINE_VSYSCALL): Likewise.
20820         (INTERNAL_VSYSCALL): Likewise.
20821         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20822         * sysdeps/unix/sysv/linux/timespec_get.c
20823         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20824         (timespec_get): Use ANSI prototype.
20825         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20826         and definition for Linux.
20828 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20830         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20831         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20833 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20835         [BZ #2981]
20836         [BZ #18410]
20837         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20838         for missing DT_PLTRELSZ.
20840 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20842         Remove obsolete aliases that broke 'locale -a'
20843         [BZ #18412]
20844         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20845         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20846         breaking some applications that use 'locale -a' output.
20847         Change the encoding of this file from Latin-1 to ASCII to avoid
20848         other potential problems with people grepping this file.
20850 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20852         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20853         -fasynchronous-unwind-tables.
20854         (CFLAGS-sendto.c): Likewise.
20855         (CFLAGS-sendmsg.c): Likewise.
20856         (CFLAGS-connect.c): Likewise.
20857         (CFLAGS-recvmsg.c): Likewise.
20858         (CFLAGS-recvfrom.c): Likewise.
20859         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20860         (SOCKETCALL): New macro: non-cancellable socketcall.
20861         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20862         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20863         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20864         * sysdeps/unix/sysv/linux/accept.c: New file.
20865         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20866         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20867         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20868         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20869         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20870         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20871         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20872         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20873         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20874         * sysdeps/unix/sysv/linux/send.c: Likewise.
20875         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20876         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20877         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20878         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20879         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20880         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20881         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20882         prototype.
20883         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20884         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20885         instead of __internal_xxx function.
20886         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20887         prototype.
20888         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20889         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20890         instead of __internal_xxx function.
20891         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20892         prototype.
20893         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20894         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20895         instead of __internal_xxx function.
20896         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20897         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20898         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20899         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20900         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20901         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20902         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20903         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20904         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20905         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20906         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20907         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20908         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20909         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20910         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20911         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20912         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20913         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20914         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20915         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20918         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20919         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20920         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20921         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20922         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20923         * sysdeps/unix/sysv/linux/send.S: Likewise.
20924         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20925         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20926         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20927         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20928         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20929         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20930         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20931         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20932         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20933         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20934         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20935         socketcall is implemented in GLIBC.
20937 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20939         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20940         (__fma): Ignore uninitialized warnings around packing.
20941         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20942         (__fmaf): Ignore uninitialized warnings around packing.
20943         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20944         (__fmal): Ignore uninitialized warnings around packing.
20946         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20947         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20948         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20949         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20951         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20952         switch statement into default case.
20953         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20955         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20956         a conditional in forcing "inexact".
20957         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20958         Likewise.
20960 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20962         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20963         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20964         for each INTERNAL_SYSCALL use.
20966 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20968         [BZ #438]
20969         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20970         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20971         variable.
20973         [BZ #18444]
20974         * string/basename.c (basename): Rename to __basename and define as
20975         weak alias of __basename.  Use libc_hidden_weak.
20976         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20977         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20978         __basename instead of basename.
20979         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20980         Remove variable.
20981         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20983 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20985         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20986         (_IO_JUMPS_FILE_plus): New.
20987         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20988         _IO_CAST_FIELD_ACCESS.
20989         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20990         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20991         * libio/freopen.c (freopen): Likewise.
20992         * libio/freopen64.c (freopen64): Likewise.
20993         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20994         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20995         * libio/iofwide.c (_IO_fwide): Likewise.
20996         * libio/memstream.c (open_memstream): Likewise.
20997         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20998         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20999         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21001 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21003         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21004         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21005         NADJ.
21006         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21007         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21008         NADJ.
21009         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21010         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21011         NADJ.
21013         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21014         (p == 4) case.
21016         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21017         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21018         Remove variable.
21019         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21020         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21021         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21023 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21025         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21026         Adjust jump table label generation macros.
21028 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21030         * stdio-common/vfprintf.c (vfprintf): Move local variables
21031         args_malloced, specs, specs_malloced, and the code after
21032         do_positional to the printf_positional function.
21033         (printf_positional): New function.
21035 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21037         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21038         function.
21039         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21040         STEP4_TABLE, process_arg): Move macro definitions
21041         out of the vfprintf function.  (Cosmetic change only.)
21043 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21045         * benchtests/Makefile (stdio-common-bench): Define.
21046         (benchset): Add stdio-common-bench.
21047         * sprintf-inputs: New file.
21048         * sprintf-source.c: New file.
21050 2015-05-21  Andreas Schwab  <schwab@suse.de>
21052         [BZ #13028]
21053         [BZ #17053]
21054         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21055         of struct __res_state.
21056         * resolv/res_send.c (__libc_res_nsend): Likewise.
21057         (get_nsaddr): New function.
21058         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21059         statp directly.
21061 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21063         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21064         -D_POSIX_C_SOURCE=199506L.
21066         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21068         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21069         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21070         Do not mention otherwise.
21071         [POSIX] (_XOPEN_VERSION): Do not expect.
21072         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21073         [POSIX] (_POSIX2_C_BIND): Likewise.
21074         [POSIX] (_POSIX2_VERSION): Likewise.
21075         [POSIX] (_XOPEN_XPG2): Likewise.
21076         [POSIX] (_XOPEN_XPG3): Likewise.
21077         [POSIX] (_XOPEN_XPG4): Likewise.
21078         [POSIX] (_XOPEN_UNIX): Likewise.
21079         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21080         [POSIX] (_POSIX_BARRIERS): Likewise.
21081         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21082         [POSIX] (_POSIX_CPUTIME): Likewise.
21083         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21084         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21085         [POSIX] (_POSIX_SHELL): Likewise.
21086         [POSIX] (_POSIX_SPAWN): Likewise.
21087         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21088         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21089         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21090         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21091         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21092         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21093         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21094         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21095         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21096         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21097         [POSIX] (_POSIX2_PBS): Likewise.
21098         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21099         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21100         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21101         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21102         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21103         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21104         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21105         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21106         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21107         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21108         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21109         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21110         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21111         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21112         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21113         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21114         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21115         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21116         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21117         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21118         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21119         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21120         [POSIX] (_SC_2_C_BIND): Likewise.
21121         [POSIX] (_SC_2_C_VERSION): Likewise.
21122         [POSIX] (_SC_2_PBS): Likewise.
21123         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21124         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21125         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21126         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21127         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21128         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21129         [POSIX] (_SC_BARRIERS): Likewise.
21130         [POSIX] (_SC_BASE): Likewise.
21131         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21132         [POSIX] (_SC_DEVICE_IO): Likewise.
21133         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21134         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21135         [POSIX] (_SC_FD_MGMT): Likewise.
21136         [POSIX] (_SC_FIFO): Likewise.
21137         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21138         [POSIX] (_SC_FILE_LOCKING): Likewise.
21139         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21140         [POSIX] (_SC_IOV_MAX): Likewise.
21141         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21142         [POSIX] (_SC_NETWORKING): Likewise.
21143         [POSIX] (_SC_PAGE_SIZE): Likewise.
21144         [POSIX] (_SC_PASS_MAX): Likewise.
21145         [POSIX] (_SC_PIPE): Likewise.
21146         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21147         [POSIX] (_SC_REGEXP): Likewise.
21148         [POSIX] (_SC_SHELL): Likewise.
21149         [POSIX] (_SC_SIGNALS): Likewise.
21150         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21151         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21152         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21153         [POSIX] (_SC_USER_GROUPS): Likewise.
21154         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21155         [POSIX] (_SC_STREAMS): Likewise.
21156         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21157         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21158         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21159         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21160         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21161         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21162         [POSIX] (_PC_FILESIZEBITS): Likewise.
21163         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21164         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21165         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21166         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21167         [POSIX] (uid_t): Likewise.
21168         [POSIX] (gid_t): Likewise.
21169         [POSIX] (off_t): Likewise.
21170         [POSIX] (pid_t): Likewise.
21171         [POSIX] (cuserid): Allow.
21172         (_SC_2_CHAR_TERM): Require constant.
21173         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21174         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21175         variable.
21177 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21179         * sysdeps/nacl/pthread-pids.h: New file.
21180         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21181         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21183         * nptl/pthread-pids.h: New file.
21184         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21185         * nptl/nptl-init.c: Include <pthread-pids.h>.
21186         (__pthread_initialize_minimal_internal):
21187         Call __pthread_initialize_pids instead of set_tid_address syscall.
21189         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21190         * sysdeps/posix/usleep.c: ... here.
21192 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21194         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21195         call_pselect6 object.
21196         [$(subdir) = io]: Remove call_sync_file_range object.
21197         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21198         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21199         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21200         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21202 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21204         * math/s_cproj.c: Add include "math_private.h".
21205         * math/s_cprojf.c: Likewise.
21206         * math/s_cprojl.c: Likewise.
21208 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21210         [BZ #18244]
21211         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21212         high mantissa bit when testing whether P is a NaN.
21213         * math/libm-test.inc (remainder_test_data): Add more tests.
21214         (remquo_test_data): Likewise.
21216         [BZ #18049]
21217         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21218         below -32, return the argument, with underflow if subnormal.
21219         * math/auto-libm-test-in: Add more tests of atanh.
21220         * math/auto-libm-test-out: Regenerated.
21222 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21224         [BZ #18434]
21225         * nptl/tst-sem15.c: New file.
21226         * nptl/Makefile (tests): Add it.
21227         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21228         s/<</>>/ to fix typo in EOVERFLOW check.
21229         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21231 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21233         * manual/strings.texi (envz_remove): Fix typo in safety
21234         annotations.
21236 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21237             Steve Ellcey  <sellcey@imgtec.com>
21239         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21240         in order to avoid strict alias warnings.
21241         (iruserok_af): Ditto for ra.
21243 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21245         [BZ #17581]
21246         * malloc/hooks.c
21247         (magicbyte): Convert to a function and avoid returning 0x01.
21248         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21249         (mem2chunk_check): Fix unsigned comparisons to zero.
21250         Hoist defs of sz and magic.
21252 2015-05-19  Richard Henderson  <rth@redhat.com>
21254         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21256         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21258 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21260         [BZ #16159]
21261         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21262         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21263         (reused_arena): Find a non-corrupt arena.
21264         (heap_trim): Pass arena to unlink.
21265         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21266         malloc_printerr.
21267         (top_check): Likewise.
21268         (free_check): Likewise.
21269         (realloc_check): Likewise.
21270         * malloc/malloc.c (malloc_printerr): Add arena argument.
21271         (unlink): Likewise.
21272         (munmap_chunk): Adjust.
21273         (ARENA_CORRUPTION_BIT): New macro.
21274         (arena_is_corrupt): Likewise.
21275         (set_arena_corrupt): Likewise.
21276         (sysmalloc): Use mmap if there are no usable arenas.
21277         (_int_malloc): Likewise.
21278         (__libc_malloc): Don't fail if arena_get returns NULL.
21279         (_mid_memalign): Likewise.
21280         (__libc_calloc): Likewise.
21281         (__libc_realloc): Adjust for additional argument to
21282         malloc_printerr.
21283         (_int_free): Likewise.
21284         (malloc_consolidate): Likewise.
21285         (_int_realloc): Likewise.
21286         (_int_memalign): Don't touch corrupt arenas.
21287         * malloc/tst-malloc-backtrace.c: New test case.
21289         * Makefile (summarize-tests): Fix return value on success.
21291         * manual/string.texi (Envz Functions): Add envz_remove.
21293 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21295         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21296         (invalid_name): New function, broken out of ...
21297         (__opendirat): ... here.  Call it.
21298         (need_isdir_precheck): New function, broken out of ...
21299         (__opendirat): ... here.  Call it.
21300         Use __fxstatat64, not __xstatat64.
21301         (opendir_oflags): New function, broken out of ...
21302         (__opendirat): ... here.  Call it.
21303         (opendir_tail): New function, broken out of ...
21304         (__opendirat): ... here.  Call it.
21305         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21306         opendir_tail, rather than punting to __opendirat.
21307         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21309 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21311         * .gitignore: Ignore generated *.pyc.
21313 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21315         * include/stdio.h: Define __need_wint_t.
21316         * test-skeleton.c: Avoid `for' loop initial declaration.
21317         * nptl/tst-initializers1.c: Use test-skeleton.c.
21319 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21321         [BZ #18418]
21322         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21324 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21326         [BZ #16352]
21327         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21328         (__ieee754_atanh): Force underflow exception for results with
21329         small absolute value.
21330         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21331         (__ieee754_atanhf): Force underflow exception for results with
21332         small absolute value.
21333         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21334         (__ieee754_atanh): Force underflow exception for results with
21335         small absolute value.
21336         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21337         (__ieee754_atanhf): Force underflow exception for results with
21338         small absolute value.
21339         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21340         (__ieee754_atanhl): Force underflow exception for results with
21341         small absolute value.
21342         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21343         (__ieee754_atanhl): Force underflow exception for results with
21344         small absolute value.
21345         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21346         (__ieee754_atanhl): Force underflow exception for results with
21347         small absolute value.
21348         * math/auto-libm-test-in: Do not allow missing underflow
21349         exceptions from atanh.
21350         * math/auto-libm-test-out: Regenerated.
21352         [BZ #18221]
21353         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21354         2**-28 as threshold for returning x or +/- 1/x.
21355         * math/auto-libm-test-in: Add more tests of tan.
21356         * math/auto-libm-test-out: Regenerated.
21358         [BZ #18220]
21359         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21360         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21361         * math/auto-libm-test-in: Add another test of lgamma.
21362         * math/auto-libm-test-out: Regenerated.
21364 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21366         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21367         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21368         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21369         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21370         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21371         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21372         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21373         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21374         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21375         (log1): Use fabs.  (my_log2): Use fabs.
21376         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21377         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21378         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21379         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21380         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21381         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21382         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21383         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21384         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21385         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21386         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21388 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21390         [BZ #18217]
21391         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21392         as threshold for returning 1 - x.
21393         * math/auto-libm-test-in: Add more tests of erfc.
21394         * math/auto-libm-test-out: Regenerated.
21396 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21398         [BZ #18196]
21399         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21400         threshold for large arguments.
21401         * math/auto-libm-test-in: Add another test of atan.
21402         * math/auto-libm-test-out: Regenerated.
21404         [BZ #16339]
21405         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21406         (__log1p): Force underflow exception for results with small
21407         absolute value.
21408         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21409         (__log1pf): Force underflow exception for results with small
21410         absolute value.
21411         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21412         (__log1p): Force underflow exception for results with small
21413         absolute value.
21414         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21415         (__log1pf): Force underflow exception for results with small
21416         absolute value.
21417         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21418         (__log1pl): Force underflow exception for results with small
21419         absolute value.
21420         * math/auto-libm-test-in: Do not allow missing underflow
21421         exceptions from log1p.
21422         * math/auto-libm-test-out: Regenerated.
21424 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21425             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21427         [BZ #16704]
21428         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21430 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21432         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21433         (libmvec): New variable.
21434         * configure.ac: Added option for mathvec build.
21435         * configure: Regenerated.
21436         * mathvec/Depend: New file.
21437         * mathvec/Makefile: New file.
21438         * shlib-versions: Added libmvec.
21439         * math/Makefile: Added rule for libm.so installation.
21441         * bits/math-vector.h: New file.
21442         * bits/libm-simd-decl-stubs.h: New header.
21443         * math/Makefile (headers): Added new header
21444         libm-simd-decl-stubs.h.
21445         * math/math.h (__MATHCALL_VEC): New macro.
21447         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21448         for conditions in testing functions.
21449         * math/Makefile: Added call of libm-have-vector-test.sh.
21450         * math/libm-test.inc (HAVE_VECTOR): New macros.
21452         * math/libm-test.inc: START refactored.
21453         * math/test-double.c (TEST_MATHVEC): Add define.
21454         * math/test-float.c: Likewise.
21455         * math/test-idouble.c: Likewise.
21456         * math/test-ifloat.c: Likewise.
21457         * math/test-ildoubl.c: Likewise.
21458         * math/test-ldouble.c: Likewise.
21459         * sysdeps/generic/math-tests-arch.h
21460         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21461         architecture check.
21463         * math/test-double.c (FUNC_TEST): New macro.
21464         * math/test-float.c: Likewise.
21465         * math/test-idouble.c: Likewise.
21466         * math/test-ifloat.c: Likewise.
21467         * math/test-ildoubl.c: Likewise.
21468         * math/test-ldouble.c: Likewise.
21469         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21471 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21473         * sysdeps/nacl/fdopendir.c: New file.
21475         * dirent/scandir-tail.c: New file.
21476         * dirent/scandir64-tail.c: New file.
21477         * dirent/Makefile (routines): Add them.
21478         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21479         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21480         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21481         [!SCANDIR] (SCANDIR_TAIL): New macro.
21482         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21483         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21484         (SCANDIRAT): Macro removed.
21485         (SCANDIR_TAIL): New macro.
21486         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21487         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21488         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21489         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21490         (READDIR): Macro removed.
21491         (SCANDIR_TAIL): New macro.
21492         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21493         (SCANDIR_TAIL): New macro.
21495         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21496         * dirent/scandir-cancel.c: ... to this new file.
21497         * dirent/Makefile (routines): Add it.
21498         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21499         * sysdeps/unix/sysv/linux/i386/scandir64.c
21500         (SKIP_SCANDIR_CANCEL): Macro removed.
21501         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21503         * dirent/tst-scandir.c: New file.
21504         * dirent/tst-scandir64.c: New file.
21505         * dirent/Makefile (tests): Add them.
21507 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21509         [BZ #18409]
21510         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21512 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21514         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21515         list.
21517 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21519         * benchtests/bench-strcoll.c: New benchmark.
21520         * benchtests/Makefile: Generate locales and run benchmark.
21521         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21522         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21523         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21524         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21525         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21526         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21527         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21528         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21529         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21530         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21531         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21532         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21533         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21534         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21535         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21536         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21537         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21538         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21539         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21540         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21541         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21542         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21543         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21544         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21546 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21548         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21549         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21551 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21553         * posix/uname-values.h: New file.
21554         * posix/uname.c: Include that instead of <config-name.h>.
21555         * sysdeps/nacl/uname-values.h: New file.
21556         * sysdeps/arm/nacl/uname-values.h: New file.
21558 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21560         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21561         splitting into fields.
21563 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21565         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21566         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21567         * locale/localeinfo.h: Add enum collation_encoding_type.
21568         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21569         * programs/ld-collate.c (collate_output): Add encoding type info.
21570         * string/strcoll_l.c (STRDIFF): New function.
21571         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21572         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21574 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21576         [BZ #18397]
21577         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21578         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21579         <fpu_control.h> instead of <math/fpu_control.c>.
21580         * sysdeps/mips/mips32/fpu/Makefile: New file.
21582 2015-05-11  Andreas Schwab  <schwab@suse.de>
21584         [BZ #18007]
21585         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21586         nss_endgrent.
21587         (_nss_compat_endgrent): Call nss_endgrent.
21588         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21589         nss_endpwent.
21590         (_nss_compat_endpwent): Call nss_endpwent.
21591         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21592         needent, call nss_setspent only if non-zero.
21593         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21594         (internal_endspent): Don't call nss_endspent.
21595         (_nss_compat_endspent): Call nss_endspent.
21596         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21597         Remove.  All uses removed.
21598         (internal_setent): Remove parameter stayopen, add parameter
21599         stream.  Use it instead of global variable.
21600         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21601         (internal_endent, internal_getent): Add parameter stream.  Use it
21602         instead of global variable.
21603         (CONCAT(_nss_files_end,ENTNAME))
21604         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21605         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21606         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21607         uses removed.
21608         (internal_setent, internal_endent): Add parameter stream.  Use it
21609         instead of global variable.
21610         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21611         stream.
21612         (get_next_alias): Add parameter stream.
21613         (_nss_files_getaliasent_r): Pass global stream.
21614         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21615         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21616         (_nss_files_gethostbyname4_r): Pass local stream to
21617         internal_setent, internal_getent and internal_endent.  Remove
21618         locking.
21620 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21622         * tst-strfmon1.c (tests): Update expected currency symbol.
21624 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21626         * sysdeps/nacl/gethostname.c: New file.
21628 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21630         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21631         and sinh.
21632         * math/auto-libm-test-out: Regenerated.
21633         * sysdeps/i386/fpu/libm-test-ulps: Update.
21634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21636 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21638         [BZ #18125]
21639         * stdlib/tst-setcontext3.c: New file.
21640         * stdlib/tst-setcontext3.sh: New file.
21641         * stdlib/Makefile (tests): Add tst-setcontext3.
21642         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21643         to verify test program created output file.
21644         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21645         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21646         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21647         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21649 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21651         [BZ #18383]
21652         * elf/tst-tlsalign.c: New file.
21653         * elf/tst-tlsalign-static.c: New file.
21654         * elf/tst-tlsalign-lib.c: New file.
21655         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21656         (tests-static): Add tst-tlsalign-static.
21657         (modules-names): Add tst-tlsalign-lib.
21658         (test-xfail-tst-tlsalign): New variable.
21659         (test-xfail-tst-tlsalign-static): New variable.
21661         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21662         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21664 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21666         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21667         csqrt, erfc, sin and sincos.
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 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21674         * sysdeps/aarch64/libm-test-ulps: Update.
21676 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21678         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21679         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21680         * math/auto-libm-test-out: Regenerated.
21681         * sysdeps/i386/fpu/libm-test-ulps: Update.
21682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21684 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21686         [BZ #18265]
21687         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21688         (wcsncpy): Likewise.
21690 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21692         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21693         Assume __ASSUME_FALLOCATE is always true.
21694         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21695         (__posix_fallocate64_l64): Likweise.
21696         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21697         (posix_fallocate): Likewise.
21698         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21699         (__posix_fallocate64_l64): Likewise.
21700         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21701         [!__ASSUME_FALLOCATE]: Add comment.
21703 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21705         * sysdeps/unix/sysv/linux/i386/Makefile
21706         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21707         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21708         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21709         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21710         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21711         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21712         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21714 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21716         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21717         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21718         tgamma.
21719         * math/auto-libm-test-out: Regenerated.
21720         * sysdeps/i386/fpu/libm-test-ulps: Update.
21721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21723 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21725         * math/auto-libm-test-in: Add more tests of tgamma.
21726         * math/auto-libm-test-out: Regenerated.
21727         * sysdeps/i386/fpu/libm-test-ulps: Update.
21728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21730         * math/auto-libm-test-in: Add more tests of tanh.
21731         * math/auto-libm-test-out: Regenerated.
21732         * sysdeps/i386/fpu/libm-test-ulps: Update.
21733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21735         * math/auto-libm-test-in: Add more tests of tan.
21736         * math/auto-libm-test-out: Regenerated.
21737         * sysdeps/i386/fpu/libm-test-ulps: Update.
21738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21740         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21741         * math/auto-libm-test-out: Regenerated.
21742         * sysdeps/i386/fpu/libm-test-ulps: Update.
21743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21745         * math/auto-libm-test-in: Add another test of pow.
21746         * math/auto-libm-test-out: Regenerated.
21747         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21749         * math/auto-libm-test-in: Add more tests of lgamma.
21750         * math/auto-libm-test-out: Regenerated.
21751         * sysdeps/i386/fpu/libm-test-ulps: Update.
21752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21754         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21755         log1p.
21756         * math/auto-libm-test-out: Regenerated.
21757         * sysdeps/i386/fpu/libm-test-ulps: Update.
21758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21760 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21762         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21763         Elf64_Chdr structs and ELFCOMPRESS constants.
21765 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21767         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21768         expm1.
21769         * math/auto-libm-test-out: Regenerated.
21770         * sysdeps/i386/fpu/libm-test-ulps: Update.
21771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21773         * math/auto-libm-test-in: Add more tests of erf and erfc.
21774         * math/auto-libm-test-out: Regenerated.
21775         * sysdeps/i386/fpu/libm-test-ulps: Update.
21776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21778 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21780         * config.h.in (HAVE_AARCH64_BE): Add.
21782 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21784         * math/auto-libm-test-in: Add more tests of csqrt.
21785         * math/auto-libm-test-out: Regenerated.
21786         * sysdeps/i386/fpu/libm-test-ulps: Update.
21787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21789         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21790         * math/auto-libm-test-out: Regenerated.
21791         * sysdeps/i386/fpu/libm-test-ulps: Update.
21792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21794         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21796 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21798         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21799         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21801         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21802         (euidaccess, eaccess): Define as weak aliases.
21804         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21805         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21806         but __suseconds_t is often 'long int' so some sources assume that
21807         type is being used (e.g. they use %ld to print tv_usec).
21809 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21811         [BZ #18007]
21812         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21813         (CVE-2014-8121)
21814         * nss/tst-nss-getpwent.c: New file.
21815         * nss/Makefile (tests): Add new test.
21817 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21819         [BZ #18346]
21820         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21821         exponents less than 48 as cases where high part of mantissa needs
21822         examining to determine whether argument is integral.
21823         * math/libm-test.inc (round_test_data): Add more tests.
21825 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21827         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21829 2015-04-27  David S. Miller  <davem@davemloft.net>
21831         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21832         __tls_get_addr.
21833         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21835 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21837         [BZ#18333]
21838         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21840 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21842         [BZ#18333]
21843         * time/tzset.c (parse_tzname): Return error on memory allocation
21844         failure.
21845         * test-skeleton.c (struct temp_name_list): Change type of name
21846         member to non-const.
21847         (add_temp_file): Create a copy of the file name.
21848         (delete_temp_files): Deallocate memory.
21849         (create_temp_file): Add comment.
21851 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21853         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21854         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21856 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21858         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21859         * sysdeps/arm/configure: Regenerated.
21861 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21863         [BZ #17715]
21864         * time/tzfile.c (__tzfile_read): Check for large values of
21865         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21866         * time/tzset.c (__tzstring_len): New function, based on the old
21867         __tzstring function.
21868         (__tzstring): Call __tzstring_len.
21869         (parse_tzname): New helper function extracted from
21870         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21871         the input string.
21872         (parse_offset): New helper function extracted from
21873         __tzset_parse_tz.  Replace switch with fallthrough with
21874         initialization before sscanf.
21875         (parse_rule): Likewise.
21876         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21877         new-style function definition.
21878         * timezone/Makefile (tests): Add tst-tzset.
21879         (tst-tzset.out): Dependencies on time zone files.
21880         (tst-tzset-ENV): Set TZDIR.
21881         (testdata/XT%): Copy crafted time zone files.
21882         * timezone/README: Mention crafted time zone files.
21883         * timezone/testdata/XT1, timezone/testdata/XT2,
21884         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21885         files.
21886         * timezone/tst-tzset.c: New test.
21888 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21890         * Makeconfig (+gccwarn): Remove -Winline.
21892 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21894         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21896 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21898         * NEWS: Mention sysconf() cache information support for s390.
21899         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21901 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21903         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21904         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21905         (__nearbyint): Likewise.
21906         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21907         (copysignl): Likewise.
21909 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21911         [BZ #18287]
21912         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21913         based on padding.  (CVE-2015-1781)
21915 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21917         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21918         libc-vdso.h.
21919         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21920         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21921         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21922         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21923         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21924         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21925         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21926         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21927         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21928         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21929         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21930         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21931         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21932         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21933         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21934         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21935         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21936         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21937         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21938         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21939         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21940         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21941         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21943 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21945         * stdlib/setenv.c (__add_to_environ):
21946         Dump core quickly if setenv (..., NULL, ...) is called.
21947         This time, do it the right way, and pacify GCC with a pragma.
21949 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21951         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21952         IMAP->l_prev cannot be null, and #if out the code for the contrary
21953         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21954         believe that NS (&_dl_ns[NSID]) could point outside the array.
21956         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21957         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21958         before using NSID as an index.
21960 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21962         [BZ #17825]
21963         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21964         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21965         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21967 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21969         Add preliminary port to Google Native Client on ARM.
21970         * abi-tags (.*-.*-nacl.*): New entry.
21971         * sysdeps/arm/nacl: New directory.
21972         * sysdeps/nacl: New directory.
21974 2015-04-16  David S. Miller  <davem@davemloft.net>
21976         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21977         lowlevellock-futex.h
21979 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21981         * sysdeps/tile/configure.ac: New file.
21982         * sysdeps/tile/configure: Regenerated.
21984 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21986         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21987         conditionals for weak_alias and libc_hidden_weak.
21988         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21989         libc_hidden_weak and weak_alias.
21990         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21991         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21992         and weak_alias for static one.
21994 2015-04-15  David S. Miller  <davem@davemloft.net>
21996         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21998 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22000         [BZ #18206]
22001         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22002           Use signed comparision instead of substraction to avoid
22003           overflow bug.
22004         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22005           Take the sign of ret.
22006         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22007           Do not expect precise return values. Only the sign matters.
22008         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22009         * wcsmbs/test-wcsncmp.c: New File.
22010         * string/test-strncmp.c: Add wcsncmp support.
22012 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22014         [BZ #6792]
22015         * math/w_log1p.c: New file.
22016         * math/w_log1pf.c: Likewise.
22017         * math/w_log1pl.c: Likewise.
22018         * math/Makefile (libm-calls): Add w_log1p.
22019         * math/s_log1pl.c (log1pl): Remove weak_alias.
22020         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22021         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22022         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22023         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22024         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22025         [NO_LONG_DOUBLE] (log1pl): Likewise.
22026         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22027         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22028         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22029         (log1p): Remove long_double_symbol.
22030         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22031         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22032         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22033         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22034         remove weak_alias for corresponding log1p function.
22035         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22036         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22037         * sysdeps/ia64/fpu/w_log1p.c: New file.
22038         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22039         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22040         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22042 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22044         [BZ #18247]
22045         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22046         decimal exponent by 1.
22047         * stdlib/tst-strtod-round-data: Add more tests.
22048         * stdlib/tst-strtod-round.c (tests): Regenerated.
22050 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22052         * math/auto-libm-test-in: Add more tests of clog and clog10.
22053         * math/auto-libm-test-out: Regenerated.
22054         * sysdeps/i386/fpu/libm-test-ulps: Update.
22055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22057 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22059         * Makeconfig (module-cppflags): Exclude all .v.i files.
22060         (skip-module-cppflags): Variable removed.
22062         * configure.ac (libc_config_ok): Initialize before reading
22063         preconfigure scripts, not after.
22064         * configure: Regenerated.
22066         * test-skeleton.c (TIMEOUT): Move #define to top level.
22067         (main): Grok environment variable TEST_DIRECT.  If set, print
22068         test expectation details into that file and then behave as if
22069         given --direct.
22071 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22073         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22074         warning on 32-bit.
22076 2015-04-08  David S. Miller  <davem@davemloft.net>
22078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22080 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22082         * math/auto-libm-test-in: Add more tests of atanh.
22083         * math/auto-libm-test-out: Regenerated.
22084         * sysdeps/i386/fpu/libm-test-ulps: Update.
22085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22087         * math/auto-libm-test-in: Add more tests of atan.
22088         * math/auto-libm-test-out: Regenerated.
22089         * sysdeps/i386/fpu/libm-test-ulps: Update.
22090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22092 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22094         * elf/pldd.c (main): Rewrite to use struct
22095         scratch_buffer instead of extend_alloca.
22096         * elf/pldd-xx.c (find_maps): Likewise.
22097         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22098         <alloca.h>.
22099         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22100         scratch_buffer instead of extend_alloca.
22101         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22102         grp/compat-initgroups.c.
22103         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22104         Rewrite to use struct scratch_buffer instead of extend_alloca.
22105         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22106         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22108 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22110         * math/auto-libm-test-in: Add more tests of cbrt.
22111         * math/auto-libm-test-out: Regenerated.
22112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22114         * math/auto-libm-test-in: Add more tests of cabs.
22115         * math/auto-libm-test-out: Regenerated.
22116         * sysdeps/i386/fpu/libm-test-ulps: Update.
22117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22119         [BZ #18210]
22120         [BZ #18211]
22121         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22122         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22123         computations.
22124         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22125         clog10.
22126         * math/auto-libm-test-out: Regenerated.
22127         * sysdeps/i386/fpu/libm-test-ulps: Update.
22128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22130         [BZ #18197]
22131         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22132         (atan): Set FE_TONEAREST mode for internal computations.
22133         * math/auto-libm-test-in: Add more tests of atan.
22134         * math/auto-libm-test-out: Regenerated.
22136 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22138         [BZ #17930]
22139         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22141 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22143         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22145 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22147         * include/scratch_buffer.h: New file.
22148         * malloc/scratch_buffer_grow.c: Likewise.
22149         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22150         * malloc/scratch_buffer_set_array_size.c: Likewise.
22151         * malloc/tst-scratch_buffer.c: Likewise.
22152         * malloc/Makefile (routines): Add scratch_buffer_grow.
22153         (tests): Add test case.
22154         * malloc/Versions (GLIBC_PRIVATE): Export
22155         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22156         __libc_scratch_buffer_set_array_size.
22158 2015-04-06  Richard Henderson  <rth@redhat.com>
22160         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22161         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22163         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22164         unsigned int before printing.
22166 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22168         [BZ #17596]
22169         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22170         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22172 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22174         * include/libc-internal.h (libc_max_align_t): Define.
22176 2015-04-02  Andreas Schwab  <schwab@suse.de>
22178         [BZ #16850]
22179         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22181 2015-04-02  Mel Gorman  <mgorman@suse.de>
22183         [BZ #17195]
22184         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22185         as well as the main arena.
22187 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22189         [BZ #18185]
22190         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22191         sharing L2 cache to 2 for Silvermont/Knights Landing.
22193 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22195         [BZ #17711]
22196         * config.make.in (have-protected-data): New.
22197         * configure.ac: Check linker support for protected data symbol.
22198         * configure: Regenerated.
22199         * elf/Makefile (modules-names): Add tst-protected1moda and
22200         tst-protected1modb if $(have-protected-data) is yes.
22201         (tests): Add tst-protected1a and tst-protected1b if
22202         $(have-protected-data) is yes.
22203         ($(objpfx)tst-protected1a): New.
22204         ($(objpfx)tst-protected1b): Likewise.
22205         (tst-protected1modb.so-no-z-defs): Likewise.
22206         * elf/tst-protected1a.c: New file.
22207         * elf/tst-protected1b.c: Likewise.
22208         * elf/tst-protected1mod.h: Likewise.
22209         * elf/tst-protected1moda.c: Likewise.
22210         * elf/tst-protected1modb.c: Likewise.
22212 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22214         [BZ #17711]
22215         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22216         indicates it is called from do_lookup_x on relocation against
22217         protected data, skip the data definion in the executable from
22218         copy reloc.
22219         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22220         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22221         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22222         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22223         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22224         otherwise to 0.
22225         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22226         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22227         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22228         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22229         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22230         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22232 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22234         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22235         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22237 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22239         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22240         THREAD_SETMEM_NC.
22241         * sysdeps/x86_64/nptl/tls.h: Ditto.
22243 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22245         * dlfcn/tststatic.c (main): Converted to ...
22246         (do_test): ... this.
22247         (TEST_FUNCTION): New macro.
22248         Include test-skeleton.c.
22250 2015-03-26  Alan Modra  <amodra@gmail.com>
22252         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22253         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22254         zero for undefined weak.
22255         (elf_machine_plt_conflict): Similarly.
22257 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22259         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22260         atanh.
22261         * math/auto-libm-test-out: Regenerated.
22262         * sysdeps/i386/fpu/libm-test-ulps: Update.
22263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22265         * math/auto-libm-test-in: Add another test of asin.
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         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22271         Remove macro.
22272         (LLL_EBX_REG): Likewise.
22273         (LLL_ENTER_KERNEL): Likewise.
22275         * math/auto-libm-test-in: Add more tests of asin.
22276         * math/auto-libm-test-out: Regenerated.
22277         * sysdeps/i386/fpu/libm-test-ulps: Update.
22278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22280         [BZ #18138]
22281         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22282         libc_do_syscall_args): New structure.
22283         (INTERNAL_SYSCALL_MAIN_0): New macro.
22284         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22285         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22286         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22287         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22288         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22289         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22290         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22291         Replace conditional definitions by conditional definitions of ....
22292         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22293         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22294         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22295         (libpthread-sysdep_routines): Add libc-do-syscall.
22296         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22297         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22298         to __NR_futex not 240.
22300 2015-03-25  Alan Modra  <amodra@gmail.com>
22302         * NEWS: Advertise TLS optimization.
22303         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22304         (DT_PPC_NUM): Increment.
22305         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22306         (CHECK_STATIC_TLS): Use here.
22307         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22308         TLS descriptors.
22309         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22310         * sysdeps/powerpc/dl-tls.c: New file.
22311         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22312         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22313         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22314         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22319 2015-03-25  Alan Modra  <amodra@gmail.com>
22321         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22322         for overlapping .opd entries" to "support...".
22323         * sysdeps/powerpc/powerpc64/configure: Regenerate
22325 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22327         * math/auto-libm-test-in: Add more tests of acos.
22328         * math/auto-libm-test-out: Regenerated.
22329         * sysdeps/i386/fpu/libm-test-ulps: Update.
22330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22332         * math/auto-libm-test-in: Add more tests of expm1.
22333         * math/auto-libm-test-out: Regenerated.
22334         * sysdeps/i386/fpu/libm-test-ulps: Update.
22335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22337 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22339         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22340         * math/auto-libm-test-out: Regenerated.
22341         * sysdeps/i386/fpu/libm-test-ulps: Update.
22342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22344         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22347         * math/auto-libm-test-in: Add more tests of log2.
22348         * math/auto-libm-test-out: Regenerated.
22349         * sysdeps/i386/fpu/libm-test-ulps: Update.
22350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22352 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22354         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22355         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22356         _IO_IS_APPENDING bit in READ_WRITE instead.
22358 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22360         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22361         (__determine_cpumask_size): Replace extend_alloca with a
22362         variable-length array.  Do not treat res == 0 as an error.
22364 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22366         [BZ #18100]
22367         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22368         and integer overflow.
22369         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22370         (main): Add integer overflow tests.
22371         * manual/pattern.texi (Calling Wordexp): Document additional use
22372         for WRDE_SYNTAX.
22374 2015-03-23  Alan Modra  <amodra@gmail.com>
22376         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22377         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22378         and false branch of conditional.
22379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22380         Likewise.
22382 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22384         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22385         libc-modules.h
22386         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22387         unused declaration of _hurd_intr_rpc_msg_in_trap.
22388         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22389         defined instead of whether it is non-zero.
22390         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22391         input constraint instead of both input and output constraint.  Use ecx
22392         clobber instead of %ecx.
22393         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22394         mutex_unlock): Use a statement expression instead of an expression list.
22395         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22396         type to vm_size_t instead of vm_address_t.
22397         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22398         defined instead of whether it is non-zero.
22399         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22400         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22401         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22402         comparisons with mapaddr.
22403         * nscd/nscd-client.h: Include <time.h>.
22404         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22405         9th parameter to __vm_region instead of int.
22406         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22407         * scripts/check-local-headers.sh (exclude): Add device/,
22408         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22409         cthreads.h.
22411 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22413         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22414         to account for alignment padding.
22415         * sysdeps/arm/memmove.S: Likewise.
22417 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22419         * sysdeps/unix/sysv/linux/generic/README: New file.
22421 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22423         [BZ #18138]
22424         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22425         (futex_abstimed_wait)
22426         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22427         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22428         of lll_futex_timed_wait.
22430 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22432         [BZ #17542]
22433         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22435 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22437         [BZ #17090]
22438         [BZ #17620]
22439         [BZ #17621]
22440         [BZ #17628]
22441         * NEWS: Update.
22442         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22443         entries with Static TLS too.  Skip entries past the end of the
22444         allocated DTV, from Alan Modra.
22445         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22446         Static TLS DTV entry set up from...
22447         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22448         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22449         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22450         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22451         for Static TLS.
22452         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22453         that the slot we find is associated with the given map before
22454         using its generation count.
22455         * nptl_db/db_info.c: Include ldsodefs.h.
22456         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22457         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22458         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22459         (link_map::l_tls_offset): New struct field.
22460         (dtv_t::counter): Likewise.
22461         (rtld_global): New struct.
22462         (_rtld_global): New rtld variable.
22463         (dl_tls_dtv_slotinfo_list): New rtld global field.
22464         (dtv_slotinfo_list): New struct.
22465         (dtv_slotinfo): Likewise.
22466         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22467         (td_lookup): Rename to...
22468         (td_mod_lookup): ... this.  Use new mod parameter instead of
22469         LIBPTHREAD_SO.
22470         * nptl_db/td_thr_tlsbase.c: Include link.h.
22471         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22472         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22473         addresses even if the DTV is out of date or missing them.
22474         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22475         index zero-length arrays.
22476         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22477         (td_lookup): Make it a macro implemented in terms of...
22478         (td_mod_lookup): ... this declaration.
22479         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22480         (DB_MAIN_VARIABLE): Likewise.
22482 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22484         [BZ #18134]
22485         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22487 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22489         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22491 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22493         [BZ #18128]
22494         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22495         (atomic_add, atomic_increment_and_test)
22496         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22498 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22500         * stdlib/setenv.c (__add_to_environ):
22501         Dump core quickly if setenv (..., NULL, ...) is called.
22503 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22505         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22506         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22507         all the necessary asm magic in one place.
22508         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22509         using those.
22511 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22513         [BZ #14906]
22514         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22515         traced file mtime. Use consistent log message.
22516         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22517         (register_traced_file): Call install_watches. Always set mtime.
22518         (invalidate_cache): Iterate over all trace files. Call install_watches.
22519         (inotify_check_files): Don't inline. Handle watching parent
22520         directories and configuration file movement in and out.
22521         (handle_inotify_events): New function.
22522         (main_loop_poll): Call handle_inotify_events.
22523         (main_loop_epoll): Likewise.
22524         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22525         (struct traced_file): Use array of inotify fds. Add parent directory,
22526         and basename.
22527         (struct database_dyn): Remove unused file_mtime.
22528         (init_traced_file): New inline function.
22529         (define_traced_file): New macro.
22530         * nss/nss_db/db-init.c: Use define_traced_file.
22531         (_nss_db_init): Use init_traced_file.
22532         * nss/nss_files/files-init.c: Use define_traced_file.
22533         (_nss_files_init): Use init_traced_file.
22535 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22537         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22538         [_LIBC]: Do not include <stdlib.h>.
22539         [!_LIBC] (abort): Remove declaration.
22540         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22541         _FP_STATIC_ASSERT instead of conditionally calling abort.
22542         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22543         (_FP_EXTEND_CNAN): Likewise.
22544         (FP_TRUNC): Likewise.
22545         (__FP_CLZ): Likewise.
22546         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22548 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22550         * manual/string.texi (XPG basename): Fix prototype.
22552 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22554         [BZ #18080]
22555         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22556         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22557         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22558         (__setcontext): Likewise.
22559         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22560         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22561         Call rt_sigprocmask syscall one time to set new signal mask
22562         and retrieve the current signal mask instead of two calls.
22563         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22564         (__swapcontext): Likewise.
22565         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22566         * stdlib/tst-setcontext2.c: New file.
22568 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22570         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22572 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22574         [BZ #18093]
22575         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22576         the wrong size.
22578 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22580         [BZ #18043]
22581         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22583 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22585         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22586         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22587         Remove define.
22588         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22589         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22590         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22591         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22592         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22593         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22594         define.
22595         * nptl_db/td_symbol_list.c (td_lookup): Remove
22596         HAVE_ASM_GLOBAL_DOT_NAME code.
22597         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22598         HAVE_ASM_GLOBAL_DOT_NAME check.
22599         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22600         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22601         (DOT_LABEL): Remove define.
22602         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22603         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22604         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22605         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22606         (__TLS_GET_ADDR): Likewise.
22607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22608         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22610 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22612         [BZ #18111]
22613         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22614         (_FPU_SETCW): Initialize cw from fpsr before storing.
22615         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22616         (fesetexceptflag): Rewrite using fpu_control.h.
22617         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22619 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22621         [BZ #18110]
22622         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22623         asms.
22624         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22626 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22628         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22629         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22630         abort.
22631         (_FP_FMA): Likewise.
22632         (_FP_DIV): Likewise.
22634 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22636         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22637         with 0 in that case.
22638         * Makefile (summarize-tests): New canned sequence, factored out of
22639         commands for targets tests and xtests.  Display summary lines that
22640         don't start with PASS: or XFAIL: rather than ones that do start with
22641         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22642         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22643         do start with ERROR: or FAIL:.
22644         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22645         (except for [$(build-shared) = yes]).
22646         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22647         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22648         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22649         * nptl/Makefile: Revert 2015-03-04 changes.
22650         [$(CXX) empty] (tests-unsupported): New variable.
22651         * debug/Makefile: Likewise.
22653         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22654         gnulib file.  Replace __attribute with __attribute__ throughout.
22656 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22658         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22660 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22662         [BZ #18104]
22663         * math/auto-libm-test-in: Add another test of pow.
22664         * math/auto-libm-test-out: Regenerated.
22666 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22668         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22669         $(config-cflags-nofma).
22671 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22673         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22674         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22675         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22676         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22677         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22678         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22679         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22680         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22681         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22682         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22683         Add comment on closing #endif.
22685 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22687         * posix/wordexp.c (CHAR_IN_SET): New macro.
22688         (parse_param): Use it.
22690 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22692         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22694 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22696         [BZ #18043]
22697         * posix/wordexp.c (parse_param): Fix buffer overflow.
22698         * posix/wordexp-test.c (test_case): Add test case.
22700 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22702         [BZ #18042]
22703         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22704         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22706 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22708         [BZ #18043]
22709         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22710         (do_bz18043): Delete.
22711         (at_page_end): New.
22712         (testit): Refactor to have words at the edge of unreadable page.
22714 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22716         [BZ #16734]
22717         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22718         Cleanup read-only streams as well.
22719         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22721 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22723         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22724         <bits/libc-lockP.h>
22726 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22728         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22729         on [__KERNEL__].
22730         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22731         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22732         * soft-fp/op-common.h (_FP_DECL): Likewise.
22734 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22736         * elf/ifuncdep2.c (global): Replace
22737         __attribute__((visibility("protected"))) with
22738         asm (".protected global").
22739         * elf/ifuncmod1.c (global): Likewise.
22740         * elf/ifuncmod5.c (global): Likewise.
22742 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22744         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22745         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22747 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22749         * manual/install.texi (Configuring and compiling):
22750         Document test-wrapper-env-only.
22751         * INSTALL: Regenerated.
22753 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22755         [BZ #18043]
22756         * posix/wordexp.c (parse_param): Fix buffer overflow.
22757         * posix/wordexp-test.c (do_bz18043): Add test case.
22759 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22761         * time/tst-strptime2.c (do_test): Ensure failing tests are
22762         reported correctly.
22763         * time/tst-strptime3.c (do_test): Likewise.
22765 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22767         Fix aio_error thread-safety.
22768         * sysdeps/pthread/aio_error.c: New file
22769         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22770         synchronization.
22772 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22774         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22775         (group_number, vfprintf): Use it.
22776         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22777         (JUMP, REF): Use it.
22778         (WORK_BUFFER_SIZE): New enum constant.
22779         (process_arg, vfprintf): Use it.
22781 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22783         * manual/errno.texi (Error Messages): Complete example function
22784         by adding missing #define.
22785         (program_invocation_name): Add statement indicating GNU
22786         extension and reference which header file declares the variable.
22787         (program_invocation_short_name): Likewise.
22789 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22791         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22792         compatibility note.
22794 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22796         * Makeconfig (test-wrapper-env-only): New variable.
22797         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22798         then use that with $(test-wrapper-env-only) rather than using
22799         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22801 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22803         [BZ #18082]
22804         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22805         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22806         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22807         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22808         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22809         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22810         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22811         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22812         Likewise.
22813         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22814         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22815         Likewise.
22816         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22817         Likewise.
22818         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22819         Likewise.
22820         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22821         Likewise.
22822         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22823         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22824         Likewise.
22825         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22826         Likewise.
22827         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22828         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22830 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22832         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22833         (ETH_ALEN): New macro.
22834         (struct ether_addr): Use it for length of ether_addr_octet.
22836         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22837         (setdb): Don't call __nss_configure_lookup for "rpc".
22838         (do_test): Don't call test_rpc.
22839         (output_rpcent, test_rpc): Functions moved ...
22840         * sunrpc/test-rpcent.c: ... to this new file.
22841         * sunrpc/Makefile (tests): Add it.
22843         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22844         __xpg_sigpause.
22845         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22846         * nptl/tst-signal6.c: Likewise.
22847         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22848         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22850         * configure.ac (libc_cv_cxx_link_ok): New check.
22851         Reset CXX to empty if it fails to link.
22852         * configure: Regenerated.
22853         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22854         bug-atexit3-lib only if $(CXX) is nonempty.
22855         * nptl/Makefile (tests): Likewise for tst-cancel24.
22856         (tests, tests-static): Likewise for tst-cancel24-static.
22857         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22858         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22859         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22860         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22862 2015-03-04  Andreas Schwab  <schwab@suse.de>
22864         [BZ #17631]
22865         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22866         for non-GCC compilers.
22867         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22868         Likewise.
22870 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22872         [BZ #17776]
22873         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22874         integer before bitwise and assembly operations.
22875         (feclearexcept): Likewise.
22876         * math/test-fenvinline.c: New file.
22877         * math/Makefile: Add test-fenvinline test.
22879 2015-03-03  Alan Modra  <amodra@gmail.com>
22881         [BZ #16512]
22882         * scripts/localplt.awk: Strip off symbol version.
22883         * NEWS: Mention bug fix.
22885 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22887         * sysdeps/pthread/timer_routines.c
22888         (timer_free_list, thread_free_list, thread_active_list): Make static.
22890 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22892         [BZ #17779]
22893         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22894         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22895         Undefine.
22896         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22897         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22898         Likewise.
22899         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22900         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22901         Likewise.
22903 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22905         [BZ #18036]
22906         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22907         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22909 2015-03-02  Andreas Schwab  <schwab@suse.de>
22911         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22912         variable name.
22914 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22916         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22917         Return error status.
22919 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22921         [BZ #15969]
22922         * locale/findlocale.c (_nl_find_locale): Introduce const
22923         version of loc_name and drop unsafe type casts.
22925 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22927         * dlfcn/tststatic2.c (main): Converted to ...
22928         (do_test): ... this.
22929         (TEST_FUNCTION): New macro.
22930         Include test-skeleton.c.
22932 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22934         [BZ #17711]
22935         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22936         (tests-pie): Add vismain.
22937         (CFLAGS-vismain.c): New.
22938         * elf/vismain.c: Add comments for PIE requirement.
22940 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22942         [BZ #18046]
22943         [BZ #18047]
22944         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22945         0x1p-56L as threshold for just returning the argument.
22946         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22947         0x1p-32L as threshold for just returning the argument.
22948         * math/auto-libm-test-in: Add more tests of atanh.
22949         * math/auto-libm-test-out: Regenerated.
22950         * sysdeps/i386/fpu/libm-test-ulps: Update.
22951         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22953 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22955         * string/bcopy.c (bcopy): Call memmove for performance.
22957 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22959         * string/bzero.c (__bzero): Call memset for performance.
22961 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22963         [BZ #18068]
22964         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22965         to 00100000.
22967 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22969         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22971 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22973         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22974         (__kernel_standard): Use CSTR macro when setting exc.name.
22975         * sysdeps/ieee754/Makefile [$(subdir) = math]
22976         (CFLAGS-k_standard.c): Remove variable.
22978         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22979         setting p and q from "else if" to "else".
22980         (qzero): Likewise.
22981         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22982         (qone): Likewise.
22983         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22984         (qzerof): Likewise.
22985         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22986         (qonef): Likewise.
22987         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22988         (qzero): Likewise.
22989         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22990         (qone): Likewise.
22992         [BZ #18038]
22993         [BZ #18039]
22994         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22995         return pi/2 for arguments below 0x1p-113L.
22996         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22997         return pi/2 for arguments below 0x1p-106L.
22998         * math/auto-libm-test-in: Add more tests of acos.
22999         * math/auto-libm-test-out: Regenerated.
23001         [BZ #16351]
23002         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23003         (MO): New macro.
23004         (__ieee754_asin): Force underflow exception for results with small
23005         absolute value.
23006         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23007         (MO): New macro.
23008         (__ieee754_asinf): Force underflow exception for results with
23009         small absolute value.
23010         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23011         (__ieee754_asin): Force underflow exception for results with small
23012         absolute value.
23013         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23014         (__ieee754_asinf): Force underflow exception for results with
23015         small absolute value.
23016         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23017         (__ieee754_asinl): Force underflow exception for results with
23018         small absolute value.
23019         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23020         (__ieee754_asinl): Force underflow exception for results with
23021         small absolute value.
23022         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23023         (__ieee754_asinl): Force underflow exception for results with
23024         small absolute value.
23025         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23026         Include <math.h>.
23027         * math/auto-libm-test-in: Do not mark underflow exceptions as
23028         possibly missing for bug 16351.
23029         * math/auto-libm-test-out: Regenerated.
23031         [BZ #18030]
23032         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23033         of power of 2 down when low part has opposite sign.
23034         * math/libm-test.inc (logb_test_data): Add more tests.
23036 2015-02-26  Andreas Schwab  <schwab@suse.de>
23038         [BZ #18032]
23039         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23040         over collating symbol inside a bracket expression.  Minor cleanup.
23041         * posix/tst-fnmatch3.c (do_test): Add test case.
23043 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23045         [BZ #18029]
23046         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23047         Adjust exponent of power of 2 down when low part has opposite
23048         sign.
23049         * math/libm-test.inc (ilogb_test_data): Add more tests.
23051 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23053         [BZ #15969]
23054         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23055         the previous change.
23057         [BZ #15969]
23058         * locale/findlocale.c (_nl_find_locale): Retry archive search
23059         after alias expansion.
23061 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23063         * iconv/tst-iconv3.c (main): Converted to ...
23064         (do_test): ... this.
23065         (TEST_FUNCTION): New macro.
23066         Include test-skeleton.c.
23068         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23069         (convert): Make function static.
23070         (test_unalign): Likewise.  Add const to argument pointee types.
23071         (main): Replace with static function do_test.
23072         Print "Succeeded." only if RET is zero.
23073         (TEST_FUNCTION): New macro.
23074         Include test-skeleton.c.
23076         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23077         returns a null pointer.
23079 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23081         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23082         to __memcpy_ppc only for static builds.
23084 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23086         [BZ #18020]
23087         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23088         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23089         * math/auto-libm-test-in: Add more tests of asinh.
23090         * math/auto-libm-test-out: Regenerated.
23091         * sysdeps/i386/fpu/libm-test-ulps: Update.
23092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23094 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23096         [BZ #15850]
23097         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23098         and ip6_mtuinfo definitions here.
23099         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23100         in this define too.  Update comment.
23102 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23104         * elf/sprof.c (load_shobj): Tweak error message to match others.
23106 2015-02-24  Kevin Easton  <kevin@guarana.org>
23108         [BZ #16145] (partial fix)
23109         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23110         to reduce lock contention.
23112 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23114         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23115         (struct timex): Update time comment.
23116         (ADJ_SETOFFSET): Define.
23118 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23120         [BZ #18019]
23121         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23122         2**56 not 2**28 as threshold for log (2x) formula.
23123         * math/auto-libm-test-in: Add more tests of acosh.
23124         * math/auto-libm-test-out: Regenerated.
23125         * sysdeps/i386/fpu/libm-test-ulps: Update.
23126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23128 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23130         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23131         parenthesis around the buf assignment.
23132         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23134 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23136         [BZ #16783]
23137         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23138         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23139         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23140         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23141         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23142         * math/libm-test.inc (scalb_test_data): Add more tests.
23144 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23146         [BZ #17916]
23147         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23148         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23150 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23152         [BZ #17523]
23153         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23154         * io/bits/fcntl2.h (open): Use it.
23155         (openat): Likewise.
23156         * io/open.c (__libc_open): Likewise.
23157         * io/open64.c (__libc_open64): Likewise.
23158         * io/open64_2.c (__open64_2): Likewise.
23159         * io/open_2.c (__open_2): Likewise.
23160         * io/openat.c (__openat): Likewise.
23161         * io/openat64.c (__openat64): Likewise.
23162         * io/openat64_2.c (__openat64_2): Likewise.
23163         * io/openat_2.c (__openat_2): Likewise.
23164         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23165         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23166         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23167         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23168         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23169         (__open_nocancel): Likewise.
23170         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23171         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23172         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23174 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23176         [BZ #14841]
23177         * resolv/gethnamaddr.c (getanswer): Skip logging if
23178         RES_USE_DNSSEC is set.
23179         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23181 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23183         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23185 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23187         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23188         201304L, for Unicode 7.
23190 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23192         [BZ #17836]
23193         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23194         shared library.  Add gmon-start.os otherwise.
23195         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23196         $(objpfx)gmon-start.os if builing shared library.
23197         ($(objpfx)g$(static-start-installed-name)): Likewise.
23199 2015-02-23  Andreas Schwab  <schwab@suse.de>
23201         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23203 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23205         [BZ #17269]
23206         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23207         (enlarge_userbuf): Likewise.
23209 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23211         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23212         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23213         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23214         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23216 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23218         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23219         expression inside statement expression.
23221 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23223         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23224         <sysdeps/nptl/lowlevellock.h> and remove macros and
23225         functions that are now defined there.
23226         (SYS_futex): Remove.
23227         (lll_compare_and_swap): Remove.
23228         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23230 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23232         [BZ #17999]
23233         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23234         instead of scandirat.
23235         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23236         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23237         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23238         __scandirat.
23239         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23240         (__scandirat): Declare.  Use libc_hidden_proto.
23241         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23242         Remove variable.
23243         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23245 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23247         [BZ #15319]
23248         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23249         (MO): New macro.
23250         (__ieee754_atan2): For results with small absolute value, force
23251         underflow exception and remove excess range and precision from
23252         return value.
23253         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23254         (MO): New macro.
23255         (__ieee754_atan2f): For results with small absolute value, force
23256         underflow exception and remove excess range and precision from
23257         return value.
23258         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23259         (MO): New macro.
23260         (__atan): For results with small absolute value, force underflow
23261         exception and remove excess range and precision from return value.
23262         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23263         (MO): New macro.
23264         (__atanf): For results with small absolute value, force underflow
23265         exception and remove excess range and precision from return value.
23266         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23267         <math.h>.
23268         (__ieee754_atan2): Force underflow exception for results with
23269         small absolute value.
23270         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23271         <math_private.h>.
23272         (atan): Force underflow exception for results with small absolute
23273         value.
23274         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23275         (__atanf): Force underflow exception for results with small
23276         absolute value.
23277         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23278         <math.h>.
23279         (__atanl): Force underflow exception for results with small
23280         absolute value.
23281         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23282         (__atanl): Force underflow exception for results with small
23283         absolute value.
23284         * sysdeps/x86/fpu/bits/mathinline.h
23285         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23286         (__ieee754_atan2): Only define inline for long double.
23287         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23288         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23289         * math/auto-libm-test-in: Do not mark underflow exceptions as
23290         possibly missing for bug 15319.  Add more tests of atan2.
23291         * math/auto-libm-test-out: Regenerated.
23292         * math/libm-test.inc (casin_test_data): Do not mark underflow
23293         exceptions as possibly missing for bug 15319.
23294         (casinh_test_data): Likewise.
23295         * sysdeps/i386/fpu/libm-test-ulps: Update.
23297 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23299         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23300         * sysdeps/mips/bits/endian.h: Fix comments.
23302 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23304         [BZ #17996]
23305         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23306         (hdestroy_r): Likewise.
23307         (hsearch_r): Likewise.
23308         (__hcreate_r): Declare and use libc_hidden_proto.
23309         (__hdestroy_r): Likewise.
23310         (__hsearch_r): Likewise.
23311         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23312         (hcreate): Call __hcreate_r instead of hcreate_r.
23313         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23314         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23315         as weak alias of __hcreate_r.
23316         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23317         __hdestroy_r.
23318         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23319         __hsearch_r.
23320         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23321         Remove variable.
23322         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23323         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23324         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23325         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23327 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23329         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23330         arena_lock into a single arena_get.
23332 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23334         * dl-reloc.c: Inlucde libc-internal.h.
23335         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23336         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23337         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23338         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23339         (grow_heap): Likewise.
23340         * malloc/malloc.c: Include libc-internal.h.
23341         (do_check_malloc): Call powerof2.
23342         (sysmalloc): Use pagesize. Call ALIGN_UP.
23343         (systrim): Use pagesize.
23344         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23345         (__libc_valloc): Use pagesize.
23346         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23348 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23350         [BZ #17991]
23351         * include/sys/resource.h (__getrlimit64): Declare.  Use
23352         libc_hidden_proto.
23353         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23354         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23355         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23356         getrlimit64.
23357         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23358         __getrlimit64.
23359         [!getrlimit64] (getrlimit64): Define as weak alias of
23360         __getrlimit64.  Use libc_hidden_weak.
23361         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23362         using __getrlimit64 not __new_getrlimit64.
23363         (__GI_getrlimit64): Likewise.
23364         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23365         Likewise.
23366         (__GI_getrlimit64): Likewise.
23367         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23369         (getrlimit): Add __getrlimit64 alias.
23370         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23371         Likewise.
23372         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23373         Remove variable.
23374         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23375         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23377 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23379         * libio/fileops.c: Add missing sys/mman.h
23380         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23382 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23384         * manual/math.texi (Errors in Math Functions): Clarify goals
23385         regarding inexact and underflow exceptions.
23387 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23389         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23390         * sysdeps/mips/memset.S: Ditto.
23392 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23394         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23396 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23398         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23399         (__v1longjmp): Remove versioned symbol.
23400         (__v1siglongjmp): Remove alias and versioned symbol.
23401         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23402         (__v2siglongjmp): Likewise.
23404 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23406         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23408 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23410         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23412 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23414         [BZ #17987]
23415         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23416         zero result does not depend on the sign resulting from
23417         subtraction.
23418         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23419         Likewise.
23420         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23421         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23422         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23423         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23424         * math/libm-test.inc (remquo_test_data): Add more tests.
23426 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23428         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23429         Problem reported by J William Piggott.
23431 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23433         [BZ #17978]
23434         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23435         products 4 * y and 2 * y where those would overflow.
23436         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23437         Likewise.
23438         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23439         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23440         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23441         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23442         * math/libm-test.inc (remquo_test_data): Add more tests.
23444         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23446         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23447         [defined _COMPILING_NEWLIB].
23448         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23449         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23451         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23452         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23454 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23456         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23457         acquired.
23459 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23461         [BZ #17792]
23462         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23463         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23464         HOST_STACK_END_ADDR): Likewise.
23466 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23468         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23469         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23470         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23472 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23474         * sysdeps/generic/c++-types.data: New file.
23475         * sysdeps/generic/ld.abilist: New file.
23476         * sysdeps/generic/libBrokenLocale.abilist: New file.
23477         * sysdeps/generic/libanl.abilist: New file.
23478         * sysdeps/generic/libc.abilist: New file.
23479         * sysdeps/generic/libcrypt.abilist: New file.
23480         * sysdeps/generic/libdl.abilist: New file.
23481         * sysdeps/generic/libm.abilist: New file.
23482         * sysdeps/generic/libpthread.abilist: New file.
23483         * sysdeps/generic/libresolv.abilist: New file.
23484         * sysdeps/generic/librt.abilist: New file.
23486 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23488         [BZ #17569]
23489         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23490         Compute absolute value of x as modified by fmod, not original
23491         value of x.
23492         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23493         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23494         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23495         RUN_TEST_ffI_f1_mod8.
23496         (remquo_test_data): Add more tests.
23498 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23500         * sysdeps/init_array/pt-crti.S: New file.
23502 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23504         [BZ #17967]
23505         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23506         __builtin_fmaf instead of relying on contraction of a * b + c.
23508 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23510         [BZ #17969]
23511         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23512         node.
23514 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23516         [BZ #17964]
23517         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23518         __builtin_fma instead of relying on contraction of a * b + c.
23520 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23522         * Makeconfig (ASFLAGS): Add -Werror=undef.
23523         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23524         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23525         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23527         * Makeconfig (after-link): New variable.
23528         (+link-pie, +link-pie-tests): Use it.
23529         (+link-static, +link-static-tests): Likewise.
23530         (+link, +link-tests): Likewise.
23531         * Makerules (build-module, build-module-asneeded): Likewise.
23532         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23533         Likewise.
23534         * elf/Makefile ($(objpfx)ld.so): Likewise.
23536 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23538         [BZ #17965]
23539         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23540         both struct timeval and struct timespec.
23542 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23544         [BZ #16560]
23545         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23546         and redefine.
23547         (__ieee754_exp2l): Do not multiply small fractional parts by
23548         M_LN2l.
23549         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23550         small argument.
23551         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23552         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23553         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23554         * math/auto-libm-test-in: Add more tests of exp2.
23555         * math/auto-libm-test-out: Regenerated.
23557 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23559         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23560         unaligned path.
23562 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23564         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23565         little endian.
23567 2015-02-12  Andreas Schwab  <schwab@suse.de>
23569         [BZ #15790]
23570         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23571         Filter out elision flags from value returned in kind.
23572         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23573         * nptl/tst-pthread-mutexattr.c: New file.
23575 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23577         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23578         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23579         into gnu-gnu, and update comment to refer to abi-tags.
23581 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23583         [BZ #15467]
23584         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23585         (__sincos): Set errno to EDOM for infinite argument.
23586         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23587         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23588         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23589         (__sincosl): Set errno to EDOM for infinite argument.
23590         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23591         (__sincosl): Set errno to EDOM for infinite argument.
23592         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23593         (__sincosl): Set errno to EDOM for infinite argument.
23594         * math/libm-test.inc (sincos_test_data): Test errno setting.
23596 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23598         * string/strxfrm_l.c: Remove #define STRCMP.
23599         * string/strcoll_l.c: Remove #define STRLEN.
23600         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23601         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23603 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23605         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23606         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23607         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23608         * sysdeps/mips/mips64/Makefile: ... here.
23609         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23610         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23611         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23612         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23613         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23614         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23615         * sysdeps/mips/mips64/n64/Implies: Likewise.
23617 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23619         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23620         <sys/time.h>, <string.h>, and <errno.h>.
23621         (dest_offset, dest_address, value, zero): Remove unused variables.
23622         (ldouble): Remove typedef.
23623         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23624         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23625         1).  Fix code style.
23626         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23627         (check): Function removed.
23628         (CHECK): New macro.
23629         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23630         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23631         Don't call set_sigaction_FP and remove_sigaction_FP here.
23632         (ldouble_test): Just use 'long double' as macro argument, no need for
23633         the 'ldouble' typedef.
23634         (do_test): Set up SIGFPE handler at start, using plain signal rather
23635         than sigaction.  Fix code style.
23637 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23639         [BZ #17949]
23640         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23641         jump label.
23643 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23645         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23646         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23648         * sysdeps/powerpc/configure.ac: Remove file.
23649         * sysdeps/powerpc/configure: Likewise.
23651         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23652         [sysdep_routines]: Remove wordcopy-power6 object.
23653         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23654         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23655         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23656         (__memmove_ppc32): Likewise.
23657         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23658         file.
23659         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23660         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23661         Remove preprocessor.
23663         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23664         [sysdep_routines]: Remove wide chars objects.
23665         [wcsmbs]: New rule for wide char objects.
23667         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23668         Remove wordcopy-power6 obejct.
23669         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23670         Use local call for wordcopy and memcpy symbols.
23671         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23672         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23673         implementation for loader.
23674         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23676         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23677         Remove wordcopy-power7 object.
23678         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23679         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23680         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23681         (_wordcopy_fwd_dest_aligned): Likewise.
23682         (_wordcopy_bwd_aligned): Likewise.
23683         (_wordcopy_bwd_dest_aligned): Likewise.
23685         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23686         Rewrite to call __memmove_ppc instead of include default
23687         implementation.
23689         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23690         Remove wide chars objects.
23691         [wcsmbs]: New rule for wide char objects.
23693 2015-02-09  Andreas Schwab  <schwab@suse.de>
23695         [BZ #17912]
23696         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23697         in terms of __O_DIRECTORY.
23699 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23701         * time/getdate.c: Include <stdbool.h>.
23702         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23703         call PTR_MANGLE.
23704         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23705         PTR_DEMANGLE.
23707 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23709         Add ersatz _Static_assert on older C hosts
23710         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23711         pre-C11 C platform that is not known to support _Static_assert.
23713 2015-02-07  Richard Braun  <rbraun@sceen.net>
23715         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23716         sigstate.
23717         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23719 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23721         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23722         priority against unexistent AIO_PRIO_DELTA_MAX.
23723         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23724         instead of int.
23725         * misc/fchflags.c (fchflags): Likewise.
23726         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23727         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23728         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23729         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23730         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23731         Declare macros.
23732         [__USE_MISC] (chflags, fchflags): Declare functions.
23733         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23734         EINVAL when nfds is greater than FD_SETSIZE.
23735         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23736         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23737         45.
23738         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23739         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23740         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23741         MACH_RCV_TIMED_OUT.
23742         * hurd/hurd/signal.h (_hurd_self_sigstate,
23743         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23744         Explicit casts from void *.
23745         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23746         * abi-tags: Rename gnu-gnu os into gnu.
23748         [BZ #4719]
23749         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23750         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23751         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23752         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23753         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23754         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23756         [BZ #17944]
23757         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23758         duplicates ADDR->sun_path with sockaddr LEN limitation.
23759         * sysdeps/mach/hurd/connect.c: Include <string.h>
23760         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23761         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23762         * sysdeps/mach/hurd/sendto.c: Likewise.
23763         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23764         implementing it by hand.
23766 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23768         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23769         Use sfi_breg on ldr.
23770         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23771         Likewise.
23773         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23774         it's defined.
23775         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23776         Test SIGSETXID only if it's defined.
23778         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23780         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23781         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23783         * nptl/tst-align2.c: Moved ...
23784         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23785         * nptl/Makefile (tests): Remove tst-align2.
23786         * sysdeps/unix/sysv/linux/Makefile
23787         [$(subdir) = nptl] (tests): Add tst-align-clone.
23788         * nptl/tst-getpid1.c: Moved ...
23789         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23790         * nptl/tst-getpid2.c: Moved ...
23791         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23792         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23793         * sysdeps/unix/sysv/linux/Makefile
23794         [$(subdir) = nptl] (tests): ... here.
23795         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23796         * sysdeps/unix/sysv/linux/Makefile
23797         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23799         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23800         Drop trailing \n from perror argument.  Use return rather than exit.
23802         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23803         on [SA_SIGINFO].
23804         * nptl/tst-cancel21.c (do_test): Likewise.
23805         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23806         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23807         [!SA_SIGINFO]: Make it a stub test.
23809         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23810         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23812         * posix/tst-getlogin.c: Move to ...
23813         * login/tst-getlogin.c: ... here.
23814         * posix/Makefile (tests): Move tst-getlogin to ...
23815         * login/Makefile (tests): ... here.
23817         * libio/tst-atime.c (do_test): Move local variables SV and E
23818         inside [ST_NOATIME] conditional.
23820         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23822         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23824         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23825         (wait_code): New function replaces macro.
23826         Call nanosleep rather than syscall.
23828         * nptl/pt-system.c: Rewritten.  Put everything under
23829         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23830         Use IFUNC to redirect when possible.
23832         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23833         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23834         Use IFUNC to redirect when possible.
23836         * nptl/pt-fork.c: Rewritten.  Put everything under
23837         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23838         Use IFUNC to redirect when possible.
23839         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23841         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23842         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23843         unconditionally nowadays.  This included the only reference to
23844         __vdso_clock_gettime that appears outside libc proper.
23845         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23846         Remove version set (containing only __vdso_clock_gettime).
23847         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23848         Add attribute_hidden.
23849         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23850         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23851         libc_hidden_data_def.
23852         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23853         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23855         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23856         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23857         setrpcent, and getrpcport to ...
23858         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23859         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23860         getrpcbynumber_r, and getrpcent_r to ...
23861         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23862         * inet/getrpcbyname.c: Moved ...
23863         * sunrpc/getrpcbyname.c: ... here.
23864         * inet/getrpcbyname_r.c: Moved ...
23865         * sunrpc/getrpcbyname_r.c: ... here.
23866         * inet/getrpcbynumber.c: Moved ...
23867         * sunrpc/getrpcbynumber.c: ... here.
23868         * inet/getrpcbynumber_r.c: Moved ...
23869         * sunrpc/getrpcbynumber_r.c: ... here.
23870         * inet/getrpcent.c: Moved ...
23871         * sunrpc/getrpcent.c: ... here.
23872         * inet/getrpcent_r.c: Moved ...
23873         * sunrpc/getrpcent_r.c: ... here.
23874         * inet/Makefile (routines): Move those to ...
23875         * sunrpc/Makefile (routines): ... here.
23876         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23877         the $(subdirs) list.
23878         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23879         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23880         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23881         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23883         * elf/Makefile (routines): Include $(all-dl-routines), not just
23884         $(dl-routines).
23885         (rtld-routines): Likewise.  Use = rather than :=.
23886         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23887         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23888         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23889         * sysdeps/arm/Makefile: Likewise.
23890         * sysdeps/i386/Makefile: Likewise.
23891         * sysdeps/x86_64/Makefile: Likewise.
23892         * sysdeps/hppa/Makefile [$(subdir) = elf]
23893         (sysdep_routines, sysdep-rtld-routines): Don't add
23894         $(sysdep-dl-routines) to these.
23895         * sysdeps/ia64/Makefile: Likewise.
23896         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23897         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23898         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23899         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23900         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23901         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23902         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23903         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23904         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23905         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23906         these; sysdep-dl-routines alone is enough.
23908 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23910         [BZ #17932]
23911         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23912         where multiplication results in zero and third argument is finite
23913         and nonzero.
23914         * math/auto-libm-test-in: Add more tests of fma.
23915         * math/auto-libm-test-out: Regenerated.
23917         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23918         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23919         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23920         (_FP_CMP_EQ): Likewise.
23921         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23923         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23924         extra argument CHECK_NAN.  Redefine as wrapper around
23925         _FP_EXTEND_CNAN.
23927 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23929         * version.h (RELEASE): Set to "stable".
23930         (VERSION): Set to "2.21"
23931         * include/features.h (__GLIBC_MINOR__): Set to 21.
23933         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23935 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23936             Paul Eggert  <eggert@cs.ucla.edu>
23938         [BZ #16618]
23939         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23940         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23941         size in bytes. Store needed elements in wpmax. Use needed size
23942         in bytes for extend_alloca.
23944 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23946         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23947         binutls 2.25, and texinfo 5.2.
23948         * INSTALL: Regenerate.
23949         * sysdeps/nios2/configure: Regenerate.
23950         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23951         * manual/contrib.texi: Update.
23952         * po/be.po: Update.
23953         * po/bg.po: Update.
23954         * po/ca.po: Update.
23955         * po/cs.po: Update.
23956         * po/da.po: Update.
23957         * po/de.po: Update.
23958         * po/el.po: Update.
23959         * po/eo.po: Update.
23960         * po/es.po: Update.
23961         * po/fi.po: Update.
23962         * po/fr.po: Update.
23963         * po/gl.po: Update.
23964         * po/hr.po: Update.
23965         * po/hu.po: Update.
23966         * po/ia.po: Update.
23967         * po/id.po: Update.
23968         * po/it.po: Update.
23969         * po/ja.po: Update.
23970         * po/ko.po: Update.
23971         * po/lt.po: Update.
23972         * po/nb.po: Update.
23973         * po/nl.po: Update.
23974         * po/pl.po: Update.
23975         * po/pt_BR.po: Update.
23976         * po/ru.po: Update.
23977         * po/rw.po: Update.
23978         * po/sk.po: Update.
23979         * po/sl.po: Update.
23980         * po/sv.po: Update.
23981         * po/tr.po: Update.
23982         * po/uk.po: Update.
23983         * po/vi.po: Update.
23984         * po/zh_CN.po: Update.
23985         * po/zh_TW.po: Update.
23987         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23988         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23989         * sysdeps/hppa/dl-irel.h: Remove #warning.
23990         * sysdeps/hppa/entry.h: Provide prototype for
23991         __canonicalize_funcptr_for_compare and cast argument.
23992         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23993         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23994         * sysdeps/hppa/sotruss-lib.c: New file.
23995         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23996         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23997         (atomic_compare_and_exchange_bool_acq): Likewise.
23998         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23999         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24001         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24002         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24003         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24005 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24007         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24008         called function in non-PIC case.
24010 2015-01-31  David S. Miller  <davem@davemloft.net>
24012         * sysdeps/sparc/sparc32/bits/atomic.h
24013         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24014         unlock not after it.
24015         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24016         volatile register usage warnings from the compiler.
24018         * sysdeps/sparc/nptl/sem_init.c: Delete.
24019         * sysdeps/sparc/nptl/sem_post.c: Delete.
24020         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24021         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24022         * sysdeps/sparc/sparc32/sem_init.c: New file.
24023         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24024         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24025         padding explicitly initialized.
24026         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24027         padding for in-semaphore spinlock.
24028         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24029         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24030         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24031         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24032         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24033         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24034         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24035         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24036         version.
24037         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24038         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24040 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24042         [BZ #17801]
24043         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24044         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24045         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24046         New.
24047         (index_AVX_Fast_Unaligned_Load): Likewise.
24048         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24049         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24050         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24051         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24052         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24053         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24054         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24055         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24056         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24058 2015-01-29  Andreas Schwab  <schwab@suse.de>
24060         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24062 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24064         [BZ #17892]
24065         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24067 2015-01-28  Martin Sebor  <msebor@redhat.com>
24069         * math/README.libm-test: Clarify. Add "How to read the test output."
24071 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24073         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24074         Define to 0.
24076 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24078         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24079         (__HAVE_64B_ATOMICS): Define to 0.
24081 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24083         [BZ #17885]
24084         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24085         value to set as new flag.
24087         [BZ #16576]
24088         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24089         and use _ARCH_PPCSQ instead.
24090         (__ieee754_sqrt): Likewise.
24091         (__ieee754_sqrtf): Likewise.
24092         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24093         _ARCH_PPCSQ is defined.
24094         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24095         fsqrt instruction.
24096         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24097         _ARCH_PPCSQ is defined.
24098         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24099         fsqrts instruction.
24100         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24102 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24104         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24105         bug (GCC BZ #64739).
24107 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24109         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24110         Mark _retval as used.
24111         (lll_futex_wake_unlock): Likewise.
24112         (lll_futex_timed_wait_requeue_pi): Likewise.
24114         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24115         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24116         register variables.
24118         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24119         libm_hidden_def.
24121         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24122         (__bswap_64): Mark as __always_inline.
24124 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24126         [BZ #15378]
24127         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24128         when none of the search directories exist.
24130 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24132         [BZ #17869]
24133         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24134         power8 in .machine directive.
24136         [BZ #17868]
24137         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24138         set dependency from opd value.
24140 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24142         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24143         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24144         architecture.
24146 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24148         [BZ #17870]
24149         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24150         with uint64_t.
24151         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24152         (uint64_t) 1.
24153         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24154         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24155         Replace 1UL with (uint64_t) 1.
24156         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24157         int with uint64_t.
24159 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24161         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24162         (if_freenameindex): Likewise.
24164         * resource/getrlimit64.c: Add missing libc_hidden_def.
24166 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24168         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24169         __label__.
24170         (_FP_FMA): Likewise.
24171         (_FP_TO_INT_ROUND): Likewise.
24172         (_FP_FROM_INT): Likewise.
24174 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24176         [BZ #16418]
24177         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24178         Make code racy and cancel safe.
24180 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24182         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24183         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24184         attribution.
24186         * pwd/tst-getpw.c: Rewrite.
24188         [BZ #17702]
24189         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24190         (modules-names): Add moddummy1 and moddummy2.
24191         ($(objpfx)tst-rec-dlopen): Define.
24192         * dlfcn/moddummy1.c: New file.
24193         * dlfcn/moddummy2.c: New file.
24194         * dlfcn/tst-rec-dlopen.c: New file.
24195         * elf/dl-cache.c (_dl_load_cache_lookup):
24196         Return char*. Copy result with alloca/strcpy/strdup.
24197         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24198         returns char*. Free cached. If not saving realname
24199         free cached.
24200         * elf/dl-open.c (dl_open_worker): Do not assert that
24201         _r_debug->r_state is RT_CONSISTENT.
24202         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24203         returns char*.
24205 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24206             Carlos O'Donell  <carlos@redhat.com>
24208         [BZ #12674]
24209         * nptl/sem_waitcommon.c: New file.
24210         * nptl/sem_wait.c: Include sem_waitcommon.c.
24211         (__sem_wait_cleanup, do_futex_wait): Remove.
24212         (__new_sem_wait): Adapt.
24213         (__new_sem_trywait): New function.
24214         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24215         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24216         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24217         (sem_timedwait): Adapt.
24218         * nptl/sem_post.c (__new_sem_post): Adapt.
24219         (futex_wake): New function.
24220         (__old_sem_post): Add release MO fence.
24221         * nptl/sem_open.c (sem_open): Adapt.
24222         * nptl/sem_init.c (__new_sem_init): Adapt.
24223         (futex_private_if_supported): New function.
24224         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24225         (__old_sem_getvalue): Add using previous code.
24226         * sysdeps/nptl/internaltypes.h: Adapt.
24227         * nptl/tst-sem13.c (do_test): Adapt.
24228         * nptl/tst-sem11.c (main): Adapt.
24229         * nptl/sem_trywait.c: Remove.
24230         * nptl/DESIGN-sem.txt: Remove.
24231         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24232         (gen-as-const-headers): Remove structsem.sym.
24233         * nptl/structsem.sym: Remove.
24234         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24235         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24236         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24237         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24238         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24239         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24240         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24241         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24242         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24243         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24244         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24245         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24246         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24247         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24248         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24249         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24250         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24251         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24252         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24253         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24254         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24255         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24257 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24259         * INSTALL: Regenerated.
24261         * po/libc.pot: Regenerated.
24263 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24264             Sandra Loosemore  <sandra@codesourcery.com>
24265             Andrew Jenner  <andrew@codesourcery.com>
24266             Joseph Myers  <joseph@codesourcery.com>
24267             Nathan Sidwell  <nathan@codesourcery.com>
24269         * NEWS: Mention new Nios II port.
24270         * sysdeps/nios2/Implies: New file.
24271         * sysdeps/nios2/Makefile: New file.
24272         * sysdeps/nios2/Subdirs: New file.
24273         * sysdeps/nios2/Versions: New file.
24274         * sysdeps/nios2/__longjmp.S: New file.
24275         * sysdeps/nios2/abort-instr.h: New file.
24276         * sysdeps/nios2/backtrace.c: New file.
24277         * sysdeps/nios2/bits/endian.h: New file.
24278         * sysdeps/nios2/bits/fenv.h: New file.
24279         * sysdeps/nios2/bits/link.h: New file.
24280         * sysdeps/nios2/bits/setjmp.h: New file.
24281         * sysdeps/nios2/bsd-_setjmp.S: New file.
24282         * sysdeps/nios2/bsd-setjmp.S: New file.
24283         * sysdeps/nios2/configure: New generated file.
24284         * sysdeps/nios2/configure.ac: New file.
24285         * sysdeps/nios2/crti.S: New file.
24286         * sysdeps/nios2/crtn.S: New file.
24287         * sysdeps/nios2/dl-init.c: New file.
24288         * sysdeps/nios2/dl-machine.h: New file.
24289         * sysdeps/nios2/dl-sysdep.h: New file.
24290         * sysdeps/nios2/dl-tls.h: New file.
24291         * sysdeps/nios2/dl-trampoline.S: New file.
24292         * sysdeps/nios2/gccframe.h: New file.
24293         * sysdeps/nios2/gmp-mparam.h: New file.
24294         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24295         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24296         * sysdeps/nios2/ldsodefs.h: New file.
24297         * sysdeps/nios2/libc-tls.c: New file.
24298         * sysdeps/nios2/libm-test-ulps: New file.
24299         * sysdeps/nios2/machine-gmon.h: New file.
24300         * sysdeps/nios2/math-tests.h: New file.
24301         * sysdeps/nios2/math_private.h: New file.
24302         * sysdeps/nios2/memusage.h: New file.
24303         * sysdeps/nios2/nptl/Makefile: New file.
24304         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24305         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24306         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24307         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24308         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24309         * sysdeps/nios2/nptl/tls.h: New file.
24310         * sysdeps/nios2/preconfigure: New file.
24311         * sysdeps/nios2/s_fma.c: New file.
24312         * sysdeps/nios2/s_fmaf.c: New file.
24313         * sysdeps/nios2/setjmp.S: New file.
24314         * sysdeps/nios2/sfp-machine.h: New file.
24315         * sysdeps/nios2/sotruss-lib.c: New file.
24316         * sysdeps/nios2/stackguard-macros.h: New file.
24317         * sysdeps/nios2/stackinfo.h: New file.
24318         * sysdeps/nios2/start.S: New file.
24319         * sysdeps/nios2/sysdep.h: New file.
24320         * sysdeps/nios2/tls-macros.h: New file.
24321         * sysdeps/nios2/tst-audit.h: New file.
24322         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24323         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24324         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24325         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24326         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24327         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24328         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24329         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24330         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24331         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24332         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24333         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24334         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24335         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24336         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24337         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24338         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24339         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24340         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24341         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24342         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24343         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24344         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24345         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24346         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24347         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24348         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24349         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24350         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24351         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24352         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24353         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24354         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24355         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24356         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24357         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24358         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24359         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24360         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24361         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24362         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24363         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24364         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24365         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24367 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24369         [BZ #17844]
24370         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24371         (getutent): Use weak_alias in non SHARED case
24372         and default_symbol_version in SHARED case.
24373         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24374         (getutent_r, pututline): Likewise.
24375         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24376         (getutid): Likewise.
24377         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24378         (getutid_r): Likewise.
24379         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24380         (getutline): Likewise.
24381         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24382         (getutline_r): Likewise.
24383         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24384         (updwtmp): Likewise.
24386 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24388         [BZ #17848]
24389         * sysdeps/s390/s390-32/memcmp.S
24390         (memcmp_g5): Rename to __memcmp_g5.
24391         * sysdeps/s390/s390-32/memcpy.S
24392         (memcpy_g5): Rename to __memcpy_g5.
24393         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24394         (memcpy_mvcle) Rename to __memcpy_mvcle.
24395         * sysdeps/s390/s390-32/memset.S
24396         (memset_g5): Rename to __memset_g5.
24397         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24398         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24399         and use prefixed functions.
24400         * sysdeps/s390/s390-32/multiarch/memcmp.S
24401         (memcmp_z196): Rename to __memcmp_z196.
24402         (memcmp_z10): Rename to __memcmp_z10.
24403         (memcmp): Set alias to __memcmp_g5.
24404         (bcmp): Set alias to __memcmp_g5.
24405         * sysdeps/s390/s390-32/multiarch/memcpy.S
24406         (memcpy_z196): Rename to __memcpy_z196.
24407         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24408         (memcpy_z10): Rename to __memcpy_z10.
24409         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24410         (memcpy): Set alias to __memcpy_g5.
24411         * sysdeps/s390/s390-32/multiarch/memset.S
24412         (memset_z196): Rename to __memset_z196.
24413         Jump to __memset_mvcle instead of memset_mvcle.
24414         (memset_z10): Rename to __memset_z10.
24415         Jump to __memset_mvcle instead of memset_mvcle.
24416         (memset_mvcle) Rename to __memset_mvcle.
24417         (memset): Set alias to __memset_g5.
24418         * sysdeps/s390/s390-64/memcmp.S
24419         (memcmp_z900): Rename to __memcmp_z900.
24420         * sysdeps/s390/s390-64/memcpy.S
24421         (memcpy_z900): Rename to __memcpy_z900.
24422         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24423         (memcpy_mvcle) Rename to __memcpy_mvcle.
24424         * sysdeps/s390/s390-64/memset.S
24425         (memset_z900): Rename to __memset_z900.
24426         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24427         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24428         and use prefixed functions.
24429         * sysdeps/s390/s390-64/multiarch/memcmp.S
24430         (memcmp_z196): Rename to __memcmp_z196.
24431         (memcmp_z10): Rename to __memcmp_z10.
24432         (memcmp): Set alias to __memcmp_z900.
24433         (bcmp): Set alias to __memcmp_z900.
24434         * sysdeps/s390/s390-64/multiarch/memcpy.S
24435         (memcpy_z196): Rename to __memcpy_z196.
24436         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24437         (memcpy_z10): Rename to __memcpy_z10.
24438         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24439         (memcpy): Set alias to __memcpy_z900.
24440         * sysdeps/s390/s390-64/multiarch/memset.S
24441         (memset_z196): Rename to __memset_z196.
24442         Jump to __memset_mvcle instead of memset_mvcle.
24443         (memset_z10): Rename to __memset_z10.
24444         Jump to __memset_mvcle instead of memset_mvcle.
24445         (memset_mvcle) Rename to __memset_mvcle.
24446         (memset): Set alias to __memset_z900.
24448 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24450         [BZ #17748]
24451         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24452         __fesetenv instead of fesetenv.
24454 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24456         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24457         macro.
24459 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24461         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24462         regression on LE.
24464         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24465         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24466         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24467         strncmp-power8 object.
24468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24469         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24470         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24471         * NEWS: Update.
24473 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24474             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24476         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24477         trailing byte check.
24479 2015-01-13  David S. Miller  <davem@davemloft.net>
24481         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24483 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24485         * login/logout.c (logout): Use memset rather than bzero.
24486         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24487         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24488         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24489         (_gethtbyaddr): Likewise.
24490         * locale/programs/simple-hash.c (bcopy): Macro removed.
24492 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24494         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24495         Add strcmp-power8 object.
24496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24497         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24498         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24499         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24500         __strcmp_power8 implementation.
24501         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24502         * NEWS: Update.
24504         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24505         Add strncpy-power8 and stpncpy-power8 objects.
24506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24507         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24508         implementations.
24509         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24510         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24511         __stpncpy_power8 implementation.
24512         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24513         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24514         __strncpy_power8 implementation.
24515         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24516         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24517         * NEWS: Update.
24519         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24520         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24521         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24523         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24524         strncat-power8 object.
24525         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24526         __strcat_power8 implementation.
24527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24528         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24529         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24530         optimized strcat for power8.
24532         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24533         strcpy-power8 and stpcpy-power8 objects.
24534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24535         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24536         implementations.
24537         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24538         multiarch stpcpy implementation for POWER8.
24539         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24540         multiarch strcpy implementation for POWER8.
24541         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24542         __strcpy_power8 function.
24543         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24544         stpcpy for POWER8.
24545         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24546         strcpy for POWER8.
24547         * NEWS: Update.
24549 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24551         [BZ #16009]
24552         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24553         weights and rules. Use do_xfrm_cached if data fits in cache,
24554         do_xfrm otherwise.  Moved former main loop to...
24555         * (do_xfrm_cached): New function.
24556         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24557         find_idx, find_position and stack_push.
24558         * (find_idx): New function.
24559         * (find_position): Likewise.
24560         * localedata/sort-test.sh: Added test run for do_xfrm.
24561         * localedata/xfrm-test.c (main): Added command line option
24562         -nocache to run the test with strings that are too large for
24563         the STRXFRM cache.
24565 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24567         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24568         variable to lll_futex_wake call, not the value itself.
24570 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24572         [BZ #17803]
24573         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24574         twom64.  Adjust value to 0x1p-64L.
24575         (__scalblnl): Only return standard underflowing result for K <=
24576         -64 not K <= -63; adjust exponent for underflowing result by 64
24577         not 63.
24578         * math/libm-test.inc (scalbn_test_data): Add more tests.
24579         (scalbln_test_data): Likewise.
24581         [BZ #17834]
24582         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24583         0x1p63L.
24584         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24585         not HX.
24586         * math/libm-test.inc (scalbn_test_data): Add more tests.
24587         (scalbln_test_data): Likewise.
24589 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24590             Stefani Seibold  <stefani@seibold.net>
24592         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24593         (sysdep_routines): Add dl-vdso here, ...
24594         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24595         (sysdep_routines): ... not here.
24596         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24597         fallback when vDSO is not presented.
24598         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24599         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24600         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24601         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24602         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24603         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24604         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24605         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24606         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24607         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24608         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24609         fallback configurable symbol when vDSO is not available.
24610         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24611         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24612         be able to redefine fallback symbol when vDSO is not available.
24613         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24614         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24616 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24618         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24619         (TLS_INIT_TP): Add tm_capable initialization.
24620         (TLS_DEFINE_INIT_TP): Likewise.
24621         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24622         TCB.
24623         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24624         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24625         calculation.
24626         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24627         transactoion is lock elision is built and TCB tm_capable is set.
24628         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24630         (INTERNAL_SYSCALL_NCS): Likewise.
24631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24632         (INTERNAL_SYSCALL_NCS): Likewise.
24633         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24635         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24636         for powerpc.
24637         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24638         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24639         and remove it for 32 bits case.
24640         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24641         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24642         initialization.
24643         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24644         Disable lock elision with rdlocks if elision is not available.
24646         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24647         (sysdep_routines): Add lock elision objects.
24648         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24649         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24650         [pthread_mutex_t] (__elision): Add field.
24651         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24652         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24653         elision definitions for powerpc.
24654         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24655         implementation of lock elision for powerpc.
24656         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24657         implementation of timed lock elision for powerpc.
24658         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24659         implementation of trylock with lock elision for powerpc.
24660         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24661         implementaion of unlock for lock elision for powerpc.
24662         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24663         automatic enable lock elision for mutexes.
24664         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24665         transaction execution definitions for powerpc.
24666         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24667         definitions.
24668         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24669         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24670         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24671         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24672         * NEWS: Update.
24674 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24676         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24677         for #include of <shm-directory.h>.
24679 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24681         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24682         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24684 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24686         [BZ #17791]
24687         * NEWS: Mention bug fix.
24688         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24689         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24690         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24692 2015-01-09  Torvald Riegel <triegel@redhat.com>
24694         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24696 2015-01-09  Torvald Riegel <triegel@redhat.com>
24698         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24700 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24702         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24703         pointer and cast to uintptr_t.
24705 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24707         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24708         removed.
24709         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24711 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24713         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24714         of 0.
24716 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24718         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24719         <nptl/pthreadP.h> instead.
24720         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24722         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24723         already defined.
24724         [__SIGRTMIN] (init): Function removed.
24725         [__SIGRTMIN] (initialized): Variable removed.
24726         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24727         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24728         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24729         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24730         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24731         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24732         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24733         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24734         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24735         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24736         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24737         * sysdeps/nptl/allocrtsig.c: New file.
24738         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24739         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24740         * sysdeps/generic/testrtsig.h: File removed.
24742         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24743         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24745         * nptl/nptl-init.c (pthread_functions): Conditionalize
24746         .ptr__nptl_setxid initialization on [SIGSETXID].
24748         * sysdeps/nptl/sys/procfs.h: New file.
24749         * nptl_db/Makefile (headers): Add it.
24750         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24752         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24753         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24754         * nptl/pthread_attr_setaffinity.c: Include it.
24755         * nptl/pthread_setattr_default_np.c: Likewise.
24756         * nptl/check-cpuset.h: New file.
24758 2015-01-08  Richard Henderson  <rth@redhat.com>
24760         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24761         (CFLAGS-tst-execstack-prog.c): Likewise.
24762         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24764 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24765             Sandra Loosemore  <sandra@codesourcery.com>
24766             Andrew Jenner  <andrew@codesourcery.com>
24767             Joseph Myers  <joseph@codesourcery.com>
24768             Nathan Sidwell  <nathan@codesourcery.com>
24770         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24771         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24772         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24773         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24774         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24775         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24776         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24777         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24778         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24779         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24780         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24781         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24782         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24783         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24784         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24785         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24786         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24788 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24790         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24791         timespec struct member in syscall macro.
24792         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24793         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24794         first timeval struct member in syscall macro.
24795         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24797 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24799         [BZ #17748]
24800         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24801         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24802         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24803         __feupdateenv and define as weak alias of __feupdateenv.  Use
24804         libm_hidden_weak.
24805         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24806         libm_hidden_def.
24807         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24808         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24809         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24810         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24811         libm_hidden_def.
24812         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24813         __feupdateenv and define as weak alias of __feupdateenv.  Use
24814         libm_hidden_weak.
24815         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24816         libm_hidden_def.
24817         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24818         __feupdateenv and define as weak alias of __feupdateenv.  Use
24819         libm_hidden_weak.
24820         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24821         libm_hidden_def.
24822         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24823         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24824         (__feupdateenv): Likewise.
24825         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24826         __feupdateenv and define as weak alias of __feupdateenv.  Use
24827         libm_hidden_weak.
24828         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24829         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24830         libm_hidden_def.
24831         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24832         function.
24833         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24834         libm_hidden_def.
24835         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24836         __feupdateenv instead of feupdateenv.
24837         (default_libc_feupdateenv_test): Likewise.
24838         (libc_feresetround_ctx): Likewise.
24840 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24842         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24843         prototype.
24845 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24847         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24848         COLL_SYM in a couple of places to avoid uninitialized variable
24849         wanings on tilegx gcc 4.8.2.
24851 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24853         * sysdeps/aarch64/strcpy.S: New file.
24854         * sysdeps/aarch64/stpcpy.S: New file.
24855         * NEWS: Updated.
24857 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24859         * sysdeps/aarch64/strrchr.S: New file.
24860         * NEWS: Updated.
24862 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24864         [BZ #17658]
24865         * stdlib/setenv.c: Fix memory leak when setting large,
24866         duplicate string.
24868 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24870         [BZ #17273]
24871         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24872         and tabs from buffer before parsing fstab entry.
24873         * misc/tst-mntent.c (main): Add test for mount entry with
24874         trailing spaces and tabs.
24876 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24878         [BZ #17748]
24879         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24880         * math/fesetround.c (fesetround): Rename to __fesetround and
24881         define as weak alias of __fesetround.  Use libm_hidden_weak.
24882         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24883         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24884         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24885         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24886         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24887         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24888         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24889         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24890         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24891         __fesetround_inline.
24892         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24893         __fesetround_inline instead of __fesetround.
24894         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24895         __fesetround and define as weak alias of __fesetround.  Use
24896         libm_hidden_weak.  Call __fesetround_inline instead of
24897         __fesetround.
24898         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24899         __fesetround and define as weak alias of __fesetround.  Use
24900         libm_hidden_weak.
24901         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24902         Likewise.
24903         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24904         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24905         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24906         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24907         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24908         __fesetround and define as weak alias of __fesetround.  Use
24909         libm_hidden_weak.
24910         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24911         __fesetround instead of fesetround.
24912         (default_libc_feholdexcept_setround): Likewise.
24913         (libc_feholdsetround_ctx): Likewise.
24914         (libc_feholdsetround_noex_ctx): Likewise.
24916         [BZ #17748]
24917         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24918         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24919         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24920         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24921         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24922         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24923         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24924         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24925         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24926         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24927         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24928         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24929         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24930         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24931         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24932         libm_hidden_def.
24933         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24934         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24935         Likewise.
24936         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24937         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24938         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24939         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24940         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24941         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24942         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24943         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24944         __fesetenv instead of fesetenv.
24945         (libc_feresetround_noex_ctx): Likewise.
24946         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24947         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24948         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24949         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24950         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24951         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24952         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24953         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24954         (__feupdateenv): Likewise.
24955         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24956         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24957         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24958         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24960 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24962         [BZ #17806]
24963         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24964         addresses have been freed.
24966 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24968         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24969         and nservall.
24971 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24973         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24974         Clean up check_pf allocation pattern. addresses
24976 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24978         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24979         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24980         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24981         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24982         * nptl/pthread_join.c (pthread_join): Likewise.
24983         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24984         * sysdeps/posix/waitid.c (__waitid): Likewise.
24985         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24986         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24987         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24988         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24989         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24990         Likewise.
24991         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24992         (__libc_pread64): Likewise.
24993         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24994         (__libc_pwrite): Likewise.
24995         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24996         (__libc_pwrite64): Likewsie.
24997         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24998         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24999         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25000         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25001         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25002         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25003         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25005         Likewise.
25006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25007         (__libc_pread64): Likewise.
25008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25009         Likewise.
25010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25011         (__libc_pwrite64): Likewise.
25012         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25013         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25014         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25015         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25016         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25017         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25018         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25019         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25020         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25021         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25022         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25023         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25024         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25025         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25026         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25027         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25028         Likewise.
25030 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25032         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25033         (CFLAGS-test-double.c): Likewise.
25034         (CFLAGS-test-ldouble.c): Likewise.
25035         (CPPFLAGS-test-ifloat.c): Likewise.
25036         (CPPFLAGS-test-idouble.c): Likewise.
25037         (CPPFLAGS-test-ildoubl.c): Likewise.
25038         (CFLAGS-test-test-fenv.c): Remove variable.
25039         (CFLAGS-test-misc.c): Likewise.
25041 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25043         [BZ #17797]
25044         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25045         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25046         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25047         CLOCKS_PER_SEC == 1000000.
25048         * time/clocktest.c (main): Replace %ld with %jd and cast to
25049         intmax_t.
25051 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25053         * sysdeps/generic/unwind-resume.h: New file.
25054         * sysdeps/gnu/unwind-resume.c: Include it.
25055         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25056         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25057         argument list.
25058         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25059         global rather than static.
25060         (_Unwind_Resume): Update user.
25061         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25062         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25063         rather than static.  Add __attribute__ ((cold)).
25064         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25065         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25066         * sysdeps/arm/arm-unwind-resume.S: New file.
25067         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25068         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25069         * sysdeps/arm/Makefile [$(subdir) = csu]
25070         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25071         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25072         Add rt-arm-unwind-resume.
25073         [$(subdir) = nptl]
25074         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25075         Add pt-arm-unwind-resume.
25076         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25077         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25079 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25081         [BZ #17748]
25082         * include/fenv.h (__feholdexcept): Declare.  Use
25083         libm_hidden_proto.
25084         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25085         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25086         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25087         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25088         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25089         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25090         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25091         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25092         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25093         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25094         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25095         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25096         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25097         (feholdexcept): Likewise.
25098         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25099         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25100         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25101         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25102         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25103         __feholdexcept instead of feholdexcept.
25104         (default_libc_feholdexcept_setround): Likewise.
25106 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25108         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25109         to avoid using stl/str to align destination.
25111 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25113         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25115 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25117         [BZ #17796]
25118         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25119         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25120         Define as weak alias not strong alias.
25122 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25124         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25125         bltzal with addiupc.
25126         (RTLD_START): Ditto.
25128 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25130         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25131         for __vdso_* functions in declarations.
25132         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25133         definitions.
25134         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25135         INTERNAL_VSYSCALL): Use struct return types to check for error.
25137         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25138         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25139         function with cast from llround().
25140         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25141         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25142         Define.
25144 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25146         [BZ #17793]
25147         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25148         Define as weak alias not strong alias.
25150         [BZ #17635]
25151         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25152         ...
25153         * ctype/ctype-extn.c: ... here.
25154         (__isblank_l): Move to ...
25155         * ctype/ctype-c99_l.c: ... here.  New file.
25156         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25157         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25158         Remove variable.
25159         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25160         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25161         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25162         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25163         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25165         [BZ #17777]
25166         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25167         (posix_fadvise64): Define as weak alias not strong alias.
25168         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25169         (posix_fallocate64): Likewise.
25170         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25171         Remove variable.
25172         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25173         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25174         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25175         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25176         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25178 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25180         [BZ #16191]
25181         * NEWS: Mention bug fix.
25182         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25183         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25184         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25185         (HOST_STACK_END_ADDR): Likewise.
25187 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25189         [BZ #17748]
25190         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25191         * math/fegetround.c (fegetround): Rename to __fegetround and
25192         define as weak alias of __fegetround.  Use libm_hidden_weak.
25193         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25194         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25195         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25196         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25197         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25198         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25199         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25200         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25201         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25202         Undefine after rather than before function definition; use
25203         parentheses around function name in definition.
25204         (__fegetround): Also undefine macro after function definition.
25205         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25206         __fegetround and define as weak alias of __fegetround.  Use
25207         libm_hidden_weak.  Do not undefine as macro.
25208         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25209         Likewise.
25210         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25211         __fegetround and define as weak alias of __fegetround.  Use
25212         libm_hidden_weak.
25213         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25214         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25215         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25216         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25217         __fegetround and define as weak alias of __fegetround.  Use
25218         libm_hidden_weak.
25219         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25220         __fegetround instead of fegetround.
25222         [BZ #17782]
25223         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25224         Condition macro definition on [__USE_MISC].
25226         [BZ #17781]
25227         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25228         (struct sigaction): Change type of sa_flags field to int.
25230         [BZ #17780]
25231         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25232         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25233         __glibc_reserved0.
25235         * nptl/version.c (banner): Use single year in copyright notice.
25237         * NEWS: Update copyright dates.
25238         * catgets/gencat.c (print_version): Likewise.
25239         * csu/version.c (banner): Likewise.
25240         * debug/catchsegv.sh: Likewise.
25241         * debug/pcprofiledump.c (print_version): Likewise.
25242         * debug/xtrace.sh (do_version): Likewise.
25243         * elf/ldconfig.c (print_version): Likewise.
25244         * elf/ldd.bash.in: Likewise.
25245         * elf/pldd.c (print_version): Likewise.
25246         * elf/sotruss.sh: Likewise.
25247         * elf/sprof.c (print_version): Likewise.
25248         * iconv/iconv_prog.c (print_version): Likewise.
25249         * iconv/iconvconfig.c (print_version): Likewise.
25250         * locale/programs/locale.c (print_version): Likewise.
25251         * locale/programs/localedef.c (print_version): Likewise.
25252         * login/programs/pt_chown.c (print_version): Likewise.
25253         * malloc/memusage.sh (do_version): Likewise.
25254         * malloc/memusagestat.c (print_version): Likewise.
25255         * malloc/mtrace.pl: Likewise.
25256         * manual/libc.texinfo: Likewise.
25257         * nptl/version.c (banner): Likewise.
25258         * nscd/nscd.c (print_version): Likewise.
25259         * nss/getent.c (print_version): Likewise.
25260         * nss/makedb.c (print_version): Likewise.
25261         * posix/getconf.c (main): Likewise.
25262         * scripts/test-installation.pl: Likewise.
25263         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25265 2015-01-02  Will Newton  <will.newton@linaro.org>
25267         * sysdeps/arm/armv7/configure: Removed.
25268         * sysdeps/arm/armv7/configure.ac: Likewise.
25270 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25272         * All files with FSF copyright notices: Update copyright dates
25273         using scripts/update-copyrights.
25274         * intl/plural.c: Regenerated.
25275         * locale/programs/charmap-kw.h: Likewise.
25276         * locale/programs/locfile-kw.h: Likewise.
25278 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25280         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25282 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25284         [BZ #17748]
25285         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25286         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25287         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25288         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25289         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25290         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25291         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25292         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25293         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25294         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25295         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25296         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25297         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25298         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25299         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25300         libm_hidden_def.
25301         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25302         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25303         Likewise.
25304         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25305         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25306         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25307         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25308         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25309         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25310         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25311         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25312         __fegetenv instead of fegetenv.
25313         (libc_feholdsetround_noex_ctx): Likewise.
25315 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25317         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25318         (Elf_MIPS_ABIFlags_v0): New structure.
25319         (EF_MIPS_FP64): Define.
25320         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25321         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25322         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25323         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25324         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25325         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25326         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25327         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25328         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25329         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25330         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25331         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25332         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25333         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25334         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25335         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25336         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25337         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25338         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25339         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25340         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25341         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25342         field.
25343         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25344         EF_MIPS_FP64.
25345         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25346         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25347         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25348         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25349         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25350         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25351         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25352         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25353         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25354         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25355         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25356         record the current FP ABI extension.
25357         (mips-mode-switch): Define to show if kernel headers support mode
25358         switching.
25359         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25360         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25361         supported SYSV ABI version to 3.
25362         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25363         feature.
25365 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25366             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25368         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25369         path.
25370         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25372 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25374         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25375         __fegetround and redefine to call __fegetround.  Remove condition
25376         on [!__NO_MATH_INLINES].
25377         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25378         function.
25379         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25380         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25381         Remove macro.
25382         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25383         instead of <fenv_libc.h>.
25384         (__llrintl): Call fegetround instead of __fegetround.
25385         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25386         instead of <fenv_libc.h>.
25387         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25388         (__lrintl): Call fegetround instead of __fegetround.
25389         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25390         instead of <fenv_libc.h>.
25391         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25392         (__rintl): Call fegetround instead of __fegetround.
25394 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25396         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25397         arrays.
25399 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25401         [BZ #17775]
25402         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25403         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25404         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25406 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25408         * sysdeps/i386/tls-macros.h: Include <features.h>.
25409         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25410         (TLS_IE): Likewise.
25411         (TLS_LD): Likewise.
25412         (TLS_GD): Likewise.
25413         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25414         define for GCC >= 5.0.
25416 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25418         * math/test-fenv.c (test_single_exception, set_single_exc,
25419         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25420         feexcp_mask_test, feenable_test, fe_single_test): Add
25421         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25422         case where they are not used.
25423         * math/libm-test.inc: Likewise.
25424         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25425         unused in the absence of FP rounding/exception support.
25426         * stdio-common/tst-printf-round.c: Likewise.
25427         * stdlib/tst-strtod-round.c: Likewise.
25428         * stdlib/tst-strtod-underflow.c: Likewise.
25430 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25432         [BZ #17723]
25433         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25434         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25435         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25436         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25437         libm_hidden_weak.
25438         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25439         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25440         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25441         libm_hidden_def.
25442         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25443         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25444         libm_hidden_weak.
25445         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25446         Likewise.
25447         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25448         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25449         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25450         libm_hidden_weak.
25451         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25452         libm_hidden_def.
25453         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25454         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25455         (__feraiseexcept): Likewise.
25456         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25457         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25458         libm_hidden_weak.
25459         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25460         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25461         libm_hidden_def.
25462         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25463         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25464         Use libm_hidden_def.
25465         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25466         libm_hidden_def.
25467         (feraiseexcept): Define as weak not strong alias.  Use
25468         libm_hidden_weak.
25469         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25470         New inline function.  Factored out of ...
25471         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25472         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25473         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25474         feraiseexcept.
25475         * math/w_acos.c (__acos): Likewise.
25476         * math/w_asin.c (__asin): Likewise.
25477         * math/w_ilogb.c (__ilogb): Likewise.
25478         * math/w_j0.c (y0): Likewise.
25479         * math/w_j1.c (y1): Likewise.
25480         * math/w_jn.c (yn): Likewise.
25481         * math/w_log.c (__log): Likewise.
25482         * math/w_log10.c (__log10): Likewise.
25483         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25484         * sysdeps/aarch64/fpu/math_private.h
25485         (libc_feupdateenv_test_aarch64): Likewise.
25486         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25487         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25488         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25489         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25490         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25491         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25492         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25493         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25494         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25495         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25497 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25499         [BZ #17732]
25500         * io/test-utime.c (main): Replace %ld with %jd and cast to
25501         intmax_t.
25502         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25503         * nptl/tst-mutex5.c: Include <stdint.h>.
25504         (do_test): Replace %ld with %jd and cast to intmax_t.
25505         * posix/tst-regex.c (run_test): Likewise.
25506         (run_test_backwards): Likewise.
25507         * rt/tst-clock.c: Include <stdint.h>.
25508         (clock_test): Replace %ld with %jd and cast to intmax_t.
25509         * rt/tst-cpuclock1.c: Include <stdint.h>.
25510         (do_test): Replace %lu with %ju and cast to uintmax_t.
25511         * rt/tst-cpuclock2.c: Include <stdint.h>.
25512         (do_test): Replace %lu with %ju and cast to uintmax_t.
25513         * rt/tst-mqueue1.c: Include <stdint.h>.
25514         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25515         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25516         intmax_t.
25517         * rt/tst-mqueue4.c (do_test): Likewise.
25518         * rt/tst-timer4.c: Include <stdint.h>.
25519         (check_ts): Replace %ld with %jd and cast to intmax_t.
25520         (do_test): Likewise.
25521         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25522         and cast to intmax_t.
25523         * sysdeps/pthread/tst-timer.c (main): Likewise.
25524         * time/clocktest.c (main): Likewise.
25525         * time/tst-posixtz.c (do_test): Likewise.
25526         * timezone/tst-timezone.c (main): Likewise.
25528 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25529             H.J. Lu  <hongjiu.lu@intel.com>
25531         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25532         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25533         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25534         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25535         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25536         version if bit_Fast_Unaligned_Load is set.
25537         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25538         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25539         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25540         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25541         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25542         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25543         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25544         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25545         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25546         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25547         to 4.
25548         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25549         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25550         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25551         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25553 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25555         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25556         instead of #if to avoid a Wundef warning.
25557         * stdlib/tst-limits.c (do_test): Likewise.
25559         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25560         parallel other exception macros.
25561         (fegetenv): Convert from macro to extern inline so that it applies
25562         retroactively to inline functions already seen by the compiler.
25563         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25565         * posix/Makefile (before-compile): Use $(objpfx) for
25566         posix-conf-vars-def.h.
25568 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25570         * posix/getconf.c (main): Use size_t for type of I.
25571         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25572         NSPEC.
25574         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25575         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25576         * posix/posix-envs.def: Likewise.
25577         * sysdeps/posix/sysconf.c: Likewise.
25578         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25579         (specs): Remove array.
25580         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25581         array.
25583         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25584         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25585         (__sysconf): Use CONF_IS_* macros.
25587         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25588         ($(objpfx)posix-conf-vars-def.h): New target.
25589         * posix/posix-conf-vars.list: New file.
25590         * posix/posix-conf-vars.h: New file.
25591         * posix/confstr.c: Include posix-conf-vars.h.
25592         (confstr): Use CONF_IS_* macros.
25593         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25594         CONF_IS_* macros.
25595         * scripts/gen-posix-conf-vars.awk: New file.
25597 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25599         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25600         fegetround): Add no-op macros to avoid linknamespace issues.
25602         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25603         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25605         * sysdeps/unix/sysv/linux/tile/sysdep.h
25606         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25607         assembly-specific section to avoid a redefinition warning.
25609         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25610         long before casting to pointer to avoid a cast warning.
25612 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25614         * sysdeps/tile/tilegx/Implies: New file.
25616 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25618         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25620 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25622         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25624 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25626         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25627         not define.
25628         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25629         <kernel-features.h>.
25630         (__utimes) [__NR_utimes]: Make code unconditional.
25631         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25632         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25633         (__ASSUME_UTIMES): Do not undefine.
25634         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25635         (__ASSUME_UTIMES): Likewise.
25636         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25637         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25638         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25639         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25641 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25643         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25645 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25647         [BZ #17747]
25648         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25649         alias to weak alias for j0l, y0l.
25650         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25651         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25653         [BZ #17746]
25654         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25655         conversion.
25657 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25659         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25660         to zero if not already defined.
25662 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25664         [BZ #17724]
25665         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25666         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25667         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25668         (char *) casts added.
25669         * sysdeps/ieee754/k_standardf.c: New file.
25670         * sysdeps/ieee754/k_standardl.c: Likewise.
25671         * math/Makefile (libm-support): Remove k_standard.
25672         (libm-calls): Add k_standard.
25674 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25676         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25677         Optimize to avoid an unnecessary FPCR read.
25679 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25681         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25682         Optimize to reduce FPCR/FPSR accesses.
25684 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25686         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25687         Call libc_fetestexcept_aarch64.
25689 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25691         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25692         Call libc_fesetround_aarch64.
25694 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25696         [BZ #17733]
25697         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25698         (__bind): Do not define as weak alias.
25699         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25700         define.
25701         (__getsockname): Do not define as weak alias.
25703 2014-12-22  Will Newton  <will.newton@linaro.org>
25705         * manual/install.texi: Document that we require bison 2.7
25706         or above.
25707         * INSTALL: Regenerate.
25708         * configure.ac: Use AC_CHECK_PROG_VER instead of
25709         AC_PATH_PROG when checking for bison and check for
25710         version 2.7 or above.
25711         * configure: Regenerate.
25713 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25715         [BZ #17745]
25716         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25717         * sysdeps/tile/ffsll.c (ffsll): To here.
25719         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25721 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25723         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25724         if not defined.
25725         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25726         definition.
25727         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25728         hidden ___tls_get_addr.
25729         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25730         hidden __tls_get_addr.
25731         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25732         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25733         Likewise.
25735 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25737         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25738         _dl_init call.
25740 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25742         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25743         from "call _dl_init@PLT".
25744         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25746 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25748         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25749         guarantees.
25751 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25753         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25755 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25757         [BZ #17744]
25758         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25759         strnlen.
25761 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25763         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25764         of multu on MIPSr6.
25765         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25766         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25767         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25768         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25769         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25771 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25773         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25774         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25775         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25776         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25777         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25778         mips32r6/mips64r6.
25779         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25781 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25783         * string/strncat.c (STRNCAT): Simplify implementation.
25785 2014-12-19  David S. Miller  <davem@davemloft.net>
25787         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25788         access the quad as both a long double and as a series of 4 words.
25790         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25791         link_map->l_info array access.
25793 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25795         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25797         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25798         * math/atest-exp2.c (TIMEOUT): Likewise.
25799         * math/atest-sincos.c (TIMEOUT): Likewise.
25801 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25803         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25804         -Wno-error with -fno-builtin-lround.
25806 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25808         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25809         Contains futex constants and functions moved over from ...
25810         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25811         <lowlevellock-futex.h>.
25812         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25813         (lll_timedwait_tid): Add comments and parentheses around macro
25814         arguments.
25816 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25818         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25819         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25820         (__lll_private_flag): Remove.
25821         (lll_futex_wait): Likewise.
25822         (lll_futex_timed_wait): Likewise.
25823         (lll_futex_wake): Likewise.
25824         (lll_futex_requeue): Likewise.
25825         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25826         (__lll_timedwait_tid): Spell out argument names.
25827         (lll_timedwait_tid): Add comments and parentheses around macro
25828         arguments.
25829         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25830         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25832 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25834         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25835         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25836         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25837         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25838         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25839         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25840         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25841         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25842         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25843         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25844         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25845         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25846         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25847         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25848         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25849         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25850         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25851         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25852         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25854 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25856         * sysdeps/x86_64/x32/Makefile: New file.
25858 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25860         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25861         1L with (mp_limb_t) 1.
25863 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25865         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25866         * nptl/libc_pthread_init.c: ... here.
25867         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25868         * nptl/register-atfork.c: ... here.
25870         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25871         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25872         Use assert_perror to check its return value.
25873         (__gai_create_helper_thread): Likewise.
25875         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25877         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25879 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25881         [BZ #17725]
25882         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25883         __profil_counter.
25884         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25885         Likewise.
25886         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25887         Likewise.
25888         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25889         Likewise.
25890         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25891         (profil_counter): Likewise.
25892         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25893         (profil_counter): Likewise.
25894         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25895         Likewise.
25896         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25897         Likewise.
25898         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25899         (profil_counter): Likewise.
25900         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25901         Likewise.
25902         [!__profil_counter] (profil_counter): Define as weak alias of
25903         __profil_counter.
25904         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25905         (profil_counter): Rename to __profil_counter.
25906         [!__profil_counter] (profil_counter): Define as weak alias of
25907         __profil_counter.
25908         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25909         (profil_counter): Rename to __profil_counter.
25910         [!__profil_counter] (profil_counter): Define as weak alias of
25911         __profil_counter.
25912         * sysdeps/posix/profil.c: Update comment referring to
25913         profil_counter.
25914         (__profil): Use __profil_counter instead of profil_counter.
25915         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25916         __profil_counter.  Use __profil_counter_ushort and
25917         __profil_counter_uint in definitions.
25918         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25919         instead of profil_counter_uint and profil_counter_ushort.
25921         [BZ #17722]
25922         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25923         define as weak alias of __inet_makeaddr.
25924         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25925         as weak alias of __inet_addr.
25926         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25927         as weak alias of __inet_pton.  Use libc_hidden_weak.
25928         * include/arpa/inet.h (__inet_pton): Declare.  Use
25929         libc_hidden_proto.
25930         (inet_makeaddr): Don't use libc_hidden_proto.
25931         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25932         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25933         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25934         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25935         Remove variable.
25936         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25937         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25939 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25941         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25943 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25945         * stdio-common/bug-vfprintf-nargs.c (do_test):
25946         Cast value to intptr_t to avoid format warning
25947         for usage with PRIdPTR printing macro.
25949 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25951         * libio/tst-widetext.c (do_test):
25952         Use format type %td instead of %Zd for ptrdiff_t
25953         in order to avoid format warning.
25955 2014-12-17  Andreas Schwab  <schwab@suse.de>
25957         * nscd/mem.c (gc): Add size_t cast to match printf format.
25959 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25961         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25962         (init): Apply PTR_MANGLE to pointers before storing them.
25963         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25964         before using them.
25966 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25968         [BZ #17719]
25969         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25970         define as weak alias of __memrchr.
25971         (__memrchr): Do not define as strong alias of memrchr.
25972         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25973         Remove variable.
25974         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25975         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25976         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25978         [BZ #17717]
25979         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25980         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25981         (if_indextoname): Rename to __if_indextoname and define as weak
25982         alias of __if_indextoname.  Use libc_hidden_weak.
25983         (if_freenameindex): Rename to __if_freenameindex and define as
25984         weak alias of __if_freenameindex.
25985         (if_nameindex): Rename to __if_nameindex and define as weak alias
25986         of __if_nameindex.
25987         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25988         __if_nametoindex and define as weak alias of __if_nametoindex.
25989         Use libc_hidden_weak.
25990         (if_freenameindex): Rename to __if_freenameindex and define as
25991         weak alias of __if_freenameindex.
25992         (if_nameindex): Rename to __if_nameindex and define as weak alias
25993         of __if_nameindex.
25994         (if_indextoname): Rename to __if_indextoname and define as weak
25995         alias of __if_indextoname.  Use libc_hidden_weak.
25996         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25997         __if_nametoindex and define as weak alias of __if_nametoindex.
25998         Use libc_hidden_weak.
25999         (if_freenameindex): Rename to __if_freenameindex and define as
26000         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26001         (if_nameindex_netlink): Use __if_freenameindex instead of
26002         if_freenameindex.
26003         (if_nameindex): Rename to __if_nameindex and define as weak alias
26004         of __if_nameindex.  Use libc_hidden_weak.
26005         (if_indextoname): Rename to __if_indextoname and define as weak
26006         alias of __if_indextoname.  Use libc_hidden_weak.
26007         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26008         libc_hidden_proto.
26009         [!_ISOMAC] (__if_freenameindex): Likewise.
26010         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26011         if_nametoindex.
26012         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26013         variable.
26014         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26015         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26016         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26017         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26018         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26019         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26020         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26022         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26023         Remove variable.
26024         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26025         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26027 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26029         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26030         subscript above bounds'
26032         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26033         bounds.
26035 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26037         * libio/tst-fopenloc.c: Use test-skeleton.c.
26039         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26040         (entry): Rename to ITEM.
26041         (do_test, comp): Adjust.
26043         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26045 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26047         * string/tester.c: Include <libc-internal.h>.
26048         (test_memset): Ignore -Wmemset-transposed-args.
26050 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26052         * misc/tst-mntent2.c (do_test): Fix warning.
26054 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26056         * elf/tst-unique4lib.cc(a): Mark as used.
26058 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26060         [BZ #17630]
26061         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26062         names.
26064 2014-12-16  Allan McRae  <allan@archlinux.org>
26066         * stdio-common/Makefile (tests): Re-add bug26.
26068 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26070         [BZ #17657]
26071         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26072         static array.
26074 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26076         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26077         (__lll_lock_wait): Likewise.
26078         (__lll_timedlock_wait): Likewise.
26079         (__lll_timedwait_tid): Likewise.
26080         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26081         (__lll_robust_timedlock_wait): Likewise.
26082         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26083         (lll_cond_trylock): Likewise.
26084         (__lll_lock): Likewise.
26085         (__lll_robust_lock): Likewise.
26086         (__lll_cond_lock): Likewise.
26087         (lll_robust_cond_lock): Likewise.
26088         (__lll_timedlock): Likewise.
26089         (__lll_robust_timedlock): Likewise.
26090         (__lll_unlock): Likewise.
26091         (__lll_robust_unlock): Likewise.
26092         (lll_wait_tid): Likewise.
26093         (lll_timedwait_tid): Likewise.
26095 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26097         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26099 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26101         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26103 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26105         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26106         * stdio-common/tst-sprintf.c: Likewise.
26108 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26110         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26112 2014-12-15  Jeff Law  <law@redhat.com>
26114         [BZ #16617]
26115         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26116         on the heap.  (CVE-2012-3406)
26117         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26118         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26119         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26121 2014-12-15  Will Newton  <will.newton@linaro.org>
26123         * manual/install.texi: Bump required version of texinfo
26124         to 4.7 from 4.5.
26125         * INSTALL: Regenerated.
26126         * configure.ac: Check for makeinfo version 4.7 and above.
26127         * configure: Regenerated.
26129 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26131         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26132         PREFIX, string constant to insert between directory and name.
26133         * sysdeps/posix/shm_open.c: Update caller.
26134         * sysdeps/posix/shm_unlink.c: Likewise.
26135         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26136         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26137         (SEM_SHM_PREFIX): New macro.
26138         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26139         [$(have-thread-library) = no].
26140         * nptl/Makefile (libpthread-routines): Add shm-directory.
26141         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26142         * sysdeps/nptl/shm-directory.h: New file.
26143         * sysdeps/posix/shm-directory.c
26144         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26145         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26146         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26147         INTERNAL_SYSCALL.
26148         (__where_is_shmfs): Function removed.
26149         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26150         Variables removed.
26151         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26152         Use SHM_GET_NAME.
26153         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26155         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26156         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26157         unconditional for use inside libpthread.
26158         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26160 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26162         * nptl/pthread_getaffinity.c: New file.
26163         * nptl/pthread_setaffinity.c: New file.
26164         * nptl/pthread_getname.c: New file.
26165         * nptl/pthread_setname.c: New file.
26167         * nptl/pthread_create.c (START_THREAD_DEFN)
26168         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26170 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26171             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26173         * resolv/res_send.c (send_vc): Disable warning resplen may
26174         be used uninitialized.
26176 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26178         * nptl/tst-mutex6.c
26179         (ATTR_NULL): New define checks ATTR against NULL.
26180         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26181         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26183 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26185         [BZ #17581]
26186         * malloc/hooks.c
26187         (mem2mem_check): Revert my previous change.
26188         (malloc_check_get_size): Revert my previous change.
26189         (mem2chunk_check): Revert my previous change.
26191 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26193         * sysdeps/posix/shm-directory.c: New file.
26194         * sysdeps/posix/shm-directory.h: New file.
26195         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26196         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26197         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26198         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26199         Transmute EPERM to EACCES.
26200         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26201         from ...
26202         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26203         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26205 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26207         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26208         pointer and cast to uintptr_t.
26209         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26210         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26211         Add cast to avoid warning.
26212         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26214 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26216         * nptl/semaphore.h: Move to ...
26217         * sysdeps/pthread/semaphore.h: ... here.
26218         * Makefile (installed-headers): Change nptl/semaphore.h to
26219         sysdeps/pthread/semaphore.h.
26221 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26223         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26224         generated error format strings.
26226         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26227         -Wformat-extra-args warnings for scanf formats.
26228         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26229         test of zero-length format (duh).
26230         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26231         corner-case scanf format test.
26232         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26233         generated fprintf format string.
26234         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26235         corner-case sprintf format tests.
26236         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26237         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26238         -Wformat-extra-args warnings throughout.
26239         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26240         (CFLAGS-scanf4.c): Likewise.
26241         (CFLAGS-scanf7.c): Likewise.
26242         (CFLAGS-tst-sprintf.c): Likewise.
26243         (CFLAGS-tst-printf.c): Likewise.
26244         (CFLAGS-tst-printfsz.c): Likewise.
26246 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26248         * include/cpio.h: New file.
26249         * include/fmtmsg.h: Likewise.
26251         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26252         corresponding format argument to size_t.
26253         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26254         arguments.
26255         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26256         corresponding format argument to size_t.
26257         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26258         arguments.
26259         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26260         corresponding format argument to size_t.
26261         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26262         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26263         (CFLAGS-tst-mbswcs2.c): Likewise.
26264         (CFLAGS-tst-mbswcs3.c): Likewise.
26265         (CFLAGS-tst-mbswcs4.c): Likewise.
26266         (CFLAGS-tst-mbswcs5.c): Likewise.
26267         (CFLAGS-tst-trans.c): Likewise.
26269 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26271         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26272         rather than assuming they won't contain any '%'s.
26274 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26276         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26277         inhibit_loop_to_libcall to avoid recursive calls.
26278         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26279         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26281 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26283         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26284         prototype.
26286 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26288         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26289         integer value instead of boolean.
26291 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26293         * malloc/malloc.c: Fix powerof2 check.
26295 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26297         * locale/programs/locfile.h (maybe_swap_uint32):
26298         Remove inline and add unused attribute.
26300 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26302         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26303         Truncating assembler expression to a .long expression.
26305 2014-12-11  Andreas Schwab  <schwab@suse.de>
26307         * elf/rtld.c (struct map_args): Constify str member.
26308         (do_preload): Constify fname argument.
26310 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26312         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26313         constants definition.
26315 2014-12-11  Andreas Schwab  <schwab@suse.de>
26317         [BZ #16657]
26318         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26319         FORCE_ELISION instead of DO_ELISION.
26320         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26321         Remove.
26322         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26323         Likewise.
26325         * iconvdata/gconv-modules: Remove duplicate entry.
26327 2014-12-11  Will Newton  <will.newton@linaro.org>
26329         Merge gettext 0.19.3 into intl/.
26331         This involves a number of cosmetic changes to comments
26332         and ANSI function definitions and prototypes throughout
26333         all the files. The gettext copyright header is used but
26334         with the date ranges taken from the glibc copy.
26336         * NEWS: Add gettext merge to 2.21.
26337         * intl/bindtextdom.c: Switch to gettext copyright.
26338         Use ANSI definitions and prototypes.
26339         Use gl_* locking primitives rather than __libc_* ones.
26340         Use __builtin_expect rather than __glibc_likely/unlikely.
26341         * intl/dcgettext.c: Switch to gettext copyright.
26342         Use ANSI definitions and prototypes.
26343         * intl/dcigettext.c: Switch to gettext copyright.
26344         Use ANSI definitions and prototypes.
26345         (INTDIV0_RAISES_SIGFPE): New define.
26346         Use gl_* locking primitives rather than __libc_* ones.
26347         Include eval-plural.h instead of plural-eval.c.
26348         Use __builtin_expect rather than __glibc_likely/unlikely.
26349         * intl/dcngettext.c: Switch to gettext copyright.
26350         Use ANSI definitions and prototypes.
26351         * intl/dgettext.c: Likewise.
26352         * intl/dngettext.c: Likewise.
26353         * intl/plural-eval.c: Renamed to...
26354         * intl/eval-plural.h: ...this.
26355         * intl/explodename.c: Switch to gettext copyright.
26356         Use ANSI definitions and prototypes.
26357         (_nl_explode_name): Use strchr instead of __rawmemchr.
26358         * intl/finddomain.c: Switch to gettext copyright.
26359         Use ANSI definitions and prototypes.
26360         Use gl_* locking primitives rather than __libc_* ones.
26361         (_nl_find_domain): Use malloc rather than alloca for
26362         allocation of temporary locale name.
26363         * intl/gettext.c: Switch to gettext copyright.
26364         Use ANSI definitions and prototypes.
26365         * intl/gettextP.h: Switch to gettext copyright.
26366         Use ANSI definitions and prototypes.
26367         Use gl_* locking primitives rather than __libc_* ones.
26368         * intl/gmo.h: Switch to gettext copyright.
26369         (struct sysdep_string): Move struct segment_pair outside of
26370         struct definition.
26371         * intl/hash-string.c: Use ANSI definitions and prototypes.
26372         * intl/hash-string.h: Switch to gettext copyright.
26373         Use ANSI definitions and prototypes.
26374         * intl/l10nflist.c: Switch to gettext copyright.
26375         Use ANSI definitions and prototypes.
26376         (_nl_normalize_codeset): Avoid integer overflow.
26377         * intl/loadinfo.h: Switch to gettext copyright.
26378         Use ANSI definitions and prototypes.
26379         (LIBINTL_DLL_EXPORTED): New define.
26380         (PATH_SEPARATOR): New define.
26381         * intl/loadmsgcat.c: Switch to gettext copyright.
26382         * intl/localealias.c: Switch to gettext copyright.
26383         Use ANSI definitions and prototypes.
26384         (_nl_expand_alias): Use PATH_SEPARATOR.
26385         * intl/ngettext.c: Switch to gettext copyright.
26386         Use ANSI definitions and prototypes.
26387         * intl/plural-exp.c: Likewise.
26388         * intl/plural-exp.h: Switch to gettext copyright.
26389         Use ANSI definitions and prototypes.
26390         (struct expression): Move definition of enum operator outside
26391         of struct definition.
26392         * intl/plural.c: Regenerate.
26393         * intl/plural.y: Switch to gettext copyright.
26394         Use ANSI definitions and prototypes.
26395         Port to bison 3.0.
26396         * intl/textdomain.c: Switch to gettext copyright.
26397         Use ANSI definitions and prototypes.
26398         Use gl_* locking primitives rather than __libc_* ones.
26400 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26402         * debug/warning-nop.c: Add used atrribute.
26404 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26406         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26408         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26409         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26410         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26412 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26413             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26415         [BZ #17634]
26416         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26417         Undefine after defining function.  Define as weak alias of
26418         __wcschr.  Use libc_hidden_weak.
26419         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26420         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26421         (libc_hidden_def): Also define __GI___wcschr alias.
26422         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26423         __wcschr and define as weak alias of __wcschr.
26424         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26425         __wcschr.
26426         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26427         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26428         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26429         libc_hidden_weak.  Do not use libc_hidden_def.
26430         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26431         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26432         __GI___wcschr alias.
26433         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26434         [IS_IN (libc)] (wcschr): Define as macro expanding to
26435         __redirect_wcschr.
26436         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26437         [IS_IN (libc)] (__wcschr_power6): Likewise.
26438         [IS_IN (libc)] (__wcschr_power7): Likewise.
26439         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26440         instead of wcschr.
26441         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26442         __libc_wcschr.
26443         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26444         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26445         __wcschr and define as weak alias of __wcschr.  Use
26446         libc_hidden_builtin_def.
26447         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26448         as weak alias of __wcschr.  Use libc_hidden_weak.
26449         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26450         wcschr.
26451         * time/era.c (_nl_init_era_entries): Likewise.
26452         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26453         variable.
26454         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26455         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26457 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26459         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26460         format for long int variable.
26462 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26464         [BZ #10672]
26465         * manual/search.texi: (Array Sort Function): Remove claim how to make
26466         qsort stable.
26468 2014-12-10  Andreas Schwab  <schwab@suse.de>
26470         [BZ #12847]
26471         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26472         user-controlled locks.
26474 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26476         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26477         register.
26479 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26481         * configure.ac (--disable-werror): New configure option.
26482         (enable_werror): New AC_SUBST.
26483         * configure: Regenerated.
26484         * config.make.in (enable-werror): New variable.
26485         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26486         -Wno-error=undef.
26487         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26488         * manual/install.texi (Configuring and compiling): Document
26489         --disable-werror.
26490         * INSTALL: Regenerated.
26491         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26492         (CFLAGS-tst-chk2.c): Likewise.
26493         (CFLAGS-tst-chk3.c): Likewise.
26494         (CFLAGS-tst-chk4.cc): Likewise.
26495         (CFLAGS-tst-chk5.cc): Likewise.
26496         (CFLAGS-tst-chk6.cc): Likewise.
26497         (CFLAGS-tst-lfschk1.c): Likewise.
26498         (CFLAGS-tst-lfschk2.c): Likewise.
26499         (CFLAGS-tst-lfschk3.c): Likewise.
26500         (CFLAGS-tst-lfschk4.cc): Likewise.
26501         (CFLAGS-tst-lfschk5.cc): Likewise.
26502         (CFLAGS-tst-lfschk6.cc): Likewise.
26504         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26505         (main): Disable -Wdeprecated-declarations around calls to
26506         register_printf_function.
26508         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26509         (do_test): Disable -Wdiv-by-zero around some calls to
26510         fwrite_unlocked and fread_unlocked.
26512         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26513         (DIAG_POP_NEEDS_COMMENT): Likewise.
26514         (_DIAG_STR1): Likewise.
26515         (_DIAG_STR): Likewise.
26516         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26517         * stdio-common/bug21.c: Include <libc-internal.h>.
26518         (do_test): Disable -Wformat around call to sscanf.
26519         * stdio-common/scanf14.c: Include <libc-internal.h>.
26520         (main): Disable -Wformat around some calls to scanf functions.
26522 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26524         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26526 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26528         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26529         stack variable alignment.
26531 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26533         [BZ #17682]
26534         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26535         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26536         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26537         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26538         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26539         __getrlimit instead of getrlimit.
26540         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26541         __gettimeofday instead of gettimeofday.
26542         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26543         Likewise.
26544         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26545         Likewise.
26546         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26547         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26548         Remove variable.
26549         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26550         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26552 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26554         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26555         for wide-character tests.
26557 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26559         * io/openat64.c: #include <libc-internal.h>
26560         (__openat64): Prototypify.  Use ignore_value on MODE.
26561         * io/openat.c: Likewise.
26562         * misc/reboot.c: #include <libc-internal.h>
26563         (reboot): Prototypify.  Use ignore_value on HOWTO.
26564         * misc/ptrace.c: #include <libc-internal.h>
26565         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26567 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26569         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26570         XPG4, UNIX98 and XOPEN2K.
26571         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26572         Remove variable.
26573         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26575 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26577         * libio/fileops.c: Use ISO C style for function definitions.
26578         * libio/iofopen.c: Likewise.
26579         * libio/wfileops.c: Likewise.
26581         [BZ #17653]
26582         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26583         offset on EOF.
26584         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26585         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26586         (fgets_func): Function pointer to fgets and fgetws.
26587         (do_ftell_test): Add test to verify ftell value after read
26588         EOF.
26589         (do_test): Set fgets_func.
26591         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26592         O_TRUNC flag for w and w+ modes.
26593         (do_rewind_test): Likewise.
26594         (do_ftell_test): Likewise.
26595         (do_write_test): Likewise.
26597         [BZ #17647]
26598         * libio/fileops.c (do_ftell): Seek only when there are
26599         unflushed writes.
26600         * libio/wfileops.c (do_ftell_wide): Likewise.
26601         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26602         test case.
26603         (do_one_test): Call it.
26605 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26607         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26608         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26609         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26610         Remove variable.
26611         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26612         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26613         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26615 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26617         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26618         Remove variable.
26619         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26621         [BZ #17668]
26622         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26623         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26624         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26625         __freeifaddrs.  Use libc_hidden_weak.
26626         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26627         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26628         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26629         __freeifaddrs.  Use libc_hidden_weak.
26630         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26631         __getifaddrs and define as weak alias of __getifaddrs.  Use
26632         libc_hidden_weak.
26633         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26634         __freeifaddrs.  Use libc_hidden_weak.
26635         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26636         Remove variable.
26637         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26638         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26640 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26642         [BZ #17601]
26643         * sysdeps/mips/start.S (__start): Use indirect jump to call
26644         __libc_start_main.
26646 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26648         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26650         * nptl/tst-mutex1.c: Include <stdbool.h>.
26651         [!ATTR] (ATTR_NULL): New macro.
26652         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26653         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26654         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26656         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26657         to char *.
26659         [BZ #17665]
26660         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26661         Change conditional to [__USE_MISC].
26663         [BZ #17664]
26664         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26665         fgets_unlocked.
26666         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26667         __fgets_unlocked.
26668         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26669         fgets_unlocked.
26670         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26671         Remove variable.
26672         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26673         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26674         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26675         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26676         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26677         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26678         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26679         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26680         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26682         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26684 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26686         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26687         Remove strpbrk objects.
26688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26689         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26690         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26691         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26692         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26693         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26695         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26696         Remove strcspn objects.
26697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26698         (__libc_ifunc_impl_list): Remove strcspn implementation.
26699         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26700         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26701         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26702         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26704         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26705         Remove strspn objetcs.
26706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26707         (__libc_ifunc_impl_list): Remove strspn implementation.
26708         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26709         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26710         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26711         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26713 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26715         [BZ #17581]
26716         * malloc/hooks.c
26717         (mem2mem_check): Add a terminator to the chain of checking blocks.
26718         (malloc_check_get_size): Use it here.
26719         (mem2chunk_check): Ditto.
26721 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26723         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26724         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26726 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26728         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26730         * nptl/nptl-init.c: Include libc-internal.h.
26731         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26733         * elf/ldconfig.c (search_dir): Expand comment.
26735 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26737         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26738         variable.
26739         (linknamespace-symlist-stdlibs-tests): Likewise.
26740         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26741         instead of $(objpfx)symlist-stdlibs.
26742         (linknamespace-libs-isoc): New variable.
26743         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26744         (linknamespace-libs-ISO): New variable.
26745         (linknamespace-libs-ISO99): Likewise.
26746         (linknamespace-libs-ISO11): Likewise.
26747         (linknamespace-libs-XPG3): Likewise.
26748         (linknamespace-libs-XPG4): Likewise.
26749         (linknamespace-libs-POSIX): Likewise.
26750         (linknamespace-libs-UNIX98): Likewise.
26751         (linknamespace-libs-XOPEN2K): Likewise.
26752         (linknamespace-libs-POSIX2008): Likewise.
26753         (linknamespace-libs-XOPEN2K8): Likewise.
26754         ($(objpfx)symlist-stdlibs): Replace by
26755         $(linknamespace-symlist-stdlibs-tests).  Use
26756         $(linknamespace-libs-$*) as set of libraries.
26757         ($(linknamespace-header-tests)): Update dependencies.  Use
26758         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26759         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26760         * conform/linknamespace.pl: Remove comment about considering
26761         definitions of symbols from irrelevant libraries.
26763 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26765         [BZ #13862]
26766         * elf/dl-tls.c: Include <atomic.h>.
26767         (oom): Remove #ifdef SHARED/#endif.
26768         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26769         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26770         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26771         big enough.
26772         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26773         * nptl/Makefile (tests): Add tst-stack4.
26774         (modules-names): Add tst-stack4mod.
26775         ($(objpfx)tst-stack4): New.
26776         (tst-stack4mod.sos): Likewise.
26777         ($(objpfx)tst-stack4.out): Likewise.
26778         ($(tst-stack4mod.sos)): Likewise.
26779         (clean): Likewise.
26780         * nptl/tst-stack4.c: New file.
26781         * nptl/tst-stack4mod.c: Likewise.
26783 2014-11-27  J. Brown  <jb999@gmx.de>
26785         * sysdeps/x86/bits/string.h: Add recent CPUs.
26787 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26789         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26790         sigblock.
26792         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26793         feof.
26795         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26796         variable.
26798 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26800         * nscd/connections.c: Include libc-internal.h because of macro
26801         usage ignore_value.
26803 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26805         * string/bits/string3.h (__warn_memset_zero_len): Don't
26806         declare for gcc newer than 5.0.
26807         (memset): Don't test for zero-length __LEN for gcc newer than
26808         5.0.
26810 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26812         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26813         size_t for %zu format.
26815         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26816         difference, not %ju.
26818 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26820         * include/libc-internal.h (ignore_value): New macro.
26821         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26822         with ignore_value.
26824         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26825         definition.
26827         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26828         pthread_cleanup_push to void *.
26830         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26831         Undefine.
26833         [BZ #16619]
26834         [BZ #16740]
26835         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26836         instead of 1L << 52.
26838         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26839         * libio/bug-rewind2.c (do_test): Likewise.
26841         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26842         * debug/test-strcpy_chk-ifunc.c: Likewise.
26843         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26844         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26845         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26846         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26847         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26848         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26849         * Rules [$(multi-arch) = no] (tests): Do not filter out
26850         $(tests-ifunc).
26851         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26852         * debug/Makefile (tests-ifunc): Remove variable.
26853         (tests): Do not add $(tests-ifunc).
26854         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26855         (tests): Do not add $(tests-ifunc).
26856         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26857         [TEST_IFUNC]: Remove conditionals.
26858         * string/test-string.h (TEST_IFUNC): Remove macro.
26859         [TEST_IFUNC]: Remove conditionals.
26861         * string/test-strchr.c [!WIDE] (L): New macro.
26862         [WIDE] (L): Likewise.
26863         (check1): Use CHAR instead of char.  Use L on string and character
26864         constants.
26866 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26868         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26869         tests.
26870         * sysdeps/powerpc/bits/atomic.h
26871         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26872         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26873         (atomic_exchange_and_add_acq): Likewise.
26874         (atomic_exchange_and_add_rel): Likewise.
26875         * sysdeps/powerpc/powerpc32/bits/atomic.h
26876         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26877         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26878         * sysdeps/powerpc/powerpc64/bits/atomic.h
26879         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26880         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26882 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26884         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26885         Change synchronization of __sched_fifo_min_prio and
26886         __sched_fifo_max_prio.
26887         * nptl/pthread_mutexattr_getprioceiling.c
26888         (pthread_mutexattr_getprioceiling): Likewise.
26889         * nptl/pthread_mutexattr_setprioceiling.c
26890         (pthread_mutexattr_setprioceiling): Likewise.
26891         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26892         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26893         Likewise.
26895 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26897         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26898         void.
26900 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26902         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26903         third argument const.
26905 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26907         fnmatch: work around GCC compiler warning bug with uninit var
26908         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26909         This works around a bug with x86-64 GCC 4.9.2 and earlier
26910         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26911         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26912         used uninitialized in this function [-Wmaybe-uninitialized]".
26914 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26916         * posix/bug-regex31.c (main): Return RES not 0.
26918 2014-11-25  Anton Blanchard <anton@samba.org>
26920         * sysdeps/powerpc/bits/atomic.h
26921         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26923 2014-11-24  Sterling Augustine  <saugustine@google.com>
26925         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26927 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26929         [BZ #17608]
26930         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26932 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26934         [BZ #17633]
26935         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26936         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26937         variable.
26938         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26939         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26941 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26943         * string/strncpy.c (strncpy): Improve performance by using memset.
26945 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26947         * string/strcpy.c (strcpy):
26948         Improve performance by using strlen and memcpy.
26950 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26952         * string/strcoll_l.c (get_next_seq): __always_inline.
26953         * string/strcoll_l.c (do_compare): __always_inline.
26955 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26957         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26958         defined.
26959         * include/mqueue.h: Likewise.
26960         * include/stdlib.h: Likewise.
26962         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26963         (get_null_defines): Adjust.
26964         * sunrpc/Makefile: Adjust comment.
26965         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26966         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26967         (CFLAGS-interp.c): Likewise.
26968         (CFLAGS-ldconfig.c): Likewise.
26969         (CPPFLAGS-.os): Likewise.
26970         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26971         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26972         * extra-modules.mk (extra-modules.mk): Likewise.
26973         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26974         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26975         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26976         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26977         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26978         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26979         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26980         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26981         * iconvdata/Makefile (CPPFLAGS): Likewise.
26982         (cpp-srcs-left): Add libof for all iconvdata routines.
26983         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26984         * include/assert.h: Likewise.
26985         * include/ctype.h: Likewise.
26986         * include/errno.h: Likewise.
26987         * include/libc-symbols.h: Likewise.
26988         * include/math.h: Likewise.
26989         * include/netdb.h: Likewise.
26990         * include/resolv.h: Likewise.
26991         * include/stdio.h: Likewise.
26992         * include/stdlib.h: Likewise.
26993         * include/string.h: Likewise.
26994         * include/sys/stat.h: Likewise.
26995         * include/wctype.h: Likewise.
26996         * intl/l10nflist.c: Likewise.
26997         * libidn/idn-stub.c: Likewise.
26998         * libio/libioP.h: Likewise.
26999         * nptl/libc_multiple_threads.c: Likewise.
27000         * nptl/pthreadP.h: Likewise.
27001         * posix/regex_internal.h: Likewise.
27002         * resolv/res_hconf.c: Likewise.
27003         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27004         * sysdeps/arm/memmove.S: Likewise.
27005         * sysdeps/arm/sysdep.h: Likewise.
27006         * sysdeps/generic/_itoa.h: Likewise.
27007         * sysdeps/generic/symbol-hacks.h: Likewise.
27008         * sysdeps/gnu/errlist.awk: Likewise.
27009         * sysdeps/gnu/errlist.c: Likewise.
27010         * sysdeps/i386/i586/memcpy.S: Likewise.
27011         * sysdeps/i386/i586/memset.S: Likewise.
27012         * sysdeps/i386/i686/memcpy.S: Likewise.
27013         * sysdeps/i386/i686/memmove.S: Likewise.
27014         * sysdeps/i386/i686/mempcpy.S: Likewise.
27015         * sysdeps/i386/i686/memset.S: Likewise.
27016         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27017         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27018         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27019         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27020         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27021         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27022         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27023         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27024         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27025         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27026         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27027         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27028         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27029         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27030         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27031         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27032         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27033         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27034         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27035         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27036         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27037         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27038         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27039         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27040         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27041         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27042         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27043         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27044         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27045         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27046         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27047         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27048         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27049         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27050         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27051         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27052         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27053         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27054         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27055         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27056         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27057         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27058         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27059         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27060         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27061         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27062         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27063         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27064         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27065         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27066         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27067         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27068         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27069         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27070         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27071         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27072         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27073         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27074         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27075         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27076         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27077         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27078         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27079         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27080         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27081         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27082         * sysdeps/posix/closedir.c: Likewise.
27083         * sysdeps/posix/opendir.c: Likewise.
27084         * sysdeps/posix/readdir.c: Likewise.
27085         * sysdeps/posix/rewinddir.c: Likewise.
27086         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27087         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27088         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27089         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27090         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27091         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27092         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27093         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27094         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27095         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27096         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27097         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27098         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27099         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27100         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27101         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27102         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27103         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27104         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27105         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27106         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27107         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27108         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27109         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27110         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27111         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27112         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27113         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27114         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27115         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27116         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27117         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27118         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27119         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27120         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27121         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27122         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27123         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27124         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27125         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27126         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27127         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27128         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27129         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27130         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27131         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27132         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27133         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27134         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27135         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27136         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27137         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27138         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27139         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27140         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27141         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27142         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27143         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27144         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27145         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27146         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27147         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27148         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27149         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27150         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27151         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27152         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27153         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27154         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27155         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27156         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27157         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27158         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27159         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27160         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27161         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27162         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27163         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27164         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27165         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27166         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27167         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27168         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27169         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27170         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27171         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27172         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27173         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27174         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27175         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27176         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27177         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27178         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27179         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27180         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27181         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27182         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27183         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27184         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27185         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27186         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27187         * sysdeps/unix/alpha/sysdep.S: Likewise.
27188         * sysdeps/unix/alpha/sysdep.h: Likewise.
27189         * sysdeps/unix/make-syscalls.sh: Likewise.
27190         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27191         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27192         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27193         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27194         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27195         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27196         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27197         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27198         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27199         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27200         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27201         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27202         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27203         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27204         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27205         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27206         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27207         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27208         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27209         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27210         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27211         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27212         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27213         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27214         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27215         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27216         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27219         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27220         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27221         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27222         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27223         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27224         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27225         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27226         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27227         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27228         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27229         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27230         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27231         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27232         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27233         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27234         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27235         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27236         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27237         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27238         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27239         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27240         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27241         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27242         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27243         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27244         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27245         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27246         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27247         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27248         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27249         * sysdeps/x86_64/memcpy.S: Likewise.
27250         * sysdeps/x86_64/memmove.c: Likewise.
27251         * sysdeps/x86_64/memset.S: Likewise.
27252         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27253         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27254         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27255         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27256         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27257         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27258         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27259         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27260         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27261         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27262         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27263         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27264         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27265         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27266         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27267         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27268         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27269         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27270         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27271         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27272         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27273         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27274         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27275         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27276         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27277         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27278         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27279         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27280         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27281         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27282         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27283         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27284         * sysdeps/x86_64/strcmp.S: Likewise.
27286         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27288         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27289         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27290         * elf/rtld-Rules: Likewise.
27291         * elf/setup-vdso.h: Likewise.
27292         * include/assert.h: Likewise.
27293         * include/bits/stdlib-float.h: Likewise.
27294         * include/errno.h: Likewise.
27295         * include/sys/stat.h: Likewise.
27296         * include/unistd.h: Likewise.
27297         * sysdeps/aarch64/setjmp.S: Likewise.
27298         * sysdeps/alpha/setjmp.S: Likewise.
27299         * sysdeps/arm/__longjmp.S: Likewise.
27300         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27301         * sysdeps/arm/setjmp.S: Likewise.
27302         * sysdeps/arm/sysdep.h: Likewise.
27303         * sysdeps/generic/_itoa.h: Likewise.
27304         * sysdeps/generic/dl-sysdep.h: Likewise.
27305         * sysdeps/generic/ldsodefs.h: Likewise.
27306         * sysdeps/i386/dl-tls.h: Likewise.
27307         * sysdeps/i386/setjmp.S: Likewise.
27308         * sysdeps/m68k/setjmp.c: Likewise.
27309         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27310         * sysdeps/mach/hurd/opendir.c: Likewise.
27311         * sysdeps/posix/getcwd.c: Likewise.
27312         * sysdeps/posix/opendir.c: Likewise.
27313         * sysdeps/posix/profil.c: Likewise.
27314         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27315         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27316         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27317         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27318         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27319         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27320         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27321         * sysdeps/s390/dl-tls.h: Likewise.
27322         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27323         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27324         * sysdeps/sh/sh3/setjmp.S: Likewise.
27325         * sysdeps/sh/sh4/setjmp.S: Likewise.
27326         * sysdeps/unix/alpha/sysdep.h: Likewise.
27327         * sysdeps/unix/arm/sysdep.S: Likewise.
27328         * sysdeps/unix/i386/sysdep.S: Likewise.
27329         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27330         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27331         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27332         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27333         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27334         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27335         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27336         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27337         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27338         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27339         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27340         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27341         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27344         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27345         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27346         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27347         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27348         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27349         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27350         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27351         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27352         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27353         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27354         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27355         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27356         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27357         * sysdeps/x86_64/setjmp.S: Likewise.
27359         * include/math.h: Use IS_IN instead of IS_IN_libm.
27360         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27361         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27362         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27363         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27364         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27365         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27366         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27367         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27368         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27369         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27370         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27371         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27372         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27373         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27374         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27375         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27376         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27377         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27378         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27379         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27380         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27381         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27382         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27383         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27384         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27385         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27386         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27387         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27388         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27389         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27390         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27391         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27392         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27394         Likewise.
27395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27396         Likewise.
27397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27398         Likewise.
27399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27400         Likewise.
27401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27402         Likewise.
27403         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27404         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27405         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27406         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27407         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27408         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27414         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27415         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27416         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27417         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27418         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27419         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27420         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27421         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27422         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27423         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27424         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27425         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27426         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27427         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27429         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27431         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27432         * nptl/pthreadP.h: Likewise.
27433         * nptl_db/structs.def: Likewise.
27434         * sysdeps/arm/sysdep.h: Likewise.
27435         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27436         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27437         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27438         * sysdeps/unix/alpha/sysdep.h: Likewise.
27439         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27440         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27441         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27442         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27443         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27444         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27445         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27446         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27447         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27448         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27449         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27450         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27451         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27452         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27455         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27456         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27457         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27458         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27459         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27460         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27461         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27462         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27463         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27464         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27466         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27467         * nptl/pthreadP.h: Likewise.
27468         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27469         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27470         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27471         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27472         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27473         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27474         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27475         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27476         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27477         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27478         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27479         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27481         Likewise.
27482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27483         Likewise.
27484         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27485         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27486         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27487         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27488         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27489         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27490         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27491         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27493         * dlfcn/dladdr.c: Use IS_IN.
27494         * dlfcn/dladdr1.c: Likewise.
27495         * dlfcn/dlclose.c: Likewise.
27496         * dlfcn/dlerror.c: Likewise.
27497         * dlfcn/dlinfo.c: Likewise.
27498         * dlfcn/dlmopen.c: Likewise.
27499         * dlfcn/dlopen.c: Likewise.
27500         * dlfcn/dlsym.c: Likewise.
27501         * dlfcn/dlvsym.c: Likewise.
27503         * include/ifaddrs.h: Use IS_IN.
27504         * inet/check_pf.c: Likewise.
27505         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27506         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27508         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27509         IS_IN_ldconfig.
27510         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27511         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27513         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27514         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27515         IS_IN (libc).
27517         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27519         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27520         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27521         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27522         * include/libc-symbols.h (IS_IN_LIB): New macro.
27523         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27524         * include/netdb.h: Likewise.
27525         * include/stap-probe.h: Remove all uses of IN_LIB.
27527         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27528         instead of IN_MODULE.
27529         * include/libc-symbols.h (IN_MODULE): Define using
27530         MODULE_NAME.
27531         (PASTE_NAME, PASTE_NAME1): New macros.
27532         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27533         of IN_LIB.
27534         (STAP_PROBE_ASM): Likewise.
27536 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27538         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27539         __mach_init in dlopened libc.
27541 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27543         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27544         * sysdeps/arm/preconfigure: Regenerate.
27546 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27548         * nptl/pthread_create.c (__pthread_create_2_1): Set
27549         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27550         when copying values from IATTR into PD.
27552 2014-11-21  Will Newton  <will.newton@linaro.org>
27553             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27555         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27556         Refactor inline-asm.  Also add comment.
27558         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27559         ElfW macro instead of hardcoded Elf64 types.
27560         (la_aarch64_gnu_pltenter): Likewise.
27561         * sysdeps/aarch64/dl-machine.h
27562         (elf_machine_runtime_setup): Use ElfW(Addr).
27564         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27565         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27566         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27567         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27568         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27569         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27570         (R_AARCH64_TLS_DTPMOD): This.
27571         (R_AARCH64_TLS_DTPREL64): Rename to ...
27572         (R_AARCH64_TLS_DTPREL): This.
27573         (R_AARCH64_TLS_TPREL64): Rename to ...
27574         (R_AARCH64_TLS_TPREL): This.
27575         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27576         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27577         R_AARCH64_TLS_TPREL64.
27578         (elf_machine_rela): Likewise.
27580 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27582         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27583         by setting it to 0.  64b atomics are not supported currently.
27585 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27587         [BZ #16469]
27588         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27589         search domain names.
27591 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27593         [BZ #16469]
27594         * NEWS: Update.
27595         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27596         trailing dot.
27597         * posix/tst-getaddrinfo5.c: New.
27598         * posix/Makefile (tests): Add it.
27600 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27602         [BZ #14498]
27603         * NEWS: Fixed.
27604         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27605         after parsing line but before break_if_match.
27606         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27607         if there is a protocol mismatch.
27609 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27611         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27612         because the potential race is on the user-supplied stream.
27614 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27616         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27617         string literal if not passed a buffer.
27618         * manual/job.texi (ctermid): Update reasoning, note deviation
27619         from posix, suggest mtasurace when not passed a buffer, for
27620         future non-preliminary safety notes.
27622 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27624         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27625         of not passing it a buffer.
27626         Reported by Peng Haitao.
27628 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27630         * manual/Makefile ($(objpfx)stamp-summary): Require
27631         check-safety.sh to pass.
27632         * manual/check-safety.sh: Wish for verification that every
27633         @deftypefn and @deftypefun is followed by a @safety remark.
27635 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27637         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27639         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27640         PTHREAD_CANCEL_ASYNCHRONOUS.
27641         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27642         send SIGCANCEL.
27644         * nptl/default-sched.h: New file.
27645         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27646         * nptl/pthread_create.c: Include it.
27647         (__pthread_create_2_1): Use collect_default_sched instead of making
27648         Linux syscalls here directly.
27650 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27652         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27653         __pthread_once): Use C11 atomics.
27655 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27657         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27659 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27661         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27662         atomic_thread_fence_acquire, atomic_thread_fence_release,
27663         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27664         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27665         atomic_compare_exchange_weak_relaxed,
27666         atomic_compare_exchange_weak_acquire,
27667         atomic_compare_exchange_weak_release,
27668         atomic_exchange_acquire, atomic_exchange_release,
27669         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27670         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27671         atomic_fetch_and_acquire,
27672         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27674 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27676         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27677         USE_ATOMIC_COMPILER_BUILTINS): Define.
27678         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27679         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27680         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27681         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27682         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27683         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27684         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27685         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27686         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27687         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27688         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27689         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27690         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27691         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27692         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27693         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27694         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27695         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27696         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27697         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27698         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27699         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27700         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27701         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27702         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27703         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27704         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27705         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27706         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27707         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27708         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27709         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27710         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27711         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27712         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27713         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27714         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27715         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27716         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27719 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27721         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27722         the sched_priority value here.  It was already checked when the user
27723         called pthread_attr_setschedparam.
27725         * nptl/tst-bad-schedattr.c: New file.
27726         * nptl/Makefile (tests): Add it.
27728 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27729             Florian Weimer  <fweimer@redhat.com>
27730             Joseph Myers  <joseph@codesourcery.com>
27731             Adam Conrad  <adconrad@0c3.net>
27732             Andreas Schwab  <schwab@suse.de>
27733             Brooks  <bmoses@google.com>
27735         [BZ #17625]
27736         * wordexp-test.c (__dso_handle): Add prototype.
27737         (__register_atfork): Likewise.
27738         (__app_register_atfork): New function.
27739         (registered_forks): New global.
27740         (register_fork): New function.
27741         (test_case): Add 3 new tests for WRDE_CMDSUB.
27742         (main): Call __app_register_atfork.
27743         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27744         fork count is non-zero fail the test.
27745         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27746         is set.
27747         (parse_dollars): Remove check for WRDE_NOCMD.
27748         (parse_dquote): Likewise.
27750 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27752         * Makeconfig (built-modules): List non-library modules to be
27753         built.
27754         (module-cppflags): Include libc-modules.h for
27755         everything except shlib-versions.v.i.
27756         (CPPFLAGS): Use it.
27757         (before-compile): Add libc-modules.h.
27758         ($(common-objpfx)libc-modules.h,
27759         $(common-objpfx)libc-modules.stmp): New targets.
27760         (common-generated): Add libc-modules.h and libc-modules.stmp.
27761         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27762         * include/libc-symbols.h: Don't include libc-modules.h.
27763         * include/libc-modules.h: Remove file.
27764         * scripts/gen-libc-modules.awk: New script to generate
27765         libc-modules.h.
27766         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27767         Depend on libc-modules.stmp.
27769         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27771         * Makeconfig (in-module): Get value of libof set for the
27772         translation unit.
27773         (CPPFLAGS): Use $(in-module).
27774         * Makerules: Don't suffix routine names for nonlib.
27775         * include/libc-modules.h: New file.
27776         * include/libc-symbols.h: Include libc-modules.h
27777         (IS_IN): New macro to replace IS_IN_* macros.
27778         * elf/Makefile: Set libof-* for each routine.
27779         * elf/rtld-Rules: Likewise.
27780         * extra-modules.mk: Likewise.
27781         * iconv/Makefile: Likewise.
27782         * iconvdata/Makefile: Likewise.
27783         * locale/Makefile: Likewise.
27784         * malloc/Makefile: Likewise.
27785         * nss/Makefile: Likewise.
27786         * sysdeps/gnu/Makefile: Likewise.
27787         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27788         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27789         * sysdeps/s390/s390-64/Makefile: Likewise.
27790         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27791         CPPFLAGS for nscd instead of nonlib.
27793 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27795         * nptl/createthread.c: New file.
27797         * nptl/createthread.c: Moved ...
27798         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27800         * nptl/createthread.c: Add proper top-line comment.
27801         (do_clone): Folded into ...
27802         (create_thread): ... here.  Take new arguments STOPPED_START and
27803         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27804         increment __nptl_threads, do event-reporting logic, do
27805         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27806         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27807         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27808         just send SIGCANCEL.
27809         * nptl/pthread_create.c: Forward-declare create_thread before
27810         including createthread.c.
27811         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27812         declaration, and new macro START_THREAD_SELF to replace argument.
27813         Remove return statement.
27814         (report_thread_creation): New function.
27815         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27816         synchronization logic, and __nptl_nthreads increment here, around
27817         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27818         PD->parent_cancelhandling here, before create_thread.  When
27819         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27820         __deallocate_stack, and ENOMEM translation here.
27822 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27824         [BZ #17616]
27825         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27826         (mptwo): Rename to __mptwo.
27827         (__inv): Use __mptwo instead of mptwo.
27828         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27829         (mptwo): Rename to __mptwo.
27830         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27831         of mpone and __mptwo instead of mptwo.
27832         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27833         instead of mpone.
27834         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27835         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27836         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27837         of mpone and __mptwo instead of mptwo.
27838         (__mpranred): Use __mpone instead of mpone.
27839         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27840         variable.
27841         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27842         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27843         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27844         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27845         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27846         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27847         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27848         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27849         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27850         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27851         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27852         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27853         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27854         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27855         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27856         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27857         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27858         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27859         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27861 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27863         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27864         replace BSD Handler xref with BSD Signal Handling.
27866 2014-11-17  Richard Henderson  <rth@redhat.com>
27868         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27869         (_FP_PACK_RAW_2): Remove.
27870         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27871         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27872         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27873         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27874         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27875         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27876         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27877         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27878         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27879         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27880         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27881         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27882         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27883         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27884         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27885         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27887 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27889         * signal/signal.h [__USE_MISC]
27890         (struct sigvec): Remove type.
27891         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27892         (sigvec): Remove declaration.
27893         * sysdeps/posix/sigvec.c: Moved ...
27894         * signal/sigvec.c: ... here, replacing old file.
27895         (struct sigvec): New type, copied from old signal.h definition.
27896         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27897         (__sigvec): Convert definition to prototype.
27898         (sigvec): Replace weak_alias with compat_symbol.
27899         * signal/Versions (libc: GLIBC_2.21): New version set.
27900         * include/signal.h: Remove __sigvec declaration.
27901         * sysdeps/unix/bsd/sigvec.c: Remove file.
27902         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27903         * manual/signal.texi (BSD Handler): Remove subsection.
27904         Move siginterrupt up to ...
27905         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27906         (Blocking in BSD): Fold subsection into its parent.
27907         * NEWS: Mention sigvec removal.
27909 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27911         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27912         (DLA_FMS): Make definition conditional only on [__FMA4__].
27913         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27914         definition.
27916         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27917         Make definition conditional only on [PROF].
27918         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27919         definition.
27920         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27921         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27923         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27924         !__GNUC__].
27925         * include/signal.h (__sigpause): Move declaration above call to
27926         libc_hidden_proto.
27927         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27928         variable.
27929         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27930         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27932 2014-11-14  David S. Miller  <davem@davemloft.net>
27934         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27935         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27937 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27939         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27940         * configure: Regenerated.
27941         * manual/install.texi (Tools for Compilation): Document a
27942         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27943         compiler verified to work.
27944         * INSTALL: Regenerated.
27946         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27947         redeclare with asm name.
27948         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27949         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27950         including <string.h>.
27951         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27952         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27953         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27954         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27955         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27956         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27957         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27959 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27961         * stdlib/strtol.c (__strtol): Use prototype definition.
27963         [BZ #17594]
27964         * stdlib/strtol.c (SYM__): New macro.
27965         (SYM__1): Likewise.
27966         (__strtol): Likewise.
27967         (strtol): Rename to __strtol and define as weak alias of
27968         __strtol.  Use libc_hidden_weak.
27970 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27972         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27973         Use numbered labels in inline assembly.
27975 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27977         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27978         Add setjmp LIBC_PROBE.
27979         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27980         Likewise.
27981         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27982         Add longjmp, longjmp_target LIBC_PROBE.
27983         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27984         Likewise.
27986 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27988         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27989         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27990         to get rid of unused variable warning.
27992 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27994         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27995         Check for unwind_backtrace ==  NULL only in SHARED case.
27996         (__backchain_backtrace): Compile only in SHARED case.
27997         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27998         Likewise.
27999         (__backchain_backtrace): Declare as static.
28001 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28003         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28004         (__libc_multiple_threads_ptr): Variable moved ...
28005         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28007 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28009         * conform/GlibcConform.pm: New file.
28010         * conform/conformtest.pl: Use GlibcConform module.
28011         * conform/linknamespace.pl: New file.
28012         * conform/list-header-symbols.pl: Likewise.
28013         * conform/Makefile (linknamespace-symlists-base): New variable.
28014         (linknamespace-symlists-tests): Likewise.
28015         (linknamespace-header-base): Likewise.
28016         (linknamespace-header-tests): Likewise.
28017         (tests-special): Add new tests.
28018         ($(linknamespace-symlists-tests)): New rule.
28019         (linknamespace-libs): New variable.
28020         ($(objpfx)symlist-stdlibs): New rule.
28021         ($(linknamespace-header-tests)): Likewise.
28022         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28023         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28024         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28025         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28026         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28027         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28028         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28029         (test-xfail-ISO/math.h/linknamespace): Likewise.
28030         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28031         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28032         (test-xfail-ISO/time.h/linknamespace): Likewise.
28033         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28034         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28035         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28036         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28037         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28038         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28039         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28040         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28041         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28042         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28043         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28044         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28045         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28046         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28047         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28048         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28049         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28050         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28051         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28052         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28053         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28054         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28055         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28056         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28057         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28058         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28059         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28060         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28061         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28062         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28063         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28064         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28065         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28066         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28067         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28068         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28069         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28070         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28071         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28072         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28073         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28074         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28075         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28076         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28077         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28078         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28079         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28080         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28081         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28082         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28083         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28084         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28085         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28086         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28087         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28088         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28089         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28090         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28091         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28092         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28093         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28094         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28095         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28096         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28097         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28098         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28099         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28100         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28101         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28102         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28103         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28104         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28105         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28106         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28107         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28108         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28109         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28110         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28111         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28112         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28113         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28114         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28115         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28116         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28117         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28118         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28119         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28120         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28121         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28122         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28123         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28124         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28125         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28126         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28127         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28128         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28129         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28130         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28131         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28132         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28133         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28134         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28135         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28136         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28137         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28138         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28139         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28140         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28141         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28142         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28143         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28144         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28145         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28146         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28147         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28148         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28149         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28150         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28151         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28152         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28153         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28154         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28155         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28156         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28157         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28158         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28159         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28160         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28161         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28162         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28163         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28164         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28165         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28166         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28167         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28168         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28169         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28170         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28171         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28172         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28173         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28174         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28175         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28176         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28177         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28178         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28179         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28180         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28181         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28182         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28184         [BZ #17589]
28185         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28186         of fgets_unlocked.
28188         [BZ #17585]
28189         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28190         (memmem): Rename to __memmem and define as weak alias of
28191         __memmem.  Use libc_hidden_weak.
28192         (__memmem): Use libc_hidden_def.
28193         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28194         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28195         memmem.
28197         [BZ #17582]
28198         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28199         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28200         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28201         and define as weak alias of __fgets_unlocked.  Use
28202         libc_hidden_weak.
28203         (__fgets_unlocked): Use libc_hidden_def.
28204         * include/stdio.h (__fgets_unlocked): Declare.  Use
28205         libc_hidden_proto.
28206         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28207         __fgets_unlocked instead of fgets_unlocked.
28208         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28209         (GET_NPROCS_CONF_PARSER): Likewise.
28210         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28211         (GET_NPROCS_CONF_PARSER): Likewise.
28213         [BZ #17574]
28214         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28215         weak alias of __wmemset.  Use libc_hidden_weak.
28216         (__wmemset): Use libc_hidden_def.
28217         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28218         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28219         of wmemset.
28221         [BZ #17573]
28222         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28223         with asm name __mempcpy.
28224         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28226         [BZ #17572]
28227         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28228         and define as weak alias of __rawmemchr.
28229         (__rawmemchr): Do not define as strong alias of rawmemchr.
28231         [BZ #17571]
28232         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28233         alias of __qsort_r.
28234         (qsort): Call __qsort_r instead of qsort_r.
28235         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28236         (__qsort_r): Declare.  Call libc_hidden_proto.
28237         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28238         instead of qsort_r.
28239         * nscd/gai.c (__qsort_r): Define to qsort_r.
28240         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28241         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28242         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28244         [BZ #17570]
28245         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28246         define as weak alias of __malloc_info.
28248         [BZ #17584]
28249         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28250         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28251         (__rewinddir): Use libc_hidden_def.
28252         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28253         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28254         (__rewinddir): Use libc_hidden_def.
28255         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28256         weak alias of __rewinddir.  Don't use libc_hidden_def.
28257         (__rewinddir): Use libc_hidden_def.
28258         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28259         (__rewinddir): Use libc_hidden_proto.
28260         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28261         rewinddir.
28262         (__getcwd): Use __rewinddir instead of rewinddir.
28264         [BZ #17583]
28265         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28266         alias of __fileno.  Use libc_hidden_weak.
28267         (__fileno): Use libc_hidden_def.
28268         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28269         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28270         alias of __ftello.
28271         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28272         __ftello.
28273         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28274         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28275         libc_hidden_def.
28276         (fread_unlocked): Don't use libc_hidden_ver.
28277         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28278         and define as weak alias of __fread_unlocked.  Don't use
28279         libc_hidden_def.
28280         (__fread_unlocked): Use libc_hidden_def.
28281         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28282         (ftello): Don't use libc_hidden_proto.
28283         (__ftello): Declare.  Use libc_hidden_proto.
28284         (fread_unlocked): Don't use libc_hidden_proto.
28285         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28286         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28287         and __ftello instead of fileno, fread_unlocked and ftello.
28289 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28291         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28292         GOT12.
28293         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28294         Likewise.
28295         (_dl_start_user): Likewise.
28296         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28298 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28299             Siddhesh Poyarekar  <siddhesh@redhat.com>
28301         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28302         Move argv and envp down instead of moving argc up.
28303         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28305 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28307         [BZ #17506]
28308         * test-skeleton.c (main): Return successful if one of
28309         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28310         * string/tst-strcoll-overflow.c: Define expected status.
28312 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28314         [BZ #17475]
28315         * locale/iso-639.def: Define Bhili and Tulu language codes.
28317 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28319         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28321 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28323         [BZ #17555]
28324         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28326 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28328         * configure.ac: Updated check of minimal required version to
28329         2.22.
28330         * manual/install.texi (Tools for Compilation): Updated version
28331         number.
28332         * configure: Regenerated.
28333         * INSTALL: Likewise.
28335 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28337         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28338         __tls_get_addr.
28340 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28342         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28343         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28344         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28345         libc_hidden_weak.
28346         (waitpid): Define as alias of __waitpid.
28347         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28348         __waitpid.
28349         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28350         libc_hidden_weak.
28351         (waitpid): Define as alias of __waitpid.
28352         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28353         __libc_waitpid alias.
28354         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28355         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28356         Likewise.
28357         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28358         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28359         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28360         alias.
28361         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28362         __waitpid.
28363         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28364         libc_hidden_weak.
28365         (waitpid): Define as alias of __waitpid.
28367 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28369         * manual/llio.texi: Add comment that write safety has been
28370         fixed in Linux.
28372         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28373         (localplt-build-dso): Add elf/ld.so.
28374         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28375         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28376         and free for ld.so.
28377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28378         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28380         Likewise.
28381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28382         Likewise.
28383         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28384         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28385         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28386         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28387         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28388         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28389         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28390         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28391         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28392         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28393         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28395 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28397         [BZ #14132]
28398         * include/libc-symbols.h (INTUSE): Remove macro.
28399         (INTDEF): Likewise.
28400         (INTVARDEF): Likewise.
28401         (_INTVARDEF): Likewise.
28402         (INTDEF2): Likewise.
28403         (INTVARDEF2): Likewise.
28404         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28405         rtld_hidden_def instead of INTVARDEF.
28406         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28407         (_dl_starting_up_internal): Remove declaration.
28408         (_dl_starting_up): Use rtld_hidden_proto.
28409         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28410         declaration.
28411         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28412         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28413         _dl_starting_up.
28414         * elf/dl-writev.h (_dl_writev): Likewise.
28415         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28416         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28417         _dl_starting_up_internal.
28419 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28421         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28422         test-skeleton.c.
28424 2014-11-05  Will Newton  <will.newton@linaro.org>
28426         * benchtests/Makefile: (bench-malloc): Add malloc thread
28427         scalability benchmark.
28428         * benchtests/bench-malloc-threads.c: New file.
28430 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28432         * sysdeps/aarch64/strchrnul.S: New file.
28434 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28436         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28437         definition.
28438         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28439         Likwise.
28440         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28441         Likewise.
28442         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28443         Likewise.
28444         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28445         Likewise.
28446         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28447         Likewise.
28449 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28451         * catgets/test-gencat.c: Use test-skeleton.c.
28452         * catgets/tst-catgets.c: Likewise.
28453         * csu/tst-empty.c: Likewise.
28454         * elf/tst-audit2.c: Likewise.
28455         * elf/tst-global1.c: Likewise.
28456         * elf/tst-pathopt.c: Likewise.
28457         * elf/tst-piemod1.c: Likewise.
28458         * elf/tst-tls10.c: Likewise.
28459         * elf/tst-tls11.c: Likewise.
28460         * elf/tst-tls12.c: Likewise.
28461         * gnulib/tst-gcc.c: Likewise.
28462         * iconvdata/tst-e2big.c: Likewise.
28463         * iconvdata/tst-loading.c: Likewise.
28464         * iconv/tst-iconv1.c: Likewise.
28465         * iconv/tst-iconv2.c: Likewise.
28466         * inet/test-inet6_opt.c: Likewise.
28467         * inet/tst-gethnm.c: Likewise.
28468         * inet/tst-network.c: Likewise.
28469         * inet/tst-ntoa.c: Likewise.
28470         * intl/tst-codeset.c: Likewise.
28471         * intl/tst-gettext2.c: Likewise.
28472         * intl/tst-gettext3.c: Likewise.
28473         * intl/tst-ngettext.c: Likewise.
28474         * intl/tst-translit.c: Likewise.
28475         * io/test-stat.c: Likewise.
28476         * libio/test-fmemopen.c: Likewise.
28477         * libio/tst-freopen.c: Likewise.
28478         * libio/tst-sscanf.c: Likewise.
28479         * libio/tst-ungetwc1.c: Likewise.
28480         * libio/tst-ungetwc2.c: Likewise.
28481         * libio/tst-widetext.c: Likewise.
28482         * localedata/tst-ctype.c: Likewise.
28483         * localedata/tst-digits.c: Likewise.
28484         * localedata/tst-leaks.c: Likewise.
28485         * localedata/tst-mbswcs1.c: Likewise.
28486         * localedata/tst-mbswcs2.c: Likewise.
28487         * localedata/tst-mbswcs3.c: Likewise.
28488         * localedata/tst-mbswcs4.c: Likewise.
28489         * localedata/tst-mbswcs5.c: Likewise.
28490         * localedata/tst-setlocale.c: Likewise.
28491         * localedata/tst-trans.c: Likewise.
28492         * localedata/tst-wctype.c: Likewise.
28493         * localedata/tst-xlocale1.c: Likewise.
28494         * login/tst-grantpt.c: Likewise.
28495         * malloc/tst-calloc.c: Likewise.
28496         * malloc/tst-malloc.c: Likewise.
28497         * malloc/tst-mallocstate.c: Likewise.
28498         * malloc/tst-mcheck.c: Likewise.
28499         * malloc/tst-mtrace.c: Likewise.
28500         * malloc/tst-obstack.c: Likewise.
28501         * math/atest-exp2.c: Likewise.
28502         * math/atest-exp.c: Likewise.
28503         * math/atest-sincos.c: Likewise.
28504         * math/test-matherr.c: Likewise.
28505         * math/test-misc.c: Likewise.
28506         * math/test-powl.c: Likewise.
28507         * math/tst-definitions.c: Likewise.
28508         * misc/tst-dirname.c: Likewise.
28509         * misc/tst-efgcvt.c: Likewise.
28510         * misc/tst-fdset.c: Likewise.
28511         * misc/tst-hsearch.c: Likewise.
28512         * misc/tst-mntent2.c: Likewise.
28513         * nptl/tst-sem7.c: Likewise.
28514         * nptl/tst-sem8.c: Likewise.
28515         * nptl/tst-sem9.c: Likewise.
28516         * nss/test-netdb.c: Likewise.
28517         * posix/tst-fnmatch.c: Likewise.
28518         * posix/tst-getlogin.c: Likewise.
28519         * posix/tst-gnuglob.c: Likewise.
28520         * posix/tst-mmap.c: Likewise.
28521         * pwd/tst-getpw.c: Likewise.
28522         * resolv/tst-inet_ntop.c: Likewise.
28523         * rt/tst-timer.c: Likewise.
28524         * stdio-common/test-fseek.c: Likewise.
28525         * stdio-common/test-popen.c: Likewise.
28526         * stdio-common/test-vfprintf.c: Likewise.
28527         * stdio-common/tst-cookie.c: Likewise.
28528         * stdio-common/tst-fileno.c: Likewise.
28529         * stdio-common/tst-gets.c: Likewise.
28530         * stdio-common/tst-obprintf.c: Likewise.
28531         * stdio-common/tst-perror.c: Likewise.
28532         * stdio-common/tst-sprintf2.c: Likewise.
28533         * stdio-common/tst-sprintf3.c: Likewise.
28534         * stdio-common/tst-sprintf.c: Likewise.
28535         * stdio-common/tst-swprintf.c: Likewise.
28536         * stdio-common/tst-tmpnam.c: Likewise.
28537         * stdio-common/tst-unbputc.c: Likewise.
28538         * stdio-common/tst-wc-printf.c: Likewise.
28539         * stdlib/tst-environ.c: Likewise.
28540         * stdlib/tst-fmtmsg.c: Likewise.
28541         * stdlib/tst-limits.c: Likewise.
28542         * stdlib/tst-rand48-2.c: Likewise.
28543         * stdlib/tst-rand48.c: Likewise.
28544         * stdlib/tst-random2.c: Likewise.
28545         * stdlib/tst-random.c: Likewise.
28546         * stdlib/tst-strtol.c: Likewise.
28547         * stdlib/tst-strtoll.c: Likewise.
28548         * stdlib/tst-tls-atexit.c: Likewise.
28549         * stdlib/tst-xpg-basename.c: Likewise.
28550         * string/test-ffs.c: Likewise.
28551         * string/tst-bswap.c: Likewise.
28552         * string/tst-inlcall.c: Likewise.
28553         * string/tst-strtok.c: Likewise.
28554         * string/tst-strxfrm.c: Likewise.
28555         * sysdeps/x86_64/tst-audit10.c: Likewise.
28556         * sysdeps/x86_64/tst-audit3.c: Likewise.
28557         * sysdeps/x86_64/tst-audit4.c: Likewise.
28558         * sysdeps/x86_64/tst-audit5.c: Likewise.
28559         * time/tst-ftime_l.c: Likewise.
28560         * time/tst-getdate.c: Likewise.
28561         * time/tst-mktime3.c: Likewise.
28562         * time/tst-mktime.c: Likewise.
28563         * time/tst-posixtz.c: Likewise.
28564         * time/tst-strptime2.c: Likewise.
28565         * time/tst-strptime3.c: Likewise.
28566         * wcsmbs/tst-btowc.c: Likewise.
28567         * wcsmbs/tst-mbrtowc.c: Likewise.
28568         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28569         * wcsmbs/tst-wchar-h.c: Likewise.
28570         * wcsmbs/tst-wcpncpy.c: Likewise.
28571         * wcsmbs/tst-wcrtomb.c: Likewise.
28572         * wcsmbs/tst-wcsnlen.c: Likewise.
28573         * wcsmbs/tst-wcstof.c: Likewise.
28575 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28577         [BZ #14132]
28578         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28579         INTDEF.
28580         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28581         declaration.
28582         (_dl_mcount): Use rtld_hidden_proto.
28583         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28584         _dl_mcount.
28585         * elf/rtld.c (_rtld_global_ro): Likewise.
28587         [BZ #14132]
28588         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28589         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28590         of _dl_init_internal.
28591         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28592         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28593         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28594         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28595         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28596         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28597         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28598         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28599         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28600         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28601         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28602         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28603         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28604         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28605         * sysdeps/tile/dl-start.S (_start): Likewise.
28606         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28607         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28609         [BZ #14132]
28610         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28611         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28612         (rtld_progname): Make macro definition unconditional.
28613         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28614         INTDEF.
28615         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28616         (dl_main): Likewise.
28617         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28618         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28619         instead of _dl_argv_internal.
28620         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28621         __GI__dl_argv instead of INTUSE(_dl_argv).
28622         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28623         __GI__dl_argv instead of _dl_argv_internal.
28625         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28626         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28627         macro.
28628         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28629         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28630         New macro.
28631         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28632         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28633         macro.
28634         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28635         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28637 2014-11-04  Andreas Schwab  <schwab@suse.de>
28639         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28641 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28643         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28644         mtvsrd instruction in binary form.
28646 2014-11-03  Andreas Schwab  <schwab@suse.de>
28648         [BZ #17522]
28649         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28650         for less than MB_LEN_MAX use a local buffer of that size.
28651         * libio/tst-fputws.c: New file.
28652         * libio/Makefile (tests): Add tst-fputws.
28654 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28656         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28657         the size of the fpu_fr.fpu_dregs[] array.
28659 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28661         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28662         (__nanosleep): Do not define as alias.
28663         (nanosleep): Define as alias of __nanosleep.
28664         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28665         __libc_nanosleep name.
28667 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28669         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28670         install.texi in comment.
28672 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28674         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28675         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28676         ... add here and use lwsync or sync ...
28677         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28678         ... and add here using lwsync.
28680 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28682         * elf/dl-machine-reject-phdr.h: New file.
28683         * elf/dl-load.c: #include that.
28684         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28685         if that returned true.
28687 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28689         [BZ #17496]
28690         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28691         gen-as-const-headers chunk.  Add a big scare comment after the last
28692         safe place to touch before-compile.
28694 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28696         * manual/install.texi (Tools for Compilation): Update autoconf
28697         version requirements.
28698         * INSTALL: Regenerated.
28700         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28701         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28702         (__libc_pselect): Likewise.
28704         [BZ #14138]
28705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28710 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28712         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28713         correct barrier instruction.
28714         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28715         Likewise.
28716         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28717         Likewise.
28719 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28721         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28722         after defining inlines.  Instead, just use parens to defeat macro
28723         expansion of __isctype in its declaration.
28725 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28727         * include/sys/uio.h (__libc_readv): Remove declaration.
28728         (__libc_writev): Likewise.
28729         * misc/readv.c (__libc_readv): Rename to __readv.
28730         (__readv): Do not define as alias.
28731         (readv): Define as alias of __readv.
28732         * misc/writev.c (__libc_writev): Rename to __writev.
28733         (__writev): Do not define as alias.
28734         (writev): Define as alias of __writev.
28735         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28736         (__readv): Do not define as alias.
28737         (readv): Define unconditionally as alias of __readv.
28738         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28739         (__writev): Do not define as alias.
28740         (writev): Define unconditionally as alias of __writev.
28741         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28742         name.
28743         (writev): Do not define __libc_writev name.
28745 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28747         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28748         (convert_charseq): New function, broken out of ...
28749         (use_from_charmap): ... here.  Call it.
28750         (use_to_charmap): Use convert_charseq and free instead of duplicating
28751         its code with a variable-length stack struct.
28753 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28755         * include/fcntl.h (__libc_creat): Remove declaration.
28756         * io/creat.c (__libc_creat): Rename to creat.
28757         (creat): Do not define as alias.
28758         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28759         of creat instead of __libc_creat.
28760         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28761         to creat.
28762         (creat): Do not define as alias.
28763         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28764         __libc_creat.
28765         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28766         __libc_creat name.
28767         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28768         Likewise.
28770 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28772         * manual/llio.texi: Add comments discussing why write() may be
28773         considered MT-unsafe on Linux.
28775 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28777         * dl-load.c (local_strdup): Remove.
28778         (expand_dynamic_string_token): Use __strdup.
28779         (decompose_rpath): Likewise.
28780         (_dl_map_object): Likewise.
28782 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28784         [BZ #14132]
28785         * sysdeps/generic/unwind-dw2-fde.c
28786         (__register_frame_info_bases_internal): Do not declare.
28787         (__register_frame_info_table_bases_internal): Likewise.
28788         (__deregister_frame_info_bases_internal): Likewise.
28789         (__register_frame_info_bases): Declare and use hidden_proto before
28790         definition.  Use hidden_def instead of INTDEF.
28791         (__register_frame_info_table_bases): Likewise.
28792         (__deregister_frame_info_bases): Likewise.
28793         (__register_frame_info): Do not use INTUSE.
28794         (__register_frame): Likewise.
28795         (__register_frame_info_table): Likewise.
28796         (__register_frame_table): Likewise.
28797         (__deregister_frame_info): Likewise.
28798         (__deregister_frame): Likewise.
28800 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28802         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28803         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28804         not undefine.
28805         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28806         Likewise.
28807         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28808         Likewise.
28810 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28812         [BZ #14138]
28813         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28814         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28815         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28816         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28817         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28818         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28819         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28820         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28821         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28822         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28823         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28824         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28825         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28826         syscall.
28827         (setfsuid): Likewise.
28828         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28829         (setfsuid): Likewise.
28830         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28831         (setfsuid): Likewise.
28832         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28833         Likewise.
28834         (setfsuid): Likewise.
28835         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28836         (setfsuid): Likewise.
28837         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28838         Likewise.
28839         (setfsuid): Likewise.
28841 2014-10-27  Andreas Schwab  <schwab@suse.de>
28843         [BZ #17501]
28844         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28845         check for Slow_SSE4_2 feature bit.
28846         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28847         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28848         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28849         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28851 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28853         * configure.ac: Validate compiler version with a empirical test of
28854         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28855         $CC -v output.
28856         * configure: Regenerated.
28858         * inet/htons.c (htons): Prototypify.
28859         * inet/htonl.c (htonl): Likewise.
28861 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28863         * string/strncat.c (strncat): Improve performance by using strlen.
28865 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28867         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28869 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28871         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28872         Call libc_fetestexcept_aarch64.
28874 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28876         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28877         Call libc_feholdexcept_aarch64.
28879 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28881         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28882         Call get_rounding_mode.
28884 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28886         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28887         Simplify logic.
28889 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28891         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28892         Simplify logic.
28894 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28896         [BZ #14138]
28897         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28898         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28899         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28900         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28901         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28902         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28903         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28904         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28905         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28906         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28907         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28908         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28909         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28910         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28911         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28912         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28913         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28914         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28915         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28916         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28917         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28918         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28919         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28920         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28921         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28922         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28923         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28924         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28925         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28926         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28927         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28928         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28929         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28930         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28931         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28932         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28933         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28934         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28935         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28936         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28937         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28938         syscall.
28939         (geteuid): Likewise.
28940         (getgid): Likewise.
28941         (getuid): Likewise.
28942         (getresgid): Likewise.
28943         (getresuid): Likewise.
28944         (getgroups): Likewise.
28945         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28946         (geteuid): Likewise.
28947         (getgid): Likewise.
28948         (getuid): Likewise.
28949         (getresgid): Likewise.
28950         (getresuid): Likewise.
28951         (getgroups): Likewise.
28952         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28953         (geteuid): Likewise.
28954         (getgid): Likewise.
28955         (getuid): Likewise.
28956         (getresgid): Likewise.
28957         (getresuid): Likewise.
28958         (getgroups): Likewise.
28959         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28960         Likewise.
28961         (geteuid): Likewise.
28962         (getgid): Likewise.
28963         (getuid): Likewise.
28964         (getresgid): Likewise.
28965         (getresuid): Likewise.
28966         (getgroups): Likewise.
28967         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28968         (geteuid): Likewise.
28969         (getgid): Likewise.
28970         (getuid): Likewise.
28971         (getresgid): Likewise.
28972         (getresuid): Likewise.
28973         (getgroups): Likewise.
28974         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28975         Likewise.
28976         (geteuid): Likewise.
28977         (getgid): Likewise.
28978         (getuid): Likewise.
28979         (getgroups): Likewise.
28981         [BZ #14138]
28982         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28983         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28984         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28985         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28986         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28987         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28988         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28989         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28990         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28991         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28992         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28993         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28994         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28995         __chown.
28996         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28997         (lchown): Likewise.
28998         (fchown): Likewise.
28999         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29000         Likewise.
29001         (lchown): Likewise.
29002         (fchown): Likewise.
29003         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29004         (lchown): Likewise.
29005         (fchown): Likewise.
29006         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29007         Likewise.
29008         (lchown): Likewise.
29009         (fchown): Likewise.
29011 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29013         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29014         Simplify logic.
29016 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29018         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29019         Cleanup logic.
29021 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29023         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29024         Remove unused include.
29026 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29028         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29029         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29030         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29031         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29033 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29034             Helge Deller <deller@gmx.de>
29036         [BZ #17508]
29037         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29038         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29039         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29041 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29043         [BZ #14132]
29044         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29045         Remove macro definition.
29046         (__ashrdi3_v_glibc20): Likewise.
29047         (__lshrdi3_v_glibc20): Likewise.
29048         (__cmpdi2_v_glibc20): Likewise.
29049         (__ucmpdi2_v_glibc20): Likewise.
29050         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29051         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29052         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29053         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29054         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29055         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29057 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29059         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29060         old GNU extension [0] syntax.
29061         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29062         alloca rather than an array member with variable length.
29063         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29064         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29065         (parse_opt): ... here.  Likewise use alloca there.
29066         Validate the -i argument before checking for rootness.
29067         (send_shutdown): New function, broken out of ...
29068         (parse_opt): ... here.
29070 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29072         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29073         macro to get at the _rt_local_ro field.
29074         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29075         ([PIC] case) or _dl_hwcap ([!PIC] case).
29076         * sysdeps/arm/setjmp.S: Likewise.
29078         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29079         * sysdeps/arm/configure.ac: New check to define it.
29080         * sysdeps/arm/configure: Regenerated.
29081         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29082         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29083         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29084         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29085         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29086         Use move/movt pair instead of a load.
29087         (LDST_GLOBAL): Macro removed.
29088         (LDR_GLOBAL): New macro replaces it.
29089         (LDR_HIDDEN): New macro.
29090         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29091         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29093         * setjmp/tst-setjmp-static.c: New file.
29094         * setjmp/Makefile (tests): Add it.
29095         (tests-static): New variable.
29097 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29099         [BZ #17485]
29100         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29102 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29104         [BZ #14132]
29105         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29107 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29109         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29111 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29113         * io/fts.c (dirent_not_directory): New function.
29114         (fts_build): Call it.
29116 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29118         * nptl/version.c (__nptl_main): Use normal __write rather than
29119         INTERNAL_SYSCALL.
29120         (banner): Update copyright years.
29122         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29123         gettimeofday.
29124         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29125         * nptl/pthread_cond_timedwait.c: Likewise.
29126         * nptl/pthread_mutex_timedlock.c: Likewise.
29127         * nptl/sem_timedwait.c: Likewise.
29129         * sysdeps/nptl/bits/libc-lock.h
29130         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29131         (__libc_lock_init_recursive): Return void, not 0.
29132         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29133         (__libc_rwlock_init): Likewise.
29134         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29136 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29138         [BZ #15215]
29139         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29140         (__pthread_once_slow): ... here.
29141         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29142         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29144 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29146         [BZ #15215]
29147         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29148         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29149         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29150         * nptl/pthread_once.c (__pthread_once): Likewise.
29151         Update comments.
29153 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29155         [BZ #14138]
29156         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29157         name.
29158         (writev): Use __libc_writev as strong name.
29159         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29160         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29162 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29164         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29166         * sysdeps/i386/nptl/tls.h
29167         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29168         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29169         New macros.
29170         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29171         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29172         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29173         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29174         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29175         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29177         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29178         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29179         on [__NR_futex].
29180         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29181         broken out of ...
29182         (__pthread_mutex_init): ... here.  Call it.
29183         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29184         Conditionalize PI cases on [__NR_futex].
29185         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29186         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29187         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29189         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29190         conditional on [SIGSETXID].
29191         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29192         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29193         is defined.  Likewise for SIGSETXID.
29194         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29195         Conditionalize definitions on [SIGSETXID].
29196         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29197         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29198         unblocking on [SIGCANCEL].
29200         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29201         [__NR_set_robust_list].
29203 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29205         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29206         (do_compare): Likewise.
29208 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29210         [BZ #15884]
29211         * string/strcoll_l.c: Don't include stdio.h.
29212         (coll_seq): Remove members idxarr and rulearr.
29213         (get_next_seq_cached): Remove function.
29214         (get_next_seq): Likewise.
29215         (get_next_seq_nocache): Rename to get_next_seq.
29216         (do_compare): Remove function.
29217         (do_compare_nocache): Rename to do_compare.
29218         (STRCOLL): Remove weight and rules cache.
29220 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29222         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29223         * sysdeps/arm/sfp-machine.h: ... to here.
29224         * sysdeps/arm/Implies: Remove arm/soft-fp.
29226 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29228         * conform/data/sys/utsname.h-data (*_t): Allow.
29229         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29230         [POSIX] (WEXITED): Do not expect constant.
29231         [POSIX] (WSTOPPED): Likewise.
29232         [POSIX] (WNOHANG): Likewise.
29233         [POSIX] (WNOWAIT): Likewise.
29234         [POSIX] (siginfo_t): Do not expect type or elements.
29235         [POSIX] (pid_t): Do not expect type.
29236         [POSIX] (signal.h): Do not allow header.
29237         [POSIX] (sys/resource.h): Likewise.
29238         [POSIX] (si_*): Do not allow pattern.
29239         [POSIX] (W*): Likewise.
29240         [POSIX] (P_*): Likewise.
29241         [POSIX] (BUS_*): Likewise.
29242         [POSIX] (CLD_*): Likewise.
29243         [POSIX] (FPE_*): Likewise.
29244         [POSIX] (ILL_*): Likewise.
29245         [POSIX] (POLL_*): Likewise.
29246         [POSIX] (SEGV_*): Likewise.
29247         [POSIX] (SI_*): Likewise.
29248         [POSIX] (TRAP_*): Likewise.
29249         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29250         variable.
29252 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29254         [BZ #12926]
29255         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29256         infinite loop when __recvmsg returns 0.
29258 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29260         * CANCEL-FCT-WAIVE: Remove file.
29261         * CANCEL-FILE-WAIVE: Likewise.
29263         [BZ #14132]
29264         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29265         instead of INTVARDEF.
29266         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29267         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29268         rtld_hidden_data_def instead of INTVARDEF.
29269         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29270         * elf/dl-deps.c (expand_dst): Likewise.
29271         * elf/dl-load.c (_dl_dst_count): Likewise.
29272         (_dl_dst_substitute): Likewise.
29273         (decompose_rpath): Likewise.
29274         (_dl_init_paths): Likewise.
29275         (open_path): Likewise.
29276         (_dl_map_object): Likewise.
29277         * elf/rtld.c (dl_main): Likewise.
29278         (process_dl_audit): Likewise.
29279         (process_envvars): Likewise.
29280         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29281         Remove declaration.
29282         (__libc_enable_secure): Use rtld_hidden_proto.
29284 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29286         * elf/dl-load.c
29287         (add_path): New function broken out of _dl_rtld_di_serinfo.
29288         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29290 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29292         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29293         parentheses around macro arguments.
29294         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29295         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29296         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29297         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29298         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29299         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29300         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29301         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29302         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29303         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29304         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29305         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29306         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29307         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29308         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29309         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29310         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29311         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29312         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29313         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29314         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29315         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29316         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29317         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29318         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29319         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29320         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29321         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29322         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29323         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29324         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29325         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29326         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29327         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29328         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29329         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29330         Likewise.
29331         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29332         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29333         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29335         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29336         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29337         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29338         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29339         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29340         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29341         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29342         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29343         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29344         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29345         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29346         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29347         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29348         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29349         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29350         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29351         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29352         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29353         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29354         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29355         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29356         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29357         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29358         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29359         (_FP_FRAC_SRS_1): Likewise.
29360         (_FP_FRAC_CLZ_1): Likewise.
29361         (_FP_MUL_MEAT_1_imm): Likewise.
29362         (_FP_MUL_MEAT_1_wide): Likewise.
29363         (_FP_MUL_MEAT_1_hard): Likewise.
29364         (_FP_SQRT_MEAT_1): Likewise.
29365         (_FP_FRAC_ASSEMBLE_1): Likewise.
29366         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29367         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29368         (__FP_CLZ_2): Likewise.
29369         (_FP_MUL_MEAT_2_wide): Likewise.
29370         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29371         (_FP_MUL_MEAT_2_gmp): Likewise.
29372         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29373         (_FP_SQRT_MEAT_2): Likewise.
29374         (_FP_FRAC_ASSEMBLE_2): Likewise.
29375         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29376         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29377         (_FP_FRAC_CLZ_4): Likewise.
29378         (_FP_MUL_MEAT_4_wide): Likewise.
29379         (_FP_MUL_MEAT_4_gmp): Likewise.
29380         (_FP_SQRT_MEAT_4): Likewise.
29381         (_FP_FRAC_ASSEMBLE_4): Likewise.
29382         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29383         * soft-fp/op-common.h (_FP_CMP): Likewise.
29384         (_FP_CMP_EQ): Likewise.
29385         (_FP_CMP_UNORD): Likewise.
29386         (_FP_TO_INT): Likewise.
29387         (_FP_FROM_INT): Likewise.
29388         [!__FP_CLZ] (__FP_CLZ): Likewise.
29389         (_FP_DIV_HELP_imm): Likewise.
29390         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29391         Likewise.
29392         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29393         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29394         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29395         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29396         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29397         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29398         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29399         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29400         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29401         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29402         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29403         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29404         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29405         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29406         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29407         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29408         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29409         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29410         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29411         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29412         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29413         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29414         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29415         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29416         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29417         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29418         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29419         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29420         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29421         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29422         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29423         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29424         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29425         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29426         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29427         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29428         (FP_UNPACK_RAW_SP): Likewise.
29429         (FP_PACK_RAW_S): Likewise.
29430         (FP_PACK_RAW_SP): Likewise.
29431         (FP_UNPACK_S): Likewise.
29432         (FP_UNPACK_SP): Likewise.
29433         (FP_UNPACK_SEMIRAW_S): Likewise.
29434         (FP_UNPACK_SEMIRAW_SP): Likewise.
29435         (FP_PACK_S): Likewise.
29436         (FP_PACK_SP): Likewise.
29437         (FP_PACK_SEMIRAW_S): Likewise.
29438         (FP_PACK_SEMIRAW_SP): Likewise.
29439         (_FP_SQRT_MEAT_S): Likewise.
29440         (FP_CMP_S): Likewise.
29441         (FP_CMP_EQ_S): Likewise.
29442         (FP_CMP_UNORD_S): Likewise.
29443         (FP_TO_INT_S): Likewise.
29444         (FP_FROM_INT_S): Likewise.
29446         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29448         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29449         (FP_EX_INVALID_IMZ): Likewise.
29450         (FP_EX_INVALID_IMZ_FMA): Likewise.
29451         (FP_EX_INVALID_ISI): Likewise.
29452         (FP_EX_INVALID_ZDZ): Likewise.
29453         (FP_EX_INVALID_IDI): Likewise.
29454         (FP_EX_INVALID_SQRT): Likewise.
29455         (FP_EX_INVALID_CVI): Likewise.
29456         (FP_EX_INVALID_VC): Likewise.
29457         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29458         "invalid" exceptions.
29459         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29460         (_FP_ADD_INTERNAL): Likewise.
29461         (_FP_MUL): Likewise.
29462         (_FP_FMA): Likewise.
29463         (_FP_DIV): Likewise.
29464         (_FP_CMP_CHECK_NAN): Likewise.
29465         (_FP_SQRT): Likewise.
29466         (_FP_TO_INT): Likewise.
29467         (FP_EXTEND): Likewise.
29469 2014-10-09  Allan McRae  <allan@archlinux.org>
29471         * po/fr.po: Update French translation from translation project.
29473 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29475         [BZ #14132]
29476         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29477         of INTDEF.
29478         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29479         (__cxa_atexit): Use libc_hidden_proto.
29480         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29482         [BZ #14132]
29483         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29484         declaration.
29485         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29486         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29487         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29488         [!_ISOMAC] (__iswctype_internal): Likewise.
29489         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29490         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29491         alias.
29492         (fcntl): Remove __fcntl_internal alias.
29493         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29494         __connect_internal alias.
29495         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29496         Likewise.
29498         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29499         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29500         FP_DENORM_ZERO.
29501         (_FP_CHECK_FLUSH_ZERO): New macro.
29502         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29503         (_FP_CMP): Likewise.
29504         (_FP_CMP_EQ): Likewise.
29505         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29506         FP_DENORM_ZERO.
29507         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29508         (FP_TRUNC): Likewise.
29510         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29511         treated as invalid conversion, not as normal exponent.
29513         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29514         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29515         (_FP_CMP_EQ): Likewise.
29516         (_FP_CMP_UNORD): Likewise.
29517         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29518         (FP_CMP_EQ_D): Likewise.
29519         (FP_CMP_UNORD_D): Likewise.
29520         * soft-fp/extended.h (FP_CMP_E): Likewise.
29521         (FP_CMP_EQ_E): Likewise.
29522         (FP_CMP_UNORD_E): Likewise.
29523         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29524         (FP_CMP_EQ_Q): Likewise.
29525         (FP_CMP_UNORD_Q): Likewise.
29526         * soft-fp/single.h (FP_CMP_S): Likewise.
29527         (FP_CMP_EQ_S): Likewise.
29528         (FP_CMP_UNORD_S): Likewise.
29529         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29530         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29531         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29532         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29533         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29534         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29535         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29536         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29537         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29538         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29539         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29540         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29541         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29542         to FP_CMP_Q.
29543         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29544         FP_CMP_Q.
29545         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29546         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29547         FP_CMP_EQ_Q.
29548         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29549         FP_CMP_Q.
29550         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29551         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29552         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29553         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29554         FP_CMP_EQ_Q.
29555         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29556         FP_CMP_Q.
29557         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29558         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29559         FP_CMP_EQ_Q.
29560         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29561         FP_CMP_Q.
29562         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29563         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29564         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29565         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29566         FP_CMP_EQ_Q.
29568         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29569         a subnormal result, set the underflow exception if trapping on
29570         underflow is enabled.
29571         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29572         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29573         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29574         redefine to 0.
29575         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29576         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29577         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29578         * soft-fp/extendxftf2.c (__extendxftf2): Use
29579         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29581         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29582         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29583         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29584         FP_HANDLE_EXCEPTIONS.
29585         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29586         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29587         FP_HANDLE_EXCEPTIONS.
29588         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29589         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29590         FP_HANDLE_EXCEPTIONS.
29591         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29592         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29593         FP_HANDLE_EXCEPTIONS.
29595 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29597         [BZ #14132]
29598         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29599         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29600         use INTUSE.
29601         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29602         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29603         Remove alias.
29604         (__adjtimex): Define using libc_hidden_ver.
29605         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29606         Remove declaration.
29607         (ntp_gettime): Call __adjtimex directly.
29608         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29609         Remove declaration.
29610         (ntp_gettimex): Call __adjtimex directly.
29611         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29612         __adjtimex_internal alias.
29614 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29616         [BZ #17460]
29617         * nscd/nscd.c (more_help): Rewrite list of tables collection
29618         using xstrdup and asprintf.
29620         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29622 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29623             Roland McGrath  <roland@hack.frob.com>
29625         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29626         (do_lookup_unique): ... local function 'enter' here; update callers.
29628 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29630         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29631         compat_symbol calls on [SHARED].
29632         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29633         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29634         Remove.
29635         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29636         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29637         (oldsetrlimit): Remove.
29638         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29640         (lchown): New syscall entry.
29641         (oldsetrlimit): Remove.
29642         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29643         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29644         (oldsetrlimit): Remove.
29645         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29647         [BZ #14138]
29648         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29649         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29650         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29651         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29652         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29653         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29654         (fchown): Likewise.
29655         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29656         (fchown): Likewise.
29657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29658         Likewise.
29660 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29662         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29663         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29664         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29665         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29666         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29667         Likewise.
29668         (__old_sem_post): Likewise.
29670 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29672         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29673         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29674         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29675         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29676         Use INLINE_VSYSCALL macro.
29677         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29678         __vdso_clock_gettime.
29679         * sysdeps/unix/sysv/linux/tile/init-first.c
29680         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29681         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29682         __vdso_clock_gettime.
29684         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29685         to set up frame more cleanly.
29687         * sysdeps/tile/memcmp.c: New file.
29689         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29691         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29692         * sysdeps/tile/tilegx/strcasestr.c: New file.
29693         * sysdeps/tile/tilegx/strnlen.c: New file.
29694         * sysdeps/tile/tilegx/strstr.c: New file.
29696         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29698 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29700         * nptl/tst-setuid3.c: Write errors to stdout.
29702 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29704         * elf/dl-deps.c
29705         (preload): New functions broken out of _dl_map_object_deps.
29706         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29708 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29710         [BZ #14138]
29711         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29712         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29714 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29716         * sysdeps/mips/strcmp.S: New.
29718 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29720         [BZ #14138]
29721         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29722         (linkat): Likewise.
29723         (mkdirat): Likewise.
29724         (readlinkat): Likewise.
29725         (renameat): Likewise.
29726         (symlinkat): Likewise.
29727         (unlinkat): Likewise.
29728         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29729         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29730         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29731         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29732         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29733         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29734         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29736 2014-09-30  Will Newton  <will.newton@linaro.org>
29738         * math/math.h: Define long double math functions if
29739         _LIBC_TEST is defined.
29740         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29742         * localedata/Makefile: Move assignment to tests-special
29743         into an ifdef testing run-built-tests.
29744         * timezone/Makefile: Likewise.
29746 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29748         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29749         with $(BASH) not $(SHELL).
29751 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29752             Matthew LeGendre  <legendre1@llnl.gov>
29754         [BZ #17411]
29755         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29756         l_reloc_result.
29758 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29760         * stdio-common/printf_fp.c
29761         (hack_digit): New function, broken out of ...
29762         (__printf_fp): ... local function here.  Update call sites.
29763         hack_digit now takes an additional parameter that is a pointer
29764         to a struct of the referenced locals.  Those locals moved inside
29765         the struct and references updated.
29767 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29769         * aclocal.m4: Require autoconf 2.69.
29770         * configure: Regenerated.
29771         * sysdeps/aarch64/configure: Likewise.
29772         * sysdeps/alpha/configure: Likewise.
29773         * sysdeps/arm/armv7/configure: Likewise.
29774         * sysdeps/arm/configure: Likewise.
29775         * sysdeps/ia64/configure: Likewise.
29776         * sysdeps/mach/configure: Likewise.
29777         * sysdeps/mips/configure: Likewise.
29778         * sysdeps/s390/configure: Likewise.
29779         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29782         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29783         file.
29784         * sysdeps/ia64/configure.ac: Likewise.
29786 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29789         specify symbol version for ld.so.  Do not include entry for
29790         libpthread.
29791         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29792         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29793         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29795         [BZ #14171]
29796         * Makeconfig [$(build-shared) = yes]
29797         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29798         makefiles.
29799         [$(build-shared) = yes && $(soversions.mk-done) = t]
29800         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29801         [$(build-shared) = yes && $(soversions.mk-done) = t]
29802         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29803         to Makerules.
29804         [$(build-shared) = yes && $(soversions.mk-done) = t]
29805         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29806         here.
29807         [$(build-shared) = yes && $(soversions.mk-done) = t]
29808         (common-generated): Don't append gnu/lib-names.h and
29809         gnu/lib-names.stmp here.
29810         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29811         (lib-names-h-abi): New variable.
29812         [$(build-shared) = yes && $(soversions.mk-done) = t]
29813         (lib-names-stmp-abi): Likewise.
29814         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29815         abi-variants] (before-compile): Append
29816         $(common-objpfx)$(lib-names-h-abi).
29817         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29818         abi-variants] (common-generated): Append gnu/lib-names.h.
29819         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29820         abi-variants] (install-others-nosubdir): Depend on
29821         $(inst_includedir)/$(lib-names-h-abi).
29822         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29823         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29824         [$(build-shared) = yes && $(soversions.mk-done) = t]
29825         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29826         [$(build-shared) = yes && $(soversions.mk-done) = t]
29827         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29828         [$(build-shared) = yes && $(soversions.mk-done) = t]
29829         (common-generated): Append $(lib-names-h-abi) and
29830         $(lib-names-stmp-abi).
29831         * scripts/lib-names.awk: Do not handle multi being set.
29832         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29833         Remove variable.
29834         (abi-lp64_be-ld-soname): Likewise.
29835         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29836         Likewise.
29837         (abi-hard-ld-soname): Likewise.
29838         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29839         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29840         Remove variable.
29841         (abi-o32_hard-ld-soname): Likewise.
29842         (abi-o32_soft_2008-ld-soname): Likewise.
29843         (abi-o32_hard_2008-ld-soname): Likewise.
29844         (abi-n32_soft-ld-soname): Likewise.
29845         (abi-n32_hard-ld-soname): Likewise.
29846         (abi-n32_soft_2008-ld-soname): Likewise.
29847         (abi-n32_hard_2008-ld-soname): Likewise.
29848         (abi-n64_soft-ld-soname): Likewise.
29849         (abi-n64_hard-ld-soname): Likewise.
29850         (abi-n64_soft_2008-ld-soname): Likewise.
29851         (abi-n64_hard_2008-ld-soname): Likewise.
29852         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29853         Likewise.
29854         (abi-64-v2-ld-soname): Likewise.
29855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29856         ld.so entries.
29857         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29858         variable.
29859         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29860         entry.
29861         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29862         variable.
29863         (abi-64-ld-soname): Likewise.
29864         (abi-x32-ld-soname): Likewise.
29865         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29866         entry.
29867         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29869 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29871         [BZ #14138]
29872         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29873         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29874         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29875         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29876         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29877         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29878         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29879         syscall entry for GLIBC_2.2 symbol version.
29880         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29881         Likewise.
29882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29883         (setrlimit): Likewise.
29884         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29885         Likewise.
29887 2014-09-23  Will Newton  <will.newton@linaro.org>
29889         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29890         _LINUX_ARM_SYSDEP_H include guard too.
29891         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29892         define.
29894 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29896         * sysdeps/unix/sysv/linux/eventfd.c:
29897         Make first argument unsigned.
29898         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29899         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29901 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29903         [BZ #16852]
29904         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29905         * socket/sys/socket.h: Likewise.
29906         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29908 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29910         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29912 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29914         * time/tst-ftime.c: New test.
29915         * time/Makefile (tests): Add tst-ftime.
29917 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29919         * soft-fp/extended.h: Fix comment formatting.
29920         * soft-fp/op-1.h: Likewise.
29921         * soft-fp/op-2.h: Likewise.
29922         * soft-fp/op-4.h: Likewise.
29923         * soft-fp/op-8.h: Likewise.
29924         * soft-fp/op-common.h: Likewise.
29925         * soft-fp/soft-fp.h: Likewise.
29927         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29929 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29931         [BZ #6652]
29932         * Makeconfig (soversions-default-setname): Remove variable.
29933         ($(common-objpfx)soversions.i): Don't pass default_setname to
29934         soversions.awk.
29935         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29936         oldest_abi to abi-versions.awk.
29937         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29938         * config.make.in (oldest-abi): Remove variable.
29939         * configure.ac (--enable-oldest-abi): Remove configure option.
29940         * configure: Regenerated.
29941         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29942         text.
29943         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29944         * scripts/soversions.awk: Do not handle default_setname variable.
29945         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29946         variable.
29947         * sysdeps/mach/hurd/configure: Regenerated.
29948         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29949         variable.
29950         * sysdeps/unix/sysv/linux/configure: Regenerated.
29952 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29954         * elf/Makefile (CFLAGS-interp.c): Remove.
29955         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29956         path string.
29957         * elf/interp.c: Include generated runtime-linker.h
29959         * Makerules (lib%.so): Don't include $(+interp) in
29960         prerequisites.
29961         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29962         * dlfcn/eval.c: Remove file.
29964         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29965         macros.
29967         [BZ #17266]
29968         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29969         4.2 and newer.
29971         [BZ #17370]
29972         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29974 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29975             Jakub Jelinek  <jakub@redhat.com>
29977         [BZ #17266]
29978         * libio/stdio.h: Check definition of __fortify_function
29979         instead of __extern_always_inline to include bits/stdio2.h.
29980         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29981         check if __extern_always_inline is defined.
29982         [__USE_MISC || __USE_XOPEN]: Likewise.
29983         [__USE_ISOC99] Likewise.
29984         * misc/sys/cdefs.h (__fortify_function): Define only if
29985         __extern_always_inline is defined.
29986         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29987         __extern_always_inline and __extern_inline only for g++-4.3
29988         and newer or a compatible gcc.
29990 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29992         [BZ #17371]
29993         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29994         last change to handle zero prefix length.
29996 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29998         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29999         _SC_REGEX_VERSION.
30001         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30002         _POSIX_RAW_SOCKETS.
30004 2014-09-13  Allan McRae  <allan@archlinux.org>
30006         * po/ru.po: Update Russian translation from translation project.
30008 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30010         * locale/programs/locale.c (show_locale_vars): Inline local function
30011         into its sole call site.  Clean up some style nits.
30012         (print_item): New function, broken out of ...
30013         (show_info): ... local function here.  Clean up style nits.
30015         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30016         out of ...
30017         (set_class_defaults): ... local function set_default here.
30018         Define set_default as a macro locally to pass constant parameters.
30019         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30020         rather than a shared local.
30022         * stdlib/rpmatch.c (try): New function, broken out of ...
30023         (rpmatch): ... local function here.  Also, prototypify definition.
30025 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30027         * scripts/soversions.awk: Do not handle configuration names.
30028         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30029         vendor and os variables to soversions.awk.
30030         * configure.ac: Do not modify gnu-* host_os.
30031         * configure: Regenerated
30032         * shlib-versions: Remove first column with configuration names.
30033         * nptl/shlib-versions: Likewise.
30034         * nptl_db/shlib-versions: Likewise.
30035         * sysdeps/hppa/shlib-versions: Likewise.
30036         * sysdeps/m68k/shlib-versions: Likewise.
30037         * sysdeps/mach/hurd/shlib-versions: Likewise.
30038         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30039         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30040         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30041         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30042         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30043         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30044         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30045         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30047         Likewise.
30048         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30049         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30050         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30051         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30052         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30053         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30054         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30055         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30058         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30060         Regenerated.
30061         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30063         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30065         * shlib-versions: Remove OS-specific entries.  Moved to files in
30066         sysdeps.
30067         * sysdeps/mach/hurd/shlib-versions: New file.
30068         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30070         * nptl/shlib-versions: Remove architecture-specific entries.
30071         Moved to files in sysdeps.
30072         * shlib-versions: Likewise.
30073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30074         file.
30075         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30076         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30077         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30078         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30080         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30081         (UDP_NO_CHECK6_RX): Likewise.
30083 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30085         * sysdeps/posix/sysconf.c (__sysconf): Spell
30086         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30088 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30090         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30091         loading.
30092         * iconv/Versions (__gconv_transliterate): Export for use from
30093         gconv modules.
30094         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30095         (struct __gconv_trans_data, __gconv_trans_fct,
30096         __gconv_trans_context_fct, __gconv_trans_query_fct,
30097         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30098         definitions.
30099         (struct __gconv_step_data): Remove __trans member.
30100         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30101         longer hidden.  Remove unused trans_data argument.
30102         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30103         (__gconv_translit_find): Remove declaration.
30104         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30105         prototype.
30106         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30107         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30108         trans_data argument.  Add hidden definition.
30109         (__gconv_translit_find): Remove.
30110         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30111         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30112         * iconv/skeleton.c: Remove transliteration initialization.
30113         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30114         __gconv_step_data initialization.
30115         * libio/iofwide.c (__libio_translit_): Remove.
30116         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30117         * wcsmbs/btowc.c (__btowc): Likewise.
30118         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30119         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30120         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30121         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30122         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30123         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30124         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30125         * wcsmbs/wctob.c (wctob): Likewise.
30127 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30129         [BZ #16194]
30130         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30131         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30132         register usage.
30133         * sysdeps/x86/Makefile: Adjust.
30135 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30136             Roland McGrath  <roland@hack.frob.com>
30138         * locale/weight.h: Add include guard.
30139         (findidx): Make static rather than auto; take new parameters
30140         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30141         * locale/weightwc.h: Likewise.
30142         * posix/fnmatch_loop.c
30143         (FCT): Change type of EXTRA from int32_t to wint_t.
30144         Don't include either header inside the function.
30145         Call FINDIDX rather than findidx, and pass new arguments.
30146         #undef FINDIDX at the end of the file.
30147         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30148         FINDIDX before including fnmatch_loop.c for the non-wide version.
30149         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30150         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30151         for the wide version.
30152         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30153         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30154         Pass new arguments to findidx.
30155         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30156         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30157         Don't #include it inside the function.  Pass new arguments to findidx.
30158         * posix/regex_internal.h
30159         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30160         (re_string_elem_size_at): Don't #include it inside the function.
30161         Pass new arguments to findidx.
30162         * string/strcoll_l.c: #include WEIGHT_H at top level.
30163         (get_next_seq): Don't #include it inside the function.
30164         Pass new arguments to findidx.
30165         (get_next_seq_nocache): Likewise.
30166         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30167         (STRXFRM): Don't #include it inside the function.
30168         Pass new arguments to findidx.
30170 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30172         [BZ #17344]
30173         * malloc/malloc.c (unlink): Turn asserts into a call to
30174         malloc_printerr.
30176 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30178         [BZ #17370]
30179         * libio/wfileops (do_ftell_wide): Free OUT.
30181 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30183         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30185 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30187         [BZ #17363]
30188         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30189         group if the current group is empty.
30191 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30193         * benchtests/bench-memset.c (test_main): Add more test from size
30194         from 32 to 512 bytes.
30195         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30196         Add POWER8 memset object.
30197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30198         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30199         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30200         implementation.
30201         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30202         Likewise.
30203         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30204         multiarch POWER8 memset optimization.
30205         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30206         POWER8 memset optimization.
30208         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30209         Remove bzero multiarch objects.
30210         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30211         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30212         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30213         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30214         Remove define.
30215         [__bzero]: Redefine to specific name.
30216         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30217         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30218         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30219         define.
30220         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30221         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30223 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30225         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30226         warnings into errors.
30228         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30229         __cxa_thread_atexit_impl prototype.
30231 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30233         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30234         Fix capitalization of error message.
30236 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30238         * sysdeps/mips/preconfigure: Modify ABI tests.
30240 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30242         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30244 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30245             Carlos O'Donell  <carlos@systemhalted.org>
30247         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30248         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30249         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30250         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30251         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30252         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30253         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30254         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30255         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30256         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30257         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30258         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30259         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30260         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30261         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30262         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30263         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30264         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30265         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30266         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30267         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30268         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30269         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30270         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30271         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30272         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30273         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30274         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30275         Deconditionalize the code that was previously under [RESET_PID].
30276         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30277         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30278         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30279         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30280         include sysdep.h.
30282 2014-09-08  Allan McRae  <allan@archlinux.org>
30284         * version.h (RELEASE): Set to "development".
30285         (VERSION): Set to "2.20.90"
30287 2014-09-07  Allan McRae  <allan@archlinux.org
30289         * version.h (RELEASE): Set to "stable".
30290         (VERSION): Set to "2.20"
30291         * include/features.h (__GLIBC_MINOR__): Set to 20.
30293         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30294         Liebler.
30296         * po/ko.po: Update Korean translation from translation project.
30298 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30300         [BZ #17354]
30301         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30302         macro for handling signed relocations.
30304 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30306         [BZ #17325]
30307         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30308         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30309         assert.
30310         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30311         * iconvdata/ibm935.c (BODY): Likewise.
30312         * iconvdata/ibm937.c (BODY): Likewise.
30313         * iconvdata/ibm939.c (BODY): Likewise.
30314         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30315         assert.
30316         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30317         script.
30318         * iconvdata/run-iconv-test.sh: New test loop for checking for
30319         decoder crashers.
30321 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30323         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30324         libm_hidden_ver.
30326 2014-09-01  Allan McRae  <allan@archlinux.org>
30328         * po/eo.po: Update Esperanto translation from translation project.
30330         * po/ca.po: Update Catalan translation from translation project.
30332 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30334         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30335         __proc_dostop call.
30337 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30339         [BZ #17319]
30340         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30341         to call set_thread_area instead of hand written asm.
30342         (__NR_set_thread_area): Removed define.
30343         (TLS_FLAG_WRITABLE): Likewise.
30344         (__ASSUME_SET_THREAD_AREA): Remove check.
30345         (TLS_EBX_ARG): Remove define.
30346         (TLS_LOAD_EBX): Likewise.
30348 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30350         Simplify atomicity of socket creation in bind.
30352         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30353         looking up the name after linking the file.
30355 2014-08-27  Allan McRae  <allan@archlinux.org>
30357         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30359 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30361         [BZ #17187]
30362         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30363         trans_compare, open_translit, __gconv_translit_find):
30364         Remove module loading code.
30366 2014-08-26  Allan McRae  <allan@archlinux.org>
30368         * po/vi.po: Update Vietnamese translation from translation project.
30370         * po/uk.po: Update Ukrainian translation from translation project.
30372         * po/fr.po: Update French translation from translation project.
30374         * po/ru.po: Update Russian translation from translation project.
30376         * po/pl.po: Update Polish translation from translation project.
30378         * po/cs.po: Update Czech translation from translation project.
30380         * po/de.po: Update German translation from translation project.
30382         * po/bg.po: Update Bulgarian translation from translation project.
30384         * po/sv.po: Update Sweedish translation from translation project.
30386         * po/nl.po: Update Dutch translation from translation project.
30388         * po/es.po: Update Spanish translation from translation project.
30390 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30392         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30394         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30395         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30396         (CPPFLAGS-iconvconfig): Likewise.
30397         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30399         * include/libc-symbols.h: Remove unnecessary check for
30400         NOT_IN_libc.
30401         * nptl/pthreadP.h: Likewise.
30402         * sysdeps/aarch64/setjmp.S: Likewise.
30403         * sysdeps/alpha/setjmp.S: Likewise.
30404         * sysdeps/arm/sysdep.h: Likewise.
30405         * sysdeps/i386/setjmp.S: Likewise.
30406         * sysdeps/m68k/setjmp.c: Likewise.
30407         * sysdeps/posix/getcwd.c: Likewise.
30408         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30409         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30410         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30411         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30412         * sysdeps/sh/sh3/setjmp.S: Likewise.
30413         * sysdeps/sh/sh4/setjmp.S: Likewise.
30414         * sysdeps/unix/alpha/sysdep.h: Likewise.
30415         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30416         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30417         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30418         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30421         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30422         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30423         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30424         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30425         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30426         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30427         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30428         * sysdeps/x86_64/setjmp.S: Likewise.
30430 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30432         [BZ #17263]
30433         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30434         <stdint.h>.
30435         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30436         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30438 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30440         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30442         [BZ #17262]
30443         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30444         and __x86_64__ when disabling x87 inline functions.
30446 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30448         [BZ #17259]
30449         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30450         asm statement with __cpuid_count.
30452 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30454         * configure.ac: Change __ehdr_start code to dereference the struct.
30455         Run readelf on the output to look for relocations.
30456         * configure: Regenerated.
30458 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30460         [BZ #17261]
30461         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30462         value to 0.
30463         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30465 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30467         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30469 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30471         [BZ #16892]
30472         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30473         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30475 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30477         * malloc/malloc.c: Fix typo in comment.
30479 2014-08-09  Allan McRae  <allan@archlinux.org>
30481         * Regenerate libc.po.
30483 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30485         * intl/tst-gettext2.sh: Check every lang file for creation.
30487 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30489         * sysdeps/aarch64/fpu/math_private.h
30490         (libc_feholdsetround_noex_aarch64_ctx): New function.
30492 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30494         * sysdeps/arm/armv6/strcpy.S (strcpy):
30495         Fix performance issue in misaligned cases.
30497 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30499         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30500         Move definition from termios.h.
30501         (struct termio): Likewise.
30502         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30503         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30504         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30505         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30506         Likewise.
30507         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30508         Move definition to ioctl-types.h
30509         (struct termio): Likewise.
30510         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30511         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30512         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30513         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30514         Likewise.
30516 2014-08-05  Richard Henderson  <rth@redhat.com>
30518         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30519         exceptions.
30520         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30521         Add fraiseexcpt.
30522         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30523         Use __feraiseexcept.
30524         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30525         Protect libm symbols with IS_IN_libm.
30527         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30529 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30531         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30533 2014-08-04  Will Newton  <will.newton@linaro.org>
30535         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30536         file.
30538 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30540         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30541         variants for each function.
30543 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30545         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30546         appended ...
30547         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30548         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30549         appended ...
30550         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30551         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30552         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30553         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30554         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30555         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30556         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30557         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30558         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30559         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30560         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30561         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30562         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30563         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30564         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30565         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30566         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30567         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30568         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30569         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30570         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30571         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30572         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30573         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30574         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30575         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30576         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30577         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30578         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30579         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30580         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30581         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30582         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30583         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30584         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30585         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30586         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30587         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30588         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30589         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30590         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30591         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30592         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30593         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30594         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30595         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30596         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30597         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30598         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30599         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30600         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30601         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30602         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30603         Update #include.
30604         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30605         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30607 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30609         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30610         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30611         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30612         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30613         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30614         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30616 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30618         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30619         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30620         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30621         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30623 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30625         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30626         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30627         (__libc_vfork): Define function under this name.
30628         (__vfork): Define as an alias.
30629         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30630         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30632 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30634         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30635         that was previously under [RESET_PID].
30636         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30638 2014-08-04  Andreas Schwab  <schwab@suse.de>
30640         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30642 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30644         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30645         (main): Likewise.
30647 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30649         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30651 2014-08-01  Richard Henderon  <rth@redhat.com>
30653         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30654         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30655         typo in exact zero test.
30656         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30657         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30658         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30660 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30662         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30663         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30664         * sysdeps/arm/sysdep.h: ... here.
30665         [!__ASSEMBLER__]: Include <stdint.h>.
30667 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30669         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30670         (HAVE_WCTYPE_H): Likewise.
30671         (HAVE_ISWCTYPE): Likewise.
30672         (ENABLE_NLS): Likewise.
30673         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30674         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30676         * posix/regex_internal.c: Check if DEBUG is defined and is
30677         set.
30679         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30680         (HAVE_MBSRTOWCS): Likewise.
30681         * posix/fnmatch.c: Include string.h unconditionally.
30683 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30685         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30686         reversal.
30688 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30690         * sysdeps/generic/safe-fatal.h: New file.
30691         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30692         * nptl/forward.c: Include it.
30693         (__pthread_unwind): Use __safe_fatal as default action, rather
30694         than a bogus use of INTERNAL_SYSCALL that could never work.
30696         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30697         * configure.ac (libc_cv_builtin_trap): New test.
30698         * configure: Regenerated.
30699         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30700         (ABORT_INSTRUCTION): Define using __builtin_trap.
30702         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30703         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30704         * sysdeps/nptl/nptl-signals.h: New file.
30705         * nptl/pthreadP.h: Include <nptl-signals.h>.
30707 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30709         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30710         (ONE_DIRECTION): Define.
30711         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30712         (ONE_DIRECTION): Define.
30713         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30714         (ONE_DIRECTION): Define.
30716 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30718         * sysdeps/s390/Makefile: Delete file.
30719         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30720         * sysdeps/s390/__longjmp.c: Delete file.
30721         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30722         Remove fields __flags and __reserved.
30723         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30724         and add versioning.
30725         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30726         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30727         * sysdeps/s390/rtld-setjmp.S: Likewise.
30728         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30729         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30730         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30731         * sysdeps/s390/s390-32/setjmp.S: ... here.
30732         Add versioning.
30733         (__sigsetjmp): Remove setting __flags field.
30734         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30735         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30736         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30737         * sysdeps/s390/s390-64/setjmp.S: ... here.
30738         Add versioning.
30739         (__sigsetjmp): Remove setting __flags field.
30740         * sysdeps/s390/setjmp.S: Delete file.
30741         * sysdeps/s390/sigjmp.c: Likewise.
30742         * sysdeps/s390/v1-longjmp.c: Likewise.
30743         * sysdeps/s390/v1-setjmp.h: Likewise.
30744         * sysdeps/s390/v1-sigjmp.c: Likewise.
30745         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30746         Remove v1-longjmp_chk.
30747         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30748         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30749         Include debug/longjmp_chk.c and add versioning.
30750         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30751         Include nptl/pt-longjmp.c and add versioning.
30752         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30753         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30754         Include __longjmp.c.
30755         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30756         Move to ...
30757         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30758         (__getcontext): Remove setting __flags field.
30759         Add versioning.
30760         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30761         Don't restore upper high grps.
30762         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30763         Likewise.
30764         (__swapcontext): Remove setting uc_flags field.
30765         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30766         Delete file.
30767         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30768         Include __longjmp.c.
30769         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30770         Move to ...
30771         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30772         (__getcontext): Remove setting __flags field.
30773         Add versioning.
30774         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30775         (__swapcontext): Remove setting uc_flags field.
30776         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30777         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30778         Remove fields uc_high_gprs and __reserved.
30779         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30780         New file with reverted content.
30781         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30782         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30783         Regenerated.
30784         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30785         Regenerated.
30787 2014-07-31  Andreas Schwab  <schwab@suse.de>
30789         * config.h.in (HAVE_IFUNC): Define to 0.
30790         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30791         definedness.
30793 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30795         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30796         memmove-avx-unaligned, memcpy-avx-unaligned and
30797         mempcpy-avx-unaligned.
30798         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30799         Add tests for AVX memcpy functions.
30800         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30801         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30802         memcpy_chk.
30803         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30804         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30805         memmove_chk.
30806         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30807         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30808         mempcpy_chk.
30809         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30810         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30811         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30813 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30815         [BZ #17213]
30816         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30817         powerpc64le.
30819 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30821         [BZ #16839]
30822         * manual/llio.texi: Add section about open file description locks.
30823         * manual/examples/ofdlocks.c: Example of open file description
30824         lock usage.
30825         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30826         F_OFD_SETLK, and F_OFD_SETLKW.
30828 2014-07-23  Allan McRae  <allan@archlinux.org>
30830         * po/es.po: Update Spanish translation from translation project.
30832 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30834         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30836 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30838         [BZ #17078]
30839         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30840         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30841         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30843 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30845         [BZ #17088]
30846         * math/fesetenv.c (__fesetenv)
30847         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30848         * math/feupdateenv.c (__feupdateenv)
30849         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30851         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30852         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30853         (__ASSUME_SOCKETCALL): Do not define.
30855         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30856         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30857         (__ASSUME_SOCKETCALL): Do not define.
30858         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30859         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30860         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30861         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30862         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30863         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30864         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30865         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30867         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30868         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30869         (__ASSUME_SOCKETCALL): Do not define.
30870         (__ASSUME_IPC64): Define unconditionally.
30871         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30872         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30873         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30874         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30875         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30876         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30877         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30878         Likewise.
30880         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30881         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30882         (__ASSUME_SOCKETCALL): Do not define.
30883         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30884         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30885         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30886         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30887         (__ASSUME_REQUEUE_PI): Define unconditionally.
30888         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30889         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30890         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30891         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30892         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30893         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30895         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30896         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30897         (__ASSUME_SOCKETCALL): Do not define.
30898         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30899         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30900         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30901         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30902         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30903         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30905         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30906         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30907         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30908         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30909         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30910         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30911         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30912         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30913         (__ASSUME_GETCPU_SYSCALL): Likewise.
30915         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30916         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30917         cases for individual architectures.
30918         * sysdeps/gnu/configure: Regenerated.
30919         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30920         LIBC_SLIBDIR_RTLDDIR.
30921         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30922         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30923         LIBC_SLIBDIR_RTLDDIR.
30924         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30926         LIBC_SLIBDIR_RTLDDIR.
30927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30928         Regenerated.
30929         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30930         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30931         file.
30932         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30933         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30934         file.
30935         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30936         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30937         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30938         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30940         * sysdeps/aarch64/shlib-versions: Move to ...
30941         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30942         * sysdeps/alpha/shlib-versions: Move to ...
30943         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30944         * sysdeps/arm/shlib-versions: Move to ...
30945         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30946         * sysdeps/hppa/shlib-versions: Move all contents except for
30947         libgcc_s entry to ...
30948         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30949         entry from ...
30950         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30951         * sysdeps/ia64/shlib-versions: Move to ...
30952         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30953         entry from ...
30954         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30955         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30956         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30957         * sysdeps/microblaze/shlib-versions: Move to ...
30958         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30959         * sysdeps/mips/shlib-versions: Move to ...
30960         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30961         entry from ...
30962         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30963         * sysdeps/tile/shlib-versions: Move to ...
30964         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30965         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30966         from ...
30967         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30968         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30969         entry from ...
30970         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30972 2014-07-17  Will Newton  <will.newton@linaro.org>
30974         * sysdeps/arm/bits/atomic.h
30975         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30976         (__arch_compare_and_exchange_bool_16_int): Likewise.
30977         (__arch_compare_and_exchange_bool_64_int): Likewise.
30979         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30980         into an #else block.
30982 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30984         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30985         just Linux configurations.  Test empirically that the compiler sets
30986         __ARM_EABI__, rather than using the tuple to decide.
30987         * sysdeps/arm/preconfigure: Regenerated.
30988         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30989         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30990         contents appended ...
30991         * sysdeps/arm/configure.ac: ... here.
30992         * sysdeps/arm/configure: Regenerated.
30994 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30996         * nptl/pthread_kill.c: New file.
30997         * nptl/pthread_sigmask.c: New file.
30998         * nptl/pthread_sigqueue.c: New file.
31000         * sysdeps/nptl/lowlevellock.h: New file.
31001         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31002         * sysdeps/nptl/lowlevellock-futex.h: New file.
31004         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31005         Remove dead declarations.
31007 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31009         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31010         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31011         config-cflags-avx2.
31012         * sysdeps/x86_64/configure.ac: Likewise.
31013         * sysdeps/i386/configure: Regenerated.
31014         * sysdeps/x86_64/configure: Likewise.
31015         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31016         memset-avx2 only if config-cflags-avx2 is yes.
31017         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31018         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31019         defined.
31020         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31021         only if HAVE_AVX2_SUPPORT is defined.
31022         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31024 2014-07-14  Alan Modra  <amodra@gmail.com>
31026         [BZ #17153]
31027         * elf/elf.h (DT_PPC64_NUM): Correct value.
31028         * NEWS: Add to fixed bug list.
31030 2014-07-13  Jim Meyering  <meyering@fb.com>
31032         [BZ 17150]
31033         regex: don't deref NULL upon heap allocation failure
31034         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31035         failure in one more place.
31036         To trigger the segfault, configure grep -with-included-regex,
31037         build it, and run these commands:
31038         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31040 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31042         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31044 2014-07-11  Richard Henderson  <rth@redhat.com>
31046         * sysdeps/aarch64/libm-test-ulps: Update.
31048 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31050         [BZ #17135]
31051         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31052         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31053         (__nptl_setxid): Initialize error member.  Call
31054         __nptl_setxid_error.
31055         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31056         * nptl/descr.h (struct xid_command): Add error member.
31057         * nptl/tst-setuid3.c: New file.
31058         * nptl/Makefile (tests): Add it.
31060 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31062         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31063         New define.
31064         (__lll_trylock): Use __lll_base_trylock.
31065         (__lll_cond_trylock): Likewise.
31067 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31069         * nptl/pthread_create.c (start_thread): Use atomic_or and
31070         lll_futex_wake directly rather than lll_robust_dead.
31071         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31072         (lll_robust_dead): Macro removed.
31073         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31074         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31075         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31076         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31077         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31078         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31079         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31080         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31081         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31082         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31083         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31084         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31085         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31086         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31087         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31089         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31090         Use atomic_compare_and_exchange_val_acq directly rather than
31091         lll_robust_trylock.
31092         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31093         (__lll_robust_trylock, lll_robust_trylock): Removed.
31094         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31095         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31096         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31097         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31098         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31099         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31100         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31101         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31102         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31103         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31104         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31105         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31106         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31107         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31109 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31111         * manual/locale.texi (Locale Names): New section documenting
31112         locale name syntax.  Adjust menu and node chaining accordingly.
31113         (Choosing Locale): Reference Locale Names, Locale Categories.
31114         Mention setting LC_ALL=C.  Reflect that name syntax is now
31115         documented.
31116         (Locale Categories): New section title.  Reference Locale Names.
31117         LC_ALL is an environment variable, but not a category.
31118         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31119         description, now in Locale Name.  Reference that section.  Locale
31120         name syntax is now documented.
31122 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31124         [BZ #17137]
31125         * locale/findlocale.c (name_present, valid_locale_name): New
31126         functions.
31127         (_nl_find_locale): Use the loc_name variable to store name
31128         candidates.  Call name_present and valid_locale_name to check and
31129         validate locale names.  Return an error if the locale is invalid.
31131 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31133         * locale/setlocale.c (setlocale): Use strdup for allocating
31134         composite name copy.
31136 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31138         Sync up with gnulib.
31139         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31140         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31141         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31142         and _GL_ARG_NONNULL.
31143         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31144         [!_LIBC]: Include code for Windows and Cygwin.
31145         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31146         Include prototype for int strerror_r.
31147         [!_LIBC] (is_open): New function.
31148         (flush_stdout): New function.
31149         (print_errno_message): Use it.
31150         (error): Likewise.
31151         (error_at_line): Likewise.
31152         (error_tail) Add function attribute macros.  Use
31153         __builtin_expect.
31155         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31157         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31159         * io/ftw.c: Include sys/param.h unconditionally.
31161         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31163         [BZ #17125]
31164         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31165         libc_freeres_ptr.
31166         (freecache): New function to free CACHE on exit.
31168         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31169         initialization.
31171 2014-07-09  David S. Miller  <davem@davemloft.net>
31173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31175         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31176         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31177         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31178         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31179         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31180         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31181         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31182         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31183         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31184         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31185         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31186         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31187         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31189 2014-07-09  Andreas Schwab  <schwab@suse.de>
31191         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31192         output.
31193         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31194         (do_test): Likewise.
31196         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31198 2014-07-09  Will Newton  <will.newton@linaro.org>
31200         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31201         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31202         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31203         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31204         * sysdeps/hppa/start.S (_start): Likewise.
31206 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31208         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31210         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31211         defined.
31213 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31215         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31216         after checking that it is non-NULL.
31218         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31220 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31222         * sysdeps/powerpc/memmove.c: Remove file.
31223         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31224         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31225         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31226         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31227         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31228         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31229         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31230         string memmove instead of removed powerpc one.
31232         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31233         [weak_alias]: Fix compiler warning due trailing data.
31234         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31235         [weak_alias]: Likewise.
31236         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31237         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31240         (__libc_ifunc_impl_list): Add memmove functions.
31242 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31244         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31245         Remove code.
31246         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31247         Likewise.
31248         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31249         Likewise.
31250         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31251         Likewise.
31252         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31253         Likewise.
31254         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31255         Likewise.
31256         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31257         Likewise.
31258         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31259         Likewise.
31260         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31261         Likewise.
31262         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31263         Likewise.
31264         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31265         Likewise.
31266         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31267         Likewise.
31268         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31269         Likewise.
31270         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31271         Likewise.
31272         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31273         Likewise.
31274         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31275         Likewise.
31276         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31277         Likewise.
31279 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31281         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31282         to avoid alignment traps in non-cacheable memory.
31283         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31285         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31286         multiarch objects.
31287         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31288         file: multiarch power7 memmove.
31289         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31290         multiarch default memmove.
31291         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31292         multiarch memove for powerpc32/power4.
31294         * string/bcopy.c: Use full path to include memmove.c.
31295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31296         multiarch objects.
31297         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31298         bcopy for powerpc64.
31299         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31300         bcopy for powerpc64.
31301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31302         and memmove implementations.
31303         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31304         optimized multiarch memmove for POWER7/powerpc64.
31305         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31306         default multiarch memmove for powerpc64.
31307         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31308         multiarch for powerpc64.
31309         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31310         for POWER7/powerpc64.
31311         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31312         memmove for POWER7/powerpc64.
31314         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31315         glibc default one.
31317         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31318         __ELF_NATIVE_CLASS equal to 64.
31320 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31322         * sysdeps/nptl/lowlevellock.h: File removed.
31324         * NEWS: NPTL is no longer an add-on!
31325         * nptl/internaltypes.h: Moved ...
31326         * sysdeps/nptl/internaltypes.h: ... here.
31327         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31328         * sysdeps/nptl/fork.c: Likewise.
31329         * sysdeps/nptl/gai_misc.h: Likewise.
31330         * sysdeps/nptl/librt-cancellation.c: Likewise.
31331         * sysdeps/nptl/jmp-unwind.c: Likewise.
31332         * sysdeps/nptl/setxid.h: Likewise.
31333         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31334         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31335         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31336         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31337         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31338         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31339         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31340         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31341         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31342         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31343         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31344         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31345         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31346         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31347         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31348         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31349         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31350         * nptl/Makeconfig: Moved ...
31351         * sysdeps/nptl/Makeconfig: ... here.
31352         * nptl/configure: File removed.
31353         * nptl/ANNOUNCE: File removed.
31354         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31355         * sysdeps/unix/sysv/linux/configure: Regenerated.
31357         * nptl/Makefile (routines): Add libc_pthread_init,
31358         libc_multiple_threads, register-atfork and unregister-atfork.
31359         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31360         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31361         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31362         pthread-pi-defines.sym, structsem.sym.
31363         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31364         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31365         [$(subdir) = nptl] (tests): Add tst-setgetname.
31366         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31367         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31368         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31369         [!LIBC_SIGACTION]: Remove aliases.
31370         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31371         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31372         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31373         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31374         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31375         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31376         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31377         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31378         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31379         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31380         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31381         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31382         __libc_allocate_rtsig_private.
31383         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31384         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31385         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31386         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31387         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31388         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31389         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31390         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31391         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31392         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31393         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31394         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31395         * nptl/internaltypes.h: ... here.
31396         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31397         * sysdeps/nptl/jmp-unwind.c: ... here.
31398         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31399         * nptl/libc-lowlevellock.c: ... here.
31400         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31401         * nptl/libc_multiple_threads.c: ... here.
31402         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31403         * nptl/libc_pthread_init.c: ... here.
31404         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31405         * nptl/lowlevelbarrier.sym: ... here.
31406         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31407         * nptl/lowlevelcond.sym: ... here.
31408         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31409         * nptl/lowlevellock.c: ... here.
31410         * nptl/lowlevellock.h: Moved ...
31411         * sysdeps/nptl/lowlevellock.h: ... here.
31412         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31413         * nptl/lowlevelrobustlock.c: ... here.
31414         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31415         * nptl/lowlevelrobustlock.sym: ... here.
31416         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31417         * nptl/lowlevelrwlock.sym: ... here.
31418         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31419         * nptl/pt-fork.c: ... here.
31420         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31421         * nptl/pthread-pi-defines.sym: ... here.
31422         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31423         * nptl/pthread_attr_getaffinity.c: ... here.
31424         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31425         * nptl/pthread_attr_setaffinity.c: ... here.
31426         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31427         * nptl/pthread_mutex_cond_lock.c: ... here.
31428         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31429         Update #include.
31430         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31431         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31432         * nptl/pthread_once.c: ... here, replacing old file.
31433         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31434         * nptl/pthread_yield.c: ... here.
31435         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31436         * nptl/register-atfork.c: ... here.
31437         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31438         * nptl/sem_post.c: ... here.
31439         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31440         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31441         * nptl/sem_timedwait.c: ... here.
31442         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31443         * nptl/sem_trywait.c: ... here.
31444         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31445         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31446         * nptl/sem_wait.c: ... here.
31447         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31448         * nptl/structsem.sym: ... here.
31449         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31450         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31451         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31452         * nptl/unregister-atfork.c: ... here.
31453         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31454         * nptl/unwindbuf.sym: ... here.
31455         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31456         * sysdeps/nptl/fork.c: ... here.
31457         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31458         * sysdeps/nptl/fork.h: ... here.
31459         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31460         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31461         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31462         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31463         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31464         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31465         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31466         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31467         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31468         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31469         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31470         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31471         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31472         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31473         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31474         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31475         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31476         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31477         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31478         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31479         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31480         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31481         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31482         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31483         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31484         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31485         * sysdeps/unix/sysv/linux/raise.c: ... here.
31486         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31487         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31488         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31489         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31490         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31491         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31492         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31493         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31494         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31495         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31496         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31497         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31498         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31499         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31500         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31502 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31504         * sysdeps/generic/memcopy.h: Add comment for
31505         MEMCPY_OK_FOR_FWD_MEMMOVE.
31507 2014-07-04  Will Newton  <will.newton@linaro.org>
31509         * string/memchr.c: Merge from gnulib.
31510         [_LIBC]: Remove conditionals.
31511         (__ptr_t): Remove define.
31512         (LONG_MAX_32_BITS): Likewise.
31513         (LONG_MAX): Likewise.
31514         (MEMCHR): Use ANSI prototype and optimize algorithm.
31516         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31518 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31520         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31521         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31523         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31524         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31525         in a bare environment with no <stdlib.h> installed.
31526         * sysdeps/nptl/configure: Regenerated.
31528         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31530         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31531         AC_EGREP_CPP for kernel header checks, so they only succeed if
31532         including <linux/version.h> actually works right.
31533         * sysdeps/unix/sysv/linux/configure: Regenerated.
31535         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31536         value so it's not diagnosed as unused.
31538         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31539         thing) with "ifeq ($(subdir),rt)".
31541 2014-07-03  Richard Henderson  <rth@redhat.com>
31543         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31544         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31545         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31547         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31548         (math_force_eval): New.
31550         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31551         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31553         * sysdeps/alpha/fpu/s_round.c: Remove file.
31554         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31556         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31557         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31558         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31559         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31560         (_dl_start, print_statistics): Likewise.
31561         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31562         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31564         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31565         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31566         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31567         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31568         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31569         (HP_SMALL_TIMING_AVAIL): Define.
31570         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31571         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31572         (HP_SMALL_TIMING_AVAIL): Define.
31573         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31574         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31576         * sysdeps/aarch64/hp-timing.h: New file.
31578         * sysdeps/generic/hp-timing.h: Remove dead comment.
31579         * sysdeps/generic/hp-timing-common.h: New file.
31580         * sysdeps/alpha/hp-timing.h: Include it.
31581         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31582         * sysdeps/i386/i686/hp-timing.h: Likewise.
31583         * sysdeps/ia64/hp-timing.h: Likewise.
31584         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31585         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31586         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31587         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31588         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31589         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31590         (hp_timing_t): New.
31592         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31593         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31594         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31595         * elf/rtld.c (_dl_start_final): Likewise.
31596         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31597         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31598         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31599         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31600         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31601         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31602         (HP_TIMING_DIFF_INIT): Remove.
31603         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31604         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31605         (HP_TIMING_DIFF_INIT): Remove.
31606         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31607         * sysdeps/i386/i686/hp-timing.c: Remove file.
31608         * sysdeps/x86_64/hp-timing.c: Remove file.
31609         * sysdeps/ia64/hp-timing.c: Remove file.
31610         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31611         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31612         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31613         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31615         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31616         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31617         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31618         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31619         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31620         (HP_TIMING_ACCUM): Remove.
31621         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31622         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31623         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31625         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31626         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31627         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31628         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31629         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31630         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31631         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31632         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31634         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31636 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31638         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31640 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31642         Sync up with gettext.
31643         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31644         [_MSC_VER]: Include malloc.h
31645         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31646         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31647         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31648         TEMP_FAILURE_RETRY.  Cast return of alloca.
31649         [!_LIBC] Call gl_rwlock_init.
31650         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31652 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31654         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31655         before checking its value.
31657 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31659         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31661         * debug/memcpy_chk.c: Don't include pagecopy.h.
31662         * debug/mempcpy_chk.c: Likewise.
31663         * string/memcpy.c: Likewise.
31664         * string/memmove.c: Likewise.
31665         * sysdeps/powerpc/memmove.c: Likewise.
31666         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31667         definition of PAGE_COPY_FWD_MAYBE here...
31668         * sysdeps/generic/pagecopy.h: ... from here.
31669         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31671 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31672             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31674         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31675         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31676         optimizations.
31677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31678         (__libc_ifunc_impl_list): Likewise.
31679         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31680         multiarch strcat for PPC64.
31681         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31682         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31684 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31686         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31688 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31690         * intl/loadmsgcat.c: Remove declaration of
31691         get_sysdep_segment_value.
31692         (get_sysdep_segment_value): Use ISO C style.
31693         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31694         semicolon.  Fix typo and formatting in comment.
31695         (_nl_unload_domain): Use ISO C style.
31697         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31699 2014-07-02  Will Newton  <will.newton@linaro.org>
31701         * malloc/obstack.c: Merge from gnulib master.
31702         [HAVE_CONFIG_H]: Remove conditional code.
31703         [!_LIBC]: Include config.h.
31704         [!ELIDE_CODE]: Don't include inttypes.h, include
31705         stdint.h unconditionally.
31706         (print_and_abort): Mark as _Noreturn.
31707         (_obstack_allocated_p): Mark as __attribute_pure__.
31708         (obstack_free): Rename to __obstack_free.
31709         [!__attribute__]: Remove conditional code.
31710         * malloc/obstack.h: Merge from gnulib master.
31711         [__cplusplus]: Move conditional down.
31712         [!__attribute_pure__]: Define __attribute_pure__ here
31713         if it is not already defined.
31714         (_obstack_memory_used): Mark as __attribute_pure__.
31715         [!__obstack_free]: Define as obstack_free.
31716         [__GNUC__]: Remove check for ancient NeXT gcc.
31718 2014-07-02  Will Newton  <will.newton@linaro.org>
31719             Paul Eggert  <eggert@cs.ucla.edu>
31721         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31723 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31725         * resolv/gethnamaddr.c: Add comment warning that the file is
31726         not maintained.
31728 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31730         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31731         entries.
31733         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31734         entry for aio_cancel and aio_cancel64.
31735         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31736         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31737         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31738         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31739         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31740         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31741         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31742         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31743         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31744         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31745         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31746         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31747         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31749 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31751         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31752         * nptl/pthread_mutex_lock.c: Likewise.
31753         * nptl/pthread_mutex_timedlock.c: Likewise.
31754         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31756 2014-07-01  Richard henderson  <rth@redhat.com>
31758         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31759         (__isnan, __isnanl): Remove.
31760         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31762         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31764 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31766         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31768 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31770         * resolv/nss_dns/dns-host.c (getanswer_r)
31771         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31773 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31775         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31776         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31777         undefine.
31778         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31779         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31781 2014-07-01  Roland McGrath <roland@hack.frob.com>
31783         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31784         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31786         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31787         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31789         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31790         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31791         ... here.
31792         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31793         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31795         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31796         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31797         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31798         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31800         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31801         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31802         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31803         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31804         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31805         Moved ...
31806         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31807         ... here.
31808         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31809         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31810         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31811         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31812         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31813         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31814         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31815         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31816         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31817         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31818         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31819         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31820         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31821         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31822         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31823         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31824         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31825         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31826         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31827         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31828         ... here.
31829         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31830         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31831         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31832         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31833         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31834         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31835         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31836         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31838 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31840         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31841         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31842         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31843         Add sysdep.
31845 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31849 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31851         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31852         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31854         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31856         * sysdeps/arm/libm-test-ulps: Regenerated.
31858 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31859             Roland McGrath <roland@hack.frob.com>
31861         * test-skeleton.c (signal_handler): Kill the whole process group
31862         before killing the child individually.
31863         (main): Report any failure on `setpgid'.
31865 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31867         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31868         from _TLS_H to _ARM_NPTL_TLS_H.
31869         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31870         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31872 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31874         [BZ #16539]
31875         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31876         (__expm1l): Return argument unchanged when small but not
31877         subnormal.
31879         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31880         include macro name.
31881         (_FP_UNPACK_RAW_1_P): Likewise.
31882         (_FP_PACK_RAW_1): Likewise.
31883         (_FP_PACK_RAW_1_P): Likewise.
31884         (_FP_MUL_MEAT_1_wide): Likewise.
31885         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31886         (_FP_MUL_MEAT_1_hard): Likewise.
31887         (_FP_DIV_MEAT_1_imm): Likewise.
31888         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31889         (_FP_DIV_MEAT_1_udiv): Likewise.
31890         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31891         (_FP_UNPACK_RAW_2): Likewise.
31892         (_FP_UNPACK_RAW_2_P): Likewise.
31893         (_FP_PACK_RAW_2): Likewise.
31894         (_FP_PACK_RAW_2_P): Likewise.
31895         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31896         (_FP_MUL_MEAT_2_wide): Likewise.
31897         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31898         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31899         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31900         (_FP_MUL_MEAT_2_gmp): Likewise.
31901         (_FP_DIV_MEAT_2_udiv): Likewise.
31902         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31903         (_FP_FRAC_SRL_4): Likewise.
31904         (_FP_FRAC_SRST_4): Likewise.
31905         (_FP_FRAC_SRS_4): Likewise.
31906         (_FP_UNPACK_RAW_4): Likewise.
31907         (_FP_UNPACK_RAW_4_P): Likewise.
31908         (_FP_PACK_RAW_4): Likewise.
31909         (_FP_PACK_RAW_4_P): Likewise.
31910         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31911         (_FP_MUL_MEAT_4_wide): Likewise.
31912         (_FP_MUL_MEAT_4_gmp): Likewise.
31913         (umul_ppppmnnn): Likewise.
31914         (_FP_DIV_MEAT_4_udiv): Likewise.
31915         (__FP_FRAC_ADD_4): Likewise.
31916         (__FP_FRAC_SUB_3): Likewise.
31917         (__FP_FRAC_SUB_4): Likewise.
31918         (__FP_FRAC_DEC_3): Likewise.
31919         (__FP_FRAC_DEC_4): Likewise.
31920         (__FP_FRAC_ADDI_4): Likewise.
31921         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31922         (_FP_FRAC_SRL_8): Likewise.
31923         (_FP_FRAC_SRS_8): Likewise.
31925         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31926         include macro name.
31927         (FP_UNPACK_RAW_EP): Likewise.
31928         (FP_PACK_RAW_E): Likewise.
31929         (FP_PACK_RAW_EP): Likewise.
31930         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31931         (_FP_ISSIGNAN): Likewise.
31932         (_FP_ADD_INTERNAL): Likewise.
31933         (_FP_FMA): Likewise.
31934         (_FP_CMP): Likewise.
31935         (_FP_SQRT): Likewise.
31936         (_FP_TO_INT): Likewise.
31937         (_FP_FROM_INT): Likewise.
31938         (FP_EXTEND): Likewise.
31939         (_FP_DIV_MEAT_N_loop): Likewise.
31941 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31943         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31944         throughout.
31946 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31948         [BZ #17097]
31949         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31950         result with correct sign in case of exponents that produce
31951         overflow except for X very close to 1.
31953 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31955         mktime: merge #if/#ifdef usage from glibc
31956         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31957         as that works with both Glibc's and Gnulib's style.
31958         See thread starting at Siddhesh Poyarekar's bug report at:
31959         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31961 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31963         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31964         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31965         * sysdeps/tile/tilegx/memmove.c: Remove file.
31967 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31969         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31970         abi-name definition.
31971         * scripts/soversions.awk: Do not handle or generate ABI lines.
31972         * shlib-versions: Remove ABI entries.
31973         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31974         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31976 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31978         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31979         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31980         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31981         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31982         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31983         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31984         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31985         Moved ...
31986         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31987         ... here.
31988         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31989         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31991         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31992         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31993         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31994         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31995         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31997         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31998         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31999         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32000         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32001         Moved ...
32002         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32004         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32005         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32006         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32007         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32008         Moved ...
32009         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32010         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32011         Moved ...
32012         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32013         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32014         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32016         Moved ...
32017         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32019         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32021         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32023         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32025         Moved ...
32026         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32027         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32028         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32029         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32030         Moved ...
32031         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32032         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32033         Moved ...
32034         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32035         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32036         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32037         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32038         Moved ...
32039         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32040         ... here.
32041         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32042         Identical file removed.
32043         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32044         Moved ...
32045         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32046         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32047         Identical file removed.
32048         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32049         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32050         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32051         Moved ...
32052         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32053         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32054         Identical file removed.
32055         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32056         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32057         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32058         Identical file removed.
32059         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32060         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32061         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32062         Identical file removed.
32063         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32064         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32065         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32066         Identical file removed.
32067         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32068         Moved ...
32069         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32070         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32071         Identical file removed.
32072         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32073         Moved ...
32074         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32075         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32076         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32077         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32078         Identical file removed.
32079         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32080         Moved ...
32081         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32082         ... here.
32083         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32084         Identical file removed.
32085         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32086         Moved ...
32087         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32088         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32089         Identical file removed.
32090         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32091         Moved ...
32092         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32093         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32094         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32095         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32096         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32097         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32098         Moved ...
32099         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32100         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32101         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32103         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32104         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32105         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32106         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32107         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32109 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32111         [BZ #17092]
32112         * nscd/nscd.c (monitor_child): Return exit status of child
32113         instead of return value from wait syscall.
32115 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32117         * configure.ac (libc_commonpagesize): Remove variable.
32118         (libc_relro_required): Likewise.
32119         (libc_cv_z_relro): Remove configure test.
32120         * configure: Regenerated.
32121         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32122         variable.
32123         (libc_relro_required): Likewise.
32124         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32125         (libc_relro_required): Likewise.
32126         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32127         (libc_relro_required): Likewise.
32128         * sysdeps/arm/preconfigure: Regenerated.
32129         * sysdeps/ia64/preconfigure: Remove file.
32130         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32131         variable.
32132         (libc_relro_required): Likewise.
32134         [BZ #16561]
32135         [BZ #16562]
32136         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32137         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32138         recompute overflowing results in original rounding mode.
32139         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32140         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32141         recompute overflowing results in original rounding mode.
32142         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32143         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32144         recompute overflowing results in original rounding mode.
32145         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32146         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32147         recompute overflowing results in original rounding mode.
32148         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32149         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32150         recompute overflowing results in original rounding mode.
32151         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32152         (libc_feholdsetround_ctx): New macro.
32153         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32154         * sysdeps/i386/fpu/libm-test-ulps: Update.
32155         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32157 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32159         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32160         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32161         corresponding .cpsetup call.
32163 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32165         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32166         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32167         * sysdeps/arm/Makefile [$(subdir) = csu]
32168         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32169         (static-only-routines): Add aeabi_read_tp here.
32170         (shared-only-routines): Add libc-aeabi_read_tp here.
32171         (CFLAGS-libc-start.c): Add -fexceptions here.
32172         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32173         (sysdep_routines, static-only-routines, shared-only-routines):
32174         Don't add to these here.
32175         (CFLAGS-libc-start.c): Likewise.
32177         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32178         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32179         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32180         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32181         * sysdeps/arm/Makefile [$(subdir) = rt]
32182         (librt-sysdep_routines, librt-shared-only-routines):
32183         Append rt-aeabi_unwind_cpp_pr1 here.
32184         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32185         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32186         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32187         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32188         Append nptl-aeabi_unwind_cpp_pr1 here.
32189         (tests): Filter out tst-cleanupx4 here.
32190         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32191         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32192         Don't do those here.
32194 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32196         * scripts/list-sources.sh: Do not handle ports specially.
32198 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32200         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32201         * sysdeps/arm/feupdateenv.c: Likewise.
32203         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32205 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32207         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32208         trailing whitespace removed.
32209         * scripts/config.guess: Update to version 2014-03-23.
32210         * scripts/config.sub: Update to version 2014-05-01
32211         * scripts/install-sh: Update to version 2013-12-25.23.
32212         * scripts/move-if-change: Update from gnulib.
32214 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32216         * debug/memmove_chk.c: Remove pagecopy.h include.
32218 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32220         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32221         identical to gnulib mktime.
32223 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32225         * configure.ac: Do not test for machine being rs6000.  Do not test
32226         for powerpc*-*soft.
32227         * configure: Regenerated.
32229         [BZ #11505]
32230         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32231         test.
32232         * configure: Regenerated.
32233         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32234         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32235         Remove configure test.
32236         * sysdeps/arm/configure: Regenerated.
32237         * sysdeps/nptl/configure.ac: Do not check
32238         libc_cv_asm_cfi_directives.
32239         * sysdeps/nptl/configure: Regenerated.
32240         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32241         * sysdeps/x86_64/nptl/configure: Remove generated file.
32242         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32243         unconditional.
32244         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32246 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32248         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32249         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32250         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32251         it is defined.
32253         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32254         instead of whether it is defined.
32255         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32256         * sysdeps/hppa/dl-machine.h: Likewise.
32257         * sysdeps/ia64/dl-machine.h: Likewise.
32258         * sysdeps/m68k/dl-machine.h: Likewise.
32259         * sysdeps/microblaze/dl-machine.h: Likewise.
32260         * sysdeps/mips/dl-machine.: Likewise.
32261         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32262         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32263         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32264         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32265         * sysdeps/sh/dl-machine.h: Likewise.
32266         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32267         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32268         * sysdeps/tile/dl-machine.h: Likewise.
32269         * sysdeps/x86_64/dl-machine.h: Likewise.
32271         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32272         code.
32273         (verify_persistent_db): Likewise.
32275 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32278         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32280         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32282         Moved ...
32283         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32284         ... here.
32285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32286         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32288         Identical file removed.
32289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32290         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32292         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32294         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32296         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32298         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32300         Moved ...
32301         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32303         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32305         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32307         Moved ...
32308         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32310         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32312         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32314         Identical file removed.
32315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32316         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32318         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32320         Moved ...
32321         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32322         ... here.
32323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32324         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32326         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32328         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32330         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32332         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32334         Moved ...
32335         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32337         Moved ...
32338         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32340         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32342         Moved ...
32343         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32345         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32347         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32348         folded into ...
32349         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32350         * sysdeps/unix/sysv/linux/s390/Versions
32351         (libpthread: GLIBC_2.19): New version set.
32352         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32353         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32354         (librt: GLIBC_2.3.3): New version set.
32355         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32356         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32357         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32358         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32359         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32360         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32361         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32362         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32363         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32364         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32365         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32366         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32367         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32368         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32369         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32370         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32371         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32372         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32373         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32374         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32375         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32376         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32377         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32378         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32379         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32380         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32381         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32382         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32383         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32384         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32385         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32386         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32387         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32388         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32389         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32390         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32391         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32392         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32393         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32394         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32395         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32396         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32397         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32398         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32399         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32401         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32402         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32403         (__libc_vfork): Define the function under this name.
32404         [!NOT_IN_libc] (__vfork): Make this an alias.
32405         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32406         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32407         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32408         (__libc_vfork): Define the function under this name.
32409         [!NOT_IN_libc] (__vfork): Make this an alias.
32410         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32411         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32412         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32413         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32414         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32415         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32417         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32418         code that was previously under [RESET_PID].
32419         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32420         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32421         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32423         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32424         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32425         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32426         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32427         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32428         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32429         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32430         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32431         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32432         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32433         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32434         Moved ...
32435         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32436         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32437         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32438         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32439         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32440         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32441         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32442         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32443         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32444         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32445         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32446         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32447         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32448         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32449         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32450         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32451         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32452         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32453         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32454         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32455         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32456         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32457         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32458         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32459         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32460         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32461         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32462         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32463         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32465 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32467         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32468         that was previously under [RESET_PID].
32469         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32471 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32473         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32474         not undefine and redefine.
32475         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32476         [O_CLOEXEC]: Make code unconditional.
32477         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32478         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32479         <kernel-features.h>.
32480         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32481         conditional variable definition.
32482         (shm_open) [O_CLOEXEC]: Make code unconditional.
32483         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32484         code.
32486         * configure.ac (USE_REGPARMS): Don't define here.
32487         * configure: Regenerated.
32488         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32489         * sysdeps/i386/configure: Regenerated.
32491         * nptl/createthread.c: Don't include kernel-features.h.
32492         * nptl/pthread_cancel.c: Likewise.
32493         * nptl/pthread_condattr_setclock.c: Likewise.
32494         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32495         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32496         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32497         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32498         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32499         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32500         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32501         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32502         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32503         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32504         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32505         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32506         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32507         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32508         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32509         * nscd/gai.c: Likewise.
32510         * nss/nss_db/db-open.c: Likewise.
32511         * sysdeps/generic/ldsodefs.h: Likewise.
32512         * sysdeps/sh/nptl/tls.h: Likewise.
32513         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32514         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32515         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32516         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32517         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32518         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32519         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32520         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32521         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32522         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32523         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32524         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32525         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32526         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32527         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32528         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32529         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32530         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32531         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32532         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32533         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32534         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32535         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32536         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32537         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32538         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32539         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32540         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32541         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32542         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32543         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32544         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32545         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32546         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32547         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32548         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32549         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32550         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32551         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32552         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32553         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32554         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32555         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32556         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32557         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32558         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32559         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32560         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32561         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32562         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32563         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32564         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32565         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32566         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32567         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32568         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32569         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32570         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32593         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32594         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32595         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32596         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32597         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32598         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32599         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32600         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32601         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32602         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32603         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32604         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32605         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32606         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32607         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32608         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32609         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32610         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32611         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32612         * sysdeps/unix/sysv/linux/system.c: Likewise.
32613         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32614         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32615         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32616         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32617         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32618         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32619         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32621         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32622         * configure: Regenerated.
32623         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32625         * configure.ac (base_machine): Do not set specially for particular
32626         machines here.
32627         * configure: Regenerated.
32628         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32629         settings from configure.ac.
32630         * sysdeps/i386/preconfigure: New file.
32631         * sysdeps/s390/preconfigure: Likewise.
32632         * sysdeps/sh/preconfigure: Likewise.
32633         * sysdeps/sparc/preconfigure: Likewise.
32635 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32637         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32638         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32639         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32640         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32641         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32642         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32643         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32644         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32645         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32646         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32647         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32648         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32649         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32650         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32651         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32652         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32653         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32654         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32655         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32657         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32658         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32659         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32660         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32661         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32662         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32663         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32664         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32665         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32666         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32667         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32668         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32669         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32670         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32671         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32672         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32673         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32674         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32675         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32676         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32677         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32678         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32679         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32680         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32681         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32682         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32683         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32684         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32685         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32686         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32687         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32688         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32689         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32690         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32691         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32692         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32693         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32694         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32697         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32699         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32701         Moved ...
32702         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32703         ... here.
32704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32705         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32707         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32709         Moved ...
32710         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32712         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32714         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32716         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32718         Moved ...
32719         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32721         Moved ...
32722         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32724         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32726         Moved ...
32727         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32729         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32731         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32733         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32735         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32737         Moved ...
32738         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32739         ... here.
32740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32741         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32743         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32745         Moved ...
32746         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32748         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32750         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32752         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32754         Moved ...
32755         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32757         Moved ...
32758         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32760         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32762         Moved ...
32763         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32765         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32767         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32769 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32771         * timezone/checktab.awk: Update from tzcode 2014e.
32772         * timezone/private.h: Likewise.
32773         * timezone/tzfile.h: Likewise.
32774         * timezone/zdump.c: Likewise.
32775         * timezone/zic.c: Likewise.
32777         * sysdeps/unix/sysv/linux/kernel-features.h
32778         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32779         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32780         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32781         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32782         Remove conditional code.
32784 2014-06-25  Will Newton  <will.newton@linaro.org>
32786         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32787         (_dl_arm_cap_flags): Add HWCAP2 values.
32788         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32789         (_DL_HWCAP_COUNT): Increase to 37.
32790         (_DL_HWCAP_LAST): New define.
32791         (_DL_HWCAP2_LAST): New define.
32792         (_dl_procinfo): Add support for printing
32793         AT_HWCAP2 entries.
32794         (_dl_string_hwcap): Use _dl_hwcap_string.
32796 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32800 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32802         * README: Do not mention ports directory.
32804         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32805         Remove macro.
32806         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32807         <kernel-features.h>.
32808         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32809         conditional variable definition.
32810         (__futimes): Update comment.
32811         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32812         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32814         [BZ #16560]
32815         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32816         arguments close to 0.
32817         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32818         Likewise.
32819         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32820         Likewise.
32821         * math/auto-libm-test-in: Add more tests of exp10.
32822         * math/auto-libm-test-out: Regenerated.
32823         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32825         * sysdeps/unix/sysv/linux/kernel-features.h
32826         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32827         * sysdeps/unix/sysv/linux/readv.c: Do not include
32828         <kernel-features.h>.
32829         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32830         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32831         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32832         unconditional.
32833         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32834         conditional code.
32835         * sysdeps/unix/sysv/linux/writev.c: Do not include
32836         <kernel-features.h>.
32837         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32838         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32839         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32840         unconditional.
32841         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32842         conditional code.
32844 2014-06-25  Will Newton  <will.newton@linaro.org>
32846         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32847         comment changes throughout the file.  Remove checks
32848         for HAVE_*_H definitions that are not required.
32849         (__gen_tempname): Call abort if an unknown kind value is
32850         passed.
32852 2014-06-25  Andreas Schwab  <schwab@suse.de>
32854         [BZ #17086]
32855         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32856         scalbln, scalblnf, scalblnl in libc.
32858 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32860         [BZ #17086]
32861         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32862         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32863         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32865 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32867         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32868         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32869         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32870         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32871         Update #include.
32872         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32873         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32874         Update #include.
32875         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32876         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32877         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32878         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32879         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32880         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32881         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32882         * sysdeps/x86/bits/semaphore.h: ... here.
32883         * sysdeps/x86/nptl/elide.h: Moved ...
32884         * sysdeps/x86/elide.h: ... here.
32885         * sysdeps/x86_64/nptl/Implies: File removed.
32886         * sysdeps/i386/nptl/Implies: File removed.
32888 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32890         [BZ #16539]
32891         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32892         return the argument for normal arguments with exponent below -64.
32893         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32894         Likewise.
32895         * math/auto-libm-test-in: Add another test of expm1.
32896         * math/auto-libm-test-out: Regenerated.
32898         [BZ #16287]
32899         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32900         calling __erfcl for arguments at least 16.
32901         * math/auto-libm-test-in: Add more tests of erf.
32902         * math/auto-libm-test-out: Regenerated.
32904         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32905         individual architectures.
32906         * sysdeps/unix/sysv/linux/configure: Regenerated.
32907         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32908         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32909         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32910         (ldd_rewrite_script): Define variable.
32911         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32913         file.
32914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32915         generated file.
32916         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32917         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32918         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32919         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32920         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32921         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32922         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32923         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32925 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32927         [BZ #17084]
32928         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32929         Rename member __data.d to __data.__elision_data.
32931 2014-06-24  Wilco  <wdijkstr@arm.com>
32933         * NEWS: Add 16918 to fixed bug list.
32935 2014-06-24  Wilco  <wdijkstr@arm.com>
32937         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32939 2014-06-24  Wilco  <wdijkstr@arm.com>
32941         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32942         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32943         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32944         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32945         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32946         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32947         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32948         Use _FPU_MASK_RM.
32950 2014-06-24  Wilco  <wdijkstr@arm.com>
32952         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32954 2014-06-24  Wilco  <wdijkstr@arm.com>
32956         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32957         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32958         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32959         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32961 2014-06-24  Wilco  <wdijkstr@arm.com>
32963         [BZ #16918]
32964         * sysdeps/arm/feupdateenv.c (feupdateenv):
32965         Rewrite to reduce FPSCR accesses and fix return value.
32967 2014-06-24  Wilco  <wdijkstr@arm.com>
32969         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32970         Optimize to avoid unnecessary FPSCR writes.
32971         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32972         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32973         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32974         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32976 2014-06-24  Wilco  <wdijkstr@arm.com>
32978         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32979         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32980         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32981         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32982         Call libc_fetestexcept_vfp.
32983         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32984         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32985         __SOFTFP__ ifdef so that they can be built for softfp.
32987 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32989         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32990         argument type signed char.
32992         * Makerules (check-abi): Dump diff of symlist if the test
32993         fails.
32995 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32997         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32998         using abort.
33000         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33001         Remove unused variable ST.
33003 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33005         [BZ #16354]
33006         [BZ #17061]
33007         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33008         small arguments before calling __expm1.
33009         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33010         small arguments before calling __expm1f.
33011         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33012         small arguments before calling __expm1l.
33013         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33014         Likewise.
33015         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33016         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33017         spurious underflow for some cosh tests.
33018         * math/auto-libm-test-out: Regenerated.
33019         * sysdeps/i386/fpu/libm-test-ulps: Update.
33021         [BZ #17050]
33022         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33023         (__ieee754_y1): Set errno if return value overflows.
33024         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33025         (__ieee754_y1f): Set errno if return value overflows.
33026         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33027         (__ieee754_y1l): Set errno if return value overflows.
33028         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33029         (__ieee754_y1l): Set errno if return value overflows.
33030         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33031         * math/auto-libm-test-out: Regenerated.
33033         * math/gen-auto-libm-tests.c: Document use of
33034         ignore-zero-inf-sign.
33035         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33036         (input_flags): Add ignore-zero-inf-sign.
33037         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33038         * math/gen-libm-test.pl (generate_testfile): Handle
33039         ignore-zero-inf-sign.
33040         * math/auto-libm-test-in: Mark some cpow tests with
33041         ignore-zero-inf-sign and some with xfail-rounding.
33042         * math/auto-libm-test-out: Regenerated.
33043         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33044         * sysdeps/i386/fpu/libm-test-ulps: Update.
33045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33047         [BZ #16315]
33048         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33049         overflowing or underflowing operations take place with sign of
33050         result.
33051         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33052         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33053         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33054         (__ieee754_pow): Recompute overflowing and underflowing results in
33055         original rounding mode.
33056         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33057         (__powl_helper): Allow negative argument X and scale negated value
33058         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33059         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33060         overflowing or underflowing operations take place with sign of
33061         result.
33062         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33063         Include <math.h>.
33064         * math/auto-libm-test-in: Add more tests of pow.
33065         * math/auto-libm-test-out: Regenerated.
33066         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33067         (pow_tonearest_test_data): Remove.
33068         (pow_test_tonearest): Likewise.
33069         (pow_towardzero_test_data): Likewise.
33070         (pow_test_towardzero): Likewise.
33071         (pow_downward_test_data): Likewise.
33072         (pow_test_downward): Likewise.
33073         (pow_upward_test_data): Likewise.
33074         (pow_test_upward): Likewise.
33075         (main): Don't call removed functions.
33076         * sysdeps/i386/fpu/libm-test-ulps: Update.
33077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33079 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33082         Moved ...
33083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33085         Moved ...
33086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33088         Moved ...
33089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33091         Moved ...
33092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33094         File removed.
33095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33096         File removed.
33097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33098         File removed.
33099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33100         File removed.
33101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33102         File removed.
33103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33104         File removed.
33105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33106         File removed.
33107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33108         File removed.
33109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33110         File removed.
33111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33112         File removed.
33113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33114         File removed.
33115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33116         File removed.
33117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33118         Moved ...
33119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33121         Moved ...
33122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33123         ... here.
33124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33125         Moved ...
33126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33128         Moved ...
33129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33131         Moved ...
33132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33134         Moved ...
33135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33137         Moved ...
33138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33140         Moved ...
33141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33143         Moved ...
33144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33147         ... here.
33148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33149         Moved ...
33150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33152         Moved ...
33153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33154         ... here.
33155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33156         Moved ...
33157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33158         ... here.
33159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33160         Moved ...
33161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33162         ... here.
33163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33164         Moved ...
33165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33167         Moved ...
33168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33172         Moved ...
33173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33174         ... here.
33175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33176         Moved ...
33177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33178         ... here.
33179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33180         Moved ...
33181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33183         Moved ...
33184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33186         Moved ...
33187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33189         Moved ...
33190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33192         Moved ...
33193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33194         ... here.
33195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33196         Moved ...
33197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33199         Moved ...
33200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33202         Moved ...
33203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33205         Moved ...
33206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33210         Moved ...
33211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33213         Moved ...
33214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33216         Moved ...
33217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33218         ... here.
33219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33220         Moved ...
33221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33222         ... here.
33223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33224         Moved ...
33225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33226         ... here.
33227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33228         Moved ...
33229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33231         Moved ...
33232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33234         Moved ...
33235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33237         Moved ...
33238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33239         ... here.
33240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33241         Moved ...
33242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33243         ... here.
33244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33245         Moved ...
33246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33247         ... here.
33248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33249         Moved ...
33250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33252         Moved ...
33253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33255 2014-06-23  Will Newton  <will.newton@linaro.org>
33256             Wilco  <wdijkstr@arm.com>
33258         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33259         implementation.  Include get-rounding-mode.h.
33260         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33261         [!libc_feholdsetround_noex_ctx]: Define
33262         libc_feholdsetround_noex_ctx.
33263         [!libc_feholdsetround_noexf_ctx]: Define
33264         libc_feholdsetround_noexf_ctx.
33265         [!libc_feholdsetround_noexl_ctx]: Define
33266         libc_feholdsetround_noexl_ctx.
33267         (libc_feholdsetround_ctx): New function.
33268         (libc_feresetround_ctx): New function.
33269         (libc_feholdsetround_noex_ctx): New function.
33270         (libc_feresetround_noex_ctx): New function.
33272 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33274         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33275         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33276         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33277         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33278         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33279         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33281         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33282         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33283         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33284         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33285         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33286         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33287         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33288         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33289         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33290         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33291         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33292         Moved ...
33293         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33294         ... here.
33295         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33296         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33297         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33298         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33299         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33300         Moved ...
33301         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33302         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33303         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33304         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33305         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33306         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33307         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33308         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33309         Moved ...
33310         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33311         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33312         Moved ...
33313         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33314         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33315         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33316         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33317         Moved ...
33318         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33319         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33320         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33321         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33322         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33323         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33324         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33325         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33326         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33327         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33328         Moved ...
33329         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33330         ... here.
33331         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33332         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33333         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33334         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33335         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33336         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33337         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33338         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33339         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33340         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33341         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33342         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33343         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33344         Moved ...
33345         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33346         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33347         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33348         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33349         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33350         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33351         Moved ...
33352         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33353         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33354         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33355         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33356         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33358         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33359         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33360         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33361         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33362         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33363         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33364         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33365         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33366         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33367         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33368         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33369         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33370         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33371         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33372         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33373         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33374         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33375         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33376         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33377         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33378         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33379         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33380         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33381         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33382         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33383         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33384         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33385         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33387 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33389         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33390         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33391         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33392         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33393         (IPV6_PMTUDISC_INTERFACE): Likewise.
33394         (IPV6_PMTUDISC_OMIT): Likewise.
33396 2014-06-23  Andreas Schwab  <schwab@suse.de>
33398         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33399         Remove unused errout label.
33401 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33403         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33404         macro: hardware supports Vector Crypto instructions.
33406 2014-06-23  Will Newton  <will.newton@linaro.org>
33408         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33409         rather than __builtin_expect.
33411         * elf/dl-lookup.c (undefined_msg): Remove variable.
33412         (_dl_lookup_symbol_x): Replace undefined_msg with string
33413         literal.
33415         * elf/dl-lookup.c (do_lookup_unique): New function.
33416         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33417         to a separate function.
33419 2014-06-23  Andreas Schwab  <schwab@suse.de>
33421         [BZ #17079]
33422         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33423         before reading the next line.
33425 2014-06-23  Will Newton  <will.newton@linaro.org>
33427         * test-skeleton.c (signal_handler): Use printf and %m
33428         rather than perror.  Use printf rather than fprintf to
33429         stderr.  Use puts rather than fputs to stderr.
33430         (main): Likewise.
33432 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33434         * nscd/nscd.c (thread_info_t): Remove typedef.
33435         (thread_info): Remove variable.
33437 2014-06-21  Allan McRae  <allan@archlinux.org>
33439         * NEWS: Mention CVE-2014-4043.
33441 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33443         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33444         * nptl/smp.h: ... here.
33446         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33448         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33449         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33450         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33451         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33453         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33454         * nptl/stack-aliasing.h: New file.
33455         * sysdeps/i386/i686/stack-aliasing.h: New file.
33456         * sysdeps/i386/i686/nptl/Makefile: File removed.
33457         * sysdeps/x86_64/stack-aliasing.h: New file.
33458         * sysdeps/x86_64/nptl/Makefile
33459         (CFLAGS-pthread_create.c): Variable removed.
33461         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33462         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33463         old file.
33464         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33465         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33466         old file.
33468 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33470         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33471         (__ASSUME_SIGFRAME_V2): Remove macro.
33472         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33473         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33474         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33475         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33476         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33477         Declare as function.  Remove conditional macro definitions.
33478         (__default_rt_sa_restorer): Likewise.
33479         (__default_sa_restorer_v1): Remove declaration.
33480         (__default_sa_restorer_v2): Likewise.
33481         (__default_rt_sa_restorer_v1): Likewise.
33482         (__default_rt_sa_restorer_v2): Likewise.
33483         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33484         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33485         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33487 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33489         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33490         (libpthread-routines): Add sysdep.
33491         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33492         * sysdeps/unix/sysv/linux/sparc/Versions
33493         (libpthread: GLIBC_2.3.3): New version set.
33494         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33495         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33496         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33497         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33498         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33499         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33500         Moved ...
33501         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33502         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33503         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33504         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33505         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33506         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33507         * sysdeps/sparc/nptl/sem_init.c: ... here.
33508         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33509         * sysdeps/sparc/nptl/sem_post.c: ... here.
33510         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33511         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33512         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33513         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33514         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33515         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33516         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33517         (libpthread-routines): Add cpu_relax.
33518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33519         File removed.
33520         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33521         (librt: GLIBC_2.3.3): New version set.
33522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33523         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33524         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33525         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33528         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33530         Moved ...
33531         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33533         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33535         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33537         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33539         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33541         Moved ...
33542         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33543         Update #include.
33544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33545         Moved ...
33546         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33547         Update #include.
33548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33549         Moved ...
33550         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33551         Update #include.
33552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33553         Moved ...
33554         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33555         Update #include.
33556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33557         Moved ...
33558         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33559         Update #include.
33560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33561         Moved ...
33562         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33563         Update #include.
33564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33565         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33567         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33569         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33571         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33573         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33575         Moved ...
33576         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33578         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33580         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33582 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33584         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33585         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33586         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33587         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33588         * nscd/nscd.c: Likewise.
33589         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33590         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33591         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33592         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33594         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33595         <kernel-features.h>.
33596         (init_mq_netlink): Remove conditional have_sock_cloexec
33597         definitions.  Remove code conditional on have_sock_cloexec < 0.
33598         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33599         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33600         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33601         <kernel-features.h>.
33602         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33603         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33605 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33607         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33608         Add tests for memset_chk and memset.
33610         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33611         with AVX2_Usable.
33613 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33615         [BZ #16046]
33616         * elf/tst-dl-iter-static.c: New file.
33617         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33619         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33620         error.
33622 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33624         * sysdeps/unix/sysv/linux/kernel-features.h
33625         (__ASSUME_F_GETOWN_EX): Remove macro.
33626         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33627         <kernel-features.h>.
33628         (miss_F_GETOWN_EX): Remove variable or macro.
33629         (do_fcntl): Do not check miss_F_GETOWN_EX.
33630         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33632         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33633         Remove macro.
33634         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33635         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33636         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33638         * sysdeps/unix/sysv/linux/kernel-features.h
33639         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33640         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33641         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33642         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33644 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33646         [BZ #17075]
33647         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33648         Fix calculation of the symbol's value.
33649         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33650         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33651         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33652         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33653         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33654         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33655         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33656         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33657         (modules-names): Add `tst-armtlsdescmod',
33658         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33659         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33660         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33661         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33662         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33663         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33664         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33665         ($(objpfx)tst-armtlsdescloc): New dependency.
33666         ($(objpfx)tst-armtlsdescextnow): Likewise.
33667         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33668         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33669         TLS scheme support.
33670         * sysdeps/arm/configure: Regenerate.
33672 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33674         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33675         (__atfct_seterrno_2): Likewise.
33676         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33677         <kernel-features.h>.
33678         (__ASSUME_ATFCTS): Do not undefine and redefine.
33679         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33680         (__have_atfcts): Remove conditional definition.
33681         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33682         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33683         unreachable if [__ASSUME_ATFCTS].
33684         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33685         not undefine and redefine.
33686         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33687         <kernel-features.h>.
33688         (faccessat) [__NR_faccessat]: Make code unconditional.
33689         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33690         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33691         <kernel-features.h>.
33692         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33693         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33694         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33695         <kernel-features.h>.
33696         (fchownat) [__NR_fchownat]: Make code unconditional.
33697         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33698         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33699         <kernel-features.h>.
33700         (futimesat) [__NR_futimesat]: Make code unconditional.
33701         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33702         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33703         <kernel-features.h>.
33704         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33705         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33706         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33707         <kernel-features.h>.
33708         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33709         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33710         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33711         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33712         <kernel-features.h>.
33713         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33714         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33715         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33716         <kernel-features.h>.
33717         (linkat) [__NR_linkat]: Make code unconditional.
33718         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33719         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33720         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33721         <kernel-features.h>.
33722         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33723         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33724         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33725         <kernel-features.h>.
33726         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33727         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33728         * sysdeps/unix/sysv/linux/openat.c: Do not include
33729         <kernel-features.h>.
33730         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33731         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33732         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33733         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33734         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33735         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33736         <kernel-features.h>.
33737         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33738         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33739         result of INLINE_SYSCALL directly, not via int variable.
33740         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33741         <kernel-features.h>.
33742         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33743         (renameat) [__NR_renameat]: Make code unconditional.
33744         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33745         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33746         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33747         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33748         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33749         (__ASSUME_ATFCTS): Do not undefine and redefine.
33750         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33751         <kernel-features.h>.
33752         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33753         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33754         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33755         <kernel-features.h>.
33756         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33757         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33758         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33759         (__ASSUME_ATFCTS): Do not undefine and redefine.
33760         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33761         <kernel-features.h>.
33762         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33763         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33764         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33765         <kernel-features.h>.
33766         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33767         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33769 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33771         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33773 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33775         [BZ #17069]
33776         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33777         constructed tree before returning error.
33778         * posix/bug-regexp36.c: Expand test case.
33780 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33782         [BZ #6803]
33783         * math/libm-test.inc (scalbln_test_date):
33784         Add errno expectations.
33785         * math/w_scalblnf.c: New File.
33786         Add wrapper which checks for setting errno to ERANGE.
33787         Add weak_alias for corresponding scalbln function.
33788         * math/w_scalbln.c: Likewise.
33789         * math/w_scalblnl.c: Likewise.
33790         * math/Makefile (libm-calls): Add w_scalbln.
33791         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33792         Remove weak_alias for corresponding scalbln function.
33793         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33794         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33795         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33796         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33797         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33798         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33799         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33800         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33801         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33802         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33803         Remove long_double_symbol for scalblnl function in libm, libc.
33804         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33805         Add wrapper which checks for setting errno to ERANGE.
33806         Add long_double_symbol for scalblnl function in libm, libc.
33807         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33808         Remove long_double_symbol for scalblnl in libm.
33809         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33810         Add wrapper which checks for setting errno to ERANGE.
33811         Add long_double_symbol for scalblnl function in libm.
33812         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33813         Do not use wrapper because of own implementation.
33815 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33817         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33818         3 bytes for __pad1 for x32.
33819         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33821 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33822             H.J. Lu  <hongjiu.lu@intel.com>
33824         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33825         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33826         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33827         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33828         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33830 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33832         [BZ #17069]
33833         * posix/regcomp.c (parse_expression): Deallocate partially
33834         constructed tree before returning error.
33835         * posix/Makefile.c (tests): Add bug-regex36.
33836         (generated): Add bug-regex36.mtrace.
33837         (tests-special): Add $(objpfx)bug-regex36-mem.out
33838         (bug-regex36-ENV): New variable.
33839         ($(objpfx)bug-regex36-mem.out): New rule.
33840         * posix/bug-regex36.c: New file.
33842 2014-06-19  Will Newton  <will.newton@linaro.org>
33844         * malloc/malloc.c (systrim): If extra is zero then return
33845         early.
33847 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33849         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33851 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33853         * sysdeps/aarch64/strchr.S: New file.
33855 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33857         [BZ #17022]
33858         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33859         from arguments -2 or below.
33860         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33861         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33863 2014-06-18  Andreas Schwab  <schwab@suse.de>
33865         [BZ #17062]
33866         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33867         of a bracket expr not to run off the end of the string.
33868         * posix/Makefile (tests): Add tst-fnmatch3.
33869         * posix/tst-fnmatch3.c: New file.
33871 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33873         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33874         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33875         [$(cross-compiling) = no]: Likewise.
33876         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33877         [$(cross-compiling) = no]: Likewise.
33879 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33881         [BZ #17031]
33882         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33883         double, adjusted for any remainder from the high double.
33884         * math/libm-test.inc (nearbyint): Add tests.
33885         (rint): Likewise.
33887 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33889         * nptl/sysdeps/powerpc/Makefile: Moved ...
33890         * sysdeps/powerpc/nptl/Makefile: ... here.
33891         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33892         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33893         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33894         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33895         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33896         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33897         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33898         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33899         * nptl/sysdeps/powerpc/tls.h: Moved ...
33900         * sysdeps/powerpc/nptl/tls.h: ... here.
33902 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33904         [BZ #16681]
33905         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33906         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33907         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33908         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33909         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33910         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33911         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33912         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33913         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33915 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33917         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33919 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33921         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33922         defined operator.
33924         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33925         $TIMEOUTFACTOR.
33927 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33929         [BZ #17058]
33930         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33931         non-executed part of the test.
33933 2014-06-16  Andreas Schwab  <schwab@suse.de>
33935         * string/bits/string2.h (strdup, strndup): Update feature guard.
33937 2014-06-14  David S. Miller  <davem@davemloft.net>
33939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33941 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33943         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33944         that was previously under [RESET_PID].
33945         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33947         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33948         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33949         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33950         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33951         (__libc_vfork): New strong alias.
33952         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33954 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33956         * sysdeps/generic/elide.h: New file.
33958 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33960         * Makefile (installed-headers): Adjust path of pthread.h header.
33962 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33964         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33965         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33966         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33967         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33969         * nptl/sysdeps/s390/Makefile: Moved ...
33970         * sysdeps/s390/nptl/Makefile: ... here.
33971         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33972         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33973         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33974         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33975         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33976         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33977         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33978         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33979         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33980         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33981         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33982         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33983         * nptl/sysdeps/s390/tls.h: Moved ...
33984         * sysdeps/s390/nptl/tls.h: ... here.
33986         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33987         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33989 2014-06-13  David S. Miller  <davem@davemloft.net>
33991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33992         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33994         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33996         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33998         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33999         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34000         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34001         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34002         Remove RESET_PID cpp guards.
34003         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34004         Remove RESET_PID cpp guards.
34005         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34007 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34009         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34010         __sp to uintptr_t.
34012 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34014         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34015         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34016         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34017         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34018         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34019         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34020         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34021         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34022         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34023         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34024         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34025         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34026         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34027         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34028         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34029         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34030         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34031         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34032         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34033         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34035         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34036         (pthread_rwlock_rdlock): Add elision.
34037         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34038         (pthread_rwlock_wrlock): Add elision.
34039         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34040         (pthread_rwlock_trywrlock): Add elision.
34041         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34042         (pthread_rwlock_tryrdlock): Add elision.
34043         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34044         (pthread_rwlock_tryrdlock): Add elision unlock.
34045         * nptl/sysdeps/pthread/pthread.h:
34046         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34047         (PTHREAD_RWLOCK_INITIALIZER,
34048         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34049         Handle new elision field.
34050         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34051         * sysdeps/arm/nptl/bits/pthreadtypes.h
34052         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34053         * sysdeps/sh/nptl/bits/pthreadtypes.h
34054         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34055         * sysdeps/tile/nptl/bits/pthreadtypes.h
34056         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34057         * sysdeps/a/nptl/bits/pthreadtypes.h
34058         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34059         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34060         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34061         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34062         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34063         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34064         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34065         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34066         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34067         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34068         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34069         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34070         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34071         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34072         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34073         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34074         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34075         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34076         (elision_init): Set try_xbegin to zero when no RTM.
34077         * sysdeps/x86/nptl/bits/pthreadtypes.h
34078         (pthread_rwlock_t): Change __pad1 to __rwelision.
34079         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34081 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34083         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34084         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34085         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34086         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34088 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34090         [BZ #16996]
34091         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34092         that the cached result has been set before returning it.
34094 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34096         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34097         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34098         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34099         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34100         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34101         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34103         * nptl/sysdeps/sparc/Makefile: Moved ...
34104         * sysdeps/sparc/nptl/Makefile: ... here.
34105         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34106         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34107         * nptl/sysdeps/sparc/tls.h: Moved ...
34108         * sysdeps/sparc/nptl/tls.h: ... here.
34109         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34110         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34111         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34112         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34113         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34114         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34115         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34116         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34117         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34118         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34119         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34120         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34121         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34122         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34123         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34124         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34125         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34126         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34127         Update #include.
34128         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34129         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34130         Update #include.
34131         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34132         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34133         Update #include.
34134         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34135         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34136         Update #include.
34138         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34140         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34141         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34143         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34144         (struct list_links): Type removed.
34145         (struct thread_node, struct timer_node): Replace struct list_links
34146         with struct list_head.
34147         (list_unlink_ip): Likewise.
34148         * sysdeps/pthread/timer_routines.c
34149         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34150         (list_append, list_insbefore): Likewise.
34151         (list_init): Function removed.
34152         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34153         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34154         * sysdeps/pthread/Makefile: ... here, new file.
34156         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34157         * sysdeps/nptl/Implies: ... here.
34158         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34159         * nptl/sysdeps/pthread/list.h: Moved ...
34160         * include/list.h: ... here.
34161         * nptl/sysdeps/pthread/createthread.c: Moved ...
34162         * nptl/createthread.c: ... here.
34163         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34164         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34165         * nptl/pt-longjmp.c: ... here.
34166         * nptl/sysdeps/pthread/Makefile: Moved ...
34167         * sysdeps/nptl/Makefile: ... here.
34168         * nptl/sysdeps/pthread/Subdirs: Moved ...
34169         * sysdeps/nptl/Subdirs: ... here.
34170         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34171         * sysdeps/nptl/aio_misc.h: ... here.
34172         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34173         * sysdeps/nptl/bits/libc-lock.h: ... here.
34174         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34175         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34176         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34177         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34178         * nptl/sysdeps/pthread/configure: Moved ...
34179         * sysdeps/nptl/configure: ... here.
34180         * nptl/sysdeps/pthread/configure.ac: Moved ...
34181         * sysdeps/nptl/configure.ac: ... here.
34182         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34183         * sysdeps/nptl/gai_misc.h: ... here.
34184         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34185         * sysdeps/nptl/librt-cancellation.c: ... here.
34186         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34187         * sysdeps/nptl/malloc-machine.h: ... here.
34188         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34189         * sysdeps/nptl/pthread-functions.h: ... here.
34190         * nptl/sysdeps/pthread/pthread.h: Moved ...
34191         * sysdeps/nptl/pthread.h: ... here.
34192         * nptl/sysdeps/pthread/setxid.h: Moved ...
34193         * sysdeps/nptl/setxid.h: ... here.
34194         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34195         * sysdeps/nptl/sigfillset.c: ... here.
34196         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34197         * sysdeps/nptl/tcb-offsets.h: ... here.
34198         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34199         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34200         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34201         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34202         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34203         * sysdeps/pthread/allocalim.h: ... here.
34204         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34205         * sysdeps/pthread/bits/sigthread.h: ... here.
34206         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34207         * sysdeps/pthread/flockfile.c: ... here.
34208         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34209         * sysdeps/pthread/ftrylockfile.c: ... here.
34210         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34211         * sysdeps/pthread/funlockfile.c: ... here.
34212         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34213         * sysdeps/pthread/posix-timer.h: ... here.
34214         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34215         * sysdeps/pthread/timer_create.c: ... here.
34216         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34217         * sysdeps/pthread/timer_delete.c: ... here.
34218         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34219         * sysdeps/pthread/timer_getoverr.c: ... here.
34220         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34221         * sysdeps/pthread/timer_gettime.c: ... here.
34222         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34223         * sysdeps/pthread/timer_routines.c: ... here.
34224         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34225         * sysdeps/pthread/timer_settime.c: ... here.
34226         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34227         * sysdeps/pthread/tst-timer.c: ... here.
34228         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34229         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34231         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34232         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34234         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34235         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34236         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34237         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34238         Update #include target.
34239         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34240         * sysdeps/i386/i686/nptl/Makefile: ... here.
34241         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34242         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34243         Update #include target.
34244         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34245         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34246         * nptl/sysdeps/i386/Makefile: Moved ...
34247         * sysdeps/i386/nptl/Makefile: ... here.
34248         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34249         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34250         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34251         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34252         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34253         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34254         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34255         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34256         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34257         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34258         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34259         * nptl/sysdeps/i386/tls.h: Moved ...
34260         * sysdeps/i386/nptl/tls.h: ... here.
34262         * sysdeps/sh/Makefile [$(subdir) = csu]
34263         (gen-as-const-headers): Add tcb-offsets.sym.
34264         * nptl/sysdeps/sh/Makefile: File removed.
34265         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34266         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34267         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34268         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34269         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34270         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34271         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34272         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34273         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34274         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34275         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34276         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34277         * nptl/sysdeps/sh/tls.h: Moved ...
34278         * sysdeps/sh/nptl/tls.h: ... here.
34279         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34280         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34281         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34282         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34283         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34284         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34285         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34286         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34287         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34288         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34289         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34290         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34291         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34292         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34293         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34294         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34295         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34296         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34297         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34298         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34299         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34300         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34301         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34302         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34303         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34304         Moved ...
34305         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34306         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34307         Moved ...
34308         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34309         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34310         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34311         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34312         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34313         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34314         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34315         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34316         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34317         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34318         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34319         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34320         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34321         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34322         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34323         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34324         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34325         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34326         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34328 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34330         * posix/spawn_faction_addopen.c: Include string.h.
34332 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34334         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34335         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34336         * nptl/sysdeps/x86_64/Makefile: Moved ...
34337         * sysdeps/x86_64/nptl/Makefile: ... here.
34338         * nptl/sysdeps/x86_64/configure: Moved ...
34339         * sysdeps/x86_64/nptl/configure: ... here.
34340         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34341         * sysdeps/x86_64/nptl/configure.ac: ... here.
34342         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34343         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34344         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34345         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34346         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34347         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34348         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34349         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34350         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34351         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34352         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34353         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34354         * nptl/sysdeps/x86_64/tls.h: Moved ...
34355         * sysdeps/x86_64/nptl/tls.h: ... here.
34356         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34357         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34358         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34359         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34361         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34363 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34367 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34369         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34370         type.
34371         [POSIX] (off_t): Likewise.
34372         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34373         [POSIX] (S_ISBLK): Require macro.
34374         [POSIX] (S_ISCHR): Likewise.
34375         [POSIX] (S_ISDIR): Likewise.
34376         [POSIX] (S_ISFIFO): Likewise.
34377         [POSIX] (S_ISREG): Likewise.
34378         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34379         optional-macro.
34380         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34381         type.
34382         [POSIX] (time_t): Likewise.
34383         [POSIX] (timer_t): Likewise.
34385 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34387         [BZ #17048]
34388         * posix/spawn_int.h (struct __spawn_action): Make the path string
34389         non-const to support deallocation.
34390         * posix/spawn_faction_addopen.c
34391         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34392         * posix/spawn_faction_destroy.c
34393         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34394         path in all spawn_do_open actions.
34395         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34396         posix_spawn_file_actions_addopen.
34398 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34400         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34401         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34402         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34403         conditional code always true.
34404         (__libc_vfork): New alias.
34406 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34408         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34409         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34411         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34413         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34414         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34416         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34417         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34419         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34420         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34422 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34424         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34425         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34426         multiarch strcmp for PPC64.
34427         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34428         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34430         multiarch optimizations.
34431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34432         (__libc_ifunc_impl_list): Likewise.
34434 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34436         * benchtests/scripts/validate_benchout.py: New script.
34437         * benchtests/Makefile (bench-func): Call it.
34438         * benchtests/scripts/benchout.schema.json: New file.
34440 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34442         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34443         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34444         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34445         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34446         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34447         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34448         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34449         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34450         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34451         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34452         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34453         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34454         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34455         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34456         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34457         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34459         Moved ...
34460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34461         ... here.
34462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34463         Moved ...
34464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34466         Moved ...
34467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34468         ... here.
34469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34470         Moved ...
34471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34472         ... here.
34473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34474         Moved ...
34475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34477         Moved ...
34478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34479         ... here.
34480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34481         Moved ...
34482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34483         ... here.
34484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34485         Moved ...
34486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34488         Moved ...
34489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34490         ... here.
34491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34492         Moved ...
34493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34494         ... here.
34495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34496         Moved ...
34497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34498         ... here.
34499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34500         Moved ...
34501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34503         Moved ...
34504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34505         ... here.
34506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34507         Moved ...
34508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34509         ... here.
34510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34511         Moved ...
34512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34513         ... here.
34514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34515         Moved ...
34516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34518         Moved ...
34519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34520         ... here.
34521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34522         Moved ...
34523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34524         ... here.
34525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34526         Moved ...
34527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34529         Moved ...
34530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34531         ... here.
34532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34533         Moved ...
34534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34536         Moved ...
34537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34539         Moved ...
34540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34541         ... here.
34542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34543         Moved ...
34544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34545         ... here.
34546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34547         Moved ...
34548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34549         ... here.
34550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34551         Moved ...
34552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34554         Moved ...
34555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34556         ... here.
34557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34558         Moved ...
34559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34560         ... here.
34561         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34562         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34563         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34564         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34565         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34566         Moved ...
34567         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34568         ... here.
34569         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34570         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34571         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34572         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34573         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34574         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34575         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34576         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34577         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34578         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34579         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34580         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34581         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34582         Moved ...
34583         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34584         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34585         Moved ...
34586         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34587         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34588         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34589         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34590         Moved ...
34591         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34592         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34593         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34594         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34595         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34596         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34597         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34599 2014-06-10  Wilco  <wdijkstr@arm.com>
34601         * math/test-fenv-return.c: New file.
34602         * math/Makefile: Add new test test-fenv-return.
34604 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34606         [BZ #17042]
34607         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34608         when x - 1 is zero.
34609         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34610         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34611         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34612         0.0L for an argument of 1.0L.
34613         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34614         Likewise.
34615         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34616         value when x - 1 is zero.
34617         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34618         * sysdeps/i386/fpu/libm-test-ulps: Update.
34619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34621 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34623         [BZ #15119]
34624         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34626 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34628         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34629         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34631 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34633         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34634         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34636         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34637         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34639         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34640         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34642         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34643         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34645         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34646         if not already defined.
34647         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34648         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34649         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34650         (TLS_INIT_TP): Use it.
34651         (TLS_DEFINE_INIT_TP): New macro.
34652         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34654 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34656         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34657         constant.
34658         [POSIX] (IXANY): Likewise.
34659         [POSIX] (OLCUC): Likewise.
34660         [POSIX || POSIX2008] (CBAUD): Do not allow.
34661         [POSIX || POSIX2008] (DEFECHO): Likewise.
34662         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34663         [POSIX || POSIX2008] (ECHOKE): Likewise.
34664         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34665         [POSIX || POSIX2008] (EXTA): Likewise.
34666         [POSIX || POSIX2008] (EXTB): Likewise.
34667         [POSIX || POSIX2008] (FLUSHO): Likewise.
34668         [POSIX || POSIX2008] (LOBLK): Likewise.
34669         [POSIX || POSIX2008] (PENDIN): Likewise.
34670         [POSIX || POSIX2008] (SWTCH): Likewise.
34671         [POSIX || POSIX2008] (VDISCARD): Likewise.
34672         [POSIX || POSIX2008] (VDSUSP): Likewise.
34673         [POSIX || POSIX2008] (VLNEXT): Likewise.
34674         [POSIX || POSIX2008] (VREPRINT): Likewise.
34675         [POSIX || POSIX2008] (VSTATUS): Likewise.
34676         [POSIX || POSIX2008] (VWERASE): Likewise.
34677         (B*): Change to B[0123456789]*.
34678         * conform/data/time.h-data [POSIX || UNIX98]
34679         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34680         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34681         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34682         [POSIX] (tm_*): Do not allow.
34684 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34686         * Makefile (install): Don't set LANGUAGE.
34687         * Makefile.in (install): Likewise.
34688         * assert/Makefile (test-assert-ENV): Remove variable.
34689         (test-assert-perr-ENV): Likewise.
34690         * elf/Makefile (neededtest4-ENV): Likewise.
34691         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34692         [$(cross-compiling) = no]: Don't set LANGUAGE.
34693         * io/ftwtest-sh (LANG): Remove variable.
34694         * libio/Makefile (tst-widetext-ENV): Likewise.
34695         * manual/install.texi (Running make install): Don't refer to
34696         environment settings for make install.
34697         * INSTALL: Regenerated.
34698         * nptl/tst-tls6.sh: Don't set LANG.
34699         * posix/globtest.sh (LANG): Remove variable.
34700         * string/Makefile (tester-ENV): Likewise.
34701         (inl-tester-ENV): Likewise.
34702         (noinl-tester-ENV): Likewise.
34703         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34704         [$(cross-compiling) = no]: Don't set LANGUAGE.
34705         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34706         without explicit environment settings.
34708 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34710         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34711         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34712         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34713         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34715 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34717         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34718         other files in the crypt directory.
34719         * crypt/crypt.c: Remove duplicate includes.
34720         * crypt/crypt-entry.c: Likewise.
34721         * crypt/crypt_util.c: Likewise.
34723 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34725         * Makeconfig (run-program-env): New variable.
34726         (run-program-prefix-before-env): Likewise.
34727         (run-program-prefix-after-env): Likewise.
34728         (run-program-prefix): Define in terms of new variables.
34729         (built-program-cmd-before-env): New variable.
34730         (built-program-cmd-after-env): Likewise.
34731         (built-program-cmd): Define in terms of new variables.
34732         (test-program-prefix-before-env): New variable.
34733         (test-program-prefix-after-env): Likewise.
34734         (test-program-prefix): Define in terms of new variables.
34735         (test-program-cmd-before-env): New variable.
34736         (test-program-cmd-after-env): Likewise.
34737         (test-program-cmd): Define in terms of new variables.
34738         * Rules (make-test-out): Use $(run-program-env).
34739         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34740         (help): Do not mention environment variables.  Mention
34741         --timeoutfactor option.
34742         (timeoutfactor): New variable.
34743         (blacklist_exports): Remove function.
34744         (exports): Remove variable.
34745         (command): Do not include ${exports}.
34746         * manual/install.texi (Configuring and compiling): Do not mention
34747         test wrappers preserving environment variables.  Mention that last
34748         assignment to a variable must take precedence.
34749         * INSTALL: Regenerated.
34750         * benchtests/Makefile (run-bench): Use $(run-program-env).
34751         * catgets/Makefile ($(objpfx)test1.cat): Use
34752         $(built-program-cmd-before-env), $(run-program-env) and
34753         $(built-program-cmd-after-env).
34754         ($(objpfx)test2.cat): Do not specify environment variables
34755         explicitly.
34756         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34757         $(run-program-env) and $(built-program-cmd-after-env).
34758         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34759         $(run-program-env) and $(test-program-cmd-after-env).
34760         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34761         explicitly.
34762         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34763         run_program_env and test_program_cmd_after_env arguments.
34764         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34765         * elf/tst-pathopt.sh: Use run_program_env argument.
34766         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34767         $(test-wrapper-env) and $(run-program-env).
34768         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34769         run_program_env arguments.
34770         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34771         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34772         $(test-program-prefix-before-env), $(run-program-env) and
34773         $(test-program-prefix-after-env).
34774         ($(objpfx)tst-gettext2.out): Likewise.
34775         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34776         run_program_env and test_program_prefix_after_env arguments.
34777         * intl/tst-gettext2.sh: Likewise.
34778         * intl/tst-gettext4.sh: Do not set environment variables
34779         explicitly.
34780         * intl/tst-gettext6.sh: Likewise.
34781         * intl/tst-translit.sh: Likewise.
34782         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34783         $(test-program-prefix-before-env), $(run-program-env) and
34784         $(test-program-prefix-after-env).
34785         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34786         run_program_env and test_program_prefix_after_env arguments.
34787         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34788         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34789         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34790         explicitly with each use of ${test_wrapper_env}.
34791         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34792         $(test-program-prefix-before-env), $(run-program-env) and
34793         $(test-program-prefix-after-env).
34794         * posix/tst-getconf.sh: Do not set environment variables
34795         explicitly.
34796         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34797         run_program_env and test_program_prefix_after_env arguments.
34798         * stdio-common/tst-printf.sh: Do not set environment variables
34799         explicitly.
34800         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34801         $(test-program-prefix-before-env), $(run-program-env) and
34802         $(test-program-prefix-after-env).
34803         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34804         run_program_env and test_program_prefix_after_env arguments.
34805         Split $test calls into $test_pre and $test.
34806         * timezone/Makefile (build-testdata): Use
34807         $(built-program-cmd-before-env), $(run-program-env) and
34808         $(built-program-cmd-after-env).
34810 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34812         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34813         strlen for non SHARED builds.
34815 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34817         * nptl/allocatestack.c (check_list): Inlined function...
34818         (__reclaim_stacks): ... here.
34820 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34822         [BZ #15698]
34823         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34824         memory overrun.
34826 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34828         * Rules (make-test-out): Include
34829         LOCPATH=$(common-objpfx)localedata in default environment.
34830         * debug/Makefile (tst-chk1-ENV): Remove variable.
34831         (tst-chk2-ENV): Likewise.
34832         (tst-chk3-ENV): Likewise.
34833         (tst-chk4-ENV): Likewise.
34834         (tst-chk5-ENV): Likewise.
34835         (tst-chk6-ENV): Likewise.
34836         (tst-lfschk1-ENV): Likewise.
34837         (tst-lfschk2-ENV): Likewise.
34838         (tst-lfschk3-ENV): Likewise.
34839         (tst-lfschk4-ENV): Likewise.
34840         (tst-lfschk5-ENV): Likewise.
34841         (tst-lfschk6-ENV): Likewise.
34842         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34843         (tst-iconv7-ENV): Likewise.
34844         * intl/Makefile (LOCPATH-ENV): Likewise.
34845         (tst-codeset-ENV): Likewise.
34846         (tst-gettext3-ENV): Likewise.
34847         (tst-gettext5-ENV): Likewise.
34848         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34849         (tst-fopenloc-ENV): Likewise.
34850         (tst-fgetws-ENV): Remove variable.
34851         (tst-ungetwc1-ENV): Likewise.
34852         (tst-ungetwc2-ENV): Likewise.
34853         (bug-ungetwc2-ENV): Likewise.
34854         (tst-swscanf-ENV): Likewise.
34855         (bug-ftell-ENV): Likewise.
34856         (tst-fgetwc-ENV): Likewise.
34857         (tst-fseek-ENV): Likewise.
34858         (tst-ftell-partial-wide-ENV): Likewise.
34859         (tst-ftell-active-handler-ENV): Likewise.
34860         (tst-ftell-append-ENV): Likewise.
34861         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34862         (tst-regexloc-ENV): Likewise.
34863         (bug-regex1-ENV): Likewise.
34864         (tst-regex-ENV): Likewise.
34865         (tst-regex2-ENV): Likewise.
34866         (bug-regex5-ENV): Likewise.
34867         (bug-regex6-ENV): Likewise.
34868         (bug-regex17-ENV): Likewise.
34869         (bug-regex18-ENV): Likewise.
34870         (bug-regex19-ENV): Likewise.
34871         (bug-regex20-ENV): Likewise.
34872         (bug-regex22-ENV): Likewise.
34873         (bug-regex23-ENV): Likewise.
34874         (bug-regex25-ENV): Likewise.
34875         (bug-regex26-ENV): Likewise.
34876         (bug-regex30-ENV): Likewise.
34877         (bug-regex32-ENV): Likewise.
34878         (bug-regex33-ENV): Likewise.
34879         (bug-regex34-ENV): Likewise.
34880         (bug-regex35-ENV): Likewise.
34881         (tst-rxspencer-ENV): Likewise.
34882         (tst-rxspencer-no-utf8-ENV): Likewise.
34883         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34884         (tst-sscanf-ENV): Likewise.
34885         (tst-swprintf-ENV): Likewise.
34886         (tst-swscanf-ENV): Likewise.
34887         (test-vfprintf-ENV): Likewise.
34888         (scanf13-ENV): Likewise.
34889         (bug14-ENV): Likewise.
34890         (tst-grouping-ENV): Likewise.
34891         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34892         (tst-strtod3-ENV): Likewise.
34893         (tst-strtod4-ENV): Likewise.
34894         (tst-strtod5-ENV): Likewise.
34895         (testmb2-ENV): Likewise./
34896         * string/Makefile (tst-strxfrm-ENV): Likewise.
34897         (tst-strxfrm2-ENV): Likewise.
34898         (bug-strcoll1-ENV): Likewise.
34899         (test-strcasecmp-ENV): Likewise.
34900         (test-strncasecmp-ENV): Likewise.
34901         * time/Makefile (tst-strptime-ENV): Likewise.
34902         (tst-ftime_l-ENV): Likewise.
34903         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34904         (tst-mbrtowc-ENV): Likewise.
34905         (tst-wcrtomb-ENV): Likewise.
34906         (tst-mbrtowc2-ENV): Likewise.
34907         (tst-c16c32-1-ENV): Likewise.
34908         (tst-mbsnrtowcs-ENV): Likewise.
34910 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34912         * manual/resource.texi (How to get information about the memory
34913         subsystem?): Fix typo.
34914         Reported by Peon de la Parra Ivan <peon@keba.com>
34916 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34918         [BZ #16882]
34919         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34920         (pthread_spin_lock): Branch out of spin loop to proper location.
34921         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34922         (pthread_spin_lock): Likewise.
34924         * nptl/tst-spin4.c: New test.
34925         * nptl/Makefile (tests): Add tst-spin4.
34927 2014-06-03  Andreas Schwab  <schwab@suse.de>
34929         [BZ #15946]
34930         * resolv/res_send.c (send_dg): Reload file descriptor after
34931         calling reopen.
34933 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34935         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34937 2014-06-03  Richard Henderson  <rth@redhat.com>
34939         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34940         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34941         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34942         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34943         in the SAVE_PID block.
34944         (__libc_vfork): New alias.
34945         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34947         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34948         child in registers, not on the stack.  Remove RESET_PID conditionals.
34949         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34951 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34953         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34955 2014-06-03  Wilco  <wdijkstr@arm.com>
34957         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34958         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34959         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34960         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34961         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34962         Likewise.
34964 2014-06-03  Wilco  <wdijkstr@arm.com>
34966         * sysdeps/aarch64/fpu/math_private.h
34967         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34968         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34969         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34970         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34971         Fix declarations.
34973 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34975         * crypt/crypt-private.h: Include ufc-crypt.h.
34976         (__b64_from_24bit): Declare extern.
34977         * crypt/crypt_util.c(__b64_from_24bit): New function.
34978         (b64t): New static const variable.
34979         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34980         (b64t): Remove variable.
34981         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34982         * crypt/sha256-crypt.c: Include crypt-private.h.
34983         (b64t): Remove variable.
34984         (__sha256_crypt_r): Remove b64_from_24bit and replace
34985         with __b64_from_24bit.
34986         * crypt/sha512-crypt.c: Likewise.
34988 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34990         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34991         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34992         Label the code __libc_vfork rather than __vfork.
34993         [!NOT_IN_libc] (vfork): Define as weak alias.
34994         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34995         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34996         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34998 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35000         * malloc/malloc.c (malloc_info): Fix format specifier for
35001         n_mmaps.
35003 2014-06-02  Wilco  <wdijkstr@arm.com>
35005         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35006         FPCR write.
35008 2014-06-02  Wilco  <wdijkstr@arm.com>
35010         [BZ #17009]
35011         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35012         Rewrite to reduce FPCR/FPSR accesses.
35014 2014-06-01  David S. Miller  <davem@davemloft.net>
35016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35018 2014-05-31  David S. Miller  <davem@davemloft.net>
35020         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35021         to occur in round to nearest mode when |x| >= 2.0
35023 2014-05-30  Richard Henderson  <rth@twiddle.net>
35025         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35026         (PSEUDO_RET_NOERRNO): Remove.
35027         (ret): Don't redefine.
35028         (ret_NOERRNO): Define in terms of ret.
35029         (ret_ERRVAL): Likewise.
35031         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35032         use of PSEUDO_RET; perform the error check directly.
35034 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35036         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35037         with __int128_t.
35039 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35041         * malloc/malloc (malloc_info): Fix formatting.
35043 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35044             Roland McGrath  <roland@hack.frob.com>
35046         * malloc/malloc (malloc_info): Also print mmapped statistics.
35048 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35050         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35051         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35053 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35055         * malloc/malloc.c (malloc_info): Inline mi_arena.
35057 2014-05-29  Richard Henderson  <rth@twiddle.net>
35059         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35060         Remove comma before expanding ASM_ARGS_##nr.
35061         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35062         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35063         of ASM_ARGS_##nr.
35064         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35065         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35066         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35067         (ASM_ARGS_1): Add leading comma.
35069         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35070         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35071         to __errno_location.
35072         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35073         Remove the expected plt for __errno_location.
35075         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35076         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35077         call to __read_tp.
35079         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35080         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35081         it and break it down.
35082         (DOCARGS_0, DOCARGS_1): Do nothing.
35083         (DOCARGS_2): Update to store into the new stack frame.
35084         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35085         (UNDOCARGS_1): Update to restore from the new stack frame.
35086         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35087         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35089         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35090         (SINGLE_THREAD_P): New parameter for result regno.
35091         (PSEUDO): Update to match; use cbz instead of beq.
35093         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35094         Use ENTRY to define the _nocancel entry point.  Share the syscall
35095         and syscall error check paths with the cancel path.
35096         (PSEUDO_END): New.
35098         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35099         whitespace; tabs before and after asm mnemonics.
35101 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35103         [BZ #15132]
35104         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35105         Call fstat64 or stat64 internally, depending on arguments passed.
35106         Replace stat buffer argument with file descriptor argument.
35107         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35108         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35109         Pass fd to __internal_statvfs instead of calling fstat64.
35110         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35111         Pass fd to __internal_statvfs64 instead of calling fstat64.
35112         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35113         Pass -1 to __internal_statvfs instead of calling stat64.
35114         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35115         Pass -1 to __internal_statvfs64 instead of calling stat64.
35117 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35119         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35120         that was previously under [RESET_PID].
35121         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35123         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35124         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35126 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35128         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35130         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35131         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35133 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35135         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35137 2014-05-27  Andreas Schwab  <schwab@suse.de>
35139         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35140         TLS_INIT_TP macro.
35141         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35142         * elf/rtld.c (init_tls, dl_main): Likewise.
35143         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35144         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35145         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35146         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35147         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35148         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35149         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35150         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35151         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35152         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35153         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35154         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35155         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35156         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35157         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35158         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35159         * sysdeps/generic/tls.h: Update description.
35161 2014-05-27  Will Newton  <will.newton@linaro.org>
35163         [BZ #16990]
35164         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35165         and restore r2 rather than just restoring.
35167 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35169         [BZ #16724]
35170         * libio/tst-ftell-append.c: New test case.
35171         * libio/Makefile (tests): Add test case.
35172         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35173         append mode.
35174         * libio/wfileops.c (do_ftell_wide): Likewise.
35176 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35180         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35181         ...
35182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35184         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35185         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35186         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35187         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35188         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35189         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35190         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35191         Moved ...
35192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35193         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35194         Moved ...
35195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35196         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35197         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35198         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35199         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35200         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35201         ...
35202         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35203         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35204         Moved ...
35205         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35206         here.
35207         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35208         ...
35209         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35210         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35211         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35213         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35214         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35215         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35216         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35218         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35219         merge into ...
35220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35221         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35222         ...
35223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35224         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35225         ...
35226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35227         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35228         Moved ...
35229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35230         here.
35231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35232         Moved ...
35233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35234         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35235         Moved ...
35236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35239         conditional [RESET_PID].
35240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35241         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35242         removed.
35243         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35244         removed.
35246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35247         <tcb-offsets.h>.
35248         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35249         (__libc_vfork): New strong alias.
35250         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35251         removed.
35252         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35253         Removed.
35255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35256         <tcb-offsets.h>.
35257         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35258         (__libc_vfork): New strong alias.
35259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35260         removed.
35261         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35262         removed.
35264 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35266         * malloc/malloc.c (mi_arena): New function.
35267         (malloc_info): Remove nested function mi_arena. Call non-nosted
35268         function mi_arena.
35270 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35272         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35273         by insrwi.
35274         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35275         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35276         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35277         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35278         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35279         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35280         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35282 2014-05-26  Andreas Schwab  <schwab@suse.de>
35284         [BZ #16984]
35285         * locale/programs/repertoire.c (repertoire_read): Add slash
35286         between I18NPATH element and file name.
35287         * locale/programs/locfile.c (locfile_read): Likewise.
35289 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35291         * nptl/pthread_mutexattr_settype.c
35292         (__pthread_mutexattr_settype):
35293         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35295 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35297         * nptl/tst-mutex5 (do_test):
35298         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35300 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35302         * benchtests/README: Document 'init' directive.
35303         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35304         BENCH_INIT.
35305         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35306         (parse_file): Recognize 'init' directive.
35308 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35310         [BZ #16796]
35311         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35312         alignment of struct pthread.
35314 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35316         [BZ #16878]
35317         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35318         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35319         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35320         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35322 2014-05-25  Richard Henderson  <rth@twiddle.net>
35324         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35325         (SINGLE_THREAD_P_PIC): Remove.
35326         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35327         (SINGLE_THREAD_P_PIC): Remove.
35329         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35330         branch to syscall error ...
35331         (PSEUDO): ... here.
35332         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35333         from __local_syscall_error to .Lsyscall_error.
35334         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35335         (SYSCALL_ERROR): Update label name.
35337         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35338         Do not use DOARGS/UNDOARGS.
35339         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35340         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35341         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35342         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35343         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35345         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35346         block comment.
35348         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35349         define if !NOT_IN_libc.
35350         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35351         define with non-default symbol versions.
35353 2014-05-23  Richard Henderson  <rth@twiddle.net>
35355         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35356         (vfork, __vfork): Define via compat_symbol.
35358         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35359         [!HAVE_IFUNC] (vfork_compat): Remove.
35360         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35362 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35364         [BZ #16978]
35365         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35366         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35367         variable.
35369 2014-05-23  Richard Henderson  <rth@twiddle.net>
35371         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35372         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35373         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35374         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35376         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35377         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35378         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35379         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35380         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35381         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35382         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35383         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35384         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35385         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35386         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35387         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35388         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35389         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35390         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35391         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35392         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35393         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35394         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35395         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35396         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35397         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35398         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35399         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35400         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35401         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35402         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35403         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35404         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35405         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35406         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35407         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35408         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35409         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35410         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35411         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35412         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35413         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35414         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35415         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35416         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35417         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35418         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35419         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35420         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35421         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35422         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35423         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35424         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35425         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35426         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35427         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35428         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35429         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35430         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35431         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35433         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35434         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35435         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35436         before exiting on error.
35437         (__libc_vfork): New strong alias.
35438         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35439         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35441         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35442         that was previously under [RESET_PID].
35443         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35445         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35447 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35449         [BZ #16977]
35450         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35451         value when x - 1 is zero.
35452         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35453         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35454         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35455         0.0L for an argument of 1.0L.
35456         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35457         Likewise.
35458         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35459         value when x - 1 is zero.
35460         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35461         * sysdeps/i386/fpu/libm-test-ulps: Update.
35462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35464 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35466         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35467         alphasort and versionsort.
35469 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35471         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35472         macro.
35473         [copysignf]: Likewise.
35475 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35477         * crypt/md5-crypt.c: Fix formatting.
35479 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35481         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35482         (b64_from_24bit): New function.
35484 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35486         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35487         libc_hidden_builtin_def to ifunc.
35488         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35489         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35491 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35493         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35494         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35496 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35498         * nscd/Depend (linuxthreads): Remove.
35499         (nptl): Add.
35500         * resolv/Depend (linuxthreads): Remove.
35501         * rt/Depend (linuxthreads): Remove.
35503         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35504         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35505         $(common-objpfx)elf/.
35506         (link-libc-before-gnulib): Likewise.
35507         (elfobjdir): Remove variable.
35508         * Makefile (install): Use $(elf-objpfx) instead of
35509         $(common-objpfx)elf/.
35510         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35511         $(elfobjdir)/.
35512         (link-libc-deps): Likewise.
35513         ($(common-objpfx)libc.so): Likewise.
35514         ($(common-objpfx)linkobj/libc.so): Likewise.
35515         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35516         instead of $(common-objpfx)elf/.
35517         (symbolic-link-list): Likewise.
35518         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35519         [$(cross-compiling) = no]: Likewise.
35520         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35521         $(elfobjdir)/.
35522         (static-gnulib-arch): Likewise.
35523         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35524         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35525         $(common-objpfx)elf/.
35527 2014-05-21  Richard Henderson  <rth@redhat.com>
35529         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35530         (SINGLE_THREAD_P): Use the correct width load.  Fold
35531         into the ldr offset.
35533         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35534         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35536 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35538         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35539         (libgcc_s_resume): Use __attribute_used__.
35540         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35541         Likewise.
35543 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35545         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35546         optimization when used with float constants.
35548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35550 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35552         [BZ #16915]
35553         * locale/nl_langinfo_l.c: Make direct reference to every
35554         _nl_current_CATEGORY symbol.
35555         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35556         (tests-static): Add tst-langinfo-static.
35557         (tests-special): Add tst-langinfo-static.out.
35558         ($(objpfx)tst-langinfo.out): Redirect output.
35559         ($(objpfx)tst-langinfo-static.out): New.
35560         * localedata/tst-langinfo.sh: Send output to stdout.
35561         * localedata/tst-langinfo-static.c: New file.
35563         [BZ #16965]
35564         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35565         when the shift amount is modulo the limb size.
35567 2014-05-20  Richard Henderson  <rth@redhat.com>
35569         [BZ #16967]
35570         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35571         Change type of sa_flags from unsigned int to int.
35573         [BZ #16966]
35574         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35576         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35578 2014-05-20  Will Newton  <will.newton@linaro.org>
35580         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35581         Test the return value of the system call in the nocancel case.
35583 2014-05-20  Will Newton  <will.newton@linaro.org>
35584             Yvan Roux  <yvan.roux@linaro.org>
35586         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35587         #include of asm/ptrace.h.
35588         (PTRACE_GET_THREAD_AREA): Remove #undef.
35589         (PTRACE_GETHBPREGS): Likewise.
35590         (PTRACE_SETHBPREGS): Likewise.
35591         (struct user_regs_struct): New structure.
35592         (struct user_fpsimd_struct): New structure.
35593         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35594         #include of asm/ptrace.h and second #include of sys/user.h.
35595         (PTRACE_GET_THREAD_AREA): Remove #undef.
35596         (PTRACE_GETHBPREGS): Likewise.
35597         (PTRACE_SETHBPREGS): Likewise.
35598         (ELF_NGREG): Use new struct user_regs_struct.
35599         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35601 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35603         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35604         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35606 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35608         [BZ #16958]
35609         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35610         membar to avoid block loads/stores to overlap previous stores.
35612 2014-05-17  Richard Henderson  <rth@redhat.com>
35614         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35615         Create the __##syscall_name##_nocancel entry point.
35616         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35617         Remove; let the sysdep-cancel.h code create it.
35619 2014-05-17  David S. Miller  <davem@davemloft.net>
35621         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35622         Protect with __USE_GNU.
35623         (TIOCSET_TEMPT): Likewise.
35624         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35625         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35626         these are already provided in bits/ioctl-types.h
35628 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35630         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35631         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35633         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35634         Use wait4 regardless of [__NR_waitpid].
35636 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35638         PR libgcc/60166
35639         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35640         (_FP_NANSIGN_Q): Set the quiet bit.
35642 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35644         * benchtests/Makefile
35645         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35646         not $(common-objpfx)math/libm.so.
35647         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35648         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35649         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35650         $(common-objpfx)dlfcn/libdl.so.
35651         ($(objpfx)tst-audit8): Depend on $(libm), not
35652         $(common-objpfx)math/libm.so.
35653         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35654         not $(common-objpfx)dlfcn/libdl.so.
35655         * math/Makefile
35656         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35657         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35658         [$(build-shared) = yes].
35659         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35660         $(common-objpfx)nptl/libpthread.so.
35661         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35662         $(common-objpfx)math/libm.so$(libm.so-version) or
35663         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35664         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35665         $(common-objpfx)dlfcn/libdl.so.
35666         * setjmp/Makefile (link-libm): Remove variable.
35667         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35668         * stdio-common/Makefile (link-libm): Remove variable.
35669         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35670         * stdlib/Makefile (link-libm): Remove variable.
35671         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35672         ($(objpfx)tst-strtod-round): Likewise.
35673         ($(objpfx)tst-tininess): Likewise.
35674         ($(objpfx)tst-strtod-underflow): Likewise.
35675         ($(objpfx)tst-strtod6): Likewise.
35676         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35677         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35678         $(common-objpfx)dlfcn/libdl.so.
35680 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35682         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35683         BSD terminal modes definitions.
35685 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35687         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35688         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35690         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35691         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35692         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35693         Don't do #include_next.
35694         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35695         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35696         Don't do #include_next.
35697         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35698         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35699         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35700         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35702 2014-05-16  Allan McRae  <allan@archlinux.org>
35704         * po/sv.po: Update Swedish translation from translation project.
35706         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35707         in sed expression.
35709 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35711         [BZ #16917]
35712         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35713         errno if the TIOCGPTN ioctl fails with an error different than
35714         EINVAL.
35715         * login/tst-ptsname.c: New file.
35716         * login/Makefile (tests): Add tst-ptsname.
35718         [BZ #16943]
35719         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35720         and prlimit64.
35722 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35724         [BZ #16849]
35725         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35726         herrno to return EAI_AGAIN.
35728 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35730         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35731         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35732         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35733         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35734         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35735         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35736         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35737         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35738         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35739         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35740         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35741         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35742         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35743         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35744         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35745         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35746         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35747         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35748         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35749         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35750         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35751         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35752         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35753         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35754         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35755         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35756         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35757         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35758         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35759         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35761         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35763         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35765         Moved ...
35766         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35768         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35770         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35772         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35774         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35776         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35778         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35780         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35782         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35784         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35786         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35788         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35790         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35792         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35794         Moved ...
35795         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35797         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35799         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35801         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35803         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35805         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35807         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35809         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35811         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35813         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35815         Moved ...
35816         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35818         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35820         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35821         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35822         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35823         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35824         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35825         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35826         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35827         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35828         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35829         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35830         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35831         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35832         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35833         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35834         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35835         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35836         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35837         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35838         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35839         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35840         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35841         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35842         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35843         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35844         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35845         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35846         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35847         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35848         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35849         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35850         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35852         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35853         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35855         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35856         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35857         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35858         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35859         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35860         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35861         Moved ...
35862         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35863         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35864         Moved ...
35865         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35866         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35867         Moved ...
35868         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35869         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35870         Moved ...
35871         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35872         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35873         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35874         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35875         Moved ...
35876         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35877         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35878         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35879         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35880         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35881         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35882         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35883         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35884         Moved ...
35885         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35886         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35887         Moved ...
35888         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35889         ... here.
35890         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35891         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35892         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35893         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35894         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35895         Moved ...
35896         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35897         ... here.
35898         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35899         Moved ...
35900         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35901         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35902         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35903         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35904         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35905         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35906         Moved ...
35907         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35908         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35909         Moved ...
35910         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35911         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35912         Moved ...
35913         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35914         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35915         Moved ...
35916         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35917         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35918         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35919         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35920         Moved ...
35921         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35922         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35923         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35924         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35925         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35926         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35927         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35928         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35929         Moved ...
35930         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35931         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35932         Moved ...
35933         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35934         ... here.
35935         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35936         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35937         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35938         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35939         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35940         Moved ...
35941         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35942         ... here.
35943         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35944         Moved ...
35945         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35946         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35947         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35948         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35949         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35950         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35951         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35952         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35953         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35954         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35955         Moved ...
35956         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35957         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35958         Moved ...
35959         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35960         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35961         Moved ...
35962         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35963         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35964         Moved ...
35965         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35966         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35967         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35968         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35969         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35970         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35971         Moved ...
35972         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35973         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35974         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35975         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35976         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35977         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35978         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35979         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35980         Moved ...
35981         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35982         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35983         Moved ...
35984         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35985         ... here.
35986         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35987         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35988         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35989         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35990         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35991         Moved ...
35992         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35993         ... here.
35994         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35995         Moved ...
35996         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35997         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35998         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35999         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36000         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36001         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36002         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36003         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36004         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36005         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36006         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36008         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36009         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36011         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36012         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36014         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36015         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36016         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36017         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36018         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36019         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36020         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36021         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36022         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36023         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36024         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36025         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36026         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36027         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36028         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36029         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36030         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36031         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36032         Moved ...
36033         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36034         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36035         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36036         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36037         Moved ...
36038         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36039         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36040         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36041         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36042         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36043         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36044         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36045         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36046         Moved ...
36047         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36048         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36049         Moved ...
36050         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36051         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36052         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36053         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36054         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36055         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36056         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36057         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36058         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36059         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36060         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36061         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36062         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36063         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36064         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36065         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36066         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36068         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36069         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36070         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36071         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36072         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36074         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36075         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36076         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36077         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36078         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36079         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36080         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36081         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36082         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36083         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36085         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36086         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36088         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36089         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36090         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36091         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36092         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36093         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36094         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36095         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36096         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36097         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36098         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36099         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36100         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36101         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36102         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36103         Update #include.
36104         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36105         Likewise.
36106         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36107         Likewise.
36108         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36109         Likewise.
36110         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36111         Likewise.
36112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36113         Likewise.
36114         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36115         Likewise.
36116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36117         Likewise.
36118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36119         Likewise.
36120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36121         Likewise.
36122         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36123         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36124         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36125         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36126         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36127         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36128         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36129         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36130         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36131         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36132         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36133         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36134         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36135         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36136         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36138         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36139         that was previously under [RESET_PID].
36140         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36141         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36142         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36144         * sysdeps/i386/nptl/Implies: New file.
36145         * sysdeps/x86_64/nptl/Implies: New file.
36146         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36147         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36148         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36149         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36151         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36152         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36153         (__libc_vfork): New strong alias.
36154         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36155         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36157         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36158         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36159         (__libc_vfork): New strong alias.
36160         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36161         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36163         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36164         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36165         (__libc_vfork): New strong alias.
36166         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36167         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36168         * nptl/pt-vfork.c: New file.
36169         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36170         (libpthread: GLIBC_2.20): New version set (empty).
36172 2014-05-14  Will Newton  <will.newton@linaro.org>
36174         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36175         rather than #if.
36177 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36179         [BZ #16564]
36180         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36181         arguments with exponent 65 or above.
36182         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36183         arguments 0x1p113L or above.
36184         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36185         to arguments 0x1p107L or above.
36186         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36187         positive arguments with exponent 65 or above.
36188         * math/auto-libm-test-in: Add more tests of log1p.
36189         * math/auto-libm-test-out: Regenerated.
36191         [BZ #16928]
36192         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36193         non-finite arguments is +0.
36194         * math/s_cacosf.c (__cacosf): Likewise.
36195         * math/s_cacosl.c (__cacosl): Likewise.
36196         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36197         * sysdeps/i386/fpu/libm-test-ulps: Update.
36198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36200         [BZ #16927]
36201         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36202         value.
36203         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36204         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36205         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36206         for explicit high bit of mantissa when testing for argument equal
36207         to 1.
36208         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36209         * sysdeps/i386/fpu/libm-test-ulps: Update.
36210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36212         [BZ #16516]
36213         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36214         (__erf): Scale by 16 instead of 8 in potentially underflowing
36215         case.  Ensure exception if result actually underflows.
36216         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36217         (__erff): Scale by 16 instead of 8 in potentially underflowing
36218         case.  Ensure exception if result actually underflows.
36219         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36220         (efx8): Remove variable.
36221         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36222         case.  Ensure exception if result actually underflows.
36223         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36224         (efx8): Remove variable.
36225         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36226         case.  Ensure exception if result actually underflows.
36227         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36228         (efx8): Remove variable.
36229         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36230         case.  Ensure exception if result actually underflows.
36231         * math/auto-libm-test-in: Add more tests of erf.
36232         * math/auto-libm-test-out: Regenerated.
36234 2014-05-14  Andreas Schwab  <schwab@suse.de>
36236         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36237         Remove code conditionalized on USE___THREAD.
36239         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36240         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36241         not definedness.
36243 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36245         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36246         Define unconditionally.
36247         (__ASSUME_O_CLOEXEC): Likewise.
36248         (__ASSUME_SOCK_CLOEXEC): Likewise.
36249         (__ASSUME_IN_NONBLOCK): Likewise.
36250         (__ASSUME_PIPE2): Likewise.
36251         (__ASSUME_EVENTFD2): Likewise.
36252         (__ASSUME_SIGNALFD4): Likewise.
36253         (__ASSUME_DUP3): Likewise.
36254         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36255         (__ASSUME_DUP3): Do not define.
36256         (__ASSUME_EVENTFD2): Likewise.
36257         (__ASSUME_IN_NONBLOCK): Likewise.
36258         (__ASSUME_O_CLOEXEC): Likewise.
36259         (__ASSUME_PIPE2): Likewise.
36260         (__ASSUME_SIGNALFD4): Likewise.
36261         (__ASSUME_SOCK_CLOEXEC): Likewise.
36262         (__ASSUME_UTIMES): Undefine.
36263         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36264         (__ASSUME_UTIMES): Do not define.
36265         (__ASSUME_O_CLOEXEC): Likewise.
36266         (__ASSUME_SOCK_CLOEXEC): Likewise.
36267         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36268         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36269         0x020621].
36270         (__ASSUME_PIPE2): Likewise.
36271         (__ASSUME_EVENTFD2): Likewise.
36272         (__ASSUME_SIGNALFD4): Likewise.
36273         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36274         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36275         Do not define.
36276         (__ASSUME_EVENTFD2): Likewise.
36277         (__ASSUME_SIGNALFD4): Likewise.
36278         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36279         (__ASSUME_32BITUIDS): Likewise.
36280         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36281         (__ASSUME_IPC64): Likewise.
36282         (__ASSUME_ST_INO_64_BIT): Likewise.
36283         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36284         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36285         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36286         (__ASSUME_UTIMES): Do not define.
36287         (__ASSUME_PSELECT): Likewise.
36288         (__ASSUME_PPOLL): Likewise.
36289         (__ASSUME_O_CLOEXEC): Likewise.
36290         (__ASSUME_SOCK_CLOEXEC): Likewise.
36291         (__ASSUME_IN_NONBLOCK): Likewise.
36292         (__ASSUME_PIPE2): Likewise.
36293         (__ASSUME_EVENTFD2): Likewise.
36294         (__ASSUME_SIGNALFD4): Likewise.
36295         (__ASSUME_DUP3): Likewise.
36296         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36297         (__ASSUME_UTIMES): Likewise.
36298         (__ASSUME_O_CLOEXEC): Likewise.
36299         (__ASSUME_SOCK_CLOEXEC): Likewise.
36300         (__ASSUME_IN_NONBLOCK): Likewise.
36301         (__ASSUME_PIPE2): Likewise.
36302         (__ASSUME_EVENTFD2): Likewise.
36303         (__ASSUME_SIGNALFD4): Likewise.
36304         (__ASSUME_DUP3): Likewise.
36305         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36306         (__ASSUME_UTIMES): Likewise.
36307         (__ASSUME_O_CLOEXEC): Likewise.
36308         (__ASSUME_SOCK_CLOEXEC): Likewise.
36309         (__ASSUME_IN_NONBLOCK): Likewise.
36310         (__ASSUME_PIPE2): Likewise.
36311         (__ASSUME_EVENTFD2): Likewise.
36312         (__ASSUME_SIGNALFD4): Likewise.
36313         (__ASSUME_DUP3): Likewise.
36314         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36315         Likewise.
36316         (__ASSUME_UTIMES): Likewise.
36317         (__ASSUME_EVENTFD2): Likewise.
36318         (__ASSUME_SIGNALFD4): Likewise.
36319         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36320         (__ASSUME_O_CLOEXEC): Likewise.
36321         (__ASSUME_SOCK_CLOEXEC): Likewise.
36322         (__ASSUME_IN_NONBLOCK): Likewise.
36323         (__ASSUME_PIPE2): Likewise.
36324         (__ASSUME_EVENTFD2): Likewise.
36325         (__ASSUME_SIGNALFD4): Likewise.
36326         (__ASSUME_DUP3): Likewise.
36327         (__ASSUME_UTIMES): Undefine.
36329         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36330         feclearexcept.  Remove symbol versioning code.
36331         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36332         symbol versioning code.
36333         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36334         symbol versioning code.
36335         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36336         feupdateenv.  Remove symbol versioning code.
36337         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36338         fegetexceptflag.  Remove symbol versioning code.
36339         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36340         fesetexceptflag.  Remove symbol versioning code.
36341         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36342         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36343         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36344         (__posix_fadvise64_l32): Remove prototype.
36345         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36346         code.
36348 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36350         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36351         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36352         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36353         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36355 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36357         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36358         current working directory
36360 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36362         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36363         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36364         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36365         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36366         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36367         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36368         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36369         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36370         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36371         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36372         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36373         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36374         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36375         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36376         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36377         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36378         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36379         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36380         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36381         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36382         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36383         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36384         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36385         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36386         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36387         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36388         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36389         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36390         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36391         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36392         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36393         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36394         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36395         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36396         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36397         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36398         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36399         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36400         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36401         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36402         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36403         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36405         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36406         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36408         * sysdeps/unix/sysv/linux/arm/Makefile
36409         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36410         Add rt-aeabi_unwind_cpp_pr1.
36411         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36412         Add nptl-aeabi_unwind_cpp_pr1.
36413         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36414         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36415         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36416         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36417         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36418         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36420         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36421         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36422         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36423         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36425         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36426         Deconditionalize the code that was previously under [RESET_PID].
36427         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36429         * sysdeps/generic/exit-thread.h: New file.
36430         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36431         * include/unistd.h (__exit_thread): Remove declaration.
36432         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36433         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36434         * csu/libc-start.c: Include <exit-thread.h>.
36435         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36436         * nptl/pthread_create.c: Include <exit-thread.h>.
36437         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36438         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36439         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36440         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36441         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36442         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36443         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36444         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36445         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36446         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36447         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36448         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36449         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36450         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36451         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36452         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36453         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36455 2014-05-13  Andreas Schwab  <schwab@suse.de>
36457         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36459 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36461         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36462         (__ASSUME_UTIMES): Do not condition on kernel version.
36463         (__ASSUME_PSELECT): Define unconditionally.
36464         (__ASSUME_PPOLL): Likewise.
36465         (__ASSUME_ATFCTS): Likewise.
36466         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36467         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36468         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36469         (__ASSUME_UTIMENSAT): Define unconditionally.
36470         (__ASSUME_PRIVATE_FUTEX): Likewise.
36471         (__ASSUME_FALLOCATE): Likewise.
36472         (__ASSUME_O_CLOEXEC): Likewise.
36473         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36474         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36475         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36476         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36477         (__ASSUME_IN_NONBLOCK): Likewise.
36478         (__ASSUME_PIPE2): Likewise.
36479         (__ASSUME_EVENTFD2): Likewise.
36480         (__ASSUME_SIGNALFD4): Likewise.
36481         (__ASSUME_DUP3): Likewise.
36482         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36483         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36484         (__ASSUME_AT_RANDOM): Likewise.
36485         (__ASSUME_PREADV): Likewise.
36486         (__ASSUME_PWRITEV): Likewise.
36487         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36488         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36489         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36490         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36491         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36492         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36493         (__ASSUME_O_CLOEXEC): Define unconditionally.
36494         (__ASSUME_PSELECT): Do not undefine conditionally.
36495         (__ASSUME_PPOLL): Likewise.
36496         (__ASSUME_ATFCTS): Likewise.
36497         (__ASSUME_SET_ROBUST_LIST): Likewise.
36498         (__ASSUME_UTIMENSAT): Likewise.
36499         (__ASSUME_FDATASYNC): Define unconditionally.
36500         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36501         (__ASSUME_SIGFRAME_V2): Likewise.
36502         )__ASSUME_EVENTFD2): Likewise.
36503         (__ASSUME_SIGNALFD4): Likewise.
36504         (__ASSUME_PSELECT): Do not undefine conditionally.
36505         (__ASSUME_PPOLL): Likewise.
36506         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36507         (__ASSUME_PSELECT): Define unconditionally.
36508         (__ASSUME_PPOLL): Likewise.
36509         (__ASSUME_O_CLOEXEC): Likewise.
36510         (__ASSUME_SOCK_CLOEXEC): Likewise.
36511         (__ASSUME_IN_NONBLOCK): Likewise.
36512         (__ASSUME_PIPE2): Likewise.
36513         (__ASSUME_EVENTFD2): Likewise.
36514         (__ASSUME_SIGNALFD4): Likewise.
36515         (__ASSUME_DUP3): Likewise.
36516         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36517         (__ASSUME_O_CLOEXEC): Likewise.
36518         (__ASSUME_SOCK_CLOEXEC): Likewise.
36519         (__ASSUME_IN_NONBLOCK): Likewise.
36520         (__ASSUME_PIPE2): Likewise.
36521         (__ASSUME_EVENTFD2): Likewise.
36522         (__ASSUME_SIGNALFD4): Likewise.
36523         (__ASSUME_DUP3): Likewise.
36524         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36525         (__ASSUME_EVENTFD2): Likewise.
36526         (__ASSUME_SIGNALFD4): Likewise.
36527         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36529 2014-05-12  Andreas Schwab  <schwab@suse.de>
36531         [BZ #16932]
36532         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36533         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36534         than maximum RPC packet size.
36535         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36536         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36537         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36538         (_nss_nis_getservbyport_r): Likewise.
36540 2014-05-12  Will Newton  <will.newton@linaro.org>
36542         * malloc/Makefile (tests): Add tst-mallopt.
36543         * malloc/tst-mallopt.c: New file.
36545 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36547         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36548         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36550 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36552         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36553         (tst-tlsmod6.so): Likewise.
36555 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36557         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36559 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36561         [BZ #16064]
36562         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36563         and <dl-procinfo.h>.
36564         (__fegetenv): Save SSE state in envp->__eip if supported.
36565         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36566         envp->__eip if supported.
36567         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36568         and <dl-procinfo.h>.
36569         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36570         __data_offset and __data_selector in environment to 0.  Set SSE
36571         state if supported.
36572         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36573         test-fenv-sse.
36574         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36575         -mfpmath=sse.
36576         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36578 2014-05-09  Will Newton  <will.newton@linaro.org>
36580         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36581         and libc_relro_required for ARM.
36582         * sysdeps/arm/preconfigure: Regenerate.
36584 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36585             Stefan Liebler  <stli@linux.vnet.ibm.com>
36587         * config.make.in (enable-lock-elision): New Makefile variable.
36588         * configure.ac: Likewise.
36589         * configure: Regenerate.
36590         * sysdeps/s390/configure.ac:
36591         Add check for gcc transactions support.
36592         * sysdeps/s390/configure: Regenerate.
36593         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36594         Build elision files if enabled.
36595         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36596         Add lock elision support for s390.
36597         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36598         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36599         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36600         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36601         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36602         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36603         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36604         Likewise.
36605         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36606         Likewise.
36607         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36608         Likewise.
36609         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36610         Likewise.
36611         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36612         (__lll_timedlock_elision, __lll_lock_elision)
36613         (__lll_unlock_elision, __lll_trylock_elision)
36614         (lll_timedlock_elision, lll_lock_elision)
36615         (lll_unlock_elision, lll_trylock_elision): Add.
36616         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36617         (pthread_mutex_t): Add lock elision support for s390.
36619 2014-05-14  Wilco  <wdijkstr@arm.com>
36621         * sysdeps/arm/fclrexcpt.c: Cleanup.
36622         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36623         * sysdeps/arm/feenablxcpt.c: Cleanup.
36624         * sysdeps/arm/fegetenv.c: Cleanup.
36625         * sysdeps/arm/fegetexcept.c: Cleanup.
36626         * sysdeps/arm/fegetround.c: Cleanup.
36627         * sysdeps/arm/feholdexcpt.c: Cleanup.
36628         * sysdeps/arm/fesetenv.c: Cleanup.
36629         * sysdeps/arm/fesetround.c: Cleanup.
36630         * sysdeps/arm/feupdateenv.c: Cleanup.
36631         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36632         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36633         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36634         * sysdeps/arm/ftestexcept.c: Cleanup.
36635         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36636         * sysdeps/arm/setfpucw.c: Cleanup.
36638 2014-05-09  Will Newton  <will.newton@linaro.org>
36640         * sysdeps/arm/armv7/strcmp.S: New file.
36641         * NEWS: Mention addition of ARMv7 optimized strcmp.
36643 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36645         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36646         look for %.ac rather than %.in.
36648         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36649         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36650         * sysdeps/mach/hurd/configure: Regenerated.
36651         * sysdeps/unix/sysv/linux/configure: Regenerated.
36653         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36655 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36657         [BZ# 16922]
36658         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36659         (LONG_SUB): Ditto.
36660         (PTR_SUB): Ditto.
36662 2014-05-07  Andreas Schwab  <schwab@suse.de>
36664         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36665         when skipping over non-matching result from nscd.
36667 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36669         [BZ #16876]
36670         * nptl/sockperf.c (client): Check socket return value.
36672         [BZ #16877]
36673         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36674         nscd security class.
36676 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36678         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36679         * sysdeps/arm/unwind.h: ... here.
36681 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36683         [BZ# 16916]
36684         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36685         Define.
36687 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36689         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36690         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36691         multiarch strncpy for PPC64.
36692         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36693         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36695         multiarch optimizations.
36696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36697         (__libc_ifunc_impl_list): Likewise.
36698         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36699         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36700         multiarch stpncpy for PPC64.
36701         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36702         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36704 2014-05-06  Andreas Schwab  <schwab@suse.de>
36706         [BZ #16912]
36707         * gmon/mcount.c (_MCOUNT_DECL): Use
36708         atomic_compare_and_exchange_bool_acq instead of
36709         catomic_compare_and_exchange_bool_acq.
36711 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36713         * elf/Makefile (others, install-bin): Remove pldd.
36714         (pldd-modules): Variable removed.
36715         ($(objpfx)pldd): Target removed.
36716         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36717         (others, install-bin): Append pldd here.
36718         ($(objpfx)pldd): New target.
36720         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36721         to 0, so the first #if test emitted later doesn't see it undefined.
36722         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36723         * sysdeps/gnu/errlist.c: Regenerated.
36725 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36727         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36728         [libc_hidden_builtin_def]: Define to empty value.
36729         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36730         [libc_hidden_builtin_def]: Likewise.
36731         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36732         [libc_hidden_builtin_def]: Likewise.
36733         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36734         [libc_hidden_builtin_def]: Likewise.
36735         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36736         __redirect_memcpy and define ifunc as default hidden symbol.
36737         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36738         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36740 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36742         * locale/iso-4217.def: Reintroduce XDR currency.
36744 2014-05-04  Allan McRae  <allan@archlinux.org>
36746         * po/eo.po: Update Esperanto translation from translation project.
36748 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36750         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36751         and FEATURE_INDEX_MAX to 1.
36752         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36754 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36756         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36757         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36758         * iconvdata/big5.c (ONE_DIRECTION): Define.
36759         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36760         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36761         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36762         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36763         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36764         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36765         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36766         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36767         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36768         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36769         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36770         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36771         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36772         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36773         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36774         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36775         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36776         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36777         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36778         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36779         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36780         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36781         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36782         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36783         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36784         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36785         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36786         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36787         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36788         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36789         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36790         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36791         * iconvdata/johab.c (ONE_DIRECTION): Define.
36792         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36793         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36794         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36795         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36796         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36797         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36798         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36799         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36800         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36801         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36803 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36805         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36806         (_IO_JUMPS_OFFSET): Define to 0.
36808         * nptl/sysdeps/pthread/bits/libc-lock.h
36809         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36810         (__libc_lock_define_initialized_recursive): Always define using
36811         initializer.  Modern compilers treat uninitialized (implicit zero) and
36812         explicit zero initializers the same (i.e. put the datum in bss).
36814 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36816         * nscd/nscd-client.h: Include <string.h>.
36818 2014-05-01  David S. Miller  <davem@davemloft.net>
36820         [BZ #16885]
36821         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36822         multiple zero bytes exist at the end of a string.
36823         Reported by Aurelien Jarno <aurelien@aurel32.net>
36825         * string/test-strcmp.c (check): Add explicit test for situations where
36826         there are multiple zero bytes after the first.
36828 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36830         [BZ #16890]
36831         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36832         when compiling wprintf.
36833         * stdio-common/tstdiomisc.c (t3): New function.
36834         (main): Call it.
36836 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36838         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36839         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36840         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36841         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36843 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36845         * stdlib/longlong.h: Updated from GCC.
36847 2014-05-01  Will Newton  <will.newton@linaro.org>
36848             Bernard Ogden  <bernie.ogden@linaro.org>
36850         * NEWS: Update fixed bug list.
36852         [BZ #15119]
36853         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36855 2014-04-30  David S. Miller  <davem@davemloft.net>
36857         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36858         (libc_feholdexcept_setround_sparc_ctx): New function.
36859         (libc_fesetenv_sparc_ctx): Likewise.
36860         (libc_feupdateenv_sparc_ctx): Likewise.
36861         (libc_feholdsetround_sparc_ctx): Likewise.
36862         (libc_feholdexcept_setround_ctx): Define.
36863         (libc_feholdexcept_setroundf_ctx): Likewise.
36864         (libc_feholdexcept_setroundl_ctx): Likewise.
36865         (libc_fesetenv_ctx): Likewise.
36866         (libc_fesetenvf_ctx): Likewise.
36867         (libc_fesetenvl_ctx): Likewise.
36868         (libc_feupdateenv_ctx): Likewise.
36869         (libc_feupdateenvf_ctx): Likewise.
36870         (libc_feupdateenvl_ctx): Likewise.
36871         (libc_feresetround_ctx): Likewise.
36872         (libc_feresetroundf_ctx): Likewise.
36873         (libc_feresetroundl_ctx): Likewise.
36874         (libc_feholdsetround_ctx): Likewise.
36875         (libc_feholdsetroundf_ctx): Likewise.
36876         (libc_feholdsetroundl_ctx): Likewise.
36878         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36879         with __USE_GNU instead of XOPEN cpp guards.
36881         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36882         0.
36884         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36885         with XOPEN cpp guards.
36887 2014-04-30  Julian Brown  <julian@codesourcery.com>
36889         [BZ #16888]
36890         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36891         handling.
36893 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36895         [BZ #9894]
36896         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36897         Change to 2.6.32.
36898         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36899         * sysdeps/unix/sysv/linux/configure: Regenerated.
36900         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36901         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36902         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36903         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36904         * README: Update reference to required Linux kernel version.
36905         * manual/install.texi (Linux): Update reference to required Linux
36906         kernel headers version.
36907         * INSTALL: Regenerated.
36909         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36910         header inclusion.
36911         [POSIX] (limits.h): Likewise.
36912         [POSIX] (math.h): Likewise.
36913         [POSIX] (sys/wait.h): Likewise.
36914         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36915         function.
36916         [POSIX] (stddef.h): Do not allow header inclusion.
36918 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36920         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36922 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36924         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36925         Return immediately after lll_futex_wake.
36927 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36929         [BZ #16791]
36930         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36931         structure.
36932         (datahead_init_pos): Call datahead_init_common early.
36933         (datahead_init_neg): Likewise.
36935         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36936         datahead_init_neg): New functions.
36937         * nscd/aicache.c (addhstaiX): Use them.
36938         * nscd/grpcache.c (cache_addgr): Likewise.
36939         * nscd/hstcache.c (cache_addhst): Likewise.
36940         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36941         * nscd/netgroupcache.c (do_notfound): Likewise.
36942         (addgetnetgrentX): Likewise.
36943         (addinnetgrX): Likewise.
36944         * nscd/pwdcache.c (cache_addpw): Likewise.
36945         * nscd/servicescache.c (cache_addserv): Likewise.
36947 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36948             Atsushi Onoe  <atsushi@onoe.org>
36950         [BZ #14308]
36951         [BZ #12994]
36952         [BZ #13651]
36953         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36954         one response is valid.
36955         * resolv/res_send.c (send_dg): Check for validity of other
36956         response if the current response is a referral.
36958 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36960         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36962 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36964         [BZ #16823]
36965         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36966         Always divide by positive zero when computing -Inf result.
36967         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36968         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36970 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36972         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36973         FPSCR if value do not change.
36974         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36975         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36976         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36977         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36978         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36979         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36980         function.
36982 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36984         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36985         * sysdeps/unix/sysv/linux/hppa: Move directory from
36986         ports/systeps/unix/sysv/linux/hppa.
36987         * README: Update listing for hppa-*-linux-gnu.
36989 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36991         [BZ #16754]
36992         * manual/stdio.texi (Hook functions): Fix types of stream hook
36993         functions.
36994         [BZ #16854]
36995         * socket/sys/socket.h: Fix typo in comment.
36997 2014-04-28  Wilco  <wdijkstr@arm.com>
36999         * sysdeps/arm/fenv_private.h: New file.
37000         * sysdeps/arm/math_private.h: New file.
37001         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37003 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37005         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37006         with __int128_t.
37007         (La_x86_64_retval): Likewise.
37009 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37011         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37012         fpsr if value didn't change.
37013         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37014         to fpcr if value didn't change.
37015         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37016         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37017         fpsr or fpcr if value didn't change.
37018         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37019         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37020         fpcr if value didn't change.
37021         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37022         to fpsr if value didn't change.
37024 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37026         * nptl/tst-sem3.c: Use test-skeleton.c
37027         (main): Rename to do_test.  Use return instead of
37028         exit.
37029         * nptl/tst-sem4.c: Use test-skeleton.c
37030         (main): Rename to do_test.
37032 2014-04-22  David S. Miller  <davem@davemloft.net>
37034         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37035         (struct sigaction): New struct member __glibc_reserved0, change
37036         type of sa_flags to int.
37038 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37040         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37041         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37043 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37045         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37046         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37048 2014-04-22  Will Newton  <will.newton@linaro.org>
37049             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37051         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37052         (__longjmp): Add longjmp and longjmp_target SystemTap
37053         probes.
37054         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37055         (__sigsetjmp): Add setjmp SystemTap probe.
37057 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37059         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37060         match manual order.
37062 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37064         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37066         * sysdeps/powerpc/fpu/fenv_private.h
37067         (libc_feholdexcept_setroundl_ctx): Define to
37068         libc_feholdexcept_setround_ppc_ctx.
37069         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37070         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37071         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37072         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37074 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37076         * sysdeps/aarch64/math-tests.h: New file.
37078 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37080         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37081         New.
37082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37083         Check and set bit_AVX2_Usable.
37084         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37085         macro.
37086         (bit_AVX2): Likewise.
37087         (index_AVX2_Usable): Likewise.
37088         (CPUID_AVX2): Likewise.
37089         (HAS_AVX2): Likewise.
37091 2014-04-17  Will Newton  <will.newton@linaro.org>
37093         * manual/setjmp.texi (System V contexts): Add note that
37094         calling setcontext on a context created by a call to a
37095         signal handler is undefined.  Update text to note that
37096         setcontext from a signal handler is possible but not
37097         recommended.
37099         [BZ #16629]
37100         * stdlib/tst-setcontext.c: Include signal.h.
37101         (main): Check that the signal stack before and
37102         after swapcontext is the same.
37104         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37105         Re-implement to restore registers in user code and avoid
37106         rt_sigreturn system call.
37108 2014-04-17  Wilco  <wdijkstr@arm.com>
37110         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37111         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37112         * math/test-fenv.c: Skip exception trap tests on targets which only
37113         support non-stop mode.
37115 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37116             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37118         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37119         (libc_feholdsetround_aarch64_ctx)
37120         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37121         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37122         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37123         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37124         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37125         (libc_feresetround_noexl_ctx): Define.
37127 2014-04-16  Richard Henderson  <rth@redhat.com>
37129         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37131         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37132         unwind tables.
37134         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37135         const from the non-libc, non-ldso copy.
37137         * sysdeps/alpha/libm-test-ulps: Regenerate.
37139 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37140             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37142         * sysdeps/aarch64/fpu/math_private.h: New file.
37144 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37146         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37148 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37150         [BZ #16275]
37151         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37152         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37153         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37154         Intel MPX bound registers before _dl_profile_fixup.
37155         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37156         registers after _dl_profile_fixup.  Save and restore bound
37157         registers bnd0/bnd1 when calling _dl_call_pltexit.
37158         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37159         (LR_BND_OFFSET): Likewise.
37160         (LRV_BND0_OFFSET): Likewise.
37161         (LRV_BND1_OFFSET): Likewise.
37163 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37165         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37166         to...
37167         * sysdeps/mach/hurd/i386/tls.h: ... here.
37168         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37169         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37170         fields.
37172 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37174         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37176 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37178         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37180 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37182         [BZ #14770]
37183         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37184         * sysdeps/s390/configure: Regenerate.
37186         [BZ #16824]
37187         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37188         Set round-to-nearest internally to reduce error accumulation.
37190 2014-04-16  Alan Modra  <amodra@gmail.com>
37192         [BZ #16740]
37193         [BZ #16619]
37194         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37195         * math/libm-test.inc (frexp_test_data): Add tests.
37196         * NEWS: Update fixed bug list.
37198 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37200         * benchtests/Makefile: Depend on libraries in build directory.
37201         (bench-math): Separate out math tests.
37202         (bench-pthread): Separate out pthread tests.
37203         (bench): Include math and pthread tests.
37205 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37207         [BZ #16831]
37208         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37209         _dl_debug_initialize.
37211         * configure.ac: Remove SELinux header check.
37212         * configure: Regenerate.
37213         * nscd/selinux.c (perms): Array of const char* to permission names.
37214         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37215         default policy. Call string_to_security_class and string_to_av_perm to
37216         translate strings. Enforce default policy and call avs_has_perm with
37217         results of translated strings.
37219 2014-04-13  David S. Miller  <davem@davemloft.net>
37221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37223 2014-04-12  Allan McRae  <allan@archlinux.org>
37225         [BZ #16838]
37226         * manual/string.texi (Collation Functions): Fix qsort argument
37227         order in example.
37228         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37230 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37232         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37233         Make the test a no-op if there are no exceptions defined.
37235 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37237         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37238         enable-hardcoded-path-in-tests
37240 2014-04-11  Will Newton  <will.newton@linaro.org>
37242         * benchtests/Makefile (extra-objs): Add json-lib.o.
37243         (bench-func): Tidy up JSON output.
37244         * benchtests/bench-skeleton.c: Include json-lib.h.
37245         (main): Use JSON library functions to do output of
37246         benchmark results.
37247         * benchtests/bench-timing-type.c (main): Output the
37248         timing type simply, leaving formatting to the user.
37249         * benchtests/json-lib.c: New file.
37250         * benchtests/json-lib.h: Likewise.
37252 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37254         [BZ #15215]
37255         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37256         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37257         memory barriers.  Add comments.
37258         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37259         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37260         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37261         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37262         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37263         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37265 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37267         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37268         * sysdeps/s390/s390-64/configure.ac: ... this ...
37269         * sysdeps/s390/configure.ac: ... to here.
37270         * sysdeps/s390/s390-32/configure: Delete file.
37271         * sysdeps/s390/s390-64/configure: Delete file.
37272         * sysdeps/s390/configure: Regenerate.
37274 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37276         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37278 2014-04-11  Will Newton  <will.newton@linaro.org>
37280         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37281         to zero if it is not defined elsewhere.  (mtrim): Test
37282         the value of MALLOC_DEBUG with #if rather than #ifdef.
37284 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37286         * benchtests/pthread_once-inputs: New file.
37287         * benchtests/pthread_once-source.c: New file.
37288         * benchtests/README: Update documentation.
37290 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37291             H.J. Lu  <hongjiu.lu@intel.com>
37293         [BZ #16275]
37294         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37295         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37296         * sysdeps/x86_64/configure: Regenerated.
37297         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37298         macro.
37299         (REGISTER_SAVE_RAX): Likewise.
37300         (REGISTER_SAVE_RCX): Likewise.
37301         (REGISTER_SAVE_RDX): Likewise.
37302         (REGISTER_SAVE_RSI): Likewise.
37303         (REGISTER_SAVE_RDI): Likewise.
37304         (REGISTER_SAVE_R8): Likewise.
37305         (REGISTER_SAVE_R9): Likewise.
37306         (REGISTER_SAVE_BND0): Likewise.
37307         (REGISTER_SAVE_BND1): Likewise.
37308         (REGISTER_SAVE_BND2): Likewise.
37309         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37310         bound registers when calling _dl_fixup.
37312 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37314         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37315         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37316         of its definition.
37317         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37318         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37319         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37320         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37321         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37322         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37323         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37325 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37327         [BZ #15514]
37328         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37329         pathconf(_PC_NAME_MAX).
37331 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37333         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37334         Remove macro usage.
37335         (__PTHREAD_SPINS): Move definition to ...
37336         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37337         (__PTHREAD_SPINS): ... here.
37338         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37339         (__PTHREAD_SPIN): Likewise.
37340         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37341         (__PTHREAD_SPIN): Likewise.
37342         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37343         (__PTHREAD_SPIN): Likewise.
37344         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37345         (__PTHREAD_SPIN): Likewise.
37346         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37347         (__PTHREAD_SPIN): Likewise.
37348         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37349         (__PTHREAD_SPIN): Likewise.
37350         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37351         (__PTHREAD_SPIN): Likewise.
37352         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37353         (__PTHREAD_SPIN): Likewise.
37354         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37355         (__PTHREAD_SPIN): Likewise.
37356         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37357         (__PTHREAD_SPIN): Likewise.
37358         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37359         (__PTHREAD_SPIN): Likewise.
37360         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37361         (__PTHREAD_SPIN): Likewise.
37363         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37364         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37365         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37366         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37367         imply folder.
37368         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37369         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37370         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37371         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37372         correct imply path.
37373         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37374         strlen symbol for non multi-arch builds.
37375         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37376         missing hidden_def and weak_alias.
37378 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37380         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37382 2014-04-07  Will Newton  <will.newton@linaro.org>
37384         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37385         and contents.  [!_LIBC] Remove #ifndef and contents.
37386         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37387         * string/memccpy.c (__memccpy): Use ANSI prototype.
37388         * string/memfrob.c (memfrob): Likewise.
37389         * string/strcoll.c (STRCOLL): Likewise.
37390         * string/strlen.c (strlen): Likewise.
37391         * string/strtok.c (STRTOK): Likewise.
37392         * string/strcat.c: Remove unused #include of memcopy.h.
37393         (strcat): Use ANSI prototype.
37394         * string/strchr.c: Remove unused #include of memcopy.h.
37395         (strchr): Use ANSI prototype.
37396         * string/strcmp.c: Remove unused #include of memcopy.h.
37397         (strcmp): Use ANSI prototype.
37398         * string/strcpy.c: Remove unused #include of memcopy.h.
37399         (strcpy): Use ANSI prototype.
37401 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37403         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37404         * config.make.in (config-extra-cppflags): Set it from
37405         libc_extra_cppflags.
37406         * configure.ac (libc_extra_cflags): Make it accumulate over
37407         configure fragments.
37408         (libc_extra_cppflags): New flag.
37409         * configure. Regenerate.
37410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37411         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37412         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37415         [BZ #16815]
37416         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37417         result for FE_DOWNWARD rounding mode.
37418         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37419         Likewise.
37420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37422 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37424         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37425         in function argument name.
37427 2014-04-03  David Svoboda  <svoboda@cert.org>
37429         [BZ #5666]
37430         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37431         explicitly.
37433 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37435         * elf/dl-unmap-segments.h: New file.
37436         * sysdeps/generic/ldsodefs.h
37437         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37438         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37439         * elf/dl-fptr.c: Likewise.
37440         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37441         * sysdeps/aarch64/tlsdesc.c: Likewise.
37442         * sysdeps/arm/tlsdesc.c: Likewise.
37443         * sysdeps/i386/tlsdesc.c: Likewise.
37444         * sysdeps/tile/dl-runtime.c: Likewise.
37445         * sysdeps/x86_64/tlsdesc.c: Likewise.
37446         * elf/dl-load.h: New file.
37447         * elf/dl-load.c: Include it.
37448         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37449         Macros moved to dl-load.h.
37450         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37451         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37452         Use _dl_unmap_segments in place of __munmap.
37453         Break out segment-mapping loop into ...
37454         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37456 2014-04-03  Will Newton  <will.newton@linaro.org>
37458         * elf/dl-lookup.c (do_lookup_x): Remove comment
37459         referring to nested function and move variable
37460         declarations down to before first use.
37462 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37464         [BZ #16799]
37465         [BZ #16800]
37466         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37467         with 0 numerator.
37468         * math/s_catanf.c (__catanf): Likewise.
37469         * math/s_catanh.c (__catanh): Likewise.
37470         * math/s_catanhf.c (__catanhf): Likewise.
37471         * math/s_catanhl.c (__catanhl): Likewise.
37472         * math/s_catanl.c (__catanl): Likewise.
37473         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37474         by positive zero when computing -Inf result.
37475         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37476         (catanh_test): Likewise.
37477         * sysdeps/i386/fpu/libm-test-ulps: Update.
37478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37480         [BZ #16789]
37481         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37482         instead of using underflowing value in computing result.
37483         * math/s_clog10.c (__clog10): Likewise.
37484         * math/s_clog10f.c (__clog10f): Likewise.
37485         * math/s_clog10l.c (__clog10l): Likewise.
37486         * math/s_clogf.c (__clogf): Likewise.
37487         * math/s_clogl.c (__clogl): Likewise.
37488         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37489         (clog10_test): Likewise.
37490         * sysdeps/i386/fpu/libm-test-ulps: Update.
37491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37493 2014-04-02  Alan Modra  <amodra@gmail.com>
37495         [BZ #16739]
37496         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37497         output when value is near a power of two.  Use int64_t for lx and
37498         remove casts.  Use decimal rather than hex exponent constants.
37499         Don't use long double multiplication when double will suffice.
37500         * math/libm-test.inc (nextafter_test_data): Add tests.
37501         * NEWS: Add 16739 and 16786 to bug list.
37503         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37505         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37507 2014-04-01  Will Newton  <will.newton@linaro.org>
37509         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37510         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37512 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37514         [BZ #13347]
37515         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37516         * nptl/tst-setuid2.c: New file.
37517         * nptl/Makefile (xtests): Add tst-setuid2.
37519 2014-04-01  Alan Modra  <amodra@gmail.com>
37521         [BZ #16786]
37522         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37524 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37526         [BZ #6803]
37527         [BZ #6804]
37528         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37529         set errno as appropriate.
37530         * math/w_scalbf.c (__scalbf): Likewise.
37531         * math/w_scalbl.c (__scalbl): Likewise.
37532         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37533         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37534         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37535         Add more NaN tests.
37537         [BZ #16349]
37538         * math/w_atan2.c: Include <errno.h>.
37539         (__atan2): Set errno for result underflowing to zero.
37540         * math/w_atan2f.c: Include <errno.h>.
37541         (__atan2f): Set errno for result underflowing to zero.
37542         * math/w_atan2l.c: Include <errno.h>.
37543         (__atan2l): Set errno for result underflowing to zero.
37544         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37545         tests.
37546         * math/auto-libm-test-out: Regenerated.
37548 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37550         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37551         Encode instruction correctly in little endian.
37552         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37553         Likewise.
37554         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37555         Likewise.
37556         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37557         Likewise.
37558         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37559         Likewise.
37561 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37563         [BZ #9894]
37564         * sysdeps/unix/sysv/linux/kernel-features.h
37565         [__sparc__ && !__arch64__ && !__sparc_v9__]
37566         (__ASSUME_SET_ROBUST_LIST): Do not define.
37567         [__sparc__ && !__arch64__ && !__sparc_v9__]
37568         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37569         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37570         Likewise.
37571         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37572         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37573         (__ASSUME_REQUEUE_PI): Likewise.
37574         (__ASSUME_SET_ROBUST_LIST): Likewise.
37575         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37576         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37577         Undefine.
37578         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37579         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37580         Likewise.
37581         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37582         Likewise.
37583         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37584         Likewise.
37585         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37586         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37587         Undefine.
37588         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37589         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37590         Likewise.
37592         [BZ #16648]
37593         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37594         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37595         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37597 2014-03-31  Will Newton  <will.newton@linaro.org>
37599         * benchtests/Makefile (bench): Add ffs and ffsll to list
37600         of tests.
37601         * benchtests/ffs-inputs: New file.
37602         * benchtests/ffsll-inputs: Likewise.
37604 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37606         [BZ #16770]
37607         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37608         too large before casting to int.
37609         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37610         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37611         * math/libm-test.inc (scalb_test_data): Add more tests.
37613 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37615         * benchtests/Makefile (DETAILED_OPT): New make option.
37616         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37617         set.
37618         * benchtests/bench-skeleton.c: Include stdbool.h.
37619         (main): Store and print timings per input.
37620         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37621         member to each argument value.
37622         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37623         (_print_arg_data): Initialize per-input timing to 0.
37625         * benchtests/Makefile (timing-type): New binary.
37626         (bench-clean): Also remove bench-timing-type.
37627         (bench): New target for timing-type.
37628         (bench-func): Print output in JSON format.
37629         * benchtests/bench-skeleton.c (main): Print output in JSON
37630         format.
37631         * benchtests/bench-timing-type.c: New file.
37632         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37633         (TIMING_PRINT_STATS): Remove.
37634         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37635         name separately.
37637         * benchtests/bench-modf.c: Remove.
37638         * benchtests/modf-inputs: New inputs file.
37640 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37642         [BZ #16362]
37643         * math/s_clog10.c (M_PI_LOG10E): New macro.
37644         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37645         imaginary parts are 0.
37646         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37647         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37648         imaginary parts are 0.
37649         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37650         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37651         imaginary parts are 0.
37652         * math/libm-test.inc (clog10_test_data): Update expected results
37653         for when real and imaginary parts are 0.
37655 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37657         * elf/dl-load.c: Finish conversion of __builtin_expect into
37658         __glibc_{un}likely.
37660 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37662         [BZ #16348]
37663         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37664         1+x for argument with exponent below -67.
37665         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37666         Likewise.
37667         * math/auto-libm-test-in: Add more tests of exp.
37668         * math/auto-libm-test-out: Regenerated.
37670 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37672         [BZ #16759]
37673         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37674         (nscd_getnetgrent): Use it.
37676         [BZ #16760]
37677         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37678         of stpcpy.
37680 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37682         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37683         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37684         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37685         (lll_robust_unlock): Remove out of line section. Use cfi
37686         intrinsics.
37687         (LLL_STUB_UNWIND_INFO*): Remove.
37688         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37689         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37690         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37691         (lll_robust_unlock): Remove out of line section. Use cfi
37692         intrinsics.
37693         (LLL_STUB_UNWIND_INFO*): Remove.
37695 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37697         [BZ #16758]
37698         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37699         blank values.
37701 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37703         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37705 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37707         [BZ #16198]
37708         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37709         fnstenv.
37710         * math/test-fenv-preserve.c: New file.
37711         * math/Makefile (tests): Add test-fenv-preserve.
37713 2014-03-26  Will Newton <will.newton@linaro.org>
37715         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37717 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37719         * scripts/versionlist.awk: Partition the version sets and emit all
37720         GLIBC_* (sorted) before all others (sorted).
37722 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37724         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37725         GLIBC_2.2.5 version.
37727 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37729         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37730         calls.
37732         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37733         previous change.
37735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37737 2014-03-25  Andreas Schwab  <schwab@suse.de>
37739         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37740         label to be used after in6ailist is initialized.
37742 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37744         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37745         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37747 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37749         [BZ #16357]
37750         [BZ #16599]
37751         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37752         min_plus_half.
37753         (fp_formats): Update initializers.
37754         (init_fp_formats): Initialize new field.
37755         (output_for_one_input_case): Allow underflow for results up to
37756         min_plus_half.
37757         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37758         * math/auto-libm-test-in: Don't mark some underflows from asin and
37759         atanh as spurious.
37760         * math/auto-libm-test-out: Regenerated.
37761         * sysdeps/i386/fpu/libm-test-ulps: Update.
37762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37764 2014-03-25  Andreas Schwab  <schwab@suse.de>
37766         * libio/Makefile (tst-ftell-partial-wide-ENV)
37767         (tst-ftell-active-handler-ENV): Define.
37769 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37771         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37773 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37775         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37777 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37779         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37780         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37781         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37783 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37785         [BZ #16634]
37786         * elf/dl-load.c (open_verify): Add mode parameter.
37787         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37788         (open_path): Change from boolean 'secure' to complete flag 'mode'
37789         (_dl_map_object): Adjust.
37790         * elf/Makefile (tests): Add tst-dlopen-aout.
37791         * elf/tst-dlopen-aout.c: New test.
37793 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37795         [BZ #16714]
37796         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37797         (struct stat): Rename member pad0 to __glibc_reserved0.
37799         [BZ #16712]
37800         * sysdeps/s390/s390-32/bits/wordsize.h
37801         (__WORDSIZE32_SIZE_ULONG): New define.
37802         * sysdeps/s390/s390-64/bits/wordsize.h
37803         (__WORDSIZE32_SIZE_ULONG): Likewise.
37804         * sysdeps/generic/stdint.h (SIZE_MAX):
37805         Define as UL if __WORDSIZE32_SIZE_ULONG.
37807         [BZ #16713]
37808         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37809         (__glibc_reserved0): New variable.
37810         (sa_flags): Change type to int.
37812         * posix/Makefile (before-compile): Use += before-compile instead
37813         of a :=.
37815         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37816         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37818 2014-03-20  Andreas Schwab  <schwab@suse.de>
37820         [BZ #16743]
37821         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37822         non-matching result from nscd.
37824 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37826         * scripts/bench.py: Moved to ...
37827         * benchtests/scripts/bench.py: ... here.
37828         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37830 2014-03-24  Andreas Schwab  <schwab@suse.de>
37832         [BZ #16002]
37833         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37834         alloca_account and account alloca use for struct in6ailist.
37836 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37838         [BZ #16284]
37839         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37840         rounding mode to recompute results that overflow to infinity or
37841         underflow to zero.
37842         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37843         bug 16284.
37844         * math/auto-libm-test-out: Regenerated.
37845         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37846         (ccosh_test): Likewise.
37847         (csin_test_data): Use plus_oflow.
37848         (csin_test): Use ALL_RM_TEST.
37849         (csinh_test_data): Use plus_oflow.
37850         (csinh_test): Use ALL_RM_TEST.
37851         * sysdeps/i386/fpu/libm-test-ulps: Update.
37852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37854 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37856         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37857         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37858         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37860         [BZ #16731]
37861         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37862         when x - 1 is zero.
37863         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37864         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37865         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37866         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37867         argument is 1.
37868         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37869         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37870         zero.
37871         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37872         * sysdeps/i386/fpu/libm-test-ulps: Update.
37873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37875 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37877         * scripts/bench.pl: Remove file.
37878         * scripts/bench.py: New benchmark script.
37879         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37880         * benchtests/README: Mention python dependency.
37881         * scripts/pylintrc: New file.
37882         * scripts/pylint: New file.
37884         * bits/mathdef.h: Use #ifdef instead of #if.
37885         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37886         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37887         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37888         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37889         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37890         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37892 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37893             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37895         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37897         and strpbrk-ppc64 objects.
37898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37899         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37900         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37901         multiarch strpbrk for POWER7.
37902         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37903         multiarch strpbrk for PPC64.
37904         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37905         ifunc selector.
37906         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37907         strpbrk for POWER7.
37909 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37911         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37912         (atan_test): Likewise.
37913         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37914         (atanh_test): Use ALL_RM_TEST.
37915         (atan2_test_data): Likewise.
37916         (cabs_test): Likewise.
37917         (cacosh_test): Likewise.
37918         (carg_test): Likewise.
37919         (casin_test): Likewise.
37920         (casinh_test): Likewise.
37921         (cbrt_test): Likewise.
37922         (csqrt_test): Likewise.
37923         (erf_test): Likewise.
37924         (erfc_test): Likewise.
37925         (pow10_test): Likewise.
37926         (exp2_test): Likewise.
37927         (hypot_test): Likewise.
37928         (j0_test): Likewise.
37929         (j1_test): Likewise.
37930         (lgamma_test): Likewise.
37931         (gamma_test): Likewise.
37932         (sincos_test): Likewise.
37933         (tanh_test): Likewise.
37934         (y0_test): Likewise.
37935         (y1_test): Likewise.
37936         * sysdeps/i386/fpu/libm-test-ulps: Update.
37937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37939 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37941         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37942         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37943         and strcspn-ppc64 objects.
37944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37945         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37946         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37947         multiarch strcspn for POWER7.
37948         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37949         multiarch strcspn for PPC64.
37950         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37951         ifunc selector.
37952         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37953         strcspn for POWER7.
37955 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37957         * math/gen-libm-test.pl (generate_testfile): Expect only function
37958         name as argument to AUTO_TESTS_* and pass results for all rounding
37959         modes to parse_args.
37960         (parse_auto_input): Separate inputs of automatic tests from
37961         outputs before storing in %auto_tests.
37962         * math/libm-test.inc (acos_test_data): Update call to
37963         AUTO_TESTS_f_f.
37964         (acos_test): Use ALL_RM_TEST.
37965         (acos_tonearest_test_data): Remove.
37966         (acos_test_tonearest): Likewise.
37967         (acos_towardzero_test_data): Likewise.
37968         (acos_test_towardzero): Likewise.
37969         (acos_downward_test_data): Likewise.
37970         (acos_test_downward): Likewise.
37971         (acos_upward_test_data): Likewise.
37972         (acos_test_upward): Likewise.
37973         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37974         (asin_test_data): Likewise.
37975         (asin_test): Use ALL_RM_TEST.
37976         (asin_tonearest_test_data): Remove.
37977         (asin_test_tonearest): Likewise.
37978         (asin_towardzero_test_data): Likewise.
37979         (asin_test_towardzero): Likewise.
37980         (asin_downward_test_data): Likewise.
37981         (asin_test_downward): Likewise.
37982         (asin_upward_test_data): Likewise.
37983         (asin_test_upward): Likewise.
37984         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37985         (atan_test_data): Likewise.
37986         (atanh_test_data): Likewise.
37987         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37988         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37989         (carg_test_data): Likewise.
37990         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37991         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37992         (ccosh_test_data): Likewise.
37993         (cexp_test_data): Likewise.
37994         (clog_test_data): Likewise.
37995         (clog10_test_data): Likewise.
37996         (cos_test_data): Update call to AUTO_TESTS_f_f.
37997         (cos_test): Use ALL_RM_TEST.
37998         (cos_tonearest_test_data): Remove.
37999         (cos_test_tonearest): Likewise.
38000         (cos_towardzero_test_data): Likewise.
38001         (cos_test_towardzero): Likewise.
38002         (cos_downward_test_data): Likewise.
38003         (cos_test_downward): Likewise.
38004         (cos_upward_test_data): Likewise.
38005         (cos_test_upward): Likewise.
38006         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38007         (cosh_test): Use ALL_RM_TEST.
38008         (cosh_tonearest_test_data): Remove.
38009         (cosh_test_tonearest): Likewise.
38010         (cosh_towardzero_test_data): Likewise.
38011         (cosh_test_towardzero): Likewise.
38012         (cosh_downward_test_data): Likewise.
38013         (cosh_test_downward): Likewise.
38014         (cosh_upward_test_data): Likewise.
38015         (cosh_test_upward): Likewise.
38016         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38017         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38018         (ctan_test_data): Likewise.
38019         (ctan_test): Use ALL_RM_TEST.
38020         (ctan_tonearest_test_data): Remove.
38021         (ctan_test_tonearest): Likewise.
38022         (ctan_towardzero_test_data): Likewise.
38023         (ctan_test_towardzero): Likewise.
38024         (ctan_downward_test_data): Likewise.
38025         (ctan_test_downward): Likewise.
38026         (ctan_upward_test_data): Likewise.
38027         (ctan_test_upward): Likewise.
38028         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38029         (ctanh_test): Use ALL_RM_TEST.
38030         (ctanh_tonearest_test_data): Remove.
38031         (ctanh_test_tonearest): Likewise.
38032         (ctanh_towardzero_test_data): Likewise.
38033         (ctanh_test_towardzero): Likewise.
38034         (ctanh_downward_test_data): Likewise.
38035         (ctanh_test_downward): Likewise.
38036         (ctanh_upward_test_data): Likewise.
38037         (ctanh_test_upward): Likewise.
38038         (erf_test_data): Update call to AUTO_TESTS_f_f.
38039         (erfc_test_data): Likewise.
38040         (exp_test_data): Likewise.
38041         (exp_test): Use ALL_RM_TEST.
38042         (exp_tonearest_test_data): Remove.
38043         (exp_test_tonearest): Likewise.
38044         (exp_towardzero_test_data): Likewise.
38045         (exp_test_towardzero): Likewise.
38046         (exp_downward_test_data): Likewise.
38047         (exp_test_downward): Likewise.
38048         (exp_upward_test_data): Likewise.
38049         (exp_test_upward): Likewise.
38050         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38051         (exp10_test): Use ALL_RM_TEST.
38052         (exp10_tonearest_test_data): Remove.
38053         (exp10_test_tonearest): Likewise.
38054         (exp10_towardzero_test_data): Likewise.
38055         (exp10_test_towardzero): Likewise.
38056         (exp10_downward_test_data): Likewise.
38057         (exp10_test_downward): Likewise.
38058         (exp10_upward_test_data): Likewise.
38059         (exp10_test_upward): Likewise.
38060         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38061         (expm1_test_data): Likewise.
38062         (expm1_test): Use ALL_RM_TEST.
38063         (expm1_tonearest_test_data): Remove.
38064         (expm1_test_tonearest): Likewise.
38065         (expm1_towardzero_test_data): Likewise.
38066         (expm1_test_towardzero): Likewise.
38067         (expm1_downward_test_data): Likewise.
38068         (expm1_test_downward): Likewise.
38069         (expm1_upward_test_data): Likewise.
38070         (expm1_test_upward): Likewise.
38071         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38072         (fma_test): Use ALL_RM_TEST.
38073         (fma_towardzero_test_data): Remove.
38074         (fma_test_towardzero): Likewise.
38075         (fma_downward_test_data): Likewise.
38076         (fma_test_downward): Likewise.
38077         (fma_upward_test_data): Likewise.
38078         (fma_test_upward): Likewise.
38079         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38080         (j0_test_data): Update call to AUTO_TESTS_f_f.
38081         (j1_test_data): Likewise.
38082         (jn_test_data): Update call to AUTO_TESTS_if_f.
38083         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38084         (log_test_data): Update call to AUTO_TESTS_f_f.
38085         (log10_test_data): Likewise.
38086         (log1p_test_data): Likewise.
38087         (log2_test_data): Likewise.
38088         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38089         (pow_tonearest_test_data): Likewise.
38090         (sin_test_data): Update call to AUTO_TESTS_f_f.
38091         (sin_test): Use ALL_RM_TEST.
38092         (sin_tonearest_test_data): Remove.
38093         (sin_test_tonearest): Likewise.
38094         (sin_towardzero_test_data): Likewise.
38095         (sin_test_towardzero): Likewise.
38096         (sin_downward_test_data): Likewise.
38097         (sin_test_downward): Likewise.
38098         (sin_upward_test_data): Likewise.
38099         (sin_test_upward): Likewise.
38100         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38101         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38102         (sinh_test): Use ALL_RM_TEST.
38103         (sinh_tonearest_test_data): Remove.
38104         (sinh_test_tonearest): Likewise.
38105         (sinh_towardzero_test_data): Likewise.
38106         (sinh_test_towardzero): Likewise.
38107         (sinh_downward_test_data): Likewise.
38108         (sinh_test_downward): Likewise.
38109         (sinh_upward_test_data): Likewise.
38110         (sinh_test_upward): Likewise.
38111         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38112         (sqrt_test): Use ALL_RM_TEST.
38113         (sqrt_tonearest_test_data): Remove.
38114         (sqrt_test_tonearest): Likewise.
38115         (sqrt_towardzero_test_data): Likewise.
38116         (sqrt_test_towardzero): Likewise.
38117         (sqrt_downward_test_data): Likewise.
38118         (sqrt_test_downward): Likewise.
38119         (sqrt_upward_test_data): Likewise.
38120         (sqrt_test_upward): Likewise.
38121         (tan_test_data): Update call to AUTO_TESTS_f_f.
38122         (tan_test): Use ALL_RM_TEST.
38123         (tan_tonearest_test_data): Remove.
38124         (tan_test_tonearest): Likewise.
38125         (tan_towardzero_test_data): Likewise.
38126         (tan_test_towardzero): Likewise.
38127         (tan_downward_test_data): Likewise.
38128         (tan_test_downward): Likewise.
38129         (tan_upward_test_data): Likewise.
38130         (tan_test_upward): Likewise.
38131         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38132         (tgamma_test_data): Likewise.
38133         (y0_test_data): Likewise.
38134         (y1_test_data): Likewise.
38135         (yn_test_data): Update call to AUTO_TESTS_if_f.
38136         (main): Do not call removed functions.
38138 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38140         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38141         (ldexp_test_data): Remove.
38142         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38143         scalbn_test_data.
38144         (scalb_test): Use ALL_RM_TEST.
38146 2014-03-19  Andreas Schwab  <schwab@suse.de>
38148         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38150 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38152         [BZ #16649]
38153         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38154         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38155         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38156         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38157         (__ASSUME_PREADV): Undefine.
38158         (__ASSUME_PWRITEV): Likewise.
38160 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38162         * bits/mman-linux.h: Add comment about non-Linux use.
38163         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38164         bits/mman-linux.h resting place.
38166         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38167         * bits/mman-linux.h: ... here.
38169 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38171         * conform/conformtest.pl: Add standard definition when calling C
38172         preprocessor on data files.
38173         (checknamespace): Remove unused variable.
38175 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38177         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38178         minus_oflow, plus_uflow and minus_uflow in expected results.
38179         * math/libm-test.inc (scalbn_test_data): Add more tests of
38180         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38181         minus_uflow.
38182         (scalbn_test): Use ALL_RM_TEST.
38183         (scalbln_test_data): Add more tests of negative arguments.  Use
38184         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38185         (scalbln_test): Use ALL_RM_TEST.
38187 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38189         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38191 2014-03-18  Will Newton  <will.newton@linaro.org>
38193         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38194         inaccurate comment.
38196 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38198         * Makerules [!subdir] (check-abi): Exit with error status if a
38199         test failed.
38201 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38203         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38204         for rint.  Include results for all rounding modes.
38205         (nearbyint_test): Use ALL_RM_TEST.
38206         (rint_test_data): Include all tests used for nearbyint.
38208 2014-03-17  Will Newton  <will.newton@linaro.org>
38210         * nptl/sysdeps/pthread/pthread.h: Revert previous
38211         change.
38213         * sysdeps/generic/ldsodefs.h: Revert previous
38214         change.
38216         * libio/genops.c: Revert previous change.
38217         * libio/libioP.h: Likewise.
38218         * stdio-common/vfprintf.c: Likewise.
38220         * sysdeps/generic/math_private.h: Revert previous
38221         change.
38223         * sysdeps/generic/math_private.h: Check whether
38224         HAVE_RM_CTX is defined with #ifdef rather
38225         than #if.
38227         * argp/argp-fmtstream.h: Check whether
38228         __STRICT_ANSI__ is defined with #ifdef rather
38229         than #if.
38230         * argp/argp.h: Likewise.
38232         * libio/genops.c: Check whether
38233         _IO_JUMPS_OFFSET is defined with #ifdef rather
38234         than #if.
38235         * libio/libioP.h: Likewise.
38236         * stdio-common/vfprintf.c: Likewise.
38238         * sysdeps/generic/ldsodefs.h: Check whether
38239         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38240         than #if.
38242         * nptl/sysdeps/pthread/pthread.h: Check
38243         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38244         its value.
38246 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38248         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38249         setting O_APPEND.
38250         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38251         test case.
38253         [BZ #16680]
38254         * libio/fileops.c (_IO_file_open): Seek to end of file but
38255         don't cache the offset.
38256         (get_file_offset): Remove function.
38257         (do_ftell): Use cached offset when available.
38258         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38259         don't cache the offset.
38260         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38261         case.
38262         (do_one_test): Call it.
38263         (do_ftell_test): Fix up expected old offset for a+ mode.
38264         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38265         available.
38267         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38268         up test status with function return status.
38269         (do_write_test): Likewise.
38270         (do_append_test): Likewise.
38272         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38273         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38274         Remove.
38276 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38278         * math/gen-libm-test.pl (parse_args): Handle results specified for
38279         each rounding mode separately.
38280         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38281         tests and results from lrint_tonearest_test_data,
38282         lrint_towardzero_test_data, lrint_downward_test_data and
38283         lrint_upward_test_data.
38284         (lrint_test): Use ALL_RM_TEST.
38285         (lrint_tonearest_test_data): Remove.
38286         (lrint_test_tonearest): Likewise.
38287         (lrint_towardzero_test_data): Likewise.
38288         (lrint_test_towardzero): Likewise.
38289         (lrint_downward_test_data): Likewise.
38290         (lrint_test_downward): Likewise.
38291         (lrint_upward_test_data): Likewise.
38292         (lrint_test_upward): Likewise.
38293         (llrint_test_data): Merge in per-rounding-mode tests and results
38294         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38295         llrint_downward_test_data and llrint_upward_test_data.
38296         (llrint_test): Use ALL_RM_TEST.
38297         (llrint_tonearest_test_data): Remove.
38298         (llrint_test_tonearest): Likewise.
38299         (llrint_towardzero_test_data): Likewise.
38300         (llrint_test_towardzero): Likewise.
38301         (llrint_downward_test_data): Likewise.
38302         (llrint_test_downward): Likewise.
38303         (llrint_upward_test_data): Likewise.
38304         (llrint_test_upward): Likewise.
38305         (rint_test_data): Merge in per-rounding-mode tests and results
38306         from rint_tonearest_test_data, rint_towardzero_test_data,
38307         rint_downward_test_data and rint_upward_test_data.  Add
38308         per-rounding-mode results for tests not in those arrays.
38309         (rint_test): Use ALL_RM_TEST.
38310         (rint_tonearest_test_data): Remove.
38311         (rint_test_tonearest): Likewise.
38312         (rint_towardzero_test_data): Likewise.
38313         (rint_test_towardzero): Likewise.
38314         (rint_downward_test_data): Likewise.
38315         (rint_test_downward): Likewise.
38316         (rint_upward_test_data): Likewise.
38317         (rint_test_upward): Likewise.
38318         (main): Don't call removed functions.
38320 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38322         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38323         "Compiled on ..." crapola.  It is anti-useful.
38325 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38327         * scripts/evaluate-test.sh: Handle fourth argument to determine
38328         whether test run should stop on failure.
38329         * Makeconfig (stop-on-test-failure): New variable.
38330         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38331         $(stop-on-test-failure).
38332         * Makefile (tests): Give a summary of results from testing and
38333         exit with failure status if they include an ERROR or FAIL.
38334         (xtests): Likewise.
38335         * manual/install.texi (Configuring and compiling): Mention
38336         stop-on-test-failure=y.
38337         * INSTALL: Regenerated.
38339 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38341         * scripts/versionlist.awk: New file.
38342         * Makerules [$(build-shared) = yes]
38343         (postclean-generated): Add Versions.def, not Versions.def.v and
38344         Versions.def.v.i.
38345         ($(common-objpfx)Versions.def.v.i): Target removed.
38346         ($(common-objpfx)Versions.def): New target.
38347         ($(common-objpfx)Versions.all): Depend on that rather that
38348         $(common-objpfx)Versions.def.v.
38349         * Versions.def: File removed.
38351         * Makeconfig (+gccwarn): Add -Wundef.
38352         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38353         a dl-sysdep.h breaking its contract.
38354         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38355         * include/stackinfo.h: New file.
38356         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38357         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38358         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38359         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38360         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38361         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38362         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38363         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38364         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38365         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38366         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38367         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38368         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38369         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38370         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38372 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38374         [BZ #16707]
38375         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38376         implementation.
38377         * math/libm-test.inc (round_test_data): Add more tests.
38379         [BZ #16706]
38380         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38381         implementation.
38382         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38384         [BZ #16701]
38385         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38386         implementation.
38387         * math/libm-test.inc (ceil_test_data): Add more tests.
38389         * math/libm-test.inc (trunc_test_data): Add more tests related to
38390         BZ#16414.
38392 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38394         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38395         with #if rather than #ifdef.
38396         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38398 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38400         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38401         first.  Disable AVX-512 GCC support if assembler doesn't support
38402         it.
38403         * sysdeps/x86_64/configure: Regenerated.
38405 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38407         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38408         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38409         (__old_pthread_attr_setstack): Likewise.
38410         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38411         [!_STACK_GROWS_DOWN]: Likewise.
38413 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38415         * config.make.in (have-bash2): Delete.
38416         * configure.ac (libc_cv_have_bash2): Delete.
38417         * configure: Regenerate.
38418         * elf/Makefile (common-ldd-rewrite): Rename to ...
38419         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38420         (sh-ldd-rewrite): Delete.
38421         (bash-ldd-rewrite): Delete.
38422         (have-bash2): Delete checks.
38423         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38424         ldd-rewrite.
38426         * config.make.in (have-ksh): Delete.
38427         (KSH): Delete.
38428         * configure.ac (libc_cv_have_ksh): Delete.
38429         * configure: Regenerate.
38431         * elf/Makefile: Delete $(have-ksh) check.
38432         ($(objpfx)sotruss): Change KSH to BASH.
38433         * elf/sotruss.ksh: Rename to ...
38434         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38435         function style to match POSIX.  Drop ksh vim mode setting.
38437         * manual/time.texi (Specifying the Time Zone with TZ): Change
38438         Tuesday to Thursday.
38440         * debug/tst-longjmp_chk2.c: Update header comment.
38441         (stackoverflow_handler): Add comment.  Call assert on pass value.
38443 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38445         [BZ #16194]
38446         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38447         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38448         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38449         (La_x86_64_vector): Add zmm.
38450         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38451         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38452         ($(objpfx)tst-audit10): New target.
38453         ($(objpfx)tst-audit10.out): Likewise.
38454         (tst-audit10-ENV): New.
38455         (AVX512-CFLAGS): Likewise.
38456         (CFLAGS-tst-audit10.c): Likewise.
38457         (CFLAGS-tst-auditmod10a.c): Likewise.
38458         (CFLAGS-tst-auditmod10b.c): Likewise.
38459         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38460         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38461         * sysdeps/x86_64/configure: Regenerated.
38462         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38463         AVX-512 zmm register support.
38464         (_dl_x86_64_save_sse): Likewise.
38465         (_dl_x86_64_restore_sse): Likewise.
38466         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38467         size vector registers.
38468         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38469         (ZMM_SIZE): Likewise.
38470         * sysdeps/x86_64/tst-audit10.c: New file.
38471         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38472         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38474 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38476         * configure.ac (HAVE_EHDR_START): New check.
38477         * configure: Regenerated.
38478         * config.h.in (HAVE_EHDR_START): New #undef.
38479         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38480         assuming the lowest-addressed segment maps the start of the file.
38482 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38484         * INSTALL: Regenerated.
38486 2014-03-13  Will Newton  <will.newton@linaro.org>
38488         * manual/setjmp.texi (System V contexts): Improve
38489         clarity and grammar of documentation.
38491 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38493         [BZ #16381]
38494         * elf/Makefile (tests): Add tst-pie2.
38495         (tests-pie): Add tst-pie2.
38496         * elf/tst-pie2.c: New file.
38497         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38498         for ET_EXEC.
38499         * elf/rtld.c (map_doit): Load executable as lt_executable.
38500         (dl_main): Likewise.
38502 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38504         [BZ #16642]
38505         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38506         (__ASSUME_PSELECT): Undefine.
38508 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38510         [BZ #16689]
38511         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38512         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38513         static build.
38514         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38515         selector for static builds.
38517 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38519         [BZ #16695]
38520         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38521         key in the buffer.
38523 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38525         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38526         IFUNC selector for static builds.
38528 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38530         * sysdeps/mips/math_private.h [__mips_hard_float]
38531         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38532         libc_feresetround_mips_ctx.
38533         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38534         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38535         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38537         [BZ #16677]
38538         * math/s_nextafter.c (__nextafter): Do not return value from
38539         overflowing computation.
38540         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38541         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38542         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38543         Likewise.
38544         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38545         Likewise.
38546         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38547         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38549 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38551         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38552         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38553         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38554         the new mov targetting sp.
38556 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38558         [BZ #16683]
38559         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38560         Define it for static builds as well.
38561         (NO_BZERO_IMPL): Likewise.
38563 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38565         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38566         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38567         multiarch strspn for PPC64.
38568         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38569         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38571         (__libc_ifunc_impl_list): Likewise.
38572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38573         multiarch optimizations
38574         * string/strspn.c (strspn): Using macro to redefine symbol name.
38576 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38577             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38579         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38580         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38581         multiarch strncat for PPC64.
38582         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38583         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38585         (__libc_ifunc_impl_list): Likewise.
38586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38587         multiarch optimizations
38589 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38591         [BZ #16639]
38592         * nscd/nscd.service: Make service type forking.
38594 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38596         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38597         sign in non default rounding modes.
38598         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38600 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38602         * math/libm-test.inc (ALL_RM_TEST): New macro.
38603         (ceil_test): Use ALL_RM_TEST.
38604         (cimag_test): Likewise.
38605         (conj_test): Likewise.
38606         (copysign_test): Likewise.
38607         (cproj_test): Likewise.
38608         (creal_test): Likewise.
38609         (fabs_test): Likewise.
38610         (floor_test): Likewise.
38611         (fmax_test): Likewise.
38612         (fmin_test): Likewise.
38613         (fmod_test): Likewise.
38614         (fpclassify_test): Likewise.
38615         (frexp_test): Likewise.
38616         (ilogb_test): Likewise.
38617         (isfinite_test): Likewise.
38618         (finite_test): Likewise.
38619         (isgreater_test): Likewise.
38620         (isgreaterequal_test): Likewise.
38621         (isinf_test): Likewise.
38622         (isless_test): Likewise.
38623         (islessequal_test): Likewise.
38624         (islessgreater_test): Likewise.
38625         (isnan_test): Likewise.
38626         (isnormal_test): Likewise.
38627         (issignaling_test): Likewise.
38628         (isunordered_test): Likewise.
38629         (logb_test): Likewise.
38630         (logb_downward_test_data): Remove.
38631         (logb_test_downward): Likewise.
38632         (lround_test): Use ALL_RM_TEST.
38633         (llround_test): Likewise.
38634         (modf_test): Likewise.
38635         (nexttoward_test): Likewise.
38636         (remainder_test): Likewise.
38637         (drem_test): Likewise.
38638         (remainder_tonearest_test_data): Likewise.
38639         (remainder_test_tonearest): Likewise.
38640         (drem_test_tonearest): Likewise.
38641         (remainder_towardzero_test_data): Likewise.
38642         (remainder_test_towardzero): Likewise.
38643         (drem_test_towardzero): Likewise.
38644         (remainder_downward_test_data): Likewise.
38645         (remainder_test_downward): Likewise.
38646         (drem_test_downward): Likewise.
38647         (remainder_upward_test_data): Likewise.
38648         (remainder_test_upward): Likewise.
38649         (drem_test_upward): Likewise.
38650         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38651         (round_test): Use ALL_RM_TEST.
38652         (signbit_test): Likewise.
38653         (trunc_test): Likewise.
38654         (significand_test): Likewise.
38655         (main): Don't call removed functions.
38657 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38659         [BZ #16674]
38660         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38661         || __USE_XOPEN2K8].
38662         (ILL_ILLOPN): Likewise.
38663         (ILL_ILLADR): Likewise.
38664         (ILL_ILLTRP): Likewise.
38665         (ILL_PRVOPC): Likewise.
38666         (ILL_PRVREG): Likewise.
38667         (ILL_COPROC): Likewise.
38668         (ILL_BADSTK): Likewise.
38669         (FPE_INTDIV): Likewise.
38670         (FPE_INTOVF): Likewise.
38671         (FPE_FLTDIV): Likewise.
38672         (FPE_FLTOVF): Likewise.
38673         (FPE_FLTUND): Likewise.
38674         (FPE_FLTRES): Likewise.
38675         (FPE_FLTINV): Likewise.
38676         (FPE_FLTSUB): Likewise.
38677         (SEGV_MAPERR): Likewise.
38678         (SEGV_ACCERR): Likewise.
38679         (BUS_ADRALN): Likewise.
38680         (BUS_ADRERR): Likewise.
38681         (BUS_OBJERR): Likewise.
38682         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38683         (TRAP_TRACE): Likewise.
38684         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38685         __USE_XOPEN2K8].
38686         (CLD_KILLED): Likewise.
38687         (CLD_DUMPED): Likewise.
38688         (CLD_TRAPPED): Likewise.
38689         (CLD_STOPPED): Likewise.
38690         (CLD_CONTINUED): Likewise.
38691         (POLL_IN): Likewise.
38692         (POLL_OUT): Likewise.
38693         (POLL_MSG): Likewise.
38694         (POLL_ERR): Likewise.
38695         (POLL_PRI): Likewise.
38696         (POLL_HUP): Likewise.
38697         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38698         Likewise.
38699         (ILL_ILLOPN): Likewise.
38700         (ILL_ILLADR): Likewise.
38701         (ILL_ILLTRP): Likewise.
38702         (ILL_PRVOPC): Likewise.
38703         (ILL_PRVREG): Likewise.
38704         (ILL_COPROC): Likewise.
38705         (ILL_BADSTK): Likewise.
38706         (FPE_INTDIV): Likewise.
38707         (FPE_INTOVF): Likewise.
38708         (FPE_FLTDIV): Likewise.
38709         (FPE_FLTOVF): Likewise.
38710         (FPE_FLTUND): Likewise.
38711         (FPE_FLTRES): Likewise.
38712         (FPE_FLTINV): Likewise.
38713         (FPE_FLTSUB): Likewise.
38714         (SEGV_MAPERR): Likewise.
38715         (SEGV_ACCERR): Likewise.
38716         (BUS_ADRALN): Likewise.
38717         (BUS_ADRERR): Likewise.
38718         (BUS_OBJERR): Likewise.
38719         (BUS_MCEERR_AR): Likewise.
38720         (BUS_MCEERR_AO): Likewise.
38721         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38722         (TRAP_TRACE): Likewise.
38723         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38724         __USE_XOPEN2K8].
38725         (CLD_KILLED): Likewise.
38726         (CLD_DUMPED): Likewise.
38727         (CLD_TRAPPED): Likewise.
38728         (CLD_STOPPED): Likewise.
38729         (CLD_CONTINUED): Likewise.
38730         (POLL_IN): Likewise.
38731         (POLL_OUT): Likewise.
38732         (POLL_MSG): Likewise.
38733         (POLL_ERR): Likewise.
38734         (POLL_PRI): Likewise.
38735         (POLL_HUP): Likewise.
38736         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38737         (ILL_ILLOPN): Likewise.
38738         (ILL_ILLADR): Likewise.
38739         (ILL_ILLTRP): Likewise.
38740         (ILL_PRVOPC): Likewise.
38741         (ILL_PRVREG): Likewise.
38742         (ILL_COPROC): Likewise.
38743         (ILL_BADSTK): Likewise.
38744         (FPE_INTDIV): Likewise.
38745         (FPE_INTOVF): Likewise.
38746         (FPE_FLTDIV): Likewise.
38747         (FPE_FLTOVF): Likewise.
38748         (FPE_FLTUND): Likewise.
38749         (FPE_FLTRES): Likewise.
38750         (FPE_FLTINV): Likewise.
38751         (FPE_FLTSUB): Likewise.
38752         (SEGV_MAPERR): Likewise.
38753         (SEGV_ACCERR): Likewise.
38754         (BUS_ADRALN): Likewise.
38755         (BUS_ADRERR): Likewise.
38756         (BUS_OBJERR): Likewise.
38757         (BUS_MCEERR_AR): Likewise.
38758         (BUS_MCEERR_AO): Likewise.
38759         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38760         (TRAP_TRACE): Likewise.
38761         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38762         __USE_XOPEN2K8].
38763         (CLD_KILLED): Likewise.
38764         (CLD_DUMPED): Likewise.
38765         (CLD_TRAPPED): Likewise.
38766         (CLD_STOPPED): Likewise.
38767         (CLD_CONTINUED): Likewise.
38768         (POLL_IN): Likewise.
38769         (POLL_OUT): Likewise.
38770         (POLL_MSG): Likewise.
38771         (POLL_ERR): Likewise.
38772         (POLL_PRI): Likewise.
38773         (POLL_HUP): Likewise.
38774         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38775         Likewise.
38776         (ILL_ILLOPN): Likewise.
38777         (ILL_ILLADR): Likewise.
38778         (ILL_ILLTRP): Likewise.
38779         (ILL_PRVOPC): Likewise.
38780         (ILL_PRVREG): Likewise.
38781         (ILL_COPROC): Likewise.
38782         (ILL_BADSTK): Likewise.
38783         (ILL_BADIADDR): Likewise.
38784         (ILL_BREAK): Likewise.
38785         (FPE_INTDIV): Likewise.
38786         (FPE_INTOVF): Likewise.
38787         (FPE_FLTDIV): Likewise.
38788         (FPE_FLTOVF): Likewise.
38789         (FPE_FLTUND): Likewise.
38790         (FPE_FLTRES): Likewise.
38791         (FPE_FLTINV): Likewise.
38792         (FPE_FLTSUB): Likewise.
38793         (FPE_DECOVF): Likewise.
38794         (FPE_DECDIV): Likewise.
38795         (FPE_DECERR): Likewise.
38796         (FPE_INVASC): Likewise.
38797         (FPE_INVDEC): Likewise.
38798         (SEGV_MAPERR): Likewise.
38799         (SEGV_ACCERR): Likewise.
38800         (SEGV_PSTKOVF): Likewise.
38801         (BUS_ADRALN): Likewise.
38802         (BUS_ADRERR): Likewise.
38803         (BUS_OBJERR): Likewise.
38804         (BUS_MCEERR_AR): Likewise.
38805         (BUS_MCEERR_AO): Likewise.
38806         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38807         (TRAP_TRACE): Likewise.
38808         (TRAP_BRANCH): Likewise.
38809         (TRAP_HWBKPT): Likewise.
38810         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38811         __USE_XOPEN2K8].
38812         (CLD_KILLED): Likewise.
38813         (CLD_DUMPED): Likewise.
38814         (CLD_TRAPPED): Likewise.
38815         (CLD_STOPPED): Likewise.
38816         (CLD_CONTINUED): Likewise.
38817         (POLL_IN): Likewise.
38818         (POLL_OUT): Likewise.
38819         (POLL_MSG): Likewise.
38820         (POLL_ERR): Likewise.
38821         (POLL_PRI): Likewise.
38822         (POLL_HUP): Likewise.
38823         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38824         (ILL_ILLOPN): Likewise.
38825         (ILL_ILLADR): Likewise.
38826         (ILL_ILLTRP): Likewise.
38827         (ILL_PRVOPC): Likewise.
38828         (ILL_PRVREG): Likewise.
38829         (ILL_COPROC): Likewise.
38830         (ILL_BADSTK): Likewise.
38831         (FPE_INTDIV): Likewise.
38832         (FPE_INTOVF): Likewise.
38833         (FPE_FLTDIV): Likewise.
38834         (FPE_FLTOVF): Likewise.
38835         (FPE_FLTUND): Likewise.
38836         (FPE_FLTRES): Likewise.
38837         (FPE_FLTINV): Likewise.
38838         (FPE_FLTSUB): Likewise.
38839         (SEGV_MAPERR): Likewise.
38840         (SEGV_ACCERR): Likewise.
38841         (BUS_ADRALN): Likewise.
38842         (BUS_ADRERR): Likewise.
38843         (BUS_OBJERR): Likewise.
38844         (BUS_MCEERR_AR): Likewise.
38845         (BUS_MCEERR_AO): Likewise.
38846         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38847         (TRAP_TRACE): Likewise.
38848         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38849         __USE_XOPEN2K8].
38850         (CLD_KILLED): Likewise.
38851         (CLD_DUMPED): Likewise.
38852         (CLD_TRAPPED): Likewise.
38853         (CLD_STOPPED): Likewise.
38854         (CLD_CONTINUED): Likewise.
38855         (POLL_IN): Likewise.
38856         (POLL_OUT): Likewise.
38857         (POLL_MSG): Likewise.
38858         (POLL_ERR): Likewise.
38859         (POLL_PRI): Likewise.
38860         (POLL_HUP): Likewise.
38861         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38862         (ILL_ILLOPN): Likewise.
38863         (ILL_ILLADR): Likewise.
38864         (ILL_ILLTRP): Likewise.
38865         (ILL_PRVOPC): Likewise.
38866         (ILL_PRVREG): Likewise.
38867         (ILL_COPROC): Likewise.
38868         (ILL_BADSTK): Likewise.
38869         (FPE_INTDIV): Likewise.
38870         (FPE_INTOVF): Likewise.
38871         (FPE_FLTDIV): Likewise.
38872         (FPE_FLTOVF): Likewise.
38873         (FPE_FLTUND): Likewise.
38874         (FPE_FLTRES): Likewise.
38875         (FPE_FLTINV): Likewise.
38876         (FPE_FLTSUB): Likewise.
38877         (SEGV_MAPERR): Likewise.
38878         (SEGV_ACCERR): Likewise.
38879         (BUS_ADRALN): Likewise.
38880         (BUS_ADRERR): Likewise.
38881         (BUS_OBJERR): Likewise.
38882         (BUS_MCEERR_AR): Likewise.
38883         (BUS_MCEERR_AO): Likewise.
38884         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38885         (TRAP_TRACE): Likewise.
38886         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38887         __USE_XOPEN2K8].
38888         (CLD_KILLED): Likewise.
38889         (CLD_DUMPED): Likewise.
38890         (CLD_TRAPPED): Likewise.
38891         (CLD_STOPPED): Likewise.
38892         (CLD_CONTINUED): Likewise.
38893         (POLL_IN): Likewise.
38894         (POLL_OUT): Likewise.
38895         (POLL_MSG): Likewise.
38896         (POLL_ERR): Likewise.
38897         (POLL_PRI): Likewise.
38898         (POLL_HUP): Likewise.
38899         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38900         (ILL_ILLOPN): Likewise.
38901         (ILL_ILLADR): Likewise.
38902         (ILL_ILLTRP): Likewise.
38903         (ILL_PRVOPC): Likewise.
38904         (ILL_PRVREG): Likewise.
38905         (ILL_COPROC): Likewise.
38906         (ILL_BADSTK): Likewise.
38907         (FPE_INTDIV): Likewise.
38908         (FPE_INTOVF): Likewise.
38909         (FPE_FLTDIV): Likewise.
38910         (FPE_FLTOVF): Likewise.
38911         (FPE_FLTUND): Likewise.
38912         (FPE_FLTRES): Likewise.
38913         (FPE_FLTINV): Likewise.
38914         (FPE_FLTSUB): Likewise.
38915         (SEGV_MAPERR): Likewise.
38916         (SEGV_ACCERR): Likewise.
38917         (BUS_ADRALN): Likewise.
38918         (BUS_ADRERR): Likewise.
38919         (BUS_OBJERR): Likewise.
38920         (BUS_MCEERR_AR): Likewise.
38921         (BUS_MCEERR_AO): Likewise.
38922         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38923         (TRAP_TRACE): Likewise.
38924         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38925         __USE_XOPEN2K8].
38926         (CLD_KILLED): Likewise.
38927         (CLD_DUMPED): Likewise.
38928         (CLD_TRAPPED): Likewise.
38929         (CLD_STOPPED): Likewise.
38930         (CLD_CONTINUED): Likewise.
38931         (POLL_IN): Likewise.
38932         (POLL_OUT): Likewise.
38933         (POLL_MSG): Likewise.
38934         (POLL_ERR): Likewise.
38935         (POLL_PRI): Likewise.
38936         (POLL_HUP): Likewise.
38937         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38938         (ILL_ILLOPN): Likewise.
38939         (ILL_ILLADR): Likewise.
38940         (ILL_ILLTRP): Likewise.
38941         (ILL_PRVOPC): Likewise.
38942         (ILL_PRVREG): Likewise.
38943         (ILL_COPROC): Likewise.
38944         (ILL_BADSTK): Likewise.
38945         (ILL_DBLFLT): Likewise.
38946         (ILL_HARDWALL): Likewise.
38947         (FPE_INTDIV): Likewise.
38948         (FPE_INTOVF): Likewise.
38949         (FPE_FLTDIV): Likewise.
38950         (FPE_FLTOVF): Likewise.
38951         (FPE_FLTUND): Likewise.
38952         (FPE_FLTRES): Likewise.
38953         (FPE_FLTINV): Likewise.
38954         (FPE_FLTSUB): Likewise.
38955         (SEGV_MAPERR): Likewise.
38956         (SEGV_ACCERR): Likewise.
38957         (BUS_ADRALN): Likewise.
38958         (BUS_ADRERR): Likewise.
38959         (BUS_OBJERR): Likewise.
38960         (BUS_MCEERR_AR): Likewise.
38961         (BUS_MCEERR_AO): Likewise.
38962         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38963         (TRAP_TRACE): Likewise.
38964         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38965         __USE_XOPEN2K8].
38966         (CLD_KILLED): Likewise.
38967         (CLD_DUMPED): Likewise.
38968         (CLD_TRAPPED): Likewise.
38969         (CLD_STOPPED): Likewise.
38970         (CLD_CONTINUED): Likewise.
38971         (POLL_IN): Likewise.
38972         (POLL_OUT): Likewise.
38973         (POLL_MSG): Likewise.
38974         (POLL_ERR): Likewise.
38975         (POLL_PRI): Likewise.
38976         (POLL_HUP): Likewise.
38977         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38978         (ILL_ILLOPN): Likewise.
38979         (ILL_ILLADR): Likewise.
38980         (ILL_ILLTRP): Likewise.
38981         (ILL_PRVOPC): Likewise.
38982         (ILL_PRVREG): Likewise.
38983         (ILL_COPROC): Likewise.
38984         (ILL_BADSTK): Likewise.
38985         (FPE_INTDIV): Likewise.
38986         (FPE_INTOVF): Likewise.
38987         (FPE_FLTDIV): Likewise.
38988         (FPE_FLTOVF): Likewise.
38989         (FPE_FLTUND): Likewise.
38990         (FPE_FLTRES): Likewise.
38991         (FPE_FLTINV): Likewise.
38992         (FPE_FLTSUB): Likewise.
38993         (SEGV_MAPERR): Likewise.
38994         (SEGV_ACCERR): Likewise.
38995         (BUS_ADRALN): Likewise.
38996         (BUS_ADRERR): Likewise.
38997         (BUS_OBJERR): Likewise.
38998         (BUS_MCEERR_AR): Likewise.
38999         (BUS_MCEERR_AO): Likewise.
39000         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39001         (TRAP_TRACE): Likewise.
39002         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39003         __USE_XOPEN2K8].
39004         (CLD_KILLED): Likewise.
39005         (CLD_DUMPED): Likewise.
39006         (CLD_TRAPPED): Likewise.
39007         (CLD_STOPPED): Likewise.
39008         (CLD_CONTINUED): Likewise.
39009         (POLL_IN): Likewise.
39010         (POLL_OUT): Likewise.
39011         (POLL_MSG): Likewise.
39012         (POLL_ERR): Likewise.
39013         (POLL_PRI): Likewise.
39014         (POLL_HUP): Likewise.
39015         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39016         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39018         [BZ #16670]
39019         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39020         before #include of <time.h>.
39021         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39022         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39023         (test-xfail-UNIX98/sched.h/conform): Likewise.
39025 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39027         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39028         error absence of trapping exception support.
39029         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39031 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39033         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39034         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39035         * timezone/Makefile (testdata): Move definition above include of
39036         Rules.
39037         (test-zones): New variable.
39038         (tests-special): Add zone files.
39039         (build-testdata): Use $(evaluate-test).
39041         * elf/Makefile (tests-special): Rename tests to end with .out.
39042         ($(objpfx)noload-mem): Likewise.
39043         ($(objpfx)tst-leaks1-mem): Likewise.
39044         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39045         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39046         $(objpfx)test-iconvconfig.out.
39047         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39048         set -e inside subshell and redirect output to file.
39049         * iconvdata/Makefile (generated): Rename tests to end with .out.
39050         Correct type.
39051         (tests-special): Rename tests to end with .out.
39052         ($(objpfx)mtrace-tst-loading): Likewise.
39053         * intl/Makefile (generated): Likewise.
39054         (tests-special): Likewise.
39055         ($(objpfx)mtrace-tst-gettext): Likewise.
39056         * misc/Makefile (generated): Likewise.
39057         (tests-special): Likewise.
39058         ($(objpfx)tst-error1-mem): Likewise.
39059         * nptl/Makefile (tests-special): Likewise.
39060         ($(objpfx)tst-stack3-mem): Likewise.
39061         (generated): Likewise.
39062         * posix/Makefile (generated): Likewise.
39063         (tests-special): Likewise.
39064         (xtests-special): Likewise.
39065         ($(objpfx)tst-fnmatch-mem): Likewise.
39066         ($(objpfx)bug-regex2-mem): Likewise.
39067         ($(objpfx)bug-regex14-mem): Likewise.
39068         ($(objpfx)bug-regex21-mem): Likewise.
39069         ($(objpfx)bug-regex31-mem): Likewise.
39070         ($(objpfx)tst-vfork3-mem): Likewise.
39071         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39072         ($(objpfx)tst-pcre-mem): Likewise.
39073         ($(objpfx)tst-boost-mem): Likewise.
39074         ($(objpfx)bug-ga2-mem): Likewise.
39075         ($(objpfx)bug-glob2-mem): Likewise.
39076         * resolv/Makefile (generate): Likewise.
39077         (tests-special): Likewise.
39078         (xtests-special): Likewise.
39079         (generated): Likewise.
39080         ($(objpfx)mtrace-tst-leaks): Likewise.
39081         ($(objpfx)mtrace-tst-leaks2): Likewise.
39083         * scripts/merge-test-results.sh: New file.
39084         * Makefile (tests-special-notdir): New variable.
39085         (tests): Run merge-test-results.sh.
39086         (xtests): Likewise.
39087         * Rules (tests-special-notdir): New variable.
39088         (xtests-special-notdir): Likewise.
39089         (tests): Run merge-test-results.sh
39090         (xtests): Likewise.
39092         * Makeconfig (test-xfail-name): New variable.
39093         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39094         compute variable name for expected failures.
39095         * conform/Makefile (conformtest-headers-data): New variable.
39096         (conformtest-standards): Likewise.
39097         (conformtest-headers-ISO): Likewise.
39098         (conformtest-headers-ISO99): Likewise.
39099         (conformtest-headers-ISO11): Likewise.
39100         (conformtest-headers-POSIX): Likewise.
39101         (conformtest-headers-XPG3): Likewise.
39102         (conformtest-headers-XPG4): Likewise.
39103         (conformtest-headers-UNIX98): Likewise.
39104         (conformtest-headers-XOPEN2K): Likewise.
39105         (conformtest-headers-POSIX2008): Likewise.
39106         (conformtest-headers-XOPEN2K8): Likewise.
39107         (conformtest-header-list-base): Likewise.
39108         (conformtest-header-list-tests): Likewise.
39109         (conformtest-header-base): Likewise.
39110         (conformtest-header-tests): Likewise.
39111         (tests-special): Add $(conformtest-header-list-tests).  If
39112         [$(fast-check) && !$(cross-compiling)], add
39113         $(conformtest-header-tests) instead of
39114         $(objpfx)run-conformtest.out.
39115         (generated): Add $(conformtest-header-list-base).  If
39116         [$(fast-check) && !$(cross-compiling)], add
39117         $(conformtest-header-base).  Remove previous setting.
39118         ($(conformtest-header-list-tests)): New target.
39119         (test-xfail-run-conformtest): Remove variable.
39120         ($(objpfx)run-conformtest.out): Remove target.
39121         (test-xfail-ISO11/complex.h/conform): New variable.
39122         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39123         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39124         (test-xfail-XPG3/varargs.h/conform): Likewise.
39125         (test-xfail-XPG4/varargs.h/conform): Likewise.
39126         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39127         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39128         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39129         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39130         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39131         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39132         (test-xfail-XPG3/ftw.h/conform): Likewise.
39133         (test-xfail-XPG3/grp.h/conform): Likewise.
39134         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39135         (test-xfail-XPG3/limits.h/conform): Likewise.
39136         (test-xfail-XPG3/pwd.h/conform): Likewise.
39137         (test-xfail-XPG3/search.h/conform): Likewise.
39138         (test-xfail-XPG3/signal.h/conform): Likewise.
39139         (test-xfail-XPG3/stdio.h/conform): Likewise.
39140         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39141         (test-xfail-XPG3/string.h/conform): Likewise.
39142         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39143         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39144         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39145         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39146         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39147         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39148         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39149         (test-xfail-XPG3/termios.h/conform): Likewise.
39150         (test-xfail-XPG3/time.h/conform): Likewise.
39151         (test-xfail-XPG3/unistd.h/conform): Likewise.
39152         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39153         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39154         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39155         (test-xfail-XPG4/netdb.h/conform): Likewise.
39156         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39157         (test-xfail-XPG4/signal.h/conform): Likewise.
39158         (test-xfail-XPG4/stdio.h/conform): Likewise.
39159         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39160         (test-xfail-XPG4/stropts.h/conform): Likewise.
39161         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39162         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39163         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39164         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39165         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39166         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39167         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39168         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39169         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39170         (test-xfail-XPG4/termios.h/conform): Likewise.
39171         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39172         (test-xfail-XPG4/unistd.h/conform): Likewise.
39173         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39174         (test-xfail-POSIX/sched.h/conform): Likewise.
39175         (test-xfail-POSIX/signal.h/conform): Likewise.
39176         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39177         (test-xfail-POSIX/tar.h/conform): Likewise.
39178         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39179         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39180         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39181         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39182         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39183         (test-xfail-UNIX98/sched.h/conform): Likewise.
39184         (test-xfail-UNIX98/signal.h/conform): Likewise.
39185         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39186         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39187         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39188         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39189         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39190         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39191         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39192         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39193         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39194         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39195         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39196         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39197         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39198         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39199         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39200         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39201         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39202         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39203         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39204         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39205         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39206         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39207         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39208         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39209         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39210         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39211         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39212         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39213         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39214         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39215         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39216         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39217         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39218         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39219         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39220         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39221         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39222         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39223         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39224         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39225         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39226         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39227         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39228         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39229         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39230         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39231         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39232         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39233         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39234         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39235         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39236         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39237         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39238         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39239         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39240         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39241         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39242         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39243         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39244         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39245         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39246         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39247         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39248         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39249         (conformtest-cc-flags): Likewise.
39250         ($(conformtest-header-tests): New target.
39251         * conform/check-header-lists.sh: New file.
39252         * conform/run-conformtest.sh: Remove.
39254         * conform/conformtest.pl: Allow ' and \ in values given for
39255         constants.
39256         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39257         inclusion.
39258         [POSIX] (sys/types.h): Likewise.
39259         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39260         inclusion.
39261         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39262         inclusion.
39263         * conform/data/signal.h-data (SIGIO): Remove expectation.
39264         [XPG3] (SIGBUS): Do not expect.
39265         [POSIX || XPG3] (SIGPOLL): Likewise.
39266         [POSIX || XPG3] (SIGPROF): Likewise.
39267         [POSIX || XPG3] (SIGSYS): Likewise.
39268         [XPG3] (SIGTRAP): Likewise.
39269         [POSIX || XPG3] (SIGURG): Likewise.
39270         [POSIX || XPG3] (SIGVTALRM): Likewise.
39271         [POSIX || XPG3] (SIGXCPU): Likewise.
39272         [POSIX || XPG3] (SIGXFSZ): Likewise.
39273         [POSIX] (SA_SIGINFO): Expect.
39274         [XPG3] (siginfo_t): Do not expect type or contents.
39275         [POSIX] (si_pid): Do not expect element.
39276         [POSIX] (si_uid): Likewise.
39277         [POSIX] (si_addr): Likewise.
39278         [POSIX] (si_status): Likewise.
39279         [POSIX] (si_band): Likewise.
39280         [XPG4] (si_value): Likewise.
39281         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39282         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39283         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39284         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39285         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39286         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39287         [POSIX || XPG3] (ILL_COPROC): Likewise.
39288         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39289         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39290         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39291         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39292         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39293         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39294         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39295         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39296         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39297         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39298         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39299         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39300         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39301         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39302         [POSIX || XPG3] (CLD_EXITED): Likewise.
39303         [POSIX || XPG3] (CLD_KILLED): Likewise.
39304         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39305         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39306         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39307         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39308         [POSIX || XPG3] (POLL_IN): Likewise.
39309         [POSIX || XPG3] (POLL_OUT): Likewise.
39310         [POSIX || XPG3] (POLL_MSG): Likewise.
39311         [POSIX || XPG3] (POLL_ERR): Likewise.
39312         [POSIX || XPG3] (POLL_PRI): Likewise.
39313         [POSIX || XPG3] (POLL_HUP): Likewise.
39314         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39315         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39316         (SIG*): Do not allow.
39317         [XPG3] (si_*): Likewise.
39318         [XPG3] (SI_*): Likewise.
39319         [XPG3 || XPG4] (sigev_*): Likewise.
39320         [XPG3 || XPG4] (SIGEV_*): Likewise.
39321         [XPG3 || XPG4] (sival_*): Likewise.
39322         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39323         [POSIX || XPG3] (BUS_*): Likewise.
39324         [POSIX || XPG3] (CLD_*): Likewise.
39325         [POSIX || XPG3] (FPE_*): Likewise.
39326         [POSIX || XPG3] (ILL_*): Likewise.
39327         [POSIX || XPG3] (POLL_*): Likewise.
39328         [POSIX || XPG3] (SEGV_*): Likewise.
39329         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39330         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39331         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39332         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39333         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39334         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39335         Specify type and value.
39336         (TVERSLEN): Likewise.
39337         (REGTYPE): Likewise.
39338         (AREGTYPE): Likewise.
39339         (LNKTYPE): Likewise.
39340         (SYMTYPE): Likewise.
39341         (CHRTYPE): Likewise.
39342         (BLKTYPE): Likewise.
39343         (DIRTYPE): Likewise.
39344         (FIFOTYPE): Likewise.
39345         (CONTTYPE): Likewise.
39346         (TSUID): Likewise.
39347         (TSGID): Likewise.
39348         (TSVTX): Likewise.
39349         (TUREAD): Likewise.
39350         (TUWRITE): Likewise.
39351         (TUEXEC): Likewise.
39352         (TGREAD): Likewise.
39353         (TGWRITE): Likewise.
39354         (TGEXEC): Likewise.
39355         (TOREAD): Likewise.
39356         (TOWRITE): Likewise.
39357         (TOEXEC): Likewise.
39358         [POSIX] (TSVTX): Expect constant.
39360 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39362         * Makefile (tests): Change dependencies to ....
39363         (tests-special): ... additions to this variable.
39364         (tests): Depend on $(tests-special).
39365         * Makerules (check-abi-list): New variable.
39366         (check-abi): Depend on $(check-abi-list).
39367         [$(subdir) = elf] (tests-special): Add
39368         $(objpfx)check-abi-libc.out.
39369         [$(build-shared) = yes && subdir] (tests-special): Add
39370         $(check-abi-list).
39371         [$(build-shared) = yes && subdir] (tests): Do not depend on
39372         check-abi.
39373         * Rules (tests): Depend on $(tests-special).
39374         (xtests): Depend on $(xtests-special).
39375         * catgets/Makefile (tests): Change dependencies to ....
39376         (tests-special): ... additions to this variable.
39377         * conform/Makefile (tests): Change dependencies to ....
39378         (tests-special): ... additions to this variable.
39379         * elf/Makefile (tests): Change dependencies to ....
39380         (tests-special): ... additions to this variable.
39381         * grp/Makefile (tests): Change dependencies to ....
39382         (tests-special): ... additions to this variable.
39383         * iconv/Makefile (xtests): Change dependencies to ....
39384         (xtests-special): ... additions to this variable.
39385         * iconvdata/Makefile (tests): Change dependencies to ....
39386         (tests-special): ... additions to this variable.
39387         * intl/Makefile (tests): Change dependencies to ....
39388         (tests-special): ... additions to this variable.  Also add
39389         $(objpfx)tst-gettext.out.
39390         * io/Makefile (tests): Change dependencies to ....
39391         (tests-special): ... additions to this variable.
39392         * libio/Makefile (tests): Change dependencies to ....
39393         (tests-special): ... additions to this variable.
39394         * malloc/Makefile (tests): Change dependencies to ....
39395         (tests-special): ... additions to this variable.
39396         * misc/Makefile (tests): Change dependencies to ....
39397         (tests-special): ... additions to this variable.
39398         * nptl/Makefile (tests): Change dependencies to ....
39399         (tests-special): ... additions to this variable.
39400         * nptl_db/Makefile (tests): Change dependencies to ....
39401         (tests-special): ... additions to this variable.
39402         * posix/Makefile (tests): Change dependencies to ....
39403         (tests-special): ... additions to this variable.
39404         (xtests): Change dependencies to ....
39405         (xtests-special): ... additions to this variable.
39406         * resolv/Makefile (tests): Change dependencies to ....
39407         (tests-special): ... additions to this variable.
39408         (xtests): Change dependencies to ....
39409         (xtests-special): ... additions to this variable.
39410         * stdio-common/Makefile (tests): Change dependencies to ....
39411         (tests-special): ... additions to this variable.
39412         (do-tst-unbputc): Remove target.
39413         (do-tst-printf): Likewise.
39414         * stdlib/Makefile (tests): Change dependencies to ....
39415         (tests-special): ... additions to this variable.
39416         * string/Makefile (tests): Change dependencies to ....
39417         (tests-special): ... additions to this variable.
39418         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39419         (tests-special): ... additions to this variable.
39421         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39422         whole file.
39423         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39424         whole file.
39425         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39426         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39428         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39429         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39430         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39431         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39432         * conform/data/libgen.h-data [XPG3]: Likewise.
39433         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39434         * conform/data/ndbm.h-data [XPG3]: Likewise.
39435         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39436         * conform/data/netdb.h-data [XPG3]: Likewise.
39437         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39438         * conform/data/poll.h-data [XPG3]: Likewise.
39439         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39440         * conform/data/strings.h-data [XPG3]: Likewise.
39441         * conform/data/stropts.h-data [XPG3]: Likewise.
39442         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39443         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39444         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39445         Likewise.
39446         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39447         * conform/data/sys/time.h-data [XPG3]: Likewise.
39448         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39449         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39450         * conform/data/sys/un.h-data [XPG3]: Likewise.
39451         * conform/data/syslog.h-data [XPG3]: Likewise.
39452         * conform/data/ucontext.h-data [XPG3]: Likewise.
39453         * conform/data/utmpx.h-data [XPG3]: Likewise.
39454         * conform/data/varargs.h-data [UNIX98]: Enable file.
39456         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39458         * math/libm-test.inc (struct test_f_f_data): Move expected results
39459         into structure for each rounding mode.
39460         (struct test_ff_f_data): Likewise.
39461         (struct test_ff_f_data_nexttoward): Likewise.
39462         (struct test_fi_f_data): Likewise.
39463         (struct test_fl_f_data): Likewise.
39464         (struct test_if_f_data): Likewise.
39465         (struct test_fff_f_data): Likewise.
39466         (struct test_c_f_data): Likewise.
39467         (struct test_f_f1_data): Likewise.
39468         (struct test_fF_f1_data): Likewise.
39469         (struct test_ffI_f1_data): Likewise.
39470         (struct test_c_c_data): Likewise.
39471         (struct test_cc_c_data): Likewise.
39472         (struct test_f_i_data): Likewise.
39473         (struct test_ff_i_data): Likewise.
39474         (struct test_f_l_data): Likewise.
39475         (struct test_f_L_data): Likewise.
39476         (struct test_fFF_11_data): Likewise.
39477         (RM_): New macro.
39478         (RM_FE_DOWNWARD): Likewise.
39479         (RM_FE_TONEAREST): Likewise.
39480         (RM_FE_TOWARDZERO): Likewise.
39481         (RM_FE_UPWARD): Likewise.
39482         (RUN_TEST_LOOP_f_f): Update references to expected results.
39483         (RUN_TEST_LOOP_2_f): Likewise.
39484         (RUN_TEST_LOOP_fff_f): Likewise.
39485         (RUN_TEST_LOOP_c_f): Likewise.
39486         (RUN_TEST_LOOP_f_f1): Likewise.
39487         (RUN_TEST_LOOP_fF_f1): Likewise.
39488         (RUN_TEST_LOOP_fI_f1): Likewise.
39489         (RUN_TEST_LOOP_ffI_f1): Likewise.
39490         (RUN_TEST_LOOP_c_c): Likewise.
39491         (RUN_TEST_LOOP_cc_c): Likewise.
39492         (RUN_TEST_LOOP_f_i): Likewise.
39493         (RUN_TEST_LOOP_f_i_tg): Likewise.
39494         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39495         (RUN_TEST_LOOP_f_b): Likewise.
39496         (RUN_TEST_LOOP_f_b_tg): Likewise.
39497         (RUN_TEST_LOOP_f_l): Likewise.
39498         (RUN_TEST_LOOP_f_L): Likewise.
39499         (RUN_TEST_LOOP_fFF_11): Likewise.
39500         * math/gen-libm-test.pl (parse_args): Output four copies of
39501         expected results for each test.
39503         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39504         (__ASSUME_UTIMES): Remove.
39505         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39506         (__ASSUME_UTIMES): Likewise.
39508         * math/gen-auto-libm-tests.c: Update comment on output format.
39509         (output_for_one_input_case): Generate before-rounding and
39510         after-rounding information as conditions on output flags not
39511         floating-point format.
39512         * math/auto-libm-test-out: Regenerated.
39513         * math/gen-libm-test.pl (cond_value): New function.
39514         (or_cond_value): Use cond_value.
39515         (generate_testfile): Handle conditional exceptions.
39517 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39519         * math/libm-test.inc (max_valid_error): New variable.
39520         (init_max_error): Take new argument specifying whether function
39521         results are exactly determined.  Set max_valid_error and bound
39522         other variables for errors based on this argument.
39523         (set_max_error): Do not record results above max_valid_error.
39524         (check_float_internal): Only accept errors of up to 0.5ulps if
39525         also at most max_valid_error.
39526         (START): Take new argument EXACT and pass it to init_max_error.
39527         (acos_test): Update call to START.
39528         (acos_test_tonearest): Likewise.
39529         (acos_test_towardzero): Likewise.
39530         (acos_test_downward): Likewise.
39531         (acos_test_upward): Likewise.
39532         (acosh_test): Likewise.
39533         (asin_test): Likewise.
39534         (asin_test_tonearest): Likewise.
39535         (asin_test_towardzero): Likewise.
39536         (asin_test_downward): Likewise.
39537         (asin_test_upward): Likewise.
39538         (asinh_test): Likewise.
39539         (atan_test): Likewise.
39540         (atanh_test): Likewise.
39541         (atan2_test): Likewise.
39542         (cabs_test): Likewise.
39543         (cacos_test): Likewise.
39544         (cacosh_test): Likewise.
39545         (carg_test): Likewise.
39546         (casin_test): Likewise.
39547         (casinh_test): Likewise.
39548         (catan_test): Likewise.
39549         (catanh_test): Likewise.
39550         (cbrt_test): Likewise.
39551         (ccos_test): Likewise.
39552         (ccosh_test): Likewise.
39553         (ceil_test): Likewise.
39554         (cexp_test): Likewise.
39555         (cimag_test): Likewise.
39556         (clog_test): Likewise.
39557         (clog10_test): Likewise.
39558         (conj_test): Likewise.
39559         (copysign_test): Likewise.
39560         (cos_test): Likewise.
39561         (cos_test_tonearest): Likewise.
39562         (cos_test_towardzero): Likewise.
39563         (cos_test_downward): Likewise.
39564         (cos_test_upward): Likewise.
39565         (cosh_test): Likewise.
39566         (cosh_test_tonearest): Likewise.
39567         (cosh_test_towardzero): Likewise.
39568         (cosh_test_downward): Likewise.
39569         (cosh_test_upward): Likewise.
39570         (cpow_test): Likewise.
39571         (cproj_test): Likewise.
39572         (creal_test): Likewise.
39573         (csin_test): Likewise.
39574         (csinh_test): Likewise.
39575         (csqrt_test): Likewise.
39576         (ctan_test): Likewise.
39577         (ctan_test_tonearest): Likewise.
39578         (ctan_test_towardzero): Likewise.
39579         (ctan_test_downward): Likewise.
39580         (ctan_test_upward): Likewise.
39581         (ctanh_test): Likewise.
39582         (ctanh_test_tonearest): Likewise.
39583         (ctanh_test_towardzero): Likewise.
39584         (ctanh_test_downward): Likewise.
39585         (ctanh_test_upward): Likewise.
39586         (erf_test): Likewise.
39587         (erfc_test): Likewise.
39588         (exp_test): Likewise.
39589         (exp_test_tonearest): Likewise.
39590         (exp_test_towardzero): Likewise.
39591         (exp_test_downward): Likewise.
39592         (exp_test_upward): Likewise.
39593         (exp10_test): Likewise.
39594         (exp10_test_tonearest): Likewise.
39595         (exp10_test_towardzero): Likewise.
39596         (exp10_test_downward): Likewise.
39597         (exp10_test_upward): Likewise.
39598         (pow10_test): Likewise.
39599         (exp2_test): Likewise.
39600         (expm1_test): Likewise.
39601         (expm1_test_tonearest): Likewise.
39602         (expm1_test_towardzero): Likewise.
39603         (expm1_test_downward): Likewise.
39604         (expm1_test_upward): Likewise.
39605         (fabs_test): Likewise.
39606         (fdim_test): Likewise.
39607         (floor_test): Likewise.
39608         (fma_test): Likewise.
39609         (fma_test_towardzero): Likewise.
39610         (fma_test_downward): Likewise.
39611         (fma_test_upward): Likewise.
39612         (fmax_test): Likewise.
39613         (fmin_test): Likewise.
39614         (fmod_test): Likewise.
39615         (fpclassify_test): Likewise.
39616         (frexp_test): Likewise.
39617         (hypot_test): Likewise.
39618         (ilogb_test): Likewise.
39619         (isfinite_test): Likewise.
39620         (finite_test): Likewise.
39621         (isgreater_test): Likewise.
39622         (isgreaterequal_test): Likewise.
39623         (isinf_test): Likewise.
39624         (isless_test): Likewise.
39625         (islessequal_test): Likewise.
39626         (islessgreater_test): Likewise.
39627         (isnan_test): Likewise.
39628         (isnormal_test): Likewise.
39629         (issignaling_test): Likewise.
39630         (isunordered_test): Likewise.
39631         (j0_test): Likewise.
39632         (j1_test): Likewise.
39633         (jn_test): Likewise.
39634         (ldexp_test): Likewise.
39635         (lgamma_test): Likewise.
39636         (gamma_test): Likewise.
39637         (lrint_test): Likewise.
39638         (lrint_test_tonearest): Likewise.
39639         (lrint_test_towardzero): Likewise.
39640         (lrint_test_downward): Likewise.
39641         (lrint_test_upward): Likewise.
39642         (llrint_test): Likewise.
39643         (llrint_test_tonearest): Likewise.
39644         (llrint_test_towardzero): Likewise.
39645         (llrint_test_downward): Likewise.
39646         (llrint_test_upward): Likewise.
39647         (log_test): Likewise.
39648         (log10_test): Likewise.
39649         (log1p_test): Likewise.
39650         (log2_test): Likewise.
39651         (logb_test): Likewise.
39652         (logb_test_downward): Likewise.
39653         (lround_test): Likewise.
39654         (llround_test): Likewise.
39655         (modf_test): Likewise.
39656         (nearbyint_test): Likewise.
39657         (nextafter_test): Likewise.
39658         (nexttoward_test): Likewise.
39659         (pow_test): Likewise.
39660         (pow_test_tonearest): Likewise.
39661         (pow_test_towardzero): Likewise.
39662         (pow_test_downward): Likewise.
39663         (pow_test_upward): Likewise.
39664         (remainder_test): Likewise.
39665         (drem_test): Likewise.
39666         (remainder_test_tonearest): Likewise.
39667         (drem_test_tonearest): Likewise.
39668         (remainder_test_towardzero): Likewise.
39669         (drem_test_towardzero): Likewise.
39670         (remainder_test_downward): Likewise.
39671         (drem_test_downward): Likewise.
39672         (remainder_test_upward): Likewise.
39673         (drem_test_upward): Likewise.
39674         (remquo_test): Likewise.
39675         (rint_test): Likewise.
39676         (rint_test_tonearest): Likewise.
39677         (rint_test_towardzero): Likewise.
39678         (rint_test_downward): Likewise.
39679         (rint_test_upward): Likewise.
39680         (round_test): Likewise.
39681         (scalb_test): Likewise.
39682         (scalbn_test): Likewise.
39683         (scalbln_test): Likewise.
39684         (signbit_test): Likewise.
39685         (sin_test): Likewise.
39686         (sin_test_tonearest): Likewise.
39687         (sin_test_towardzero): Likewise.
39688         (sin_test_downward): Likewise.
39689         (sin_test_upward): Likewise.
39690         (sincos_test): Likewise.
39691         (sinh_test): Likewise.
39692         (sinh_test_tonearest): Likewise.
39693         (sinh_test_towardzero): Likewise.
39694         (sinh_test_downward): Likewise.
39695         (sinh_test_upward): Likewise.
39696         (sqrt_test): Likewise.
39697         (sqrt_test_tonearest): Likewise.
39698         (sqrt_test_towardzero): Likewise.
39699         (sqrt_test_downward): Likewise.
39700         (sqrt_test_upward): Likewise.
39701         (tan_test): Likewise.
39702         (tan_test_tonearest): Likewise.
39703         (tan_test_towardzero): Likewise.
39704         (tan_test_downward): Likewise.
39705         (tan_test_upward): Likewise.
39706         (tanh_test): Likewise.
39707         (tgamma_test): Likewise.
39708         (trunc_test): Likewise.
39709         (y0_test): Likewise.
39710         (y1_test): Likewise.
39711         (yn_test): Likewise.
39712         (significand_test): Likewise.
39714         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39715         individual tests in comment.
39716         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39717         (prev_max_error): New variable.
39718         (prev_real_max_error): Likewise.
39719         (prev_imag_max_error): Likewise.
39720         (compare_ulp_data): Don't refer to test names in comment.
39721         (find_test_ulps): Remove function.
39722         (find_function_ulps): Likewise.
39723         (find_complex_function_ulps): Likewise.
39724         (init_max_error): Take function name as argument.  Look up ulps
39725         for that function.
39726         (print_ulps): Remove function.
39727         (print_max_error): Use prev_max_error instead of calling
39728         find_function_ulps.
39729         (print_complex_max_error): Use prev_real_max_error and
39730         prev_imag_max_error instead of calling find_complex_function_ulps.
39731         (check_float_internal): Take max_ulp parameter instead of calling
39732         find_test_ulps.  Don't call print_ulps.
39733         (check_float): Update call to check_float_internal.
39734         (check_complex): Update calls to check_float_internal.
39735         (START): Pass argument to init_max_error.
39736         * math/gen-libm-test.pl (%results): Don't include "kind"
39737         information.
39738         (parse_ulps): Don't handle ulps of individual tests.
39739         (print_ulps_file): Likewise.
39740         (output_ulps): Likewise.
39741         * math/README.libm-test: Update.
39742         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39743         individual tests.
39744         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39745         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39746         * sysdeps/arm/libm-test-ulps: Likewise.
39747         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39748         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39749         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39750         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39751         * sysdeps/microblaze/libm-test-ulps: Likewise.
39752         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39753         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39754         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39755         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39756         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39757         * sysdeps/sh/libm-test-ulps: Likewise.
39758         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39759         * sysdeps/tile/libm-test-ulps: Likewise.
39760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39762 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39764         * math/libm-test.inc (print_complex_max_error): Check separately
39765         whether real and imaginary errors are within allowed range and
39766         pass 0 to print_complex_function_ulps instead of value within
39767         allowed range.
39769 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39771         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39772         formatting.
39773         (get_handles_fopen): Likewise.
39774         (do_write_test): Likewise.
39776         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39778         * libio/fileops.c (do_ftell): Use cached offset when
39779         available.
39780         * libio/iofwide.c (do_ftell_wide): Likewise.
39781         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39782         _IO_file_attach.
39783         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39785         [BZ #16532]
39786         * libio/libioP.h (get_file_offset): New function.
39787         * libio/fileops.c (get_file_offset): Likewise.
39788         (do_ftell): Likewise.
39789         (_IO_new_file_seekoff): Split out ftell logic.
39790         * libio/wfileops.c (do_ftell_wide): Likewise.
39791         (_IO_wfile_seekoff): Split out ftell logic.
39792         * libio/tst-ftell-active-handler.c: New test case.
39793         * libio/Makefile (tests): Add it.
39795 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39797         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39798         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39800 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39802         [BZ #16639]
39803         * nscd/connections.c (nscd_init): Call do_exit.
39804         (start_threads): Call do_exit and notify_parent.
39805         (begin_drop_privileges): Call do_exit.
39806         (finish_drop_privileges): Likewise.
39807         * nscd/selinux.c (preserve_capabilities): Likewise.
39808         (install_real_capabilities): Likewise.
39809         (nscd_selinux_enabled): Likewise.
39810         (avc_create_thread): Likewise.
39811         (avc_alloc_lock): Likewise.
39812         (nscd_avc_init): Likewise.
39813         * nscd/nscd.c (parent_fd): New static variable.
39814         (main): Create a pipe between parent and child processes.
39815         Skip closing parent_fd.
39816         (monitor_child): New function.
39817         (do_exit): Likewise.
39818         (notify_parent): Likewise.
39819         * nscd/nscd.h (notify_parent): Likewise.
39820         (do_exit): Likewise.
39822 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39824         * malloc/malloc.c (__libc_calloc): Revert last change.
39826 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39830 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39832         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39833         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39834         implementation.
39835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39836         (__libc_ifunc_impl_list): Likewise.
39837         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39838         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39839         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39840         * string/strrchr.c: Define STRRCHR.
39842 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39844         * benchtest/bench-strtok.c (simple_strtok): Delete.
39845         (strtok_string): Use as benchmark.
39846         * string/strtok (STRTOK): New macro.
39848 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39850         * manual/threads.texi: Add header and standard comments to all
39851         functions.
39853         * elf/dl-lookup.c (check_match): New function.
39854         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39855         (do_lookup_x): Remove nested function check_match. Use non-nested
39856         function check_match.
39858 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39860         * csu/Makefile (generated, before-compile): Use += rather than =.
39861         * catgets/Makefile (generated, generated-dirs): Likewise.
39862         * debug/Makefile (generated): Likewise.
39863         * dlfcn/Makefile (generated): Likewise.
39864         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39865         * iconvdata/Makefile (before-compile, generated): Likewise.
39866         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39867         * libio/Makefile (generated): Likewise.
39868         * malloc/Makefile (generated): Likewise.
39869         * manual/Makefile (generated, generated-dirs): Likewise.
39870         * misc/Makefile (generated): Likewise.
39871         * posix/Makefile (generated): Likewise.
39872         * resolv/Makefile (generated): Likewise.
39873         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39874         * timezone/Makefile (generated, generated-dirs): Likewise.
39876         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39878 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39880         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39881         power8 implementation.
39882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39883         file: POWER8 llround ifunc implementation.
39884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39885         (__lllround): Add POWER8 implementation.
39886         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39887         POWER8 llround implementation.
39889         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39890         power8 implementation.
39891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39892         file: POWER8 llrint ifunc implementation.
39893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39894         Add POWER8 implementation.
39895         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39896         POWER8 llrint implementation.
39898         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39899         power8 implementation.
39900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39901         file: POWER8 finite ifunc implementation.
39902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39903         Add POWER8 implementation.
39904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39905         Likewise.
39906         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39907         POWER8 finite implementation.
39908         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39910         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39911         power8 implementation.
39912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39913         file: POWER8 isinf ifunc implementation.
39914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39915         POWER8 implementation.
39916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39917         Likewise.
39918         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39919         isinf implementation.
39920         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39922         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39923         (INIT_ARCH): Add hwcap2 initialization.
39924         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39925         power8 implementation.
39926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39927         file: POWER8 isnan ifunc implementation.
39928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39929         POWER8 implementation.
39930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39931         Likewise.
39932         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39933         isnan implementation.
39934         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39936 2014-02-27  Joey Ye  <joey.ye@arm.com>
39938         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39939         (_FP_NANFRAC_Q): Set to zero.
39941 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39943         [BZ #16623]
39944         * math/auto-libm-test-in: New test inputs.
39945         * math/auto-libm-test-out: Regenerate.
39946         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39947         and DA.
39948         (__cos): Likewise.
39949         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39951 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39953         * scripts/evaluate-test.sh: Take new argument indicating whether
39954         failure is expected.
39955         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39956         indicating whether failure is expected.
39957         * conform/Makefile (test-xfail-run-conformtest): New variable.
39958         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39959         level.
39960         * posix/Makefile (test-xfail-annexc): New variable.
39961         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39963 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39965         * argp/Makefile: Include Makeconfig immediately after defining
39966         subdir.
39967         * assert/Makefile: Likewise.
39968         * benchtests/Makefile: Likewise.
39969         * catgets/Makefile: Likewise.
39970         * conform/Makefile: Likewise.
39971         * crypt/Makefile: Likewise.
39972         * csu/Makefile: Likewise.
39973         (all): Remove target.
39974         * ctype/Makefile: Include Makeconfig immediately after defining
39975         subdir.
39976         * debug/Makefile: Likewise.
39977         * dirent/Makefile: Likewise.
39978         * dlfcn/Makefile: Likewise.
39979         * gmon/Makefile: Likewise.
39980         * gnulib/Makefile: Likewise.
39981         * grp/Makefile: Likewise.
39982         * gshadow/Makefile: Likewise.
39983         * hesiod/Makefile: Likewise.
39984         * hurd/Makefile: Likewise.
39985         (all): Remove target.
39986         * iconvdata/Makefile: Include Makeconfig immediately after
39987         defining subdir.
39988         * inet/Makefile: Likewise.
39989         * intl/Makefile: Likewise.
39990         * io/Makefile: Likewise.
39991         * libio/Makefile: Likewise.
39992         (all): Remove target.
39993         * locale/Makefile: Include Makeconfig immediately after defining
39994         subdir.
39995         * login/Makefile: Likewise.
39996         * mach/Makefile: Likewise.
39997         (all): Remove target.
39998         * malloc/Makefile: Include Makeconfig immediately after defining
39999         subdir.
40000         (all): Remove target.
40001         * manual/Makefile: Include Makeconfig immediately after defining
40002         subdir.
40003         * math/Makefile: Likewise.
40004         * misc/Makefile: Likewise.
40005         * nis/Makefile: Likewise.
40006         * nss/Makefile: Likewise.
40007         * po/Makefile: Likewise.
40008         (all): Remove target.
40009         * posix/Makefile: Include Makeconfig immediately after defining
40010         subdir.
40011         * pwd/Makefile: Likewise.
40012         * resolv/Makefile: Likewise.
40013         * resource/Makefile: Likewise.
40014         * rt/Makefile: Likewise.
40015         * setjmp/Makefile: Likewise.
40016         * shadow/Makefile: Likewise.
40017         * signal/Makefile: Likewise.
40018         * socket/Makefile: Likewise.
40019         * soft-fp/Makefile: Likewise.
40020         * stdio-common/Makefile: Likewise.
40021         * stdlib/Makefile: Likewise.
40022         * streams/Makefile: Likewise.
40023         * string/Makefile: Likewise.
40024         * sunrpc/Makefile: Likewise.
40025         (all): Remove target.
40026         * sysvipc/Makefile: Include Makeconfig immediately after defining
40027         subdir.
40028         * termios/Makefile: Likewise.
40029         * time/Makefile: Likewise.
40030         * timezone/Makefile: Likewise.
40031         (all): Remove target.
40032         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40033         subdir.
40034         * wctype/Makefile: Likewise.
40036 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40038         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40039         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40040         (libc_feholdexcept_setround_mips): Ditto.
40041         (libc_feholdsetround): New.
40042         (libc_feholdsetroundf): New.
40043         (libc_feholdsetroundl): New.
40044         (libc_feupdateenv_test_mips): New.
40045         (libc_feupdateenv_test): New.
40046         (libc_feupdateenv_testf): New.
40047         (libc_feupdateenv_testl): New.
40048         (libc_feresetround): New.
40049         (libc_feresetroundf): New.
40050         (libc_feresetroundl): New.
40051         (libc_fetestexcept_mips): New.
40052         (libc_fetestexcept): New.
40053         (libc_fetestexceptf): New.
40054         (libc_fetestexceptl): New.
40055         (HAVE_RM_CTX): New.
40056         (libc_feholdexcept_setround_mips_ctx): New.
40057         (libc_feholdexcept_setround_ctx): New.
40058         (libc_feholdexcept_setroundf_ctx): New.
40059         (libc_feholdexcept_setroundl_ctx): New.
40060         (libc_fesetenv_mips_ctx): New.
40061         (libc_fesetenv_ctx): New.
40062         (libc_fesetenv_ctxf): New.
40063         (libc_fesetenv_ctxl): New.
40064         (libc_feupdateenv_mips_ctx): New.
40065         (libc_feupdateenv_ctx): New.
40066         (libc_feupdateenvf_ctx): New.
40067         (libc_feupdateenvl_ctx): New.
40068         (libc_feholdsetround_mips_ctx): New.
40069         (libc_feholdsetround_ctx): New.
40070         (libc_feholdsetroundf_ctx): New.
40071         (libc_feholdsetroundl_ctx): New.
40072         (libc_feresetround_mips_ctx): New.
40073         (libc_feresetround_ctx): New.
40074         (libc_feresetroundf_ctx): New.
40075         (libc_feresetroundl_ctx): New.
40077 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40079         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40081         * manual/ipc.texi: New file.
40082         * manual/Makefile (chapters): Add ipc.
40083         * manual/job.texi: Add "Inter-Process Communication" to next.
40084         * manual/process.texi: Add "Inter-Process Communication" to prev.
40086 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40090 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40092         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40094         * manual/arith.texi: Fix spaces after sentences.
40095         * manual/charset.texi: Likewise.
40096         * manual/errno.texi: Likewise.
40097         * manual/install.texi: Likewise.
40098         * manual/llio.texi: Likewise.
40099         * manual/locale.texi: Likewise.
40100         * manual/maint.texi: Likewise.
40101         * manual/math.texi: Likewise.
40102         * manual/memory.texi: Likewise.
40103         * manual/message.texi: Likewise.
40104         * manual/probes.texi: Likewise.
40105         * manual/resource.texi: Likewise.
40106         * manual/signal.texi: Likewise.
40107         * manual/socket.texi: Likewise.
40108         * manual/stdio.texi: Likewise.
40109         * manual/string.texi: Likewise.
40110         * manual/time.texi: Likewise.
40111         * manual/users.texi: Likewise.
40113 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40115         [BZ #16632]
40116         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40117         _DEFAULT_SOURCE is defined.
40119 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40120             Carlos O'Donell  <carlos@redhat.com>
40122         [BZ #16613]
40123         * elf/dl-tls.c (_dl_count_modids): New function.
40124         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40125         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40126         audit library and increment generation counter.
40127         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40128         * elf/tst-audit9.c: New file.
40129         * elf/tst-auditmod9a.c: New file.
40130         * elf/tst-auditmod9b.c: New file.
40131         * elf/Makefile: Add rules to build and run tst-audit9.
40133 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40135         [BZ #15347]
40136         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40138 2014-02-25  Will Newton  <will.newton@linaro.org>
40140         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40141         (__longjmp): Restore sp and lr before restoring callee
40142         saved registers.  Add longjmp and longjmp_target
40143         SystemTap probe point.
40144         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40145         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40146         Define to zero to match jmpbuf layout.
40147         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40148         (__sigsetjmp): Save sp and lr before saving callee
40149         saved registers.  Add setjmp SystemTap probe point.
40151 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40153         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40155 2014-02-24  Andreas Schwab  <schwab@suse.de>
40157         [BZ #15804]
40158         * elf/pldd.c (wait_for_ptrace_stop): New function.
40159         (main): Call it after attaching.
40161 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40163         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40164         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40165         Versions files is now verboten.
40166         * hurd/Versions (libc: GLIBC_2.0):
40167         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40168         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40169         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40170         * mach/Versions: Likewise.
40172         * csu/Versions: Remove unused %include.
40173         * resolv/Versions: Likewise.
40175 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40177         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40178         ($(objpfx)check-local-headers.out): Likewise.
40179         ($(objpfx)begin-end-check.out): Likewise.
40180         * Makerules (check-abi-%.out): Likewise.
40181         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40182         ($(objpfx)test2.cat): Likewise.
40183         ($(objpfx)de/libc.cat): Likewise.
40184         ($(objpfx)test-gencat.out): Likewise.
40185         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40186         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40187         ($(objpfx)noload-mem): Likewise.
40188         ($(objpfx)tst-pathopt.out): Likewise.
40189         ($(objpfx)tst-rtld-load-self.out): Likewise.
40190         ($(objpfx)tst-array1-cmp.out): Likewise.
40191         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40192         ($(objpfx)tst-array2-cmp.out): Likewise.
40193         ($(objpfx)tst-array3-cmp.out): Likewise.
40194         ($(objpfx)tst-array4-cmp.out): Likewise.
40195         ($(objpfx)tst-array5-cmp.out): Likewise.
40196         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40197         ($(objpfx)check-textrel.out): Likewise.
40198         ($(objpfx)check-execstack.out): Likewise.
40199         ($(objpfx)check-localplt.out): Likewise.
40200         ($(objpfx)order2-cmp.out): Likewise.
40201         ($(objpfx)tst-leaks1-mem): Likewise.
40202         ($(objpfx)tst-leaks1-static-mem): Likewise.
40203         ($(objpfx)tst-initorder-cmp.out): Likewise.
40204         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40205         ($(objpfx)tst-unused-dep.out): Likewise.
40206         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40207         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40208         * iconv/Makefile (test-iconvconfig): Likewise.
40209         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40210         ($(objpfx)iconv-test.out): Likewise.
40211         ($(objpfx)tst-tables.out): Likewise.
40212         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40213         ($(objpfx)tst-gettext.out): Likewise.
40214         ($(objpfx)tst-translit.out): Likewise.
40215         ($(objpfx)tst-gettext2.out): Likewise.
40216         ($(objpfx)tst-gettext4.out): Likewise.
40217         ($(objpfx)tst-gettext6.out): Likewise.
40218         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40219         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40220         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40221         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40222         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40223         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40224         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40225         ($(objpfx)wordexp-tst.out): Likewise.
40226         ($(objpfx)annexc.out): Likewise.
40227         ($(objpfx)tst-fnmatch-mem): Likewise.
40228         ($(objpfx)bug-regex2-mem): Likewise.
40229         ($(objpfx)bug-regex14-mem): Likewise.
40230         ($(objpfx)bug-regex21-mem): Likewise.
40231         ($(objpfx)bug-regex31-mem): Likewise.
40232         ($(objpfx)tst-vfork3-mem): Likewise.
40233         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40234         ($(objpfx)tst-pcre-mem): Likewise.
40235         ($(objpfx)tst-boost-mem): Likewise.
40236         ($(objpfx)tst-getconf.out): Likewise.
40237         ($(objpfx)bug-ga2-mem): Likewise.
40238         ($(objpfx)bug-glob2-mem): Likewise.
40239         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40240         ($(objpfx)mtrace-tst-leaks2): Likewise.
40241         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40242         ($(objpfx)tst-printf.out): Likewise.
40243         ($(objpfx)tst-setvbuf1.out): Likewise.
40244         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40245         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40246         ($(objpfx)tst-fmtmsg.out): Likewise.
40247         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40248         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40250         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40251         * bits/sigaction.h [__USE_MISC]: Likewise.
40252         * bits/waitstatus.h: Update #endif comments.
40253         * ctype/ctype.h: Likewise.
40254         * dirent/dirent.h: Likewise.
40255         [__USE_MISC]: Remove redundant conditionals.
40256         * grp/grp.h: Update #endif comments.
40257         [__USE_GNU]: Remove redundant conditionals.
40258         [__USE_MISC]: Likewise.
40259         * inet/netinet/in.h [__USE_GNU]: Likewise.
40260         * io/sys/stat.h [__USE_MISC]: Likewise.
40261         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40262         * libio/bits/stdio.h: Update #endif comments.
40263         [__USE_MISC]: Remove redundant conditionals.
40264         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40265         * libio/stdio.h: Update #endif comments.
40266         [__USE_MISC]: Remove redundant conditionals.
40267         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40268         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40269         * math/math.h: Update #else and #endif comments.
40270         [__USE_MISC]: Remove redundant conditionals.
40271         * misc/sys/uio.h: Update #endif comments.
40272         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40273         * posix/glob.h [__USE_MISC]: Likewise.
40274         * posix/sys/types.h: Update #endif comments.
40275         [__USE_MISC]: Remove redundant conditionals.
40276         * posix/sys/wait.h: Update #endif comments.
40277         [__USE_MISC]: Remove redundant conditionals.
40278         * posix/unistd.h: Update #endif comments.
40279         [__USE_MISC]: Remove redundant conditionals.
40280         * pwd/pwd.h [__USE_GNU]: Likewise.
40281         [__USE_MISC]: Likewise.
40282         * resolv/netdb.h [__USE_GNU]: Likewise.
40283         * signal/signal.h: Update #endif comments.
40284         [__USE_MISC]: Remove redundant conditionals.
40285         * stdlib/stdlib.h: Update #else and #endif comments.
40286         [__USE_MISC]: Remove redundant conditionals.
40287         [__USE_GNU]: Likewise.
40288         * string/bits/string2.h [__USE_MISC]: Likewise.
40289         * string/string.h: Update #endif comments.
40290         [__USE_MISC]: Remove redundant conditionals.
40291         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40292         Likewise.
40293         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40294         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40295         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40296         Likewise.
40297         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40298         Likewise.
40299         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40300         comments.
40301         [__USE_MISC]: Remove redundant conditionals.
40302         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40303         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40304         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40305         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40306         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40307         Likewise.
40308         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40309         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40310         Likewise.
40311         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40312         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40313         Likewise.
40314         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40315         Likewise.
40316         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40317         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40318         Likewise.
40319         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40320         Likewise.
40321         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40322         * sysdeps/x86/bits/string.h: Update #endif comments.
40323         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40324         conditionals.
40325         * time/sys/time.h: Update #endif comments.
40326         * time/time.h: Likewise.
40327         [__USE_MISC]: Remove redundant conditionals.
40329 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40331         [BZ #16600]
40332         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40334 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40336         * Versions.def (librt): Add GLIBC_2.17.
40338 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40340         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40341         synonym for _SYS_AUXV_H to allow direct inclusion.
40342         * sysdeps/sparc/bits/hwcap.h: Likewise.
40343         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40344         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40345         * sysdeps/sparc/sysdep.h: Likewise.
40347 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40349         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40351 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40353         * benchtests/bench-strrchr.c: Print length instead of position.
40355 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40357         [BZ #16611]
40358         * sysdeps/unix/sysv/linux/kernel-features.h
40359         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40360         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40361         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40362         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40363         Likewise.
40364         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40365         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40366         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40367         (__ASSUME_SENDMMSG): Define instead of using previous
40368         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40369         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40370         (__ASSUME_SENDMMSG_SYSCALL): Define.
40371         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40372         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40373         Likewise.
40374         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40375         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40376         Likewise.
40377         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40378         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40379         Likewise.
40380         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40381         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40382         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40383         [__ASSUME_SENDMMSG]: Change conditionals to
40384         [__ASSUME_SENDMMSG_SOCKETCALL].
40385         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40386         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40387         Define.
40388         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40389         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40390         Likewise.
40391         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40392         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40393         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40394         [!__ASSUME_SENDMMSG]: Change conditional to
40395         [!__ASSUME_SENDMMSG_SOCKETCALL].
40396         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40397         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40398         Define.
40400         [BZ #16610]
40401         * sysdeps/unix/sysv/linux/kernel-features.h
40402         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40403         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40404         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40405         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40406         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40407         [__i386__ || __sparc__]
40408         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40409         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40410         (__ASSUME_RECVMMSG): Define instead of using previous
40411         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40412         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40413         (__ASSUME_RECVMMSG_SYSCALL): Define.
40414         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40415         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40416         Likewise.
40417         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40418         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40419         Likewise.
40420         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40421         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40422         Likewise.
40423         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40424         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40425         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40426         [__ASSUME_RECVMMSG]: Change condition to
40427         [__ASSUME_RECVMMSG_SOCKETCALL].
40428         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40429         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40430         Define.
40431         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40432         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40433         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40434         Likewise.
40435         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40436         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40437         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40438         [!__ASSUME_RECVMMSG]: Change condition to
40439         [!__ASSUME_RECVMMSG_SOCKETCALL].
40440         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40441         (__ASSUME_RECVMMSG_SYSCALL): Define.
40443         [BZ #16609]
40444         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40445         __powerpc__ || __s390__ || __sh__ || __sparc__]
40446         (__ASSUME_SOCKETCALL): Define.
40447         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40448         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40449         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40450         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40451         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40452         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40453         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40454         (__ASSUME_ACCEPT4): Define instead of using previous
40455         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40456         __powerpc__ || __sparc__ || __s390__)] condition.
40457         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40458         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40459         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40460         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40461         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40462         [!__ASSUME_ACCEPT4]: Change condition to
40463         [!__ASSUME_ACCEPT4_SOCKETCALL].
40464         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40465         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40466         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40467         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40468         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40469         __ASSUME_ACCEPT4_SYSCALL.
40470         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40471         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40472         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40473         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40474         __ASSUME_ACCEPT4_SYSCALL.
40475         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40476         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40477         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40478         [__ASSUME_ACCEPT4]: Change condition to
40479         [__ASSUME_ACCEPT4_SOCKETCALL].
40480         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40481         (__ASSUME_SOCKETCALL): Define.
40482         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40483         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40484         (__ASSUME_SOCKETCALL): Define.
40485         (__ASSUME_ACCEPT4): Remove.
40486         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40487         Define.
40488         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40489         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40490         Likewise.
40491         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40492         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40494         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40495         macro.
40496         (HWCAP_ARM_LPAE): Likewise.
40497         (HWCAP_ARM_EVTSTRM): Likewise.
40498         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40499         Add vpfd32, lpae and evtstrm.
40500         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40501         Increase to 22.
40503 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40505         * math/auto-libm-test-in: Add tests of clog10.
40506         * math/auto-libm-test-out: Regenerated.
40507         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40508         * sysdeps/i386/fpu/libm-test-ulps: Update.
40509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40511 2014-02-18  Andreas Schwab  <schwab@suse.de>
40513         [BZ #16574]
40514         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40515         Store non-zero if the second buffer was newly allocated.
40516         (send_dg): Likewise.
40517         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40518         to send_vc and send_dg.
40519         (res_nsend): Pass NULL for ansp2_malloced.
40520         * resolv/res_query.c (__libc_res_nquery): Add parameter
40521         answerp2_malloced and pass it down to __libc_res_nsend.
40522         (res_nquery): Pass additional NULL to __libc_res_nquery.
40523         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40524         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40525         second answer buffer if answerp2_malloced was set.
40526         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40527         (__libc_res_nquerydomain): Add parameter
40528         answerp2_malloced and pass it down to __libc_res_nquery.
40529         (res_nquerydomain): Pass additional NULL to
40530         __libc_res_nquerydomain.
40531         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40532         additional NULL to __libc_res_nsend and __libc_res_nquery.
40533         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40534         additional NULL to __libc_res_nsearch.
40535         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40536         parameter of __libc_res_nsearch to check for separately allocated
40537         second buffer.
40538         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40539         __libc_res_nquery.
40540         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40541         additional NULL to __libc_res_nquery.
40542         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40543         __libc_res_nsearch.
40544         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40545         * include/resolv.h: Update prototypes of __libc_res_nquery,
40546         __libc_res_nsearch, __libc_res_nsend.
40548 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40550         * math/auto-libm-test-in: Add tests of fma.
40551         * math/auto-libm-test-out: Regenerated.
40552         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40553         (fma_towardzero_test_data): Likewise.
40554         (fma_downward_test_data): Likewise.
40555         (fma_upward_test_data): Likewise.
40556         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40557         mpc_mode.
40558         (rounding_modes): Add values for new field.
40559         (func_calc_method): Add value mpfr_fff_f.
40560         (func_calc_desc): Add mpfr_fff_f union field.
40561         (test_function): Add field exact_args.
40562         (FUNC): Add macro argument EXACT_ARGS.
40563         (FUNC_mpfr_f_f): Update call to FUNC.
40564         (FUNC_mpfr_f_f): Likewise.
40565         (FUNC_mpfr_ff_f): Likewise.
40566         (FUNC_mpfr_if_f): Likewise.
40567         (FUNC_mpc_c_f): Likewise.
40568         (FUNC_mpc_c_c): Likewise.
40569         (test_functions): Add fma.  Update calls to FUNC.
40570         (handle_input_arg): Add argument exact_args.
40571         (add_test): Update call to handle_input_arg.
40572         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40573         (output_for_one_input_case): Update call to calc_generic_results.
40574         Recalculate exact zero results in each rounding mode.
40576         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40577         non-negative before setting low bit.
40578         * math/auto-libm-test-in: Mark one asin test possibly having
40579         spurious underflow.
40580         * math/auto-libm-test-out: Regenerated.
40581         * sysdeps/i386/fpu/libm-test-ulps: Update.
40582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40584 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40586         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40587         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40588         ports/sysdeps/unix/sysv/linux/microblaze.
40589         * README: Add missing listing for microblaze*-*-linux-gnu.
40591 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40593         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40594         duplicate code
40596 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40598         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40599         * sysdeps/unix/sysv/linux/ia64: Move directory from
40600         ports/sysdeps/unix/sysv/linux/ia64.
40601         * README: Update listing for ia64-*-linux-gnu.
40603 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40604             Joseph Myers  <joseph@codesourcery.com>
40606         * Makeconfig (test-name): New variable.
40607         (evaluate-test): Likewise.
40608         * Makerules (do-test-clean): Remove .test-result files.
40609         (common-mostlyclean): Likewise.
40610         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40611         * scripts/evaluate-test.sh: New file.
40613 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40615         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40616         separate $(objpfx)tst-fopenloc-cmp.out and
40617         $(objpfx)tst-fopenloc-mem.out targets.
40618         (tests): Update dependencies.
40619         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40620         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40621         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40622         (tst-rxspencer-no-utf8-ARGS): New variable.
40623         (tst-rxspencer-no-utf8-ENV): Likewise.
40624         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40625         instead of $(objpfx)tst-rxspencer-mem.
40626         ($(objpfx)tst-rxspencer-mem): Change target to
40627         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40628         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40629         * posix/tst-rxspencer-no-utf8.c: New file.
40631         * elf/Makefile ($(objpfx)order.out): Remove rule.
40632         [$(run-built-tests) = yes] (tests): Depend on
40633         $(objpfx)order-cmp.out.
40634         ($(objpfx)order-cmp.out): New rule.
40635         [$(run-built-tests) = yes] (tests): Depend on
40636         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40637         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40638         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40639         $(objpfx)tst-array5-static-cmp.out.
40640         ($(objpfx)tst-array1.out): Remove rule.
40641         ($(objpfx)tst-array1-cmp.out): New rule.
40642         ($(objpfx)tst-array1-static.out): Remove rule.
40643         ($(objpfx)tst-array1-static-cmp.out): New rule.
40644         ($(objpfx)tst-array2.out): Remove rule.
40645         ($(objpfx)tst-array2-cmp.out): New rule.
40646         ($(objpfx)tst-array3.out): Remove rule.
40647         ($(objpfx)tst-array3-cmp.out): New rule.
40648         ($(objpfx)tst-array4.out): Remove rule.
40649         ($(objpfx)tst-array4-cmp.out): New rule.
40650         ($(objpfx)tst-array5.out): Remove rule.
40651         ($(objpfx)tst-array5-cmp.out): New rule.
40652         ($(objpfx)tst-array5-static.out): Remove rule.
40653         ($(objpfx)tst-array5-static-cmp.out): New rule.
40654         [$(run-built-tests) = yes] (tests): Depend on
40655         $(objpfx)order2-cmp.out.
40656         ($(objpfx)order2.out): Remove rule.
40657         ($(objpfx)order2-cmp.out): New rule.
40658         ($(objpfx)tst-initorder.out): Remove rule.
40659         [$(run-built-tests) = yes] (tests): Depend on
40660         $(objpfx)tst-initorder-cmp.out.
40661         ($(objpfx)tst-initorder-cmp.out): New rule.
40662         ($(objpfx)tst-initorder2.out): Remove rule.
40663         [$(run-built-tests) = yes] (tests): Depend on
40664         $(objpfx)tst-initorder2-cmp.out.
40665         ($(objpfx)tst-initorder2-cmp.out): New rule.
40666         [$(run-built-tests) = yes] (tests): Depend on
40667         $(objpfx)tst-unused-dep-cmp.out.
40668         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40669         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40670         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40671         on $(objpfx)tst-setvbuf1-cmp.out.
40672         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40673         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40674         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40675         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40676         ($(objpfx)tst-svc.out): Remove rule.
40677         ($(objpfx)tst-svc-cmp.out): New rule.
40679 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40681         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40682         * ctype/ctype.h [__USE_MISC]: Likewise.
40683         * dirent/dirent.h [__USE_MISC]: Likewise.
40684         * grp/grp.h [__USE_MISC]: Likewise.
40685         * io/fcntl.h [__USE_MISC]: Likewise.
40686         * io/sys/stat.h [__USE_MISC]: Likewise.
40687         * libio/stdio.h [__USE_MISC]: Likewise.
40688         * posix/unistd.h [__USE_MISC]: Likewise.
40689         * pwd/pwd.h [__USE_MISC]: Likewise.
40690         * stdlib.h [__USE_MISC]: Likewise.
40691         * string/bits/string2.h [__USE_MISC]: Likewise.
40692         * string/string.h [__USE_MISC]: Likewise.
40693         * time/time.h [__USE_MISC]: Likewise.
40695 2014-02-13  Andreas Schwab  <schwab@suse.de>
40697         [BZ #16574]
40698         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40699         second answer buffer if it was separately allocated.
40701 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40703         * sysdeps/mips/math-tests.h: Include <features.h>.
40704         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40705         (ROUNDING_TESTS_long_double): Do not define.
40706         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40707         (EXCEPTION_TESTS_long_double): Likewise.
40708         * sysdeps/mips/mips64/libm-test-ulps: Update.
40710         * include/features.h (__USE_BSD): Remove macro definitions.
40711         (__USE_SVID): Likewise.
40712         (_BSD_SOURCE): Likewise.
40713         (_SVID_SOURCE): Likewise.
40714         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40715         from definition of _DEFAULT_SOURCE.
40716         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40717         [_DEFAULT_SOURCE].
40718         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40719         * bits/mman.h [__USE_BSD]: Likewise.
40720         * bits/termios.h [__USE_BSD]: Likewise.
40721         * bits/waitstatus.h [__USE_BSD]: Likewise.
40722         * ctype/ctype.h [__USE_SVID]: Likewise.
40723         * dirent/dirent.h [__USE_BSD]: Likewise.
40724         * grp/grp.h [__USE_SVID]: Likewise.
40725         [__USE_BSD]: Likewise.
40726         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40727         * io/fcntl.h [__USE_BSD]: Likewise.
40728         * io/ftw.h [__USE_BSD]: Likewise.
40729         * io/sys/stat.h [__USE_BSD]: Likewise.
40730         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40731         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40732         * libio/stdio.h [__USE_SVID]: Likewise.
40733         [__USE_BSD]: Likewise.
40734         * math/math.h [__USE_SVID]: Likewise.
40735         [__USE_BSD]: Likewise.
40736         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40737         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40738         * misc/search.h [__USE_SVID]: Likewise.
40739         * misc/sys/mman.h [__USE_BSD]: Likewise.
40740         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40741         * misc/sys/uio.h [__USE_BSD]: Likewise.
40742         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40743         * posix/glob.h [__USE_BSD]: Likewise.
40744         * posix/regex.h [__USE_BSD]: Likewise.
40745         * posix/sys/types.h [__USE_BSD]: Likewise.
40746         [__USE_SVID]: Likewise.
40747         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40748         * posix/sys/wait.h [__USE_BSD]: Likewise.
40749         [__USE_SVID]: Likewise.
40750         * posix/unistd.h [__USE_BSD]: Likewise.
40751         [__USE_SVID]: Likewise.
40752         * pwd/pwd.h [__USE_SVID]: Likewise.
40753         * resolv/netdb.h [__USE_BSD]: Likewise.
40754         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40755         * signal/signal.h [__USE_BSD]: Likewise.
40756         [__USE_SVID]: Likewise.
40757         * socket/sys/socket.h [__USE_BSD]: Likewise.
40758         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40759         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40760         [__USE_SVID]: Likewise.
40761         * string/bits/string2.h [__USE_BSD]: Likewise.
40762         [__USE_SVID]: Likewise.
40763         * string/bits/string3.h [__USE_BSD]: Likewise.
40764         * string/endian.h [__USE_BSD]: Likewise.
40765         * string/string.h [__USE_SVID]: Likewise.
40766         [__USE_BSD]: Likewise.
40767         * string/strings.h [__USE_BSD]: Likewise.
40768         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40769         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40770         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40771         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40772         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40773         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40774         Likewise.
40775         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40776         Likewise.
40777         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40778         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40779         Likewise.
40780         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40781         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40782         Likewise.
40783         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40784         Likewise.
40785         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40786         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40787         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40788         Likewise.
40789         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40790         Likewise.
40791         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40792         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40793         * termios/termios.h [__USE_BSD]: Likewise.
40794         * time/sys/time.h [__USE_BSD]: Likewise.
40795         * time/time.h [__USE_BSD]: Likewise.
40796         [__USE_SVID]: Likewise.
40798         * Makefile (subdir_targets): Remove subdir_lint.out.
40800         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40801         (do-tst-printf): Likewise.
40802         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40803         $(objpfx)tst-printf.out.
40805         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40807         * Makerules (check-abi-%): Change target to
40808         $(objpfx)check-abi-%.out.
40809         (check-abi target): Update dependencies.
40810         (check-abi-pattern variable): Redirect output of diff to $@.
40811         (check-abi variable): Likewise.
40812         * elf/Makefile (check-abi): Update dependencies.
40814         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40815         unused.
40816         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40817         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40818         subnormal range.
40819         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40820         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40821         value has largest subnormal exponent.
40822         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40823         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40824         * sysdeps/aarch64/soft-fp/sfp-machine.h
40825         (_FP_TININESS_AFTER_ROUNDING): New macro.
40826         * sysdeps/alpha/soft-fp/sfp-machine.h
40827         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40828         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40829         Likewise.
40830         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40831         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40832         * sysdeps/mips/soft-fp/sfp-machine.h
40833         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40834         * sysdeps/powerpc/soft-fp/sfp-machine.h
40835         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40836         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40837         Likewise.
40838         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40839         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40840         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40841         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40842         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40843         Likewise.
40845 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40847         [BZ #16545]
40848         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40849         model 1.
40851 2014-02-12  Richard Henderson  <rth@redhat.com>
40853         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40854         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40855         * sysdeps/unix/sysv/linux/alpha: Move directory from
40856         ports/sysdeps/unix/sysv/linux/alpha.
40857         * README: Update listing for alpha-*-linux-gnu.
40859 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40861         * include/features.h: Update comment documenting feature test
40862         macros.
40863         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40864         _DEFAULT_SOURCE.
40865         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40866         (_SVID_SOURCE): Likewise.
40867         (_DEFAULT_SOURCE): Update description of default features.
40868         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40869         with _GNU_SOURCE.
40870         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40871         (S_ISVTX): Likewise.
40872         * manual/math.texi (Mathematical Constants): Likewise.
40873         * manual/signal.texi (Interrupted Primitives): Likewise.
40874         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40875         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40876         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40877         Don't refer to _SVID_SOURCE in warning text.
40879         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40881         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40882         already defined.
40883         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40884         * sysdeps/mips/dl-lookup.c: Remove.
40885         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40887 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40889         [BZ #16447]
40890         * math/auto-libm-test-in: Add testcase for expl.
40891         * math/auto-libm-test-out: Regenerate.
40892         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40893         calculation of unsafe.
40894         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40896 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40898         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40899         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40900         ports/sysdeps/unix/sysv/linux/aarch64.
40901         * README: Update listing for aarch64*-*-linux-gnu.
40903 2014-02-11  Will Newton  <will.newton@linaro.org>
40905         * manual/probes.texi (Mathematical Function Probes): Use
40906         "triggered" instead of "hit".
40908         * manual/probes.texi (Internal Probes): Add documentation
40909         of setjmp, longjmp and longjmp_target probes.
40911         * include/stap-probe.h: Add comment about probe argument
40912         format.
40914         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40915         definition.  (tr_where, tr_freehook, tr_mallochook,
40916         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40918 2014-02-11  David S. Miller  <davem@davemloft.net>
40920         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40921         processing int_tests.
40923 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40925         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40926         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40927         * sysdeps/unix/sysv/linux/mips: Move directory from
40928         ports/sysdeps/unix/sysv/linux/mips.
40929         * README: Update listing for mips-*-linux-gnu and
40930         mips64-*-linux-gnu.
40932 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40934         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40935         * sysdeps/unix/sysv/linux/m68k: Move directory from
40936         ports/sysdeps/unix/sysv/linux/m68k.
40937         * README: Update listing for m68k-*-linux-gnu.
40939 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40941         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40942         * sysdeps/unix/sysv/linux/generic: Move directory from
40943         ports/sysdeps/unix/sysv/linux/generic.
40944         * sysdeps/unix/sysv/linux/tile: Move directory from
40945         ports/sysdeps/unix/sysv/linux/tile.
40946         * README: Update listing for tile*-*-linux-gnu.
40948 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40950         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40951         __builtin_expect.
40952         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40953         * catgets/open_catalog.c (__open_catalog): Likewise.
40954         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40955         * debug/confstr_chk.c: Likewise.
40956         * debug/fread_chk.c (__fread_chk): Likewise.
40957         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40958         * debug/getgroups_chk.c: Likewise.
40959         * debug/mbsnrtowcs_chk.c: Likewise.
40960         * debug/mbsrtowcs_chk.c: Likewise.
40961         * debug/mbstowcs_chk.c: Likewise.
40962         * debug/memcpy_chk.c: Likewise.
40963         * debug/memmove_chk.c: Likewise.
40964         * debug/mempcpy_chk.c: Likewise.
40965         * debug/memset_chk.c: Likewise.
40966         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40967         * debug/strcat_chk.c (__strcat_chk): Likewise.
40968         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40969         * debug/strncat_chk.c (__strncat_chk): Likewise.
40970         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40971         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40972         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40973         * debug/wcpncpy_chk.c: Likewise.
40974         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40975         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40976         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40977         * debug/wcsncpy_chk.c: Likewise.
40978         * debug/wcsnrtombs_chk.c: Likewise.
40979         * debug/wcsrtombs_chk.c: Likewise.
40980         * debug/wcstombs_chk.c: Likewise.
40981         * debug/wmemcpy_chk.c: Likewise.
40982         * debug/wmemmove_chk.c: Likewise.
40983         * debug/wmempcpy_chk.c: Likewise.
40984         * debug/wmemset_chk.c: Likewise.
40985         * dirent/scandirat.c (SCANDIRAT): Likewise.
40986         * dlfcn/dladdr1.c (dladdr1): Likewise.
40987         * dlfcn/dladdr.c (dladdr): Likewise.
40988         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40989         * dlfcn/dlerror.c (__dlerror): Likewise.
40990         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40991         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40992         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40993         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40994         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40995         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40996         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40997         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40998         Likewise.
40999         * elf/dl-conflict.c: Likewise.
41000         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41001         * elf/dl-dst.h: Likewise.
41002         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41003         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41004         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41005         * elf/dl-init.c (call_init, _dl_init): Likewise.
41006         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41007         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41008         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41009         Likewise.
41010         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41011         Likewise.
41012         * elf/dl-minimal.c (__libc_memalign): Likewise.
41013         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41014         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41015         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41016         * elf/dl-sym.c (do_sym): Likewise.
41017         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41018         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41019         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41020         * elf/dl-writev.h (_dl_writev): Likewise.
41021         * elf/ldconfig.c (search_dir): Likewise.
41022         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41023         (dl_main): Likewise.
41024         * elf/setup-vdso.h (setup_vdso): Likewise.
41025         * grp/compat-initgroups.c (compat_call): Likewise.
41026         * grp/fgetgrent.c (fgetgrent): Likewise.
41027         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41028         * grp/putgrent.c (putgrent): Likewise.
41029         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41030         Likewise.
41031         * hurd/hurdinit.c: Likewise.
41032         * iconvdata/8bit-gap.c (struct): Likewise.
41033         * iconvdata/ansi_x3.110.c : Likewise.
41034         * iconvdata/big5.c : Likewise.
41035         * iconvdata/big5hkscs.c : Likewise.
41036         * iconvdata/cp1255.c: Likewise.
41037         * iconvdata/cp1258.c : Likewise.
41038         * iconvdata/cp932.c : Likewise.
41039         * iconvdata/euc-cn.c: Likewise.
41040         * iconvdata/euc-jisx0213.c : Likewise.
41041         * iconvdata/euc-jp.c: Likewise.
41042         * iconvdata/euc-jp-ms.c : Likewise.
41043         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41044         * iconvdata/gb18030.c : Likewise.
41045         * iconvdata/gbbig5.c (const): Likewise.
41046         * iconvdata/gbgbk.c: Likewise.
41047         * iconvdata/gbk.c : Likewise.
41048         * iconvdata/ibm1364.c : Likewise.
41049         * iconvdata/ibm930.c : Likewise.
41050         * iconvdata/ibm932.c: Likewise.
41051         * iconvdata/ibm933.c : Likewise.
41052         * iconvdata/ibm935.c : Likewise.
41053         * iconvdata/ibm937.c : Likewise.
41054         * iconvdata/ibm939.c : Likewise.
41055         * iconvdata/ibm943.c: Likewise.
41056         * iconvdata/iso_11548-1.c: Likewise.
41057         * iconvdata/iso-2022-cn.c : Likewise.
41058         * iconvdata/iso-2022-cn-ext.c : Likewise.
41059         * iconvdata/iso-2022-jp-3.c: Likewise.
41060         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41061         * iconvdata/iso-2022-kr.c : Likewise.
41062         * iconvdata/iso646.c (gconv_end): Likewise.
41063         * iconvdata/iso_6937-2.c : Likewise.
41064         * iconvdata/iso_6937.c : Likewise.
41065         * iconvdata/iso8859-1.c: Likewise.
41066         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41067         * iconvdata/shift_jisx0213.c : Likewise.
41068         * iconvdata/sjis.c : Likewise.
41069         * iconvdata/t.61.c : Likewise.
41070         * iconvdata/tcvn5712-1.c : Likewise.
41071         * iconvdata/tscii.c: Likewise.
41072         * iconvdata/uhc.c : Likewise.
41073         * iconvdata/unicode.c (gconv_end): Likewise.
41074         * iconvdata/utf-16.c (gconv_end): Likewise.
41075         * iconvdata/utf-32.c (gconv_end): Likewise.
41076         * iconvdata/utf-7.c (base64): Likewise.
41077         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41078         * iconv/gconv_close.c (__gconv_close): Likewise.
41079         * iconv/gconv_open.c (__gconv_open): Likewise.
41080         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41081         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41082         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41083         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41084         (ucs4le_internal_loop_single): Likewise.
41085         * iconv/iconv.c (iconv): Likewise.
41086         * iconv/iconv_close.c: Likewise.
41087         * iconv/loop.c (SINGLE): Likewise.
41088         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41089         * include/atomic.h: Likewise.
41090         * inet/inet6_option.c (option_alloc): Likewise.
41091         * intl/bindtextdom.c (set_binding_values): Likewise.
41092         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41093         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41094         * intl/localealias.c (read_alias_file): Likewise.
41095         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41096         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41097         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41098         * libio/fmemopen.c (fmemopen): Likewise.
41099         * libio/iofgets.c (_IO_fgets): Likewise.
41100         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41101         * libio/iofgetws.c (fgetws): Likewise.
41102         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41103         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41104         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41105         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41106         * locale/findlocale.c (_nl_find_locale): Likewise.
41107         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41108         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41109         Likewise.
41110         * locale/setlocale.c (setlocale): Likewise.
41111         * login/programs/pt_chown.c (main): Likewise.
41112         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41113         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41114         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41115         (mmap, mmap64, mremap, munmap): Likewise.
41116         * math/e_exp2l.c: Likewise.
41117         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41118         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41119         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41120         * math/s_catan.c (__catan): Likewise.
41121         * math/s_catanf.c (__catanf): Likewise.
41122         * math/s_catanh.c (__catanh): Likewise.
41123         * math/s_catanhf.c (__catanhf): Likewise.
41124         * math/s_catanhl.c (__catanhl): Likewise.
41125         * math/s_catanl.c (__catanl): Likewise.
41126         * math/s_ccosh.c (__ccosh): Likewise.
41127         * math/s_ccoshf.c (__ccoshf): Likewise.
41128         * math/s_ccoshl.c (__ccoshl): Likewise.
41129         * math/s_cexp.c (__cexp): Likewise.
41130         * math/s_cexpf.c (__cexpf): Likewise.
41131         * math/s_cexpl.c (__cexpl): Likewise.
41132         * math/s_clog10.c (__clog10): Likewise.
41133         * math/s_clog10f.c (__clog10f): Likewise.
41134         * math/s_clog10l.c (__clog10l): Likewise.
41135         * math/s_clog.c (__clog): Likewise.
41136         * math/s_clogf.c (__clogf): Likewise.
41137         * math/s_clogl.c (__clogl): Likewise.
41138         * math/s_csin.c (__csin): Likewise.
41139         * math/s_csinf.c (__csinf): Likewise.
41140         * math/s_csinh.c (__csinh): Likewise.
41141         * math/s_csinhf.c (__csinhf): Likewise.
41142         * math/s_csinhl.c (__csinhl): Likewise.
41143         * math/s_csinl.c (__csinl): Likewise.
41144         * math/s_csqrt.c (__csqrt): Likewise.
41145         * math/s_csqrtf.c (__csqrtf): Likewise.
41146         * math/s_csqrtl.c (__csqrtl): Likewise.
41147         * math/s_ctan.c (__ctan): Likewise.
41148         * math/s_ctanf.c (__ctanf): Likewise.
41149         * math/s_ctanh.c (__ctanh): Likewise.
41150         * math/s_ctanhf.c (__ctanhf): Likewise.
41151         * math/s_ctanhl.c (__ctanhl): Likewise.
41152         * math/s_ctanl.c (__ctanl): Likewise.
41153         * math/w_pow.c: Likewise.
41154         * math/w_powf.c: Likewise.
41155         * math/w_powl.c: Likewise.
41156         * math/w_scalb.c (sysv_scalb): Likewise.
41157         * math/w_scalbf.c (sysv_scalbf): Likewise.
41158         * math/w_scalbl.c (sysv_scalbl): Likewise.
41159         * misc/error.c (error_tail): Likewise.
41160         * misc/pselect.c (__pselect): Likewise.
41161         * nis/nis_callback.c (__nis_create_callback): Likewise.
41162         * nis/nis_call.c (__nisfind_server): Likewise.
41163         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41164         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41165         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41166         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41167         * nis/nis_lookup.c (nis_lookup): Likewise.
41168         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41169         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41170         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41171         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41172         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41173         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41174         * nis/nss_compat/compat-initgroups.c (add_group)
41175         (internal_getgrent_r): Likewise.
41176         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41177         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41178         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41179         (internal_getspnam_r): Likewise.
41180         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41181         (_nss_nis_getaliasbyname_r): Likewise.
41182         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41183         (_nss_nis_getntohost_r): Likewise.
41184         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41185         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41186         (_nss_nis_getgrgid_r): Likewise.
41187         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41188         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41189         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41190         (_nss_nis_gethostbyname4_r): Likewise.
41191         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41192         (initgroups_netid): Likewise.
41193         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41194         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41195         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41196         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41197         (_nss_nis_getprotobynumber_r): Likewise.
41198         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41199         (_nss_nis_getsecretkey): Likewise.
41200         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41201         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41202         (_nss_nis_getpwuid_r): Likewise.
41203         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41204         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41205         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41206         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41207         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41208         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41209         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41210         Likewise.
41211         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41212         (_nss_nisplus_getntohost_r): Likewise.
41213         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41214         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41215         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41216         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41217         Likewise.
41218         * nis/nss_nisplus/nisplus-initgroups.c
41219         (_nss_nisplus_initgroups_dyn): Likewise.
41220         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41221         (_nss_nisplus_getnetbyaddr_r): Likewise.
41222         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41223         (_nss_nisplus_getprotobynumber_r): Likewise.
41224         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41225         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41226         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41227         Likewise.
41228         * nis/nss_nisplus/nisplus-service.c
41229         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41230         (_nss_nisplus_getservbyport_r): Likewise.
41231         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41232         (_nss_nisplus_getspnam_r): Likewise.
41233         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41234         Likewise.
41235         * nscd/aicache.c (addhstaiX): Likewise.
41236         * nscd/cache.c (cache_search, prune_cache): Likewise.
41237         * nscd/connections.c (register_traced_file, send_ro_fd)
41238         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41239         (main_loop_epoll): Likewise.
41240         * nscd/grpcache.c (addgrbyX): Likewise.
41241         * nscd/hstcache.c (addhstbyX): Likewise.
41242         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41243         * nscd/mem.c (gc, mempool_alloc): Likewise.
41244         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41245         (addinnetgrX): Likewise.
41246         * nscd/nscd-client.h (__nscd_acquire_maplock)
41247         (__nscd_drop_map_ref): Likewise.
41248         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41249         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41250         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41251         Likewise.
41252         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41253         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41254         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41255         (__nscd_get_map_ref): Likewise.
41256         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41257         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41258         Likewise.
41259         * nscd/pwdcache.c (addpwbyX): Likewise.
41260         * nscd/selinux.c (preserve_capabilities): Likewise.
41261         * nscd/servicescache.c (addservbyX): Likewise.
41262         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41263         * posix/fnmatch.c (fnmatch): Likewise.
41264         * posix/getopt.c (_getopt_internal_r): Likewise.
41265         * posix/glob.c (glob, glob_in_dir): Likewise.
41266         * posix/wordexp.c (exec_comm_child): Likewise.
41267         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41268         (getanswer_r, gaih_getanswer_slice): Likewise.
41269         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41270         * resolv/res_init.c: Likewise.
41271         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41272         * resolv/res_query.c (__libc_res_nquery): Likewise.
41273         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41274         Likewise.
41275         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41276         * stdio-common/perror.c (perror): Likewise.
41277         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41278         * stdio-common/tmpnam.c (tmpnam): Likewise.
41279         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41280         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41281         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41282         Likewise.
41283         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41284         * stdlib/putenv.c (putenv): Likewise.
41285         * stdlib/setenv.c (__add_to_environ): Likewise.
41286         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41287         * stdlib/strtol_l.c (INTERNAL): Likewise.
41288         * string/memmem.c (memmem): Likewise.
41289         * string/strerror.c (strerror): Likewise.
41290         * string/strnlen.c (__strnlen): Likewise.
41291         * string/test-memmem.c (simple_memmem): Likewise.
41292         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41293         * sunrpc/pm_getport.c (__get_socket): Likewise.
41294         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41295         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41296         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41297         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41298         Likewise.
41299         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41300         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41301         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41302         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41303         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41304         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41305         Likewise.
41306         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41307         Likewise.
41308         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41309         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41310         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41311         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41312         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41313         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41314         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41315         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41316         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41317         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41318         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41319         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41320         Likewise.
41321         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41322         Likewise.
41323         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41324         Likewise.
41325         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41326         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41327         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41328         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41329         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41330         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41331         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41332         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41333         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41334         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41335         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41336         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41337         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41338         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41339         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41340         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41341         Likewise.
41342         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41343         Likewise.
41344         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41345         Likewise.
41346         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41347         Likewise.
41348         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41349         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41350         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41351         Likewise.
41352         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41353         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41354         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41355         * sysdeps/posix/sleep.c: Likewise.
41356         * sysdeps/posix/tempname.c: Likewise.
41357         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41358         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41359         Likewise.
41360         * sysdeps/powerpc/powerpc32/dl-machine.h
41361         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41362         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41363         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41364         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41365         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41366         Likewise.
41367         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41368         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41369         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41370         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41371         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41372         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41373         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41374         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41375         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41376         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41377         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41378         (elf_machine_lazy_rel): Likewise.
41379         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41380         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41381         (elf_machine_lazy_rel): Likewise.
41382         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41383         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41384         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41385         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41386         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41387         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41388         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41389         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41390         Likewise.
41391         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41392         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41393         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41394         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41395         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41396         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41397         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41398         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41399         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41400         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41401         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41402         Likewise.
41403         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41404         (__posix_fallocate64_l64): Likewise.
41405         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41406         (posix_fallocate): Likewise.
41407         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41408         Likewise.
41409         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41410         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41411         (getifaddrs_internal): Likewise.
41412         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41413         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41414         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41415         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41416         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41417         (__posix_fallocate64_l64): Likewise.
41418         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41419         Likewise.
41420         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41421         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41422         (__get_clockfreq): Likewise.
41423         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41424         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41425         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41426         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41428         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41429         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41430         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41431         Likewise.
41432         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41433         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41434         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41435         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41436         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41437         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41438         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41439         Likewise.
41440         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41441         (posix_fallocate): Likewise.
41442         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41443         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41444         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41445         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41446         (elf_machine_rela, elf_machine_rela_relative)
41447         (elf_machine_lazy_rel): Likewise.
41448         * time/asctime.c (asctime_internal): Likewise.
41449         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41450         * time/tzset.c (__tzset_parse_tz): Likewise.
41451         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41452         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41453         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41454         * wcsmbs/wcsmbsload.h: Likewise.
41456         [BZ #15894]
41457         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41459         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41460         (arena_get2): Remove THREAD_STATS conditionals.
41461         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41462         (__malloc_stats, int): Likewise.
41464 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41466         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41467         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41469         * manual/setjmp.texi: Fix typos/grammar errors.
41471         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41472         Only return early when n is <= 0.  Delete unused return statement.
41474         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41475         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41476         * debug/tst-longjmp_chk3.c: New file.
41478         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41479         (test_main): Replace code with set_fortify_handler call.
41480         * debug/test-strcpy_chk.c: Likewise.
41481         * debug/tst-chk1.c: Likewise.
41482         * debug/tst-longjmp_chk.c: Likewise.
41483         * test-skeleton.c: Include fcntl.h & paths.h
41484         (set_fortify_handler): Define.
41486         * debug/tst-longjmp_chk.c: Add header comment and include
41487         ../test-skeleton.c.
41488         (do_test): Mark static.
41489         (TEST_FUNCTION): Define.
41491         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41492         (IP_PMTUDISC_INTERFACE): Likewise.
41493         (IP_MULTICAST_IF): Likewise.
41494         (IP_MULTICAST_TTL): Likewise.
41495         (IP_MULTICAST_LOOP): Likewise.
41496         (IP_ADD_MEMBERSHIP): Likewise.
41497         (IP_DROP_MEMBERSHIP): Likewise.
41498         (IP_UNBLOCK_SOURCE): Likewise.
41499         (IP_BLOCK_SOURCE): Likewise.
41500         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41501         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41502         (IP_MSFILTER): Likewise.
41503         (MCAST_JOIN_GROUP): Likewise.
41504         (MCAST_BLOCK_SOURCE): Likewise.
41505         (MCAST_UNBLOCK_SOURCE): Likewise.
41506         (MCAST_LEAVE_GROUP): Likewise.
41507         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41508         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41509         (MCAST_MSFILTER): Likewise.
41510         (IP_MULTICAST_ALL): Likewise.
41511         (IP_UNICAST_IF): Likewise.
41513         * timezone/Makefile: Delete $(have-ksh) check.
41514         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41515         * timezone/tzselect.ksh: Add +x mode bits.
41517         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41518         (ANON_INODE_FS_MAGIC): Likewise.
41519         (BDEVFS_MAGIC): Likewise.
41520         (BINFMTFS_MAGIC): Likewise.
41521         (BTRFS_TEST_MAGIC): Likewise.
41522         (CRAMFS_MAGIC_WEND): Likewise.
41523         (DEBUGFS_MAGIC): Likewise.
41524         (ECRYPTFS_SUPER_MAGIC): Likewise.
41525         (EXT3_SUPER_MAGIC): Likewise.
41526         (EXT4_SUPER_MAGIC): Likewise.
41527         (FUTEXFS_SUPER_MAGIC): Likewise.
41528         (HOSTFS_SUPER_MAGIC): Likewise.
41529         (HUGETLBFS_MAGIC): Likewise.
41530         (MINIX3_SUPER_MAGIC): Likewise.
41531         (MTD_INODE_FS_MAGIC): Likewise.
41532         (NILFS_SUPER_MAGIC): Likewise.
41533         (OPENPROM_SUPER_MAGIC): Likewise.
41534         (PIPEFS_MAGIC): Likewise.
41535         (PSTOREFS_MAGIC): Likewise.
41536         (QNX6_SUPER_MAGIC): Likewise.
41537         (RAMFS_MAGIC): Likewise.
41538         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41539         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41540         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41541         (SECURITYFS_MAGIC): Likewise.
41542         (SELINUX_MAGIC): Likewise.
41543         (SMACK_MAGIC): Likewise.
41544         (SOCKFS_MAGIC): Likewise.
41545         (SQUASHFS_MAGIC): Likewise.
41546         (STACK_END_MAGIC): Likewise.
41547         (TMPFS_MAGIC): Likewise.
41548         (USBDEVICE_SUPER_MAGIC): Likewise.
41549         (V9FS_MAGIC): Likewise.
41550         (XENFS_SUPER_MAGIC): Likewise.
41551         (CRAMFS_MAGIC): Fix typo in comment.
41552         (EXT2_SUPER_MAGIC): Update comment.
41553         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41555 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41557         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41558         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41559         * sysdeps/unix/sysv/linux/arm: Move directory from
41560         ports/sysdeps/unix/sysv/linux/arm.
41561         * README: Update listing for arm-*-linux-gnueabi.
41563         * README: Remove mention of am33.
41565 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41567         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41568         than the comma operator, to avoid "rhs of comma has no effect"
41569         compiler warnings.
41570         (__sigfillset, __sigandset, __sigorset): Likewise.
41571         * include/signal.h (__sigemptyset): Likewise.
41572         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41574 2014-02-07  Allan McRae  <allan@archlinux.org>
41576         * version.h (RELEASE): Set to "development".
41577         (VERSION): Set to "2.19.90"
41578         * NEWS: Add 2.20 section.
41580 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41582         [BZ #16529]
41583         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41585 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41587         * manual/contrib.texi: Update entry for Carlos O'Donell,
41588         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41590 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41592         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41594         * sysdeps/unix/sysv/linux/kernel-features.h
41595         [__LINUX_KERNEL_VERSION >= 0x020621]
41596         (__ASSUME_PROC_PID_TASK_COMM): Define.
41598 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41600         [BZ #16398]
41601         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41602         conversion when destination buffer does not have enough space.
41603         * libio/tst-ftell-partial-wide.c: New test case.
41604         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41606         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41607         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41608         Leonard and Allan McRae.
41610 2014-02-04  David S. Miller  <davem@davemloft.net>
41612         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41613         32-bit.
41615 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41618         New file
41619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41620         New file
41621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41622         New file.
41623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41624         New file.
41625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41626         New file.
41627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41628         New file.
41629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41630         New file.
41631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41632         New file.
41633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41634         New file.
41635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41636         New file.
41637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41638         New file.
41639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41640         New file.
41641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41642         New file.
41644 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41646         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41647         * shlib-versions: Likewise.
41649 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41650             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41652         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41653         (abilist-pattern): New variable, set to %-le.abilist.
41655         * Makerules (abilist-pattern): New variable.
41656         (vpath): Use $(abilist-pattern) in place of %.abilist.
41657         (check-abi-% pattern rule): Likewise.
41658         (check-abi, update-abi): Likewise.
41660 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41662         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41664 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41666         * manual/startup.texi: Add next, previous, and top entries for
41667         the `Program Arguments' and `Environment Variables' nodes.
41669 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41671         * manual/macros.texi: Add comments before MTASC-safety macros.
41673         * manual/users.texi: Document MTASC-safety properties.
41675         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41676         (pthread_getspecific, pthread_setspecific): Format with
41677         @deftypefun, and add @safety note.
41678         * manual/signal.texi: Move comments that analyze the above
41679         functions to their home place.
41681 2014-02-03  Allan McRae  <allan@archlinux.org>
41683         * po/sl.po: Update Slovenian translation from translation project.
41685 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41687         * manual/time.texi (timegm): Add missing blank after @c.
41688         Reported by Joseph Myers <joseph@codesourcery.com>.
41690 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41692         * manual/check-safety.sh: New.
41693         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41695         * manual/terminal.texi: Document MTASC-safety properties.
41697         * manual/filesys.texi: Document MTASC-safety properties.
41699         * manual/errno.texi: Document MTASC-safety properties.
41701         * manual/intro.texi: Document safety identifiers and
41702         conditionals.
41704         * manual/string.texi (wcstok): Fix prototype.
41705         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41707         * manual/time.texi: Document MTASC-safety properties.
41709         * manual/string.texi: Document MTASC-safety properties.
41711         * manual/threads.texi: Document MTASC-safety properties.
41713         * manual/stdio.texi: Document MTASC-safety properties.
41715         * manual/syslog.texi: Document MTASC-safety properties.
41717         * manual/sysinfo.texi: Document MTASC-safety properties.
41719         * manual/startup.texi: Document MTASC-safety properties.
41721         * manual/socket.texi: Document MTASC-safety properties.
41723         * manual/signal.texi: Document MTASC-safety properties.
41725 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41727         * manual/setjmp.texi: Document MTASC-safety properties.
41729         * manual/search.texi: Document MTASC-safety properties.
41731         * manual/resource.texi: Document MTASC-safety properties.
41733         * manual/process.texi: Document MTASC-safety properties.
41735         * manual/platform.texi: Document MTASC-safety properties.
41737         * manual/pipe.texi: Document MTASC-safety properties.
41739         * manual/pattern.texi: Document MTASC-safety properties.
41741         * manual/message.texi: Document MTASC-safety properties.
41743         [BZ #12751]
41744         * manual/memory.texi: Document MTASC-safety properties.
41746         * manual/math.texi: Document MTASC-safety properties.
41748         * manual/locale.texi: Document MTASC-safety properties.
41750         * manual/llio.texi: Document MTASC-safety properties.
41752         * manual/libdl.texi: New.
41754         * manual/lang.texi: Document MTASC-safety properties.
41756         * manual/job.texi: Document MTASC-safety properties.
41758         * manual/getopt.texi: Document MTASC-safety properties.
41760         * manual/ctype.texi: Document MTASC-safety properties.
41762 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41764         [BZ #16046]
41765         * csu/libc-tls.c (static_map): Remove variable.
41766         (__libc_setup_tls): Use main executable's link map for TLS data.
41767         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41768         casing for LM_ID_BASE and GL(dl_nns).
41769         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41770         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41771         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41772         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41773         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41774         member.
41775         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41776         l_phnum members.
41778 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41780         * manual/debug.texi: Document MTASC-safety properties.
41782 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41784         [BZ #16510]
41785         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41786         of __x86_64__ when disabling x87 inline functions.
41788 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41790         * manual/charset.texi: Document MTASC-safety properties.
41792         * manual/crypt.texi: Document MTASC-safety properties.
41794         * manual/conf.texi: Document MTASC-safety properties.
41796         * manual/arith.texi: Document MTASC-safety properties.
41798         * manual/argp.texi: Document MTASC-safety properties.
41800         * manual/macros.texi: Introduce macros to document multi
41801         thread, asynchronous signal and asynchronous cancellation
41802         safety properties.
41803         * manual/intro.texi: Introduce the properties themselves.
41805 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41807         * sysdeps/sh/sh4/Makefile: New file.
41809 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41811         * math/gen-libm-test.pl ($srcdir): New variable.
41812         ($auto_input): Use it.
41814 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41816         [BZ #16506]
41817         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41818         access beyond array bounds when parsing netgroups file.
41820         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41821         the old buffer before realloc.
41823 2014-01-27  Allan McRae  <allan@archlinux.org>
41825         * po/fr.po: Update French translation from translation project.
41827 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41829         * sysdeps/sh/libm-test-ulps: Regenerate.
41831 2014-01-24  David S. Miller  <davem@davemloft.net>
41833         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41835 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41837         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41838         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41840 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41842         [BZ #16474]
41843         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41844         string pointers after reallocation.
41846 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41848         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41849         __SH4A__ instead of __SH_FPU_ANY__.
41851 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41853         * sysdeps/sh/fpu_control.h: New file.
41854         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41855         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41856         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41857         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41858         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41859         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41860         * sysdeps/sh/sys/ucontext.h: Remove.
41861         * sysdeps/sh/sys: Remove directory.
41863 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41865         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41866         s390/sys/ucontext.h.
41867         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41868         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41870 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41872         [BZ #15605]
41873         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41875 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41877         [BZ#16431]
41878         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41879         Adjust the vDSO correctly for internal calls.
41880         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41882 2014-01-20  Allan McRae  <allan@archlinux.org>
41884         * po/ca.po: Update Catalan translation from translation project.
41886 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41888         * sysdeps/s390/sotruss-lib.c: New file.
41890 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41892         [BZ#16430]
41893         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41894         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41895         local calls issues by not having a PLT stub required for IFUNC calls.
41896         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41898 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41900         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41901         * math/test-fpucw-static.c: Likewise.
41903 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41905         [BZ #16453]
41906         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41908 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41910         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41911         implementation for powerpc.
41913 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41915         [BZ #14782]
41916         * sysdeps/posix/system.c (__libc_system): Do not enable
41917         asynchronous cancellation.
41919 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41921         [BZ #16427]
41922         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41923         handling only for numbers special also in the IEEE case.
41925 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41927         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41929 2014-01-11  Allan McRae  <allan@archlinux.org>
41931         * po/bg.po: Update Bulgarian translation from translation project.
41933         * po/de.po: Update German translation from translation project.
41935 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41937         * sysdeps/generic/gcc-compat.h: New file.
41939 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41941         * benchtests/asin-inputs: Correct slow inputs.
41942         * benchtests/acos-inputs: Likewise.
41944 2014-01-10  Allan McRae  <allan@archlinux.org>
41946         * po:sv.po: Update Swedish translation from translation project.
41948         * po/vi.po: Update Vietnamese translation from translation project.
41950         * po/eo.po: Update Esperanto translation from translation project.
41952         * po/cs.po: Update Czech translation from translation project.
41954         * po/nl.po: Update Dutch translation from translation project.
41956         * po/pl.po: Update Polish translation from translation project.
41958         * po/ru.po: Update Russian translation from translation project.
41960         * po/uk.po: Update Ukrainian translation from translation project.
41962 2014-01-08  Brooks Moses  <bmoses@google.com>
41964         * elf/dl-load.c: Fix comment typo.
41966 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41968         * po/header.pot: Rename to...
41969         * po/pot.header: ... this.
41970         * po/Makefile: Use pot.header.
41972 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41973             Maxim Kuvyrkov  <maxim@kugelworks.com>
41975         [BZ #16394]
41976         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41977         SRC and DEST against LEN.
41979 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41981         [BZ #16414]
41982         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41983         implementation.
41984         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41986 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41990 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41992         [BZ #16408]
41993         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41994         for large positive arguments.
41996 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41998         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42000         * math/auto-libm-test-in: Mark various tests with
42001         xfail-rounding:ldbl-128ibm.
42002         * math/auto-libm-test-out: Regenerated.
42004         [BZ #16407]
42005         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42006         Increase overflow threshold.
42008 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42010         [BZ #14286]
42011         * stdio-common/vfprintf.c: Check for integer overflow.
42013 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42015         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42016         the first argument and return value of __tls_get_addr_internal.
42018 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42020         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42021         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42023 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42025         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42026         * sysdeps/s390/rtld-global-offsets.sym: New file.
42027         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42028         GLIBC_2.19 symbol.
42029         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42030         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42031         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42032         ... this.
42033         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42034         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42035         ... this.
42036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42037         Regenerate.
42038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42039         Regenerate.
42040         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42041         halfs of GPRs for high_gprs contexts.
42042         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42043         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42044         field.
42045         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42046         uc_flags field.
42047         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42048         64 bit versions:
42049         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42050         for high GPRs (uc_high_gprs) and for future extensions
42051         (__reserved).
42052         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42053         for future extensions (__reserved).
42054         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42055         64 bit versions:
42056         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42057         SC_HIGHGPRS offset definition.
42058         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42059         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42061         * Versions.def: Add GLIBC_2.19 for libpthread.
42062         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42063         siglongjmp for libpthread with GLIBC_2.19 symver.
42064         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42065         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42066         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42067         * sysdeps/s390/__longjmp.c: New file.
42068         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42069         * sysdeps/s390/longjmp.c: New file.
42070         * sysdeps/s390/setjmp.S: New file.
42071         * sysdeps/s390/sigjmp.S: New file.
42072         * sysdeps/s390/v1-longjmp.c: New file.
42073         * sysdeps/s390/v1-setjmp.h: New file.
42074         * sysdeps/s390/v1-sigjmp.c: New file.
42075         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42076         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42077         GLIBC_2.19 version.
42078         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42079         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42080         versioned symbols for ____longjmp_chk.
42081         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42082         Likewise.
42083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42084         Regenerate.
42085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42086         Regenerate.
42087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42088         Regenerate.
42089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42090         Regenerate.
42091         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42092         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42093         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42094         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42095         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42096         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42097         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42098         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42099         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42100         * sysdeps/s390/rtld-__longjmp.c: New file.
42101         * sysdeps/s390/rtld-setjmp.S: New file.
42103 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42105         [BZ #16400]
42106         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42107         Return -__logl (x) for small positive arguments without evaluating
42108         a polynomial.
42110 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42112         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42113         Rename to ...
42114         (__ptrace_peeksiginfo_args): ... this.
42115         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42116         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42117         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42119 2014-01-06  Allan McRae  <allan@archlinux.org>
42121         * inet/netinet/in.h: Fix typo in comment.
42123 2014-01-05  Andreas Jaeger  <aj@suse.de>
42125         * sysdeps/i386/fpu/libm-test-ulps: Update.
42127 2014-01-05  Allan McRae  <allan@archlinux.org>
42129         * po/libc.pot: Regenerated.
42131         * malloc/memusagestat.c: Fix gettext call formatting.
42133 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42135         * nscd/nscd.c: Improve usage() output.
42137 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42139         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42140         * sysdeps/unix/sysv/linux/configure: Regenerated.
42141         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42142         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42144 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42146         [BZ #16390]
42147         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42148         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42150 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42152         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42153         extra tokens at end of #undef directive.
42154         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42155         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42156         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42158 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42160         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42162         * math/auto-libm-test-in: Mark various tests with
42163         xfail-rounding:ldbl-128ibm.
42164         * math/auto-libm-test-out: Regenerated.
42166 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42168         [BZ #16386]
42169         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42170         numbers with subnormal high part when calculating exponent.
42172         [BZ #16385]
42173         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42174         fabs.
42176         [BZ #16384]
42177         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42178         M_LN2l.
42179         (__ieee754_acoshl): Use __log1pl not __log1p.
42181 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42183         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42184         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42185         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42186         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42187         (reused_arena, arena_get2): Convert to GNU style.
42188         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42189         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42190         (memalign_check, __malloc_set_state): Likewise.
42191         * malloc/mallocbug.c (main): Likewise.
42192         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42193         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42194         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42195         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42196         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42197         (__posix_memalign, malloc_info): Likewise.
42198         * malloc/malloc.h: Likewise.
42199         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42200         (mallochook, memalignhook, reallochook, mabort): Likewise.
42201         * malloc/mcheck.h: Likewise.
42202         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42203         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42204         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42205         * malloc/morecore.c (__default_morecore): Likewise.
42206         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42207         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42208         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42209         (print_and_abort): Likewise.
42210         * malloc/obstack.h: Likewise.
42211         * malloc/set-freeres.c (__libc_freeres): Likewise.
42212         * malloc/tst-mallocstate.c (main): Likewise.
42213         * malloc/tst-mtrace.c (main): Likewise.
42214         * malloc/tst-realloc.c (do_test): Likewise.
42216 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42218         [BZ #16366]
42219         * nscd/netgroupcache.c (do_notfound): New function.
42220         (addgetnetgrentX): Use it.
42222         [BZ # 16365]
42223         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42224         NSS_STATUS_NOTFOUND.
42226 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42228         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42231 2014-01-01  Allan McRae  <allan@archlinux.org>
42233         * scripts/update-copyrights: Update configure input file suffix.
42235         * NEWS: Update copyright year.
42236         * catgets/gencat.c: Likewise.
42237         * csu/version.c: Likewise.
42238         * debug/catchsegv.sh: Likewise.
42239         * debug/pcprofiledump.c: Likewise.
42240         * debug/xtrace.sh: Likewise.
42241         * elf/ldconfig.c: Likewise.
42242         * elf/ldd.bash.in: Likewise.
42243         * elf/pldd.c: Likewise.
42244         * elf/sotruss.ksh: Likewise.
42245         * elf/sprof.c: Likewise.
42246         * iconv/iconv_prog.c: Likewise.
42247         * iconv/iconvconfig.c: Likewise.
42248         * locale/programs/locale.c: Likewise.
42249         * locale/programs/localedef.c: Likewise.
42250         * login/programs/pt_chown.c: Likewise.
42251         * malloc/memusage.sh: Likewise.
42252         * malloc/memusagestat.c: Likewise.
42253         * malloc/mtrace.pl: Likewise.
42254         * manual/libc.texinfo: Likewise.
42255         * nscd/nscd.c: Likewise.
42256         * nss/getent.c: Likewise.
42257         * nss/makedb.c: Likewise.
42258         * posix/getconf.c: Likewise.
42259         * scripts/test-installation.pl: Likewise.
42261         * All files with FSF copyright notices: Update copyright dates
42262         using scripts/update-copyrights.
42263         * intl/plural.c: Regenerated.
42264         * locale/programs/charmap-kw.h: Likewise.
42265         * locale/programs/locfile-kw.h: Likewise.
42267 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42269         * sysdeps/unix/sysv/linux/configure: Regenerated.
42270         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42271         the linux/fanotify.h header.
42272         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42273         HAVE_LINUX_FANOTIFY_H is defined.
42275 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42277         * benchtests/cos-inputs: New inputs.
42278         * benchtests/sin-inputs: Likewise.
42280         * benchtests/atan-inputs: New inputs. Fix name of multiple
42281         precision fallback inputs.
42283         * benchtests/atanh-inputs: New inputs.
42284         * benchtests/tanh-inputs: Likewise.
42286         * benchtests/acosh-inputs: New inputs.
42287         * benchtests/asinh-inputs: Likewise.
42289         * benchtests/cosh-inputs: New inputs.
42290         * benchtests/sinh-inputs: Likewise.
42292         * benchtests/acos-inputs: Add more inputs.
42293         * benchtests/asin-inputs: Likewise.
42295 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42297         [BZ #16375]
42298         * manual/arith.texi: Fix spelling.
42299         * manual/charset.texi: Likewise.
42300         * manual/errno.texi: Likewise.
42301         * manual/filesys.texi: Likewise.
42302         * manual/lang.texi: Likewise.
42303         * manual/llio.texi: Likewise.
42304         * manual/locale.texi: Likewise.
42305         * manual/message.texi: Likewise.
42306         * manual/resource.texi: Likewise.
42307         * manual/search.texi: Likewise.
42308         * manual/setjmp.texi: Likewise.
42309         * manual/stdio.texi: Likewise.
42310         * manual/string.texi: Likewise.
42311         * manual/sysinfo.texi: Likewise.
42312         * manual/time.texi: Likewise.
42314 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42316         * po/sl.po: New file.
42318 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42320         * .gitignore: Add core/.gdbinit/.gdb_history.
42322 2013-12-27  Allan McRae  <allan@archlinux.org>
42324         [BZ #16369]
42325         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42326         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42328 2013-12-24  Brooks Moses  <bmoses@google.com>
42330         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42331         all compilers that claim C++98 compliance, not just GCC.
42332         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42333         Likewise.
42335 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42337         * NEWS: Restore accidentally deleted bug-fix entries.
42339 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42340             Ondřej Bílka  <neleai@seznam.cz>
42342         [BZ #15073]
42343         * malloc/malloc.c (_int_free): Perform sanity check only if we
42344         have_lock.
42346 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42348         [BZ #12986]
42349         * manual/stdio.texi (String Input Conversions): Clarify that character
42350         classes are not supported.
42352 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42356 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42358         [BZ #16337]
42359         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42360         Calculate results for small negative arguments directly rather
42361         than using reflection formula with special underflow handling.
42363         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42364         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42365         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42366         (fchflags): Likewise.
42367         (revoke): Likewise.
42368         (setlogin): Likewise.
42369         (sigaltstack): Likewise.
42370         (wait4): Likewise.
42371         (sigblock): Remove.
42372         (sigsetmask): Likewise.
42373         (wait3): Likewise.
42374         (waitpid): Likewise.
42375         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42376         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42377         file.
42378         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42379         * sysdeps/unix/bsd/Makefile: ... here.
42380         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42381         * sysdeps/unix/bsd/Versions: ... here.
42382         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42383         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42384         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42385         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42386         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42387         * sysdeps/unix/bsd/sigblock.c: ... here.
42388         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42389         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42390         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42391         * sysdeps/unix/bsd/sigvec.c: ... here.
42392         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42393         * sysdeps/unix/bsd/tcdrain.c: ... here.
42394         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42395         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42396         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42397         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42398         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42399         * sysdeps/unix/bsd/wait.c: ... here.
42400         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42401         * sysdeps/unix/bsd/wait3.c: ... here.
42402         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42403         * sysdeps/unix/bsd/waitpid.c: ... here.
42405 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42407         [BZ #16356]
42408         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42409         round-to-nearest for [!USE_AS_EXPM1L].
42410         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42411         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42412         more tests of exp and exp10.  Expect some exp10 tests to miss
42413         exceptions or fail in directed rounding modes.
42414         * math/auto-libm-test-out: Regenerated.
42415         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42416         (exp10_test_tonearest): New function.
42417         (exp10_towardzero_test_data): New array.
42418         (exp10_test_towardzero): New function.
42419         (exp10_downward_test_data): New array.
42420         (exp10_test_downward): New function.
42421         (exp10_upward_test_data): New array.
42422         (exp10_test_upward): New function.
42423         (main): Call the new functions.
42424         * sysdeps/i386/fpu/libm-test-ulps: Update.
42425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42427 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42429         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42430         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42431         * math/auto-libm-test-out: Regenerated.
42432         * math/libm-test.inc (acosh_test_data): Add more tests.
42433         (atanh_test_data): Likewise.
42434         (ceil_test_data): Likewise.
42435         (copysign_test_data): Likewise.
42436         * sysdeps/i386/fpu/libm-test-ulps: Update.
42437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42439         * timezone/checktab.awk: Update from tzcode 2013i.
42440         * timezone/private.h: Likewise.
42441         * timezone/scheck.c: Likewise.
42442         * timezone/tzfile.h: Likewise.
42443         * timezone/tzselect.ksh: Likewise.
42444         * timezone/zdump.c: Likewise.
42445         * timezone/zic.c: Likewise.
42447         * math/auto-libm-test-in: Add tests of cpow.
42448         * math/auto-libm-test-out: Regenerated.
42449         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42450         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42451         mpc_cc_c.
42452         (func_calc_desc): Add mpc_cc_c union field.
42453         (test_functions): Add cpow.
42454         (special_fill_2pi): New function.
42455         (special_real_inputs): Add 2pi.
42456         (calc_generic_results): Handle mpc_cc_c.
42457         * sysdeps/i386/fpu/libm-test-ulps: Update.
42458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42460         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42461         csqrt, ctan and ctanh.
42462         * math/auto-libm-test-out: Regenerated.
42463         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42464         (TEST_COND_x86): Likewise.
42465         (ccos_test_data): Use AUTO_TESTS_c_c.
42466         (ccosh_test_data): Likewise.
42467         (cexp_test_data): Likewise.
42468         (clog_test_data): Likewise.
42469         (csqrt_test_data): Likewise.
42470         (ctan_test_data): Likewise.
42471         (ctan_tonearest_test_data): Likewise.
42472         (ctan_towardzero_test_data): Likewise.
42473         (ctan_downward_test_data): Likewise.
42474         (ctan_upward_test_data): Likewise.
42475         (ctanh_test_data): Likewise.
42476         (ctanh_tonearest_test_data): Likewise.
42477         (ctanh_towardzero_test_data): Likewise.
42478         (ctanh_downward_test_data): Likewise.
42479         (ctanh_upward_test_data): Likewise.
42480         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42481         mpc_c_c.
42482         (func_calc_desc): Add mpc_c_c union field.
42483         (FUNC_mpc_c_c): New macro.
42484         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42485         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42486         ctanh.
42487         (special_fill_min_subnorm_p120): New function.
42488         (special_real_inputs): Add min_subnorm_p120.
42489         (calc_generic_results): Handle mpc_c_c.
42490         * sysdeps/i386/fpu/libm-test-ulps: Update.
42491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42493 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42495         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42496         (do_sin_slow): New functions.
42497         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42498         (cslow2, csloww1, csloww2): Use the new functions.
42500         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42501         Use M to change sign of result instead of X.  Assume X is
42502         positive.
42503         (csloww1): Likewise.
42504         (__sin): Adjust.
42505         (__cos): Adjust.
42507         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42508         arguments A and DA.
42509         (__sin): Adjust.
42510         (__cos): Likewise.
42512         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42513         (__cos): Likewise.
42514         (sloww1): Don't adjust sign of DX.
42515         (csloww1): Likewise.
42516         (sloww2): Use X directly and don't adjust sign of DX.
42517         (csloww2): Likewise.
42519 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42521         * math/auto-libm-test-in: Add tests of cabs and carg.
42522         * math/auto-libm-test-out: Regenerated.
42523         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42524         (carg_test_data): Likewise.
42525         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42526         mpc_c_f.
42527         (func_calc_desc): Add mpc_c_f union field.
42528         (test_functions): Add cabs and carg.
42529         (calc_generic_results): Handle mpc_c_f.
42531         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42532         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42533         as a macro and a compat symbol.
42534         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42535         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42536         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42537         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42538         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42539         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42540         not use .hidden.
42541         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42542         Likewise.
42543         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42544         Likewise.
42545         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42546         Likewise.
42547         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42548         Likewise.
42549         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42550         Likewise.
42551         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42552         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42553         from GLIBC_2.3.2.
42555 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42559 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42561         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42562         trailing whitespace removed.
42563         * scripts/config.guess: Update to version 2013-11-29.
42564         * scripts/config.sub: Update to version 2013-10-01.
42566         * math/auto-libm-test-in: Add tests of sincos.
42567         * math/auto-libm-test-out: Regenerated.
42568         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42569         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42570         mpfr_f_11.
42571         (func_calc_desc): Add mpfr_f_11 union field.
42572         (test_functions): Add sincos.
42573         (calc_generic_results): Handle mpfr_f_11.
42574         * sysdeps/i386/fpu/libm-test-ulps: Update.
42575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42577 2013-12-19  Andreas Schwab  <schwab@suse.de>
42579         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42580         CALL_MCOUNT.
42581         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42582         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42583         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42585 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42587         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42588         * sysdeps/i386/fpu/libm-test-ulps: Update.
42589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42591         [BZ #16293]
42592         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42593         round-to-nearest mode when using frndint.
42594         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42595         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42596         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42597         Likewise.
42598         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42599         sinh test to fail.
42600         * math/auto-libm-test-out: Regenerated.
42601         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42602         (TEST_COND_x86): Likewise.
42603         (expm1_tonearest_test_data): New array.
42604         (expm1_test_tonearest): New function.
42605         (expm1_towardzero_test_data): New array.
42606         (expm1_test_towardzero): New function.
42607         (expm1_downward_test_data): New array.
42608         (expm1_test_downward): New function.
42609         (expm1_upward_test_data): New array.
42610         (expm1_test_upward): New function.
42611         (main): Run the new test functions.
42612         * sysdeps/i386/fpu/libm-test-ulps: Update.
42613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42615         * include/features.h: Update comment documenting feature test
42616         macros.  Mention _DEFAULT_SOURCE in comment.
42617         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42618         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42619         _BSD_SOURCE and _SVID_SOURCE.
42620         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42621         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42622         !_SVID_SOURCE]: Likewise.
42623         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42624         (__USE_POSIX_IMPLICITLY): Define.
42625         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42626         (_POSIX_SOURCE): Undefine and redefine.
42627         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42628         (_POSIX_C_SOURCE): Likewise.
42629         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42630         (Feature Test Macros): Update documentation of default features.
42632 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42634         * benchtests/Makefile: Add bench-strtok.
42635         * benchtests/bench-strtok.c: New file: strtok benchtest.
42637 2013-12-19  Allan McRae  <allan@archlinux.org>
42639         * manual/install.texi: Suppress menu for plain text output.
42640         * INSTALL: Regenerated.
42642 2013-12-18  Brooks Moses  <bmoses@google.com>
42644         [BZ #15846]
42645         * misc/getauxval.c: Include errno.h.
42646         (__getauxval): Set errno to ENOENT if the requested type is not
42647         found.
42648         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42649         don't declare with __attribute_const__.
42650         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42651         * manual/startup.texi: Document that getauxval sets errno.
42653 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42655         * math/auto-libm-test-in: Add tests of jn and yn.
42656         * math/auto-libm-test-out: Regenerated.
42657         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42658         (yn_test_data): Likewise.
42659         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42660         mpfr_if_f.
42661         (func_calc_desc): Add mpfr_if_f union field.
42662         (FUNC_mpfr_if_f): New macro.
42663         (test_functions): Add jn and yn.
42664         (calc_generic_results): Assert type of second input for
42665         mpfr_ff_f.  Handle mpfr_if_f.
42666         (output_for_one_input_case): Disable all checking for arguments
42667         fitting floating-point types in case of an integer argument.
42668         * sysdeps/i386/fpu/libm-test-ulps: Update.
42669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42672         Don't expect fegetround reference in libm.so.
42674 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42676         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42677         $(config-cflags-nofma).
42679 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42681         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42682         * math/auto-libm-test-out: Regenerated.
42684         [BZ #16338]
42685         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42686         to determine exponent and adjust argument to have exponent of -1.
42687         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42688         log2.
42689         * math/auto-libm-test-out: Regenerated.
42690         * sysdeps/i386/fpu/libm-test-ulps: Update.
42691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42693 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42695         * manual/probes.texi: Remove cases when per-thread arenas are
42696         disabled.
42698 2013-12-18  Andreas Schwab  <schwab@suse.de>
42700         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42701         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42702         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42703         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42704         * sysdeps/i386/i686/multiarch/Makefile: Update.
42705         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42707 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42709         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42710         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42712 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42714         [BZ #15968]
42715         Support TZ transition times < 00:00:00.
42716         This is needed for version-3 tz-format files; it supports time
42717         stamps past 2037 for America/Godthab (the only entry in the tz
42718         database for which this change is relevant).
42719         * manual/time.texi (TZ Variable): Document transition times
42720         from -167:59:59 through -00:00:01.
42721         * time/tzset.c (tz_rule): Time of day is now signed.
42722         (__tzset_parse_tz): Parse negative time of day.
42724         Document TZ transition times >= 25:00:00.
42725         * manual/time.texi (TZ Variable): Document transition times from
42726         25:00:00 through 167:59:59.  These are already supported, and this
42727         support will help with version-3 tz-format files.
42729         * manual/time.texi (TZ Variable): Modernize North America example
42730         to reflect current (i.e., 2007-and-later) daylight saving rules.
42732         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42734 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42736         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42737         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42738         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42739         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42740         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42741         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42742         * sysdeps/unix/bsd/clock.c: Likewise.
42743         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42744         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42745         * sysdeps/unix/bsd/init-posix.c: Likewise.
42746         * sysdeps/unix/bsd/poll.c: Likewise.
42747         * sysdeps/unix/bsd/ptsname.c: Likewise.
42748         * sysdeps/unix/bsd/seekdir.c: Likewise.
42749         * sysdeps/unix/bsd/setegid.c: Likewise.
42750         * sysdeps/unix/bsd/seteuid.c: Likewise.
42751         * sysdeps/unix/bsd/setgid.c: Likewise.
42752         * sysdeps/unix/bsd/setrgid.c: Likewise.
42753         * sysdeps/unix/bsd/setruid.c: Likewise.
42754         * sysdeps/unix/bsd/setsid.c: Likewise.
42755         * sysdeps/unix/bsd/setuid.c: Likewise.
42756         * sysdeps/unix/bsd/sigaction.c: Likewise.
42757         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42758         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42759         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42760         * sysdeps/unix/bsd/telldir.c: Likewise.
42761         * sysdeps/unix/bsd/times.c: Likewise.
42762         * sysdeps/unix/bsd/usleep.c: Likewise.
42764         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42765         ($(objpfx)libbsd-compat.a): Remove rule.
42767         * include/features.h (__FAVOR_BSD): Do not define.
42768         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42769         features conflicting with POSIX.
42770         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42771         (_BSD_SOURCE): Remove description of not being a subset of other
42772         feature test macros.
42773         * manual/job.texi (getpgrp): Do not document BSD version.
42774         (getpgid): Do not document by reference to BSD getpgrp.
42775         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42776         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42777         * signal/signal.h [__FAVOR_BSD]: Likewise.
42778         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42779         instead of making contents conditional on [__FAVOR_BSD].
42780         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42782 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42786 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42788         [BZ #16314]
42789         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42790         values below 2**-450, not 2**-500.
42791         * math/auto-libm-test-in: Don't allow spurious underflow from
42792         hypot.
42793         * math/auto-libm-test-out: Regenerated.
42795         [BZ #16316]
42796         [BZ #16330]
42797         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42798         values of ha and hb and sort them after adjusting subnormal
42799         arguments.
42800         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42801         Likewise.
42802         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42803         values of ea and eb and sort them after adjusting subnormal
42804         arguments.
42805         * math/auto-libm-test-in: Do not expect some hypot tests of
42806         subnormals to fail.  Add more hypot tests.
42807         * math/auto-libm-test-out: Regenerated.
42809 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42811         [BZ #13304]
42812         * sysdeps/sh/s_fma.c: New file.
42813         * sysdeps/sh/s_fmaf.c: New file.
42814         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42815         version.
42816         * sysdeps/sh/Implies: Add sh/soft-fp.
42818 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42820         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42821         level of indirection to members `objname', `errstring', `malloced'.
42822         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42823         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42824         it as the __longjmp argument (just pass 1 instead).
42825         (_dl_catch_error): Initialize C with argument pointers and address of
42826         volatile local ERRCODE rather than copying values out of C at return.
42828 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42830         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42831         * math/auto-libm-test-out: Regenerated.
42832         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42833         (hypot_test_data): Likewise.
42834         (pow_test_data): Likewise.
42835         (pow_tonearest_test_data): Likewise.
42836         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42837         mpfr_ff_f.
42838         (func_calc_desc): Add mpfr_ff_f union field.
42839         (FUNC_mpfr_ff_f): New macro.
42840         (test_functions): Add atan2, hypot and pow.
42841         (special_fill_min): New function.
42842         (special_fill_minus_min): Likewise.
42843         (special_fill_min_subnorm): Likewise.
42844         (special_fill_minus_min_subnorm): Likewise.
42845         (special_real_inputs): Add min, -min, min_subnorm and
42846         -min_subnorm.
42847         (calc_generic_results): Handle mpfr_ff_f.
42848         * sysdeps/i386/fpu/libm-test-ulps: Update.
42849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42851 2013-12-16  Will Newton  <will.newton@linaro.org>
42853         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42854         (Aligned Memory Blocks): Add documentation for aligned_alloc
42855         and suggest it as an alternative to posix_memalign.
42856         (Hooks for Malloc): Document __memalign_hook is also called
42857         for aligned_alloc.  (Summary of Malloc): Add summary for
42858         aligned alloc.  Document __memalign_hook is also called
42859         for aligned_alloc.
42861 2013-12-16  Will Newton  <will.newton@linaro.org>
42863         * manual/memory.texi (Malloc Examples): Clarify default
42864         alignment documentation.  Suggest posix_memalign rather
42865         than memalign or valloc.
42866         (Aligned Memory Blocks): Remove suggestion to use memalign
42867         or valloc.  Remove obsolete comment about BSD.
42868         Document memalign errno values and mark the function obsolete.
42869         Document posix_memalign returned error codes.  Mark valloc
42870         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42871         called for posix_memalign and valloc.
42872         (Summary of Malloc): Add posix_memalign to function summary.
42873         __memalign_hook is also called for posix_memalign and valloc.
42875 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42877         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42878         TAYLOR_SIN.
42879         (__sin): Adjust.
42880         (__cos): Likewise.
42881         (sloww): Use mynumber union.  Expand ternary operator into
42882         if-else statements.
42883         (cslow): use mynumber union.
42885 2013-12-16  Allan McRae  <allan@archlinux.org>
42887         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42888         * configure: Regenerated.
42890         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42892         [BZ #14120]
42893         * configure.ac: Added --enable-maintainer-mode. Check for
42894         autoconf when enabled.
42895         * configure: Regenerated.
42897         * nscd/nscd.service: New file.
42898         * nscd/nscd.tmpfiles: New file.
42900 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42902         [BZ #12100]
42903         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42904         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42905         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42906         (strstr): Add __strstr_sse2_unaligned ifunc.
42907         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42908         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42909         (strcasestr): Remove __strcasestr_sse42 ifunc.
42910         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42912         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42914 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42916         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42917         * sysdeps/sh/bits/fenv.h: ... here.
42918         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42920 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42922         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42924         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42925         hypotf multiarch implementations.
42926         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42927         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42928         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42929         multiarch hypot for PPC64.
42930         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42931         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42932         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42933         multiarch hypotf for PPC64.
42935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42936         modff multiarch implementations.
42937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42940         multiarch modf for PPC64.
42941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42944         multiarch modff for PPC64.
42946         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42947         and logl multiarch implementations.
42948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42951         multiarch logb for PPC64.
42952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42955         multiarch logb for PPC64.
42956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42959         multiarch logb for PPC64.
42961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42962         isinff multiarch implementation.
42963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42964         file.
42965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42967         multiarch isinf for PPC64.
42968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42969         file.
42970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42971         multiarch isinff for PPC64.
42973         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42974         finitef multiarch implementation.
42975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42976         file.
42977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42979         multiarch finite for PPC64.
42980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42981         file.
42982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42983         multiarch finitef for PPC64.
42985         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42986         lrint multiarch implementation.
42987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42988         file.
42989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42991         multiarch llrint for PPC64.
42992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42993         multiarch lrint for PPC64.
42995         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42996         copysignf multiarch implementation.
42997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42998         file.
42999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43000         file.
43001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43002         multiarch copysign for PPC64.
43003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43004         multiarch copysignf for PPC64.
43006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43007         multiarch implementation.
43008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43009         file.
43010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43011         file.
43012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43013         file.
43014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43015         file.
43016         multiarch llround for PPC64.
43017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43018         multiarch trunc for PPC64.
43019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43020         multiarch truncf for PPC64.
43022         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43023         multiarch implementation.
43024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43025         file.
43026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43027         file.
43028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43029         file.
43030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43031         file.
43032         multiarch llround for PPC64.
43033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43034         multiarch round for PPC64.
43035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43036         multiarch roundf for PPC64.
43038         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43039         multiarch implementation.
43040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43041         file.
43042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43043         file.
43044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43045         file.
43046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43047         file.
43048         multiarch llround for PPC64.
43049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43050         multiarch floor for PPC64.
43051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43052         multiarch floorf for PPC64.
43054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43055         multiarch implementation.
43056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43057         file.
43058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43059         file.
43060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43061         file.
43062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43063         file.
43064         multiarch llround for PPC64.
43065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43066         multiarch ceil for PPC64.
43067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43068         multiarch ceilf for PPC64.
43070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43071         multiarch implementation.
43072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43073         file.
43074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43075         file.
43076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43077         file.
43078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43079         multiarch llround for PPC64.
43080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43081         multiarch lround for PPC64.
43083         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43084         multiarch implementation.
43085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43088         file.
43089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43092         multiarch isnan for PPC64.
43093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43094         multiarch isnanf for PPC64.
43096         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43097         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43098         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43099         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43100         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43103         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43104         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43105         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43106         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43108         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43109         multiarch implementations.
43110         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43111         (__libc_ifunc_impl_list): Likewise.
43112         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43113         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43114         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43115         multiarch stpcpy for PPC64.
43117         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43118         multiarch implementations.
43119         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43120         (__libc_ifunc_impl_list): Likewise.
43121         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43122         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43123         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43124         multiarch strcpy for PPC64.
43126         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43127         redefine function name.
43128         (_wordcopy_fwd_dest_aligned): Likewise.
43129         (_wordcopy_bwd_aligned): Likewise.
43130         (_wordcopy_bwd_dest_aligned): Likewise.
43131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43132         multiarch implementations.
43133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43134         (__libc_ifunc_impl_list): Likewise.
43135         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43136         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43137         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43138         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43139         multiarch wcscpy for PPC64.
43141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43142         multiarch implementations.
43143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43144         (__libc_ifunc_impl_list): Likewise.
43145         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43146         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43147         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43148         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43149         multiarch wcscpy for PPC64.
43151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43152         multiarch implementations.
43153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43154         (__libc_ifunc_impl_list): Likewise.
43155         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43156         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43157         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43158         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43159         multiarch wcsrchr for PPC64.
43161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43162         multiarch implementations.
43163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43164         (__libc_ifunc_impl_list): Likewise.
43165         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43166         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43167         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43168         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43169         multiarch wcschr for PPC64.
43171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43172         multiarch implementations.
43173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43174         (__libc_ifunc_impl_list): Likewise.
43175         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43176         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43177         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43178         multiarch strchrnul for PPC64.
43180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43181         implementations.
43182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43183         (__libc_ifunc_impl_list): Likewise.
43184         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43185         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43186         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43187         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43188         strchr for PPC64.
43190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43191         implementations.
43192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43193         (__libc_ifunc_impl_list): Likewise.
43194         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43195         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43196         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43197         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43198         strncmp for PPC64.
43200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43201         multiarch implementations.
43202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43203         (__libc_ifunc_impl_list): Likewise.
43204         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43205         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43206         strncasecmp for PPC64.
43207         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43208         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43209         multiarch strncasecmp_l for PPC64.
43211         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43212         multiarch implementations.
43213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43214         (__libc_ifunc_impl_list): Likewise.
43215         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43216         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43217         multiarch strcasecmp for PPC64.
43218         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43219         file.
43220         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43221         multiarch strcasecmp_l for PPC64.
43223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43224         implementations.
43225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43226         (__libc_ifunc_impl_list): Likewise.
43227         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43228         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43229         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43230         strnlen for PPC64.
43232         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43233         implementations.
43234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43235         (__libc_ifunc_impl_list): Likewise.
43236         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43237         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43238         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43239         strlen for PPC64.
43241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43242         implementations.
43243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43244         (__libc_ifunc_impl_list): Likewise.
43245         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43246         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43247         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43248         rawmemrchr for PPC64.
43250         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43251         implementation.
43252         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43253         (__libc_ifunc_impl_list): Likewise.
43254         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43255         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43256         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43257         memrchr for PPC64.
43259         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43260         implementation.
43261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43262         (__libc_ifunc_impl_list): Likewise.
43263         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43264         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43265         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43266         memchr for PPC64.
43268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43269         implementation.
43270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43271         (__libc_ifunc_impl_list): Likewise.
43272         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43273         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43274         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43275         mempcpy for PPC64.
43277         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43278         avoid cretion of __bzero symbol.
43279         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43280         Likewise.
43281         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43282         Likewise.
43283         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43284         Likewise.
43285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43286         multiarch implementations.
43287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43288         (__libc_ifunc_impl_list): Likewise.
43289         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43290         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43291         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43292         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43293         bzero for PPC32.
43294         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43295         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43296         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43297         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43298         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43299         memset for PPC64.
43300         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43302         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43303         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43304         implementations.
43305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43306         (__libc_ifunc_impl_list): Likewise.
43307         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43308         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43309         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43310         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43311         memcmp for PPC64.
43313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43314         multiarch for POWER/PPC64.
43315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43316         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43317         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43318         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43319         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43320         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43321         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43322         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43323         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43324         memcpy for PPC64.
43326         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43327         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43328         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43329         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43330         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43331         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43332         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43333         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43334         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43335         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43336         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43337         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43338         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43339         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43340         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43349 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43351         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43353 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43355         * benchtests/Makefile (bench): Add exp2 and log2.
43356         (LDLIBS-bench-exp2): Add -lm.
43357         (LDLIBS-bench-log2): Likewise.
43358         * benchtests/exp2-inputs: New inputs file.
43359         * benchtests/log2-inputs: New inputs file.
43360         * benchtests/log-inputs: Add new inputs.
43361         * benchtests/tan-inputs: Likewise.
43363 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43365         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43366         definition...
43367         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43368         (csloww2): ... from here.
43370         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43371         instead of structures.
43372         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43373         (POLYNOMIAL): Likewise.
43374         (TAYLOR_SLOW): Likewise.
43375         (__sin): Likewise.
43376         (__cos): Likewise.
43377         (slow1): Likewise.
43378         (slow2): Likewise.
43379         (sloww): Likewise.
43380         (sloww1); Likewise.
43381         (sloww2): Likewise.
43382         (bsloww1): Likewise.
43383         (bsloww2): Likewise.
43384         (cslow2): Likewise.
43385         (csloww): Likewise.
43386         (csloww1): Likewise.
43387         (csloww2): Likewise.
43389 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43391         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43392         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43393         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43394         * malloc/hooks.c (realloc_check): Likewise.
43396         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43397         * malloc/arena.c: Remove PER_THREAD conditional.
43398         [!PER_THREAD]: Remove code.
43399         (ptmalloc_unlock_all2): Likewise.
43400         (ptmalloc_init): Likewise.
43401         (_int_new_arena): Likewise.
43402         (arena_get2): Likewise.
43403         * malloc/hooks.c (__malloc_get_state): Likewise.
43404         (__malloc_set_state): Likewise.
43405         * malloc/malloc.c: Likewise.
43406         (struct malloc_state): Likewise.
43407         (struct malloc_par): Likewise.
43408         (__libc_realloc): Likewise.
43409         (__libc_mallopt): Likewise.
43411 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43413         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43415 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43417         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43418         macro to a function.  Check for zero perturb_byte.
43419         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43421         * malloc/malloc.c: (force_reg): Remove.
43422         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43423         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43424         force_reg by atomic_forced_read.
43425         * malloc/arena.c (ptmalloc_init): Likewise.
43426         * malloc/hooks.c (top_check): Likewise.
43428 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43432 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43434         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43436 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43438         * math/auto-libm-test-in: Add tests of lgamma.
43439         * math/auto-libm-test-out: Regenerated.
43440         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43441         (M_LOG_2_SQRT_PIl): Likewise.
43442         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43443         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43444         mpfr_f_f1.
43445         (func_calc_desc): Add mpfr_f_f1 union field.
43446         (ARGS1): New macro.
43447         (ARGS2): Likewise.
43448         (ARGS3): Likewise.
43449         (ARGS4): Likewise.
43450         (RET1): Likewise.
43451         (RET2): Likewise.
43452         (CALC): Likewise.
43453         (FUNC): Likewise.
43454         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43455         (test_functions): Add lgamma.
43456         (calc_generic_results): Handle mpfr_f_f1.
43457         * sysdeps/i386/fpu/libm-test-ulps: Update.
43458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43460 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43462         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43463         __mpn_add_n for PowerPC64/POWER7.
43464         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43465         __mpn_sub_n for PowerPC64/POWER7.
43467         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43468         __mpn_addmul_1 for PowerPC64.
43469         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43470         __mpn_submul_1 for PowerPC64.
43471         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43472         for PowerPC64.
43473         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43474         for PowerPC64.
43476 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43478         [BZ #15089]
43479         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43481 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43483         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43485         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43486         add multiarch folders.
43487         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43488         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43489         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43490         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43491         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43492         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43493         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43494         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43495         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43496         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43497         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43506         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43508         New file.
43509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43510         New file.
43511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43512         multiarch __ieee754_hypot for PowerPC32.
43513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43514         New file.
43515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43516         New file.
43517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43518         multiarch __ieee754_hypotf for PowerPC32.
43520         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43521         long_double_symbol only if __logbl is defined.
43522         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43523         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43524         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43525         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43526         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43527         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43528         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43529         path for implementation.
43530         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43531         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43533         logb, and logbl multiarch implementations for PowerPC32.
43534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43535         file.
43536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43537         file.
43538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43539         multiarch logb for PowerPC32.
43540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43541         file.
43542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43543         file.
43544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43545         multiarch logbf for PowerPC32.
43546         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43548         file.
43549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43550         multiarch logbl implementation for PowerPC32.
43552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43553         and modff multiarch implementations.
43554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43555         New file.
43556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43557         New file.
43558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43559         multiarch modf for PowerPC32.
43560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43561         New file.
43562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43563         New file.
43564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43565         multiarch modff for PowerPC32.
43567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43568         and lrintf multiarch implementations.
43569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43570         New file.
43571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43572         New file.
43573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43574         multiarch lrint for PowerPC32.
43575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43576         file: multiarch lrintf for PowerPC32.
43578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43579         and lroundf multiarch implementations.
43580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43581         New file.
43582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43583         New file.
43584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43585         New file.
43586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43587         multiarch lround for PowerPC32.
43588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43589         file: multiarch lroundf for PowerPC32.
43591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43592         copysign and copysignf multiarch implementations.
43593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43594         New file.
43595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43596         New file.
43597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43598         file: multiarch copysign for PowerPC32.
43599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43600         file: multiarch copysignf for PowerPC32.
43602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43603         and truncf multiarch implementations.
43604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43605         New file.
43606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43607         file.
43608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43609         multiarch trunc for PowerPC32.
43610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43611         New file.
43612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43613         New file.
43614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43615         multiarch truncf for PowerPC32.
43617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43618         and roundf multiarch implementations.
43619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43620         New file.
43621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43622         file.
43623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43624         multiarch round for PowerPC32.
43625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43626         New file.
43627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43628         New file.
43629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43630         multiarch roundf for PowerPC32.
43632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43633         and floorf multiarch implementations.
43634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43635         New file.
43636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43637         file.
43638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43639         multiarch floor for PowerPC32.
43640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43641         New file.
43642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43643         New file.
43644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43645         multiarch floorf for PowerPC32.
43647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43648         and ceilf multiarch implementations.
43649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43650         New file.
43651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43652         file.
43653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43654         multiarch ceil for PowerPC32.
43655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43656         New file.
43657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43658         file.
43659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43660         multiarch ceilf for PowerPC32.
43662         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43663         is defined.
43664         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43665         FINITEF is defined.
43666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43667         and finitef multiarch implementations.
43668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43669         New file.
43670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43671         file.
43672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43673         multiarch finite for PowerPC32.
43674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43675         New file.
43676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43677         file: multiarch finitef for PowerPC32.
43679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43680         and isinff multiarch implementations.
43681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43682         file.
43683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43684         file.
43685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43686         multiarch isinf for PowerPC32.
43687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43688         New file.
43689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43690         multiarch isinff for PowerPC32.
43692         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43693         alias when __isnan is defined.
43694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43695         and isnanf multiarch implementations.
43696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43697         file.
43698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43699         file.
43700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43701         file.
43702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43703         file.
43704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43705         multiarch isnan for PowerPC32.
43706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43707         New file.
43708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43709         New file.
43710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43711         multiarch isnanf for PowerPC32.
43713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43714         and sqrtf multiarch implementations.
43715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43716         file.
43717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43718         file.
43719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43720         multiarch sqrt for PowerPC32.
43721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43722         file.
43723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43724         file.
43725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43726         multiarch sqrtf for PowerPC32.
43728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43729         and llroundf multiarch implementations.
43730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43731         New file.
43732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43733         New file.
43734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43735         New file.
43736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43737         file: multiarch llround for PowerPC32.
43738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43739         file: multiarch llroundf for PowerPC32.
43741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43742         multiarch PowerPC32 fpu implementations.
43743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43744         New file.
43745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43746         New file.
43747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43748         multiarch llrint for PowerPC32.
43749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43750         New file.
43751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43752         New file.
43753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43754         file.
43756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43758         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43759         file.
43760         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43761         file.
43762         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43763         file.
43764         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43765         multiarch wordcopy for PPC32.
43766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43767         wordcopy objects.
43768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43769         (__libc_ifunc_impl_list): Likewise.
43770         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43771         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43772         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43773         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43774         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43775         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43777         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43779         file.
43780         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43781         file.
43782         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43783         file.
43784         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43785         multiarch wcscpy for PPC32.
43786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43787         multiarch objects.
43788         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43789         (__libc_ifunc_impl_list): Likewise.
43790         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43791         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43792         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43793         sysdeps/powerpc/power6/wcscpy.c.
43795         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43796         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43797         file.
43798         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43799         file.
43800         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43801         file.
43802         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43803         multiarch wcsrchr for PPC32.
43804         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43805         multiarch objects.
43806         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43807         (__libc_ifunc_impl_list): Likewise.
43808         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43809         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43810         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43811         sysdeps/powerpc/power6/wcsrchr.c.
43813         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43814         file.
43815         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43816         file.
43817         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43818         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43819         multiarch wcschr for PPc32.
43820         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43821         multiarch objects.
43822         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43823         (__libc_ifunc_impl_list): Likewise.
43824         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43825         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43826         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43827         sysdeps/powerpc/power6/wcschr.c.
43829         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43830         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43831         file.
43832         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43833         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43834         file: multiarch strchr for PPC32.
43835         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43836         multiarch objects.
43837         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43838         (__libc_ifunc_impl_list): Likewise.
43840         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43841         name.
43842         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43843         file.
43844         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43845         file.
43846         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43847         multiarch strchrnul for PPC32.
43848         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43849         multiarch objects.
43850         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43851         (__libc_ifunc_impl_list): Likewise.
43853         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43854         file.
43855         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43856         multiarch strncasecmp for PPC32.
43857         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43858         file.
43859         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43860         multiarch strncasecmp_l for PPC32.
43861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43862         strncasecmp multiarch objects.
43863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43864         (__libc_ifunc_impl_list): Likewise.
43866         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43867         file.
43868         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43869         multiarch strncasecmp for PPC32.
43870         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43871         New file.
43872         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43873         multiarch strcasecmp_l for PPC32.
43874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43875         multiarch objects.
43876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43877         (__libc_ifunc_impl_list): Likewise.
43879         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43880         file.
43881         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43882         file.
43883         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43884         multiarch strncmp for PPC32.
43885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43886         multiarch objects.
43887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43888         (__libc_ifunc_impl_list): Likewise.
43890         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43891         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43892         file.
43893         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43894         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43895         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43896         multiarch objects.
43897         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43898         (__libc_ifunc_impl_list): Likewise.
43900         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43901         file.
43902         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43903         file.
43904         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43905         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43906         multiarch objects.
43907         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43908         (__libc_ifunc_impl_list): Likewise.
43910         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43911         file.
43912         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43913         file.
43914         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43915         multiarch rawmemchr for PPC32.
43916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43917         multiarch objects.
43918         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43919         (__libc_ifunc_impl_list): Likewise.
43921         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43922         file.
43923         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43924         file.
43925         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43926         file: memrchr multiarch for PPC32.
43927         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43928         multiarch objects.
43929         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43930         (__libc_ifunc_impl_list): Likewise.
43932         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43933         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43934         file.
43935         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43936         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43937         multiarch memchr for PPC32.
43938         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43939         multiarch objects.
43940         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43941         (__libc_ifunc_impl_list): Likewise.
43943         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43944         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43945         file.
43946         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43947         file.
43948         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43949         file: multiarch mempcpy for PPC32.
43950         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43951         multiarch objects.
43952         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43953         (__libc_ifunc_impl_list): Likewise.
43955         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43956         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43957         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43958         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43959         multiarch bzero for PPC32.
43960         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43961         file.
43962         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43963         file.
43964         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43965         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43966         file: multiarch memset for PPC32.
43967         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43969         memset multiarch objects.
43970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43971         (__libc_ifunc_impl_list): Likewise.
43973         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43974         file.
43975         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43976         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43977         memcmp for PPC32.
43978         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43979         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43980         multiarch objects.
43981         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43982         (__libc_ifunc_impl_list): Likewise.
43984         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43985         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43986         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43987         file.
43988         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43989         file.
43990         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43991         file.
43992         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43993         multiarch memcpy for PPC32.
43994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43995         multiarch objects.
43996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43997         (__libc_ifunc_impl_list): Likewise.
43999         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44000         support multiarch for POWER/PPC32.
44001         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44002         Likewise.
44003         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44005         Implies file to make multiarch folder appers before the fpu and
44006         default folder for power4 configuration.
44008 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44010         * scripts/bench.pl: Append volatile keyword to type.
44012 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44014         * sysdeps/sh/sotruss-lib.c: New file.
44015         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44017 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44021 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44023         [BZ #6810]
44024         * math/w_tgamma.c: Include <errno.h>.
44025         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44026         * math/w_tgammaf.c: Include <errno.h>.
44027         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44028         * math/w_tgammal.c: Include <errno.h>.
44029         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44030         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44031         underflow.  Add more tgamma tests.
44032         * math/auto-libm-test-out: Regenerated.
44033         * sysdeps/i386/fpu/libm-test-ulps: Update.
44034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44036         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44037         sin, sinh, tan, tanh, tgamma, y0 and y1.
44038         * math/auto-libm-test-out: Regenerated.
44039         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44040         (TEST_COND_x86): Likewise.
44041         (M_E2l): Remove macro.
44042         (M_E3l): Likewise.
44043         (M_2_SQRT_PIl): Likewise.
44044         (M_SQRT_PIl): Likewise.
44045         (M_1_DIV_El): Likewise.
44046         (log_test_data): Use AUTO_TESTS_f_f.
44047         (log10_test_data): Likewise.
44048         (log1p_test_data): Likewise.
44049         (log2_test_data): Likewise.
44050         (sin_test_data): Likewise.
44051         (sin_tonearest_test_data): Likewise.
44052         (sin_towardzero_test_data): Likewise.
44053         (sin_downward_test_data): Likewise.
44054         (sin_upward_test_data): Likewise.
44055         (sinh_test_data): Likewise.
44056         (sinh_tonearest_test_data): Likewise.
44057         (sinh_towardzero_test_data): Likewise.
44058         (sinh_downward_test_data): Likewise.
44059         (sinh_upward_test_data): Likewise.
44060         (tan_test_data): Likewise.
44061         (tan_tonearest_test_data): Likewise.
44062         (tan_towardzero_test_data): Likewise.
44063         (tan_downward_test_data): Likewise.
44064         (tan_upward_test_data): Likewise.
44065         (tanh_test_data): Likewise.
44066         (tgamma_test_data): Likewise.
44067         (y0_test_data): Likewise.
44068         (y1_test_data): Likewise.
44069         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44070         (special_real_inputs): Add pi/4.
44071         * sysdeps/i386/fpu/libm-test-ulps: Update.
44072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44074 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44076         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44077         "longjmp_target" static probes.
44078         (__longjmp): Rename to __longjmp_symbol.
44079         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44080         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44081         on which longjmp to generate.
44082         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44083         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44084         probe.
44085         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44086         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44087         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44088         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44089         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44090         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44092         __longjmp_symbol based on which __longjmp to generate.
44093         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44094         probe.
44095         (setjmp): Rename to setjmp_symbol.
44096         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44097         (_setjmp): Rename to _setjmp_symbol.
44098         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44099         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44100         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44101         which setjmp to generate.
44102         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44103         "longjmp_target" static probes.
44105 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44107         * benchtests/README: Add note about output arguments.
44108         * benchtests/bench-sincos.c: Remove file.
44109         * benchtests/sincos-inputs: New file.
44110         * scripts/bench.pl: Identify output arguments and define
44111         static variables for them.
44113         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44115         [BZ #15941]
44116         * Makefile (INSTALL): Add install-plain.texi as the primary
44117         dependency.
44118         * manual/install-plain.texi: New file.
44119         * manual/install.texi: Include node directive only for
44120         non-plaintext output.
44122 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44124         * stdlib/longlong.h: Update from GCC.
44126         [BZ #6807]
44127         [BZ #15901]
44128         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44129         * math/w_j0f.c (y0f): Likewise.
44130         * math/w_j0l.c (__y0l): Likewise.
44131         * math/w_j1.c (y1): Likewise.
44132         * math/w_j1f.c (y1f): Likewise.
44133         * math/w_j1l.c (__y1l): Likewise.
44134         * math/w_jn.c (yn): Likewise.
44135         * math/w_jnf.c (ynf): Likewise.
44136         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44137         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44138         value for Bessel function domain errors outside _SVID_ mode.
44139         Adjust sign of return value for yn (negative integer, 0).
44140         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44141         by zero in return for negative x and set sign appropriately for
44142         negative n.
44143         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44144         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44145         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44146         expectations in error cases.
44147         (y1_test_data): Likewise.
44148         (yn_test_data): Likewise.
44149         * sysdeps/i386/fpu/libm-test-ulps: Update.
44150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44152 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44154         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44155         "64" to "64-v1".  Add "64-v2".
44156         (abi-64-options): Rename to ...
44157         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44158         (abi-64-condition): Rename to ...
44159         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44160         (abi-64-ld-soname): Rename to ...
44161         (abi-64-v1-ld-soname): ... this.
44162         (abi-64-v2-options): Define.
44163         (abi-64-v2-condition): Likewise.
44164         (abi-64-v2-ld-soname): Likewise.
44165         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44166         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44171 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44172             Alan Modra  <amodra@gmail.com>
44174         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44175         New versions for use with the ELFv2 ABI.
44176         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44177         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44178         declaration.
44179         (struct La_ppc64v2_retval): Likewise.
44180         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44181         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44182         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44183         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44184         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44185         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44186         Do not save or restore CR.
44187         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44188         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44189         return values for ELFv2 ABI.  Fix location of FPR return registers.
44190         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44191         updated values for _CALL_ELF == 2.
44192         (La_regs, La_retval, int_retval): Likewise.
44194 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44196         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44197         (FRAME_MIN_SIZE_PARM): Likewise.
44198         (FRAME_BACKCHAIN): Likewise.
44199         (FRAME_CR_SAVE): Likewise.
44200         (FRAME_LR_SAVE): Likewise.
44201         (FRAME_TOC_SAVE): Likewise.
44202         (FRAME_PARM_SAVE): Likewise.
44203         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44204         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44205         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44206         (call_mcount_parm_offset): New macro.
44207         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44208         (PROF): Use symbolic stack frame offsets.
44209         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44210         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44211         Redefine in terms of FRAME_MIN_SIZE.
44212         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44213         (_dl_profile_resolve): Likewise.  Update comment.
44214         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44215         symbols stack frame offsets.
44216         (__sigsetjmp): Likewise.
44217         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44218         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44219         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44220         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44223         (FRAME_BACKCHAIN): Remove.
44224         (FRAME_CR_SAVE): Likewise.
44225         (FRAME_LR_SAVE): Likewise.
44226         (FRAME_COMPILER_DW): Likewise.
44227         (FRAME_LINKER_DW): Likewise.
44228         (FRAME_TOC_SAVE): Likewise.
44229         (FRAME_PARM_SAVE): Likewise.
44230         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44231         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44232         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44234         (CHECK_SP): Use symbolic stack frame offsets.
44235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44236         zone" instead of caller's parameter save area for temp storage.
44237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44238         Likewise.  Also, use symbolic stack frame offsets.
44239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44240         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44241         our own stack frame instead of the caller's.
44242         (__socket): Use symbolic stack frame offsets.
44244 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44245             Alan Modra  <amodra@gmail.com>
44247         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44248         Define.
44249         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44250         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44251         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44252         New function.
44253         (elf_machine_fixup_plt): Call it.
44254         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44255         reloc arguments.
44256         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44257         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44258         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44259         r2 before calling target.
44261 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44262             Alan Modra  <amodra@gmail.com>
44264         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44265         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44266         versions of macros to support ELFv2 ABI.
44267         (LOCALENTRY): New macro.
44268         (ENTRY, EALIGN): Use it.
44269         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44270         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44271         fall through into ENTRY entry point.
44272         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44273         Only define if _CALL_ELF != 2.
44275         (elf_machine_matches_host): Verify ABI version matches.
44276         (RTLD_START): Use LOCALENTRY.
44277         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44278         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44279         (PLT_ENTRY_WORDS): New macro.
44280         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44281         (elf_machine_runtime_setup): Support ELFv2 ABI.
44282         (elf_machine_fixup_plt): Likewise.
44283         (elf_machine_plt_conflict): Likewise.
44284         (resolve_ifunc): Likewise.
44285         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44286         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44287         Likewise.
44288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44289         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44291         (makecontext): Support ELFv2 ABI.
44292         * elf/elf.h (EF_PPC64_ABI): Define.
44294 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44296         * sysdeps/powerpc/powerpc64/sysdep.h
44297         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44298         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44299         (ENTRY) [ASSEMBLER]: ... but instead here ...
44300         (EALIGN) [ASSEMBLER]: ... and here.
44301         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44302         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44303         (ENTRY_2) [!ASSEMBLER]: Use it.
44304         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44305         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44306         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44307         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44308         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44310         Use PPC64_LOAD_FUNCPTR.
44312         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44314 2013-12-04  Alan Modra  <amodra@gmail.com>
44316         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44317         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44318         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44319         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44321         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44322         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44323         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44324         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44325         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44326         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44328 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44331         (__makecontext): Fix incorrect CFI when backtracing out of
44332         context created via makecontext.
44333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44334         (__setcontext): Fix incorrect CFI during switch to new context.
44335         (__novec_setcontext): Likewise.
44337 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44339         [BZ #4772]
44340         * time/strptime_l.c (__strptime_internal): Allow modifiers
44341         in strptime.
44342         * time/tst-strptime.c (day_tests): Add testcase.
44344 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44346         * scripts/bench.pl: Skip over blank lines.
44348 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44350         [BZ #926]
44351         * manual/time.texi (Calendar Time): Clarify what timezone functions
44352         use.
44354 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44358 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44360         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44361         implementation.
44362         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44363         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44364         * debug/memset_chk.c (__memset_chk): Likewise.
44365         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44366         * debug/strncpy_chk.c: Likewise.
44368 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44370         [BZ #15268]
44371         [BZ #15425]
44372         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44373         (__ieee754_exp): For possibly underflowing results, check size of
44374         result and force underflow exception if required.
44375         * math/auto-libm-test-in: Add more tests of exp.
44376         * math/auto-libm-test-out: Regenerated.
44377         * sysdeps/i386/fpu/libm-test-ulps: Update.
44378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44380         [BZ #16283]
44381         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44382         * math/w_exp2f.c (__exp2f): Likewise.
44383         * math/w_exp2l.c (__exp2l): Likewise.
44384         * math/auto-libm-test-in: Do not allow missing errno on exp2
44385         underflow.
44386         * math/auto-libm-test-out: Regenerated.
44388 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44390         [BZ #16274]
44391         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44392         handle filename validation.
44393         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44394         (do_open): Delete.
44396 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44398         [BZ #6786]
44399         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44400         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44401         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44402         <float.h>.
44403         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44404         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44405         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44406         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44407         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44408         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44409         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44410         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44411         Add more erfc tests.
44412         * math/auto-libm-test-out: Regenerated.
44413         * sysdeps/i386/fpu/libm-test-ulps: Update.
44414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44416         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44417         exp2, expm1, j0 and j1.
44418         * math/auto-libm-test-out: Regenerated.
44419         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44420         (erfc_test_data): Likewise.
44421         (exp_test_data): Likewise.
44422         (exp_tonearest_test_data): Likewise.
44423         (exp_towardzero_test_data): Likewise.
44424         (exp_downward_test_data): Likewise.
44425         (exp_upward_test_data): Likewise.
44426         (exp10_test_data): Likewise.
44427         (exp2_test_data): Likewise.
44428         (expm1_test_data): Likewise.
44429         (j0_test_data): Likewise.
44430         (j1_test_data): Likewise.
44431         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44432         (input_flag_type): Add flag_xfail_rounding.
44433         (input_flags): Add xfail-rounding.
44434         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44435         (output_for_one_input_case): Handle flag_xfail_rounding.
44436         * sysdeps/i386/fpu/libm-test-ulps: Update.
44437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44439 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44441         [BZ #16289]
44442         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44443         division by 0.
44445 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44447         [BZ #16195]
44448         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44449         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44450         (STAP_PROBE0): New macro.
44451         (STAP_PROBE1): Likewise.
44452         (STAP_PROBE2): Likewise.
44453         (STAP_PROBE3): Likewise.
44454         (STAP_PROBE4): Likewise.
44456 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44458         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44460 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44462         * benchtests/Makefile (bench): Add sqrt.
44463         (LDLIBS-bench-sqrt): New.
44464         * benchtests/sqrt-input: New.
44466 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44468         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44469         (GAIH_EAI): Likewise.
44470         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44471         (gaih_inet): Likewise.
44472         (getaddrinfo): Don't use GAIH_EAI.
44474         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44475         (struct gaih): Remove definition.
44477 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44479         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44480         Use HERRNOP directly.
44482 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44486 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44488         * math/gen-auto-libm-tests.c (test_functions): Add more
44489         single-argument functions.
44490         (special_fill_pi_2): New function.
44491         (special_fill_minus_pi_2): Likewise.
44492         (special_fill_pi_6): Likewise.
44493         (special_fill_minus_pi_6): Likewise.
44494         (special_fill_pi_3): Likewise.
44495         (special_fill_2pi_3): Likewise.
44496         (special_fill_e): Likewise.
44497         (special_fill_1_e): Likewise.
44498         (special_fill_e_minus_1): Likewise.
44499         (special_real_inputs): Add more special inputs.
44500         (output_for_one_input_case): Do not require ERANGE on underflow to
44501         zero if round-to-nearest result does not underflow to zero, unless
44502         exact results required.
44503         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44504         atan, atanh, cbrt, cos and cosh.
44505         * math/auto-libm-test-out: Regenerated.
44506         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44507         (acos_tonearest_test_data): Likewise.
44508         (acos_towardzero_test_data): Likewise.
44509         (acos_downward_test_data): Likewise.
44510         (acos_upward_test_data): Likewise.
44511         (acosh_test_data): Likewise.
44512         (asin_test_data): Likewise.
44513         (asin_tonearest_test_data): Likewise.
44514         (asin_towardzero_test_data): Likewise.
44515         (asin_upward_test_data): Likewise.
44516         (asinh_test_data): Likewise.
44517         (atan_test_data): Likewise.
44518         (atanh_test_data): Likewise.
44519         (cbrt_test_data): Likewise.
44520         (cos_test_data): Likewise.
44521         (cos_tonearest_test_data): Likewise.
44522         (cos_towardzero_test_data): Likewise.
44523         (cos_downward_test_data): Likewise.
44524         (cos_upward_test_data): Likewise.
44525         (cosh_test_data): Likewise.
44526         (cosh_tonearest_test_data): Likewise.
44527         (cosh_towardzero_test_data): Likewise.
44528         (cosh_downward_test_data): Likewise.
44529         (cosh_upward_test_data): Likewise.
44530         * sysdeps/i386/fpu/libm-test-ulps: Update.
44531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44533 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44535         [BZ #6787]
44536         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44537         * math/w_exp10f.c (__exp10f): Likewise.
44538         * math/w_exp10l.c (__exp10l): Likewise.
44539         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44540         errno settings in existing tests.
44542         [BZ #14032]
44543         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44544         precision control set to double precision.
44545         * sysdeps/i386/fpu/w_sqrt.c: New file.
44546         * math/auto-libm-test-in: Add more tests.
44547         * math/auto-libm-test-out: Update.
44549         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44550         (sqrt_test_tonearest): New function.
44551         (sqrt_towardzero_test_data): New variable.
44552         (sqrt_test_towardzero): New function.
44553         (sqrt_downward_test_data): New variable.
44554         (sqrt_test_downward): New function.
44555         (sqrt_upward_test_data): New variable.
44556         (sqrt_test_upward): New function.
44557         (main): Call the new functions.
44559         * math/gen-auto-libm-tests.c: New file.
44560         * math/auto-libm-test-in: Likewise.
44561         * math/auto-libm-test-out: New generated file.
44562         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44563         variables.
44564         (%beautify): Add generated representations of zero.
44565         (top level): Set $auto_input and call parse_auto_input.
44566         (beautify): Remove trailing "f" from hex float constants.
44567         (parse_args): Handle XFAIL_TEST.
44568         (convert_condition): New function.
44569         (or_value): Likewise.
44570         (or_cond_value): Likewise.
44571         (generate_testfile): Handle AUTO_TESTS_* lines.
44572         (parse_auto_input): New function.
44573         * math/libm-test.inc (XFAIL_TEST): New macro.
44574         (ERRNO_UNCHANGED): Update value.
44575         (ERRNO_EDOM): Likewise.
44576         (ERRNO_ERANGE): Likewise.
44577         (IGNORE_RESULT): Likewise.
44578         (TEST_COND_flt_32): New macro.
44579         (TEST_COND_dbl_64): Likewise.
44580         (TEST_COND_ldbl_96_intel): Likewise.
44581         (TEST_COND_ldbl_96_m68k): Likewise.
44582         (TEST_COND_ldbl_128): Likewise.
44583         (TEST_COND_ldbl_128ibm): Likewise.
44584         (TEST_COND_long32): Likewise.
44585         (TEST_COND_long64): Likewise.
44586         (TEST_COND_before_rounding): Likewise.
44587         (TEST_COND_after_rounding): Likewise.
44588         (enable_test): Handle XFAIL_TEST flag.
44589         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44590         with finite results.
44591         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44592         auto-libm-test-out.
44594 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44595             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44597         [BZ #16214]
44598         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44599         __tls_get_addr_internal instead of __tls_get_offset in order to
44600         avoid GOT pointer dependency.  Make rtld export
44601         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44602         __tls_get_addr since we are a __tls_get_offset platform.
44603         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44604         GOT pointer being set up before.
44605         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44607 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44609         * manual/math.texi (Errors in Math Functions): Document accuracy
44610         goals.
44612         [BZ #15004]
44613         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44614         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44615         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44616         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44617         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44618         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44619         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44620         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44621         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44622         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44623         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44624         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44625         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44626         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44627         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44628         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44630         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44631         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44632         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44633         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44634         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44635         Likewise.
44636         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44637         Likewise.
44638         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44639         Likewise.
44640         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44641         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44642         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44643         atomic-feupdateenv and flt-rounds.
44644         * sysdeps/powerpc/nofpu/Versions (libc): Add
44645         __atomic_feholdexcept, __atomic_feclearexcept,
44646         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44647         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44648         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44649         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44650         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44651         here.
44652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44653         Update.
44655         * manual/arith.texi (FP Exceptions): Document that exceptions may
44656         not be raised when matherr is used.
44657         (Math Error Reporting): Document overflow in directed rounding
44658         modes.  Document that errno may not be set when finite values are
44659         returned on overflow.  Document intent to set errno on underflow
44660         only for underflow to zero.
44662         [BZ #16271]
44663         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44664         round-to-nearest then adjust result for other rounding modes.
44665         * include/fenv.h (fegetround): Use libm_hidden_proto.
44666         * math/fegetround.c (fegetround): Use libm_hidden_def.
44667         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44668         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44669         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44670         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44671         Likewise.
44672         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44673         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44674         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44675         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44677 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44679         [BZ #16077]
44680         * nss/Versions (libnss_files): Add
44681         _nss_files_gethostbyname3_r.
44682         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44683         New function.
44684         (HOST_DB_LOOKUP): Remove macro.
44685         (_nss_files_gethostbyname_r): Implement function without the
44686         HOST_DB_LOOKUP macro.
44687         (_nss_files_gethostbyname2_r): Likewise.
44689 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44691         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44693 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44695         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44696         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44697         warning.
44699 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44701         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44702         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44703         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44704         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44705         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44706         __fe_nomask_env_priv and attribute_hidden.
44707         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44708         (libc_feupdateenv_test_ppc): Likewise.
44709         (libc_feresetround_ppc): Likewise.
44710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44711         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44712         compat_symbol macro.
44713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44714         (__fe_nomask_env): Likewise.
44715         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44717 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44719         * string/Makefile: Remove ifunc tests.
44720         * string/test-string.h: Define TEST_IFUNC.
44721         * string/test-bcopy-ifunc.c: Remove.
44722         * string/test-bzero-ifunc.c: Likewise.
44723         * string/test-memccpy-ifunc.c: Likewise.
44724         * string/test-memchr-ifunc.c: Likewise.
44725         * string/test-memcmp-ifunc.c: Likewise.
44726         * string/test-memcpy-ifunc.c: Likewise.
44727         * string/test-memmem-ifunc.c: Likewise.
44728         * string/test-memmove-ifunc.c: Likewise.
44729         * string/test-mempcpy-ifunc.c: Likewise.
44730         * string/test-memrchr-ifunc.c: Likewise.
44731         * string/test-memset-ifunc.c: Likewise.
44732         * string/test-rawmemchr-ifunc.c: Likewise.
44733         * string/test-stpcpy-ifunc.c: Likewise.
44734         * string/test-stpncpy-ifunc.c: Likewise.
44735         * string/test-strcasecmp-ifunc.c: Likewise.
44736         * string/test-strcasestr-ifunc.c: Likewise.
44737         * string/test-strcat-ifunc.c: Likewise.
44738         * string/test-strchr-ifunc.c: Likewise.
44739         * string/test-strchrnul-ifunc.c: Likewise.
44740         * string/test-strcmp-ifunc.c: Likewise.
44741         * string/test-strcpy-ifunc.c: Likewise.
44742         * string/test-strcspn-ifunc.c: Likewise.
44743         * string/test-strlen-ifunc.c: Likewise.
44744         * string/test-strncasecmp-ifunc.c: Likewise.
44745         * string/test-strncat-ifunc.c: Likewise.
44746         * string/test-strncmp-ifunc.c: Likewise.
44747         * string/test-strncpy-ifunc.c: Likewise.
44748         * string/test-strnlen-ifunc.c: Likewise.
44749         * string/test-strpbrk-ifunc.c: Likewise.
44750         * string/test-strrchr-ifunc.c: Likewise.
44751         * string/test-strspn-ifunc.c: Likewise.
44752         * string/test-strstr-ifunc.c: Likewise.
44754 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44756         * benchtests/Makefile: Remove ifunc tests.
44757         * benchtests/bench-string.h: Define TEST_IFUNC.
44758         * benchtests/bench-bcopy-ifunc.c: Remove.
44759         * benchtests/bench-bzero-ifunc.c: Likewise.
44760         * benchtests/bench-memccpy-ifunc.c: Likewise.
44761         * benchtests/bench-memchr-ifunc.c: Likewise.
44762         * benchtests/bench-memcmp-ifunc.c: Likewise.
44763         * benchtests/bench-memcpy-ifunc.c: Likewise.
44764         * benchtests/bench-memmem-ifunc.c: Likewise.
44765         * benchtests/bench-memmove-ifunc.c: Likewise.
44766         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44767         * benchtests/bench-memrchr-ifunc.c: Likewise.
44768         * benchtests/bench-memset-ifunc.c: Likewise.
44769         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44770         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44771         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44772         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44773         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44774         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44775         * benchtests/bench-strcat-ifunc.c: Likewise.
44776         * benchtests/bench-strchr-ifunc.c: Likewise.
44777         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44778         * benchtests/bench-strcmp-ifunc.c: Likewise.
44779         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44780         * benchtests/bench-strcpy-ifunc.c: Likewise.
44781         * benchtests/bench-strcspn-ifunc.c: Likewise.
44782         * benchtests/bench-strlen-ifunc.c: Likewise.
44783         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44784         * benchtests/bench-strncat-ifunc.c: Likewise.
44785         * benchtests/bench-strncmp-ifunc.c: Likewise.
44786         * benchtests/bench-strncpy-ifunc.c: Likewise.
44787         * benchtests/bench-strnlen-ifunc.c: Likewise.
44788         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44789         * benchtests/bench-strrchr-ifunc.c: Likewise.
44790         * benchtests/bench-strsep-ifunc.c: Likewise.
44791         * benchtests/bench-strspn-ifunc.c: Likewise.
44792         * benchtests/bench-strstr-ifunc.c: Likewise.
44794 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44796         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44798 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44800         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44801         * rt/aio.h: Likewise.
44802         * sysdeps/gnu/bits/utmp.h: Likewise.
44803         * sysdeps/gnu/bits/utmpx.h: Likewise.
44804         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44805         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44806         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44807         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44808         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44809         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44810         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44811         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44812         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44813         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44814         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44815         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44816         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44818         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44819         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44820         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44821         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44822         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44823         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44824         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44825         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44826         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44827         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44828         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44829         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44830         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44831         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44832         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44833         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44834         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44835         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44836         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44837         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44838         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44839         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44840         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44841         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44842         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44843         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44844         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44845         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44847 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44849         [BZ #16245]
44850         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44851         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44853 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44855         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44856         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44857         Likewise.
44859 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44861         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44862         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44863         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44864         (__fesetround): Remove define.
44865         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44866         rounding and exceptions handling.
44867         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44868         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44869         (__fe_nomask_env): Likewise.
44870         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44871         __fegetround instead of fegetround.
44872         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44873         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44875 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44877         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44878         it's there.
44880         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44882 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44884         [BZ #11157]
44885         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44886         (encrypt_r): Likewise.
44887         * malloc/obstack.h (obstack_free): Likewise.
44888         * posix/unistd.h (encrypt): Likewise.
44890 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44892         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44893         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44894         DL_CALL_DT_FINI() that call the functions directly.
44895         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44896         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44897         * elf/dl-fini.c: Likewise.
44899 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44901         * malloc/hooks.c (memalign_check): Add alignment rounding.
44902         * malloc/malloc.c (_mid_memalign): New function.
44903         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44904         Implement by calling _mid_memalign.
44905         * manual/probes.texi (Memory Allocation Probes): Remove
44906         memory_valloc_retry and memory_pvalloc_retry.
44908 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44910         * locale/programs/locarchive.c (open_archive): Add const
44911         qualifier to ARCHIVEFNAME and copy default fname to
44912         DEFAULT_FNAME.
44914         [BZ #15601]
44915         * libio/tst-widetext.input: Rename Oriya to Odia.
44916         * locale/iso-639.def: Likewise.
44918         * manual/probes.texi (Mathematical Function Probes): Add
44919         documentation for sin, cos, asin and acos probes.
44920         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44921         (__sin32): Add slowasin probe.
44922         (__cos32): Add slowacos probe.
44923         (__mpsin): Add slowsin probe.
44924         (__mpcos): Add slowcos probe.
44926 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44928         [BZ #15483]
44929         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44930         thread-local __sim_exceptions_thread and global
44931         __sim_exceptions_global.
44932         (__sim_disabled_exceptions): Change to thread-local
44933         __sim_disabled_exceptions_thread and global
44934         __sim_disabled_exceptions_global.
44935         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44936         and global __sim_round_mode_global.
44937         (__simulate_exceptions): Use thread-local floating-point state and
44938         set global state from it as needed.
44939         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44940         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44941         __sim_round_mode_thread.
44942         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44943         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44944         and global __sim_exceptions_global.
44945         (__sim_disabled_exceptions): Change to thread-local
44946         __sim_disabled_exceptions_thread and global
44947         __sim_disabled_exceptions_global.
44948         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44949         and global __sim_round_mode_global.
44950         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44951         (SIM_SET_GLOBAL): Likewise.
44952         * sysdeps/powerpc/soft-fp/sfp-machine.h
44953         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44954         __sim_round_mode_thread.
44955         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44956         __sim_disabled_exceptions_thread.
44957         (__sim_exceptions): Change to __sim_exceptions_thread.
44958         (__sim_disabled_exceptions): Change to
44959         __sim_disabled_exceptions_thread.
44960         (__sim_round_mode): Change to __sim_round_mode_thread.
44961         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44962         thread-local floating-point state and set global state from it as
44963         needed.
44964         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44965         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44966         (__sim_disabled_exceptions): Remove extern declaration.
44967         (feenableexcept): Use thread-local floating-point state and set
44968         global state from it as needed.
44969         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44970         extern declaration.
44971         (__sim_disabled_exceptions): Likewise.
44972         (__sim_round_mode): Likewise.
44973         (__fegetenv): Use thread-local floating-point state.
44974         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44975         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44976         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44977         floating-point state and set global state from it as needed.
44978         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44979         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44980         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44981         Likewise.
44982         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44983         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44984         Likewise.
44985         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44986         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44987         Use __sim_round_mode_thread.
44988         * math/test-fenv-tls.c: New file.
44989         * math/Makefile (tests): Add test-fenv-tls.
44990         ($(objpfx)test-fenv-tls): Depend on
44991         $(common-objpfx)nptl/libpthread.so.
44993 2013-11-19  Andreas Schwab  <schwab@suse.de>
44995         * locale/programs/locale.c (show_info): Decode wordarray elements.
44996         * locale/categories.def (LC_MONETARY): Add element for
44997         _NL_MONETARY_CRNCYSTR.
44998         * locale/C-monetary.c (conversion_rate): New variable.
44999         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45000         element.
45002 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45004         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45005         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45007 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45009         * elf/Makefile (tst-auxv): New test.
45010         * elf/tst-auxv.c: New
45011         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45013 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45015         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45016         (hidden_proto): Caller changed.
45017         (hidden_tls_proto): New macro.
45018         (libc_hidden_tls_proto): Likewise.
45019         (rtld_hidden_tls_proto): Likewise.
45020         (libm_hidden_tls_proto): Likewise.
45021         (libresolv_hidden_tls_proto): Likewise.
45022         (librt_hidden_tls_proto): Likewise.
45023         (libdl_hidden_tls_proto): Likewise.
45024         (libnss_files_hidden_tls_proto): Likewise.
45025         (libnsl_hidden_tls_proto): Likewise.
45026         (libnss_nisplus_hidden_tls_proto): Likewise.
45027         (libutil_hidden_tls_proto): Likewise.
45029 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45031         [BZ #10253]
45032         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45033         (decompose_rpath): Defer expansion to fillin_rpath.
45034         (_dl_init_paths): Pass linkmap to fillin_rpath.
45036 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45038         * benchtests/Makefile: Add strsep.
45039         * benchtests/bench-strsep.c: New file: strsep benchtest.
45040         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45042 2013-11-18  Andreas Schwab  <schwab@suse.de>
45044         * locale/programs/locale.c (show_info) [case byte]: Check for
45045         '\377' instead of '\177'.
45046         * locale/C-monetary.c (not_available): Always use "\377".
45047         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45048         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45049         detect unavailable sign_posn locale elements.
45050         * locale/localeconv.c (__localeconv): For grouping and
45051         mon_grouping handle "\177" and "\377" like no grouping.
45052         (INT_ELEM): New macro.  Use it to set all numeric members.
45053         * locale/programs/ld-monetary.c (monetary_read)
45054         <tok_mon_grouping>: Normalize single -1 to the empty string.
45055         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45056         Likewise.
45058 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45060         [BZ #16055]
45061         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45062         when we match (nil).
45063         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45065 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45067         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45068         (NO_TEST_INLINE): Update value.
45069         (ERRNO_UNCHANGED): Likewise.
45070         (ERRNO_EDOM): Likewise.
45071         (ERRNO_ERANGE): Likewise.
45072         (IGNORE_RESULT): Likewise.
45073         (check_float_internal): Check signs of NaN results if
45074         TEST_NAN_SIGN used.
45075         (check_complex): Pass TEST_NAN_SIGN flag through to second
45076         check_float_internal call.
45077         (copysign_test_data): Add tests with quiet NaNs as second
45078         argument.  Use TEST_NAN_SIGN.
45079         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45080         TEST_NAN_SIGN.
45081         (signbit_test_data): Add tests of quiet NaN argument.
45082         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45084         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45085         $ignore_result.
45086         (parse_args): Handle function results specified as IGNORE.
45087         * math/libm-test.inc (IGNORE_RESULT): New macro.
45088         (check_float_internal): Do not check numerical result if flag
45089         IGNORE_RESULT set.
45090         (check_complex): Pass through IGNORE_RESULT to second
45091         check_float_internal call.
45092         (check_int): Do not check numerical result if flag IGNORE_RESULT
45093         set.
45094         (check_long): Likewise.
45095         (check_bool): Likewise.
45096         (check_longlong): Likewise.
45097         (lrint_test_data): Add tests of infinite and NaN arguments.
45098         (lrint_tonearest_test_data): Likewise.
45099         (lrint_towardzero_test_data): Likewise.
45100         (lrint_downward_test_data): Likewise.
45101         (lrint_upward_test_data): Likewise.
45102         (llrint_test_data): Likewise.
45103         (llrint_tonearest_test_data): Likewise.
45104         (llrint_towardzero_test_data): Likewise.
45105         (llrint_downward_test_data): Likewise.
45106         (llrint_upward_test_data): Likewise.
45107         (lround_test_data): Likewise.
45108         (llround_test_data): Likewise.
45110         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45111         (ERRNO_UNCHANGED): Update value.
45112         (ERRNO_EDOM): Likewise.
45113         (ERRNO_ERANGE): Likewise.
45114         (NO_TEST_INLINE_FLOAT): New macro.
45115         (NO_TEST_INLINE_DOUBLE): Likewise.
45116         (enable_test): New function.
45117         (RUN_TEST_f_f): Check enable_test before running test.
45118         (RUN_TEST_2_f): Likewise.
45119         (RUN_TEST_fff_f): Likewise.
45120         (RUN_TEST_c_f): Likewise.
45121         (RUN_TEST_f_f1): Likewise.
45122         (RUN_TEST_fF_f1): Likewise.
45123         (RUN_TEST_fI_f1): Likewise.
45124         (RUN_TEST_ffI_f1): Likewise.
45125         (RUN_TEST_c_c): Likewise.
45126         (RUN_TEST_cc_c): Likewise.
45127         (RUN_TEST_f_i): Likewise.
45128         (RUN_TEST_f_i_tg): Likewise.
45129         (RUN_TEST_ff_i_tg): Likewise.
45130         (RUN_TEST_f_b): Likewise.
45131         (RUN_TEST_f_b_tg): Likewise.
45132         (RUN_TEST_f_l): Likewise.
45133         (RUN_TEST_f_L): Likewise.
45134         (RUN_TEST_fFF_11): Likewise.
45135         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45136         conditionals.
45137         (cosh_test_data): Likewise.
45138         (exp_test_data): Likewise.
45139         (expm1_test_data): Likewise.
45140         (hypot_test_data): Likewise.
45141         (pow_test_data): Likewise.
45142         (sinh_test_data): Likewise.
45143         (tanh_test_data): Likewise.
45144         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45145         flags argument.
45147         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45148         tests with quiet NaN input and output.
45149         (acosh_test_data): Likewise.
45150         (asin_test_data): Likewise.
45151         (asinh_test_data): Likewise.
45152         (atan_test_data): Likewise.
45153         (atanh_test_data): Likewise.
45154         (atan2_test_data): Likewise.
45155         (cbrt_test_data): Likewise.
45156         (cos_test_data): Likewise.
45157         (cosh_test_data): Likewise.
45158         (erf_test_data): Likewise.
45159         (erfc_test_data): Likewise.
45160         (exp_test_data): Likewise.
45161         (exp10_test_data): Likewise.
45162         (exp2_test_data): Likewise.
45163         (expm1_test_data): Likewise.
45164         (hypot_test_data): Likewise.
45165         (j0_test_data): Likewise.
45166         (j1_test_data): Likewise.
45167         (jn_test_data): Likewise.
45168         (lgamma_test_data): Likewise.
45169         (log_test_data): Likewise.
45170         (log10_test_data): Likewise.
45171         (log1p_test_data): Likewise.
45172         (log2_test_data): Likewise.
45173         (pow_test_data): Likewise.
45174         (scalb_test_data): Likewise.
45175         (sin_test_data): Likewise.
45176         (sincos_test_data): Likewise.
45177         (sinh_test_data): Likewise.
45178         (tan_test_data): Likewise.
45179         (tanh_test_data): Likewise.
45180         (tgamma_test_data): Likewise.
45181         (y0_test_data): Likewise.
45182         (y1_test_data): Likewise.
45183         (yn_test_data): Likewise.
45185         [BZ #16167]
45186         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45187         argument being NaN and avoid computations with second argument in
45188         that case.
45189         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45190         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45191         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45193 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45195         * locale/iso-639.def: Add Chitwani Tharu (the).
45197 2013-11-14  Andreas Schwab  <schwab@suse.de>
45199         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45200         word instead of empty string.
45202 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45205         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45207         (__fe_nomask_env): Likewise.
45209 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45211         * benchtests/bench-timing.h: Include time.h.
45213 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45215         [BZ #15997]
45216         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45217         to 3.4.0 for x32.
45218         * sysdeps/unix/sysv/linux/configure: Regenerated.
45220 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45222         [BZ #16151]
45223         * stdlib/strtod_l.c (round_and_return): Do not consider
45224         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45225         exponent one less than half the least subnormal exponent.
45226         * stdlib/test-strtod-round-data: Add more tests.
45227         * stdlib/tst-strtod-round.c (tests): Regenerated.
45229 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45231         [BZ #14143]
45232         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45233         (__fe_mask_env): Likewise.
45234         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45235         libm_hidden_proto and add function prototype.
45236         (__fe_mask_env): Add function prototype.
45237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45238         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45240         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45242         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45244 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45246         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45247         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45249 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45251         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45252         of htab_find_slot().
45254 2013-11-11  David S. Miller  <davem@davemloft.net>
45256         [BZ #16150]
45257         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45258         symbol in the non-vis3 case in static builds.
45259         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45260         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45261         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45262         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45264 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45266         [BZ #387]
45267         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45268         it is empty.
45270 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45272         * benchtests/Makefile: Add bench-strtod.
45273         * benchtests/bench-strtod.c: New file: strtod benchtest
45275 2013-11-11  Andreas Schwab  <schwab@suse.de>
45277         [BZ #16153]
45278         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45279         terminating NUL in key length.
45281 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45283         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45284         Add artificial ODP entry for vDSO symbol for PPC64.
45285         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45286         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45288 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45290         [BZ #15374]
45291         * nss/getent.c (services_keys): Recognize services starting with digit.
45293 2013-11-06  David S. Miller  <davem@davemloft.net>
45295         [BZ #15985]
45296         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45297         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45299 2013-11-06  Will Newton  <will.newton@linaro.org>
45301         * manual/memory.texi (Malloc Examples): Remove register
45302         keyword from examples.
45304 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45306         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45308 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45310         [BZ #6981]
45311         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45312         depending on [__GCC_IEC_559 > 0].
45313         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45314         depending on [__GCC_IEC_559_COMPLEX > 0].
45316 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45318         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45319         to iso-639.def.
45321 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45323         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45325 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45327         [BZ #16112]
45328         * malloc/malloc (malloc_info): Do not handle first bin as
45329         special case.
45331 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45333         * locale/iso-639.def: Add Central Nahuatl (nhn).
45335 2013-11-01  Bruno Haible  <bruno@clisp.org>
45337         [BZ #7003]
45338         * manual/math.texi (BSD Random): Specify range upper bound as
45339         in POSIX.
45341 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45343         * locale/iso-639.def: Add Meadow Mari (mhr).
45345 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45347         [BZ #14752], [BZ #15763]
45348         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45349         Validate name.
45350         * rt/tst_shm.c: Add test for escaping directory.
45352 2013-10-31  Andreas Schwab  <schwab@suse.de>
45354         [BZ #15917]
45355         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45356         followed by 'x' as part of digit sequence.
45357         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45359 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45361         [BZ #16037]
45362         * configure.ac: allow GNU Make 4.0 and greater.
45363         * configure: Regenerated.
45365 2013-10-30  Will Newton  <will.newton@linaro.org>
45367         [BZ #16038]
45368         * malloc/hooks.c (memalign_check): Limit alignment to the
45369         maximum representable power of two.
45370         * malloc/malloc.c (__libc_memalign): Likewise.
45371         * malloc/tst-memalign.c (do_test): Add test for very
45372         large alignment values.
45373         * malloc/tst-posix_memalign.c (do_test): Likewise.
45375 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45377         [BZ #11087]
45378         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45379         (munmap_chunk): Likewise.
45380         (mremap_chunk): Likewise.
45382 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45384         [BZ #15799]
45385         * stdlib/div.c (div): Remove obsolete code.
45386         * stdlib/ldiv.c (ldiv): Likewise.
45387         * stdlib/lldiv.c (lldiv): Likewise.
45389 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45391         [BZ #16071]
45392         * nss/nss_files/files-XXX.c (get_contents_ret): New
45393         enumerator.
45394         (get_contents): New function.
45395         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45397 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45399         * configure.in: Moved to ...
45400         * configure.ac: ... here. Change reference to configure.in
45401         to configure.ac.
45402         * sysdeps/arm/preconfigure.ac: ... here.
45403         configure.in to configure.ac.
45404         * sysdeps/gnu/configure.in: Moved to ...
45405         * sysdeps/gnu/configure.ac: ... here.
45406         * sysdeps/i386/configure.in: Moved to ...
45407         * sysdeps/i386/configure.ac: ... here.
45408         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45409         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45410         * sysdeps/mach/configure.in: Moved to ...
45411         * sysdeps/mach/configure.ac: ... here.
45412         * sysdeps/mach/hurd/configure.in: Moved to ...
45413         * sysdeps/mach/hurd/configure.ac: ... here.
45414         * sysdeps/powerpc/configure.in: Moved to ...
45415         * sysdeps/powerpc/configure.ac: ... here.
45416         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45417         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45418         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45419         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45420         * sysdeps/s390/s390-32/configure.in: Moved to ...
45421         * sysdeps/s390/s390-32/configure.ac: ... here.
45422         * sysdeps/s390/s390-64/configure.in: Moved to ...
45423         * sysdeps/s390/s390-64/configure.ac: ... here.
45424         * sysdeps/sh/configure.in: Moved to ...
45425         * sysdeps/sh/configure.ac: ... here.
45426         * sysdeps/sparc/configure.in: Moved to ...
45427         * sysdeps/sparc/configure.ac: ... here.
45428         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45429         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45430         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45431         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45432         * sysdeps/x86_64/configure.in: Moved to ...
45433         * sysdeps/x86_64/configure.ac: ... here.
45434         * sysdeps/x86_64/preconfigure.in: Moved to ...
45435         * sysdeps/x86_64/preconfigure.ac: ... here.
45436         * aclocal.m4: Change reference to configure.in to configure.ac.
45437         * config.h.in: Likewise.
45438         * manual/install.texi: Likewise.
45439         * manual/maint.texi: Likewise.
45440         * Makefile: Likewise.
45441         * malloc/Makefile: Likewise.
45442         * nscd/Makefile: Likewise.
45443         * Makeconfig: Change reference to configure.in and
45444         preconfigure.in to configure.ac and preconfigure.ac
45445         respectively.
45446         * INSTALL: Regenerated.
45447         * configure: Likewise.
45448         * sysdeps/gnu/configure: Likewise.
45449         * sysdeps/i386/configure: Likewise.
45450         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45451         * sysdeps/mach/configure: Likewise.
45452         * sysdeps/mach/hurd/configure: Likewise.
45453         * sysdeps/powerpc/configure: Likewise.
45454         * sysdeps/powerpc/powerpc32/configure: Likewise.
45455         * sysdeps/powerpc/powerpc64/configure: Likewise.
45456         * sysdeps/s390/s390-32/configure: Likewise.
45457         * sysdeps/s390/s390-64/configure: Likewise.
45458         * sysdeps/sh/configure: Likewise.
45459         * sysdeps/sparc/configure: Likewise.
45460         * sysdeps/unix/sysv/linux/configure: Likewise.
45461         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45462         * sysdeps/x86_64/configure: Likewise.
45463         * sysdeps/x86_64/preconfigure: Likewise.
45465 2013-10-29  Andreas Schwab  <schwab@suse.de>
45467         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45469 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45471         * benchtests/pow-inputs: Add new inputs.
45473         * benchtests/exp-inputs: Add new inputs.
45475         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45476         conditional check for return value.
45477         (__cos32): Likewise.
45479 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45481         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45482         to provide a boost for large inputs with word alignment.
45483         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45484         implementation based on optimized PPC64 strcpy.
45485         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45486         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45487         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45488         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45490 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45492         [BZ #2801]
45493         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45495 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45497         [BZ #14876]
45498         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45499         * time/tst-strptime.c (day_tests): Add testcase.
45501 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45503         [BZ #14029]
45504         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45506 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45508         [BZ #16074]
45509         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45510         MAP_FAILED on error.
45512 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45514         [BZ #16072]
45515         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45516         heap for large requests.
45518 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45520         [BZ #9954]
45521         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45522         result if the result has no associated interface.
45523         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45524         interface for all 127.X.Y.Z addresses.
45526 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45528         * locale/iso-639.def: Add Ligurian (lij)
45530 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45532         [BZ #15825]
45533         * sunrpc/rpc_main.c: Document rpcgen -5.
45535 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45537         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45539 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45541         [BZ #10278]
45542         * posix/glob.c: Match only directories when trailing slash is present.
45543         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45544         (main): Add testcase.
45546 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45548         [BZ #15670]
45549         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45551 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45553         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45554         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45555         AUTH_DES and cindex for FIPS 140-2.
45556         (DES Encryption): Add cindex FIPS 46-3.
45558         * locale/locarchive.h (struct locarhandle): Add fname.
45559         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45560         if an optional argument was specified to --list-archive,
45561         otherwise NULL.
45562         * locale/programs/locarchive.c (show_archive_content): Take new
45563         argument fname and pass it via ah.fname to open_archive.
45564         * locale/programs/localedef.h: Update decl.
45565         (open_archive): If AH->fname is non-null, open that file
45566         rather than the default file name, and don't ignore ENOENT.
45567         (create_archive): Set AH.fname to NULL.
45568         (delete_locales_from_archive): Likewise.
45569         (add_locales_to_archive): Likewise.
45570         * locale/programs/locfile.c (write_all_categories): Likewise.
45572 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45573             Aldy Hernandez  <aldyh@redhat.com>
45575         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45576         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45577         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45578         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45579         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45580         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45581         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45582         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45583         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45584         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45585         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45586         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45587         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45588         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45589         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45590         Likewise.
45591         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45592         Likewise.
45593         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45594         Likewise.
45595         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45596         Likewise.
45597         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45598         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45599         Likewise.
45600         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45601         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45602         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45603         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45604         Likewise.
45605         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45606         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45607         * sysdeps/powerpc/preconfigure: Likewise.
45608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45609         Likewise.
45610         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45611         Replace contents of file by #include of <fenv_libc.h>.
45612         * sysdeps/powerpc/soft-fp/sfp-machine.h
45613         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45614         and <sys/prctl.h>.
45615         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45616         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45617         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45618         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45619         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45620         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45621         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45622         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45623         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45624         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45625         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45626         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45628         Allow copysignl PLT reference to be missing.
45630 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45631             Joseph Myers  <joseph@codesourcery.com
45633         [BZ #15948]
45634         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45635         single character.
45636         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45638 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45640         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45641         * elf/tst-tls1.c: Likewise.
45642         * elf/tst-tls10.h: Likewise.
45643         * elf/tst-tls14.c: Likewise.
45644         * elf/tst-tls2.c: Likewise.
45645         * elf/tst-tls3.c: Likewise.
45646         * elf/tst-tls4.c: Likewise.
45647         * elf/tst-tls5.c: Likewise.
45648         * elf/tst-tls6.c: Likewise.
45649         * elf/tst-tls7.c: Likewise.
45650         * elf/tst-tls8.c: Likewise.
45651         * elf/tst-tls9.c: Likewise.
45652         * elf/tst-tlsmod1.c: Likewise.
45653         * elf/tst-tlsmod13.c: Likewise.
45654         * elf/tst-tlsmod13a.c: Likewise.
45655         * elf/tst-tlsmod14a.c: Likewise.
45656         * elf/tst-tlsmod16a.c: Likewise.
45657         * elf/tst-tlsmod16b.c: Likewise.
45658         * elf/tst-tlsmod2.c: Likewise.
45659         * elf/tst-tlsmod3.c: Likewise.
45660         * elf/tst-tlsmod4.c: Likewise.
45661         * elf/tst-tlsmod5.c: Likewise.
45662         * elf/tst-tlsmod6.c: Likewise.
45664 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45666         [BZ #12486]
45667         * malloc/malloc.c: remove checks for statistics.
45669 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45671         [BZ #15277]
45672         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45673         * inet/tst-network.c: Add testcase.
45675 2013-10-17  Andreas Schwab  <schwab@suse.de>
45677         [BZ #15218]
45678         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45679         to determine canonical name.
45681 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45683         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45684         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45685         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45686         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45687         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45688         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45689         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45690         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45691         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45692         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45693         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45694         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45695         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45696         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45697         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45698         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45699         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45700         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45701         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45702         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45703         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45704         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45705         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45706         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45707         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45708         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45709         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45710         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45711         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45712         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45713         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45714         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45715         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45716         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45717         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45718         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45719         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45720         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45721         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45722         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45723         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45724         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45725         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45726         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45727         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45728         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45729         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45730         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45731         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45732         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45733         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45734         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45735         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45736         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45737         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45738         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45739         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45740         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45742 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45744         [BZ #16041]
45745         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45746         make result into a quiet NaN.
45748 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45750         * soft-fp/adddf3.c: Fix horizontal whitespace.
45751         * soft-fp/addsf3.c: Likewise.
45752         * soft-fp/addtf3.c: Likewise.
45753         * soft-fp/divdf3.c: Likewise.
45754         * soft-fp/divsf3.c: Likewise.
45755         * soft-fp/divtf3.c: Likewise.
45756         * soft-fp/double.h: Likewise.
45757         * soft-fp/eqdf2.c: Likewise.
45758         * soft-fp/eqsf2.c: Likewise.
45759         * soft-fp/eqtf2.c: Likewise.
45760         * soft-fp/extenddftf2.c: Likewise.
45761         * soft-fp/extended.h: Likewise.
45762         * soft-fp/extendsfdf2.c: Likewise.
45763         * soft-fp/extendsftf2.c: Likewise.
45764         * soft-fp/extendxftf2.c: Likewise.
45765         * soft-fp/fixdfdi.c: Likewise.
45766         * soft-fp/fixdfsi.c: Likewise.
45767         * soft-fp/fixdfti.c: Likewise.
45768         * soft-fp/fixsfdi.c: Likewise.
45769         * soft-fp/fixsfsi.c: Likewise.
45770         * soft-fp/fixsfti.c: Likewise.
45771         * soft-fp/fixtfdi.c: Likewise.
45772         * soft-fp/fixtfsi.c: Likewise.
45773         * soft-fp/fixtfti.c: Likewise.
45774         * soft-fp/fixunsdfdi.c: Likewise.
45775         * soft-fp/fixunsdfsi.c: Likewise.
45776         * soft-fp/fixunsdfti.c: Likewise.
45777         * soft-fp/fixunssfdi.c: Likewise.
45778         * soft-fp/fixunssfsi.c: Likewise.
45779         * soft-fp/fixunssfti.c: Likewise.
45780         * soft-fp/fixunstfdi.c: Likewise.
45781         * soft-fp/fixunstfsi.c: Likewise.
45782         * soft-fp/fixunstfti.c: Likewise.
45783         * soft-fp/floatdidf.c: Likewise.
45784         * soft-fp/floatdisf.c: Likewise.
45785         * soft-fp/floatditf.c: Likewise.
45786         * soft-fp/floatsidf.c: Likewise.
45787         * soft-fp/floatsisf.c: Likewise.
45788         * soft-fp/floatsitf.c: Likewise.
45789         * soft-fp/floattidf.c: Likewise.
45790         * soft-fp/floattisf.c: Likewise.
45791         * soft-fp/floattitf.c: Likewise.
45792         * soft-fp/floatundidf.c: Likewise.
45793         * soft-fp/floatundisf.c: Likewise.
45794         * soft-fp/floatunditf.c: Likewise.
45795         * soft-fp/floatunsidf.c: Likewise.
45796         * soft-fp/floatunsisf.c: Likewise.
45797         * soft-fp/floatunsitf.c: Likewise.
45798         * soft-fp/floatuntidf.c: Likewise.
45799         * soft-fp/floatuntisf.c: Likewise.
45800         * soft-fp/floatuntitf.c: Likewise.
45801         * soft-fp/fmadf4.c: Likewise.
45802         * soft-fp/fmasf4.c: Likewise.
45803         * soft-fp/fmatf4.c: Likewise.
45804         * soft-fp/gedf2.c: Likewise.
45805         * soft-fp/gesf2.c: Likewise.
45806         * soft-fp/getf2.c: Likewise.
45807         * soft-fp/ledf2.c: Likewise.
45808         * soft-fp/lesf2.c: Likewise.
45809         * soft-fp/letf2.c: Likewise.
45810         * soft-fp/muldf3.c: Likewise.
45811         * soft-fp/mulsf3.c: Likewise.
45812         * soft-fp/multf3.c: Likewise.
45813         * soft-fp/negdf2.c: Likewise.
45814         * soft-fp/negsf2.c: Likewise.
45815         * soft-fp/negtf2.c: Likewise.
45816         * soft-fp/op-1.h: Likewise.
45817         * soft-fp/op-2.h: Likewise.
45818         * soft-fp/op-4.h: Likewise.
45819         * soft-fp/op-8.h: Likewise.
45820         * soft-fp/op-common.h: Likewise.
45821         * soft-fp/quad.h: Likewise.
45822         * soft-fp/single.h: Likewise.
45823         * soft-fp/soft-fp.h: Likewise.
45824         * soft-fp/sqrtdf2.c: Likewise.
45825         * soft-fp/sqrtsf2.c: Likewise.
45826         * soft-fp/sqrttf2.c: Likewise.
45827         * soft-fp/subdf3.c: Likewise.
45828         * soft-fp/subsf3.c: Likewise.
45829         * soft-fp/subtf3.c: Likewise.
45830         * soft-fp/truncdfsf2.c: Likewise.
45831         * soft-fp/trunctfdf2.c: Likewise.
45832         * soft-fp/trunctfsf2.c: Likewise.
45833         * soft-fp/trunctfxf2.c: Likewise.
45834         * soft-fp/unorddf2.c: Likewise.
45835         * soft-fp/unordsf2.c: Likewise.
45836         * soft-fp/unordtf2.c: Likewise.
45838 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45840         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45841         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45843 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45845         * elf/dl-libc.c: Clear initfini list after freeing.
45847 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45849         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45850         * soft-fp/addsf3.c: Likewise.
45851         * soft-fp/addtf3.c: Likewise.
45852         * soft-fp/divdf3.c: Likewise.
45853         * soft-fp/divsf3.c: Likewise.
45854         * soft-fp/divtf3.c: Likewise.
45855         * soft-fp/double.h: Likewise.
45856         * soft-fp/eqdf2.c: Likewise.
45857         * soft-fp/eqsf2.c: Likewise.
45858         * soft-fp/eqtf2.c: Likewise.
45859         * soft-fp/extenddftf2.c: Likewise.
45860         * soft-fp/extended.h: Likewise.
45861         * soft-fp/extendsfdf2.c: Likewise.
45862         * soft-fp/extendsftf2.c: Likewise.
45863         * soft-fp/extendxftf2.c: Likewise.
45864         * soft-fp/fixdfdi.c: Likewise.
45865         * soft-fp/fixdfsi.c: Likewise.
45866         * soft-fp/fixdfti.c: Likewise.
45867         * soft-fp/fixsfdi.c: Likewise.
45868         * soft-fp/fixsfsi.c: Likewise.
45869         * soft-fp/fixsfti.c: Likewise.
45870         * soft-fp/fixtfdi.c: Likewise.
45871         * soft-fp/fixtfsi.c: Likewise.
45872         * soft-fp/fixtfti.c: Likewise.
45873         * soft-fp/fixunsdfdi.c: Likewise.
45874         * soft-fp/fixunsdfsi.c: Likewise.
45875         * soft-fp/fixunsdfti.c: Likewise.
45876         * soft-fp/fixunssfdi.c: Likewise.
45877         * soft-fp/fixunssfsi.c: Likewise.
45878         * soft-fp/fixunssfti.c: Likewise.
45879         * soft-fp/fixunstfdi.c: Likewise.
45880         * soft-fp/fixunstfsi.c: Likewise.
45881         * soft-fp/fixunstfti.c: Likewise.
45882         * soft-fp/floatdidf.c: Likewise.
45883         * soft-fp/floatdisf.c: Likewise.
45884         * soft-fp/floatditf.c: Likewise.
45885         * soft-fp/floatsidf.c: Likewise.
45886         * soft-fp/floatsisf.c: Likewise.
45887         * soft-fp/floatsitf.c: Likewise.
45888         * soft-fp/floattidf.c: Likewise.
45889         * soft-fp/floattisf.c: Likewise.
45890         * soft-fp/floattitf.c: Likewise.
45891         * soft-fp/floatundidf.c: Likewise.
45892         * soft-fp/floatundisf.c: Likewise.
45893         * soft-fp/floatunsidf.c: Likewise.
45894         * soft-fp/floatunsisf.c: Likewise.
45895         * soft-fp/floatuntidf.c: Likewise.
45896         * soft-fp/floatuntisf.c: Likewise.
45897         * soft-fp/floatuntitf.c: Likewise.
45898         * soft-fp/fmadf4.c: Likewise.
45899         * soft-fp/fmasf4.c: Likewise.
45900         * soft-fp/fmatf4.c: Likewise.
45901         * soft-fp/gedf2.c: Likewise.
45902         * soft-fp/gesf2.c: Likewise.
45903         * soft-fp/getf2.c: Likewise.
45904         * soft-fp/ledf2.c: Likewise.
45905         * soft-fp/lesf2.c: Likewise.
45906         * soft-fp/letf2.c: Likewise.
45907         * soft-fp/muldf3.c: Likewise.
45908         * soft-fp/mulsf3.c: Likewise.
45909         * soft-fp/multf3.c: Likewise.
45910         * soft-fp/negdf2.c: Likewise.
45911         * soft-fp/negsf2.c: Likewise.
45912         * soft-fp/negtf2.c: Likewise.
45913         * soft-fp/op-1.h: Likewise.
45914         * soft-fp/op-2.h: Likewise.
45915         * soft-fp/op-4.h: Likewise.
45916         * soft-fp/op-8.h: Likewise.
45917         * soft-fp/op-common.h: Likewise.
45918         * soft-fp/quad.h: Likewise.
45919         * soft-fp/single.h: Likewise.
45920         * soft-fp/soft-fp.h: Likewise.
45921         * soft-fp/sqrtdf2.c: Likewise.
45922         * soft-fp/sqrtsf2.c: Likewise.
45923         * soft-fp/sqrttf2.c: Likewise.
45924         * soft-fp/subdf3.c: Likewise.
45925         * soft-fp/subsf3.c: Likewise.
45926         * soft-fp/subtf3.c: Likewise.
45927         * soft-fp/truncdfsf2.c: Likewise.
45928         * soft-fp/trunctfdf2.c: Likewise.
45929         * soft-fp/trunctfsf2.c: Likewise.
45930         * soft-fp/trunctfxf2.c: Likewise.
45931         * soft-fp/unorddf2.c: Likewise.
45932         * soft-fp/unordsf2.c: Likewise.
45933         * soft-fp/unordtf2.c: Likewise.
45935 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45937         [BZ #15672]
45938         * misc/error.c (error_tail): Fix possible buffer overflow.
45940 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45942         [BZ #13028]
45943         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45944         address.
45946 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45948         [BZ #832]
45949         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45950         testing pipefail option.
45952 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45954         * soft-fp/double.h: Indent preprocessor directives inside #if.
45955         * soft-fp/extended.h: Likewise.
45956         * soft-fp/op-2.h: Likewise.
45957         * soft-fp/op-4.h: Likewise.
45958         * soft-fp/op-common.h: Likewise.
45959         * soft-fp/quad.h: Likewise.
45960         * soft-fp/single.h: Likewise.
45961         * soft-fp/soft-fp.h: Likewise.
45963 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45965         * iconv/iconv_prog.c: Fix typos.
45966         * stdio-common/psiginfo-data.h: Likewise.
45968 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45970         [BZ #15764]
45971         * locale/setlocale.c: Fix typo.
45973 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45975         [BZ #16036]
45976         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45977         signaling NaN arguments.
45978         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45979         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45981         [BZ #14910]
45982         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45983         unordered operands.
45984         * soft-fp/gesf2.c (__gesf2): Likewise.
45985         * soft-fp/getf2.c (__getf2): Likewise.
45986         * soft-fp/ledf2.c (__ledf2): Likewise.
45987         * soft-fp/lesf2.c (__lesf2): Likewise.
45988         * soft-fp/letf2.c (__letf2): Likewise.
45990         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45991         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45992         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45993         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45994         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45995         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45996         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45997         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45998         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45999         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46000         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46001         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46002         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46003         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46004         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46005         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46006         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46007         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46008         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46009         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46010         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46011         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46012         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46013         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46014         * soft-fp/floattidf.c (__floattidf): Likewise.
46015         * soft-fp/floattisf.c (__floattisf): Likewise.
46016         * soft-fp/floattitf.c (__floattitf): Likewise.
46017         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46018         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46019         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46020         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46021         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46022         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46023         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46024         * soft-fp/gesf2.c (__gesf2): Likewise.
46025         * soft-fp/getf2.c (__getf2): Likewise.
46026         * soft-fp/ledf2.c (__ledf2): Likewise.
46027         * soft-fp/lesf2.c (__lesf2): Likewise.
46028         * soft-fp/letf2.c (__letf2): Likewise.
46030         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46031         Undefine and redefine.
46032         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46033         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46034         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46035         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46036         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46037         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46038         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46039         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46040         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46041         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46042         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46043         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46044         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46045         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46046         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46048         [BZ #16032]
46049         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46050         without decrementing exponent if mantissa >= that for the
46051         denominator, not >.
46052         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46053         denominator, not >.  Decrement exponent in < case instead of
46054         incrementing in >= case.
46055         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46056         without decrementing exponent if mantissa >= that for the
46057         denominator, not >.
46059         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46060         computing saturated result for unsigned overflow.
46062 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46063             Jeff Law  <law@redhat.com>
46065         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46066         (atan2Mp): Add systemtap probe marker.
46067         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46068         (__ieee754_log): Add systemtap probe marker.
46069         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46070         (atanMp): Add systemtap probe marker.
46071         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46072         (tanMp): Add systemtap probe marker.
46073         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46074         (__slowexp): Add systemtap probe marker.
46075         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46076         (__slowpow): Add systemtap probe marker.
46077         * manual/probes.texi: Document probes.
46079 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46081         [BZ #15362]
46082         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46083         written.
46084         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46085         written.
46086         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46087         written to buffer but not flushed.
46088         * libio/iofwrite_u.c:  Likewise.
46089         * libio/iopadn.c:  Return bytes returned even if EOF was
46090         encountered.
46091         * libio/iowpadn.c:  Likewise.
46092         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46093         if _IO_padn does not write the whole buffer.
46094         [!COMPILE_WPRINTF] (PAD): Likewise.
46096 2013-10-10  David S. Miller  <davem@davemloft.net>
46098         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46099         directory block.
46101 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46103         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46104         instead of FSF address.
46105         * soft-fp/fixdfti.c: Likewise.
46106         * soft-fp/fixsfti.c: Likewise.
46107         * soft-fp/fixtfti.c: Likewise.
46108         * soft-fp/fixunsdfti.c: Likewise.
46109         * soft-fp/fixunssfti.c: Likewise.
46110         * soft-fp/fixunstfti.c: Likewise.
46111         * soft-fp/floattidf.c: Likewise.
46112         * soft-fp/floattisf.c: Likewise.
46113         * soft-fp/floattitf.c: Likewise.
46114         * soft-fp/floatuntidf.c: Likewise.
46115         * soft-fp/floatuntisf.c: Likewise.
46116         * soft-fp/floatuntitf.c: Likewise.
46117         * soft-fp/trunctfxf2.c: Likewise.
46119         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46120         * soft-fp/fixdfti.c: Likewise.
46121         * soft-fp/fixsfti.c: Likewise.
46122         * soft-fp/fixtfti.c: Likewise.
46123         * soft-fp/fixunsdfti.c: Likewise.
46124         * soft-fp/fixunssfti.c: Likewise.
46125         * soft-fp/fixunstfti.c: Likewise.
46126         * soft-fp/floattidf.c: Likewise.
46127         * soft-fp/floattisf.c: Likewise.
46128         * soft-fp/floattitf.c: Likewise.
46129         * soft-fp/floatuntidf.c: Likewise.
46130         * soft-fp/floatuntisf.c: Likewise.
46131         * soft-fp/floatuntitf.c: Likewise.
46132         * soft-fp/trunctfxf2.c: Likewise.
46134 2013-10-10  David S. Miller  <davem@davemloft.net>
46136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46138 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46140         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46141         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46142         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46143         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46144         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46145         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46146         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46148         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46149         for NaNs before doing comparisons on argument.
46150         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46151         Likewise.
46153 2013-10-10  Will Newton  <will.newton@linaro.org>
46155         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46156         passed to _int_memalign does not overflow.
46158 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46160         * scripts/bench.pl: Add include-sources directive.
46161         * benchtests/README: Update documentation.
46163 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46165         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46166         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46167         instead of FP_INIT_ROUNDMODE.
46168         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46169         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46171         [BZ #16034]
46172         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46173         copy class of input value.
46174         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46175         not handle exceptions.
46176         * soft-fp/negsf2.c (__negsf2): Likewise.
46177         * soft-fp/negtf2.c (__negtf2): Likewise.
46178         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46180 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46182         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46183         semicolon.  From Linux kernel.
46185 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46187         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46189 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46191         [BZ #156]
46192         * manual/socket.texi: Added statement about buffer
46193         for gethostbyname2_r.
46195 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46197         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46198         Use .p2align directive instead, throughout.
46199         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46200         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46201         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46202         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46203         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46204         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46205         * sysdeps/x86_64/strchr.S: Likewise.
46206         * sysdeps/x86_64/strrchr.S: Likewise.
46208 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46210         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46212         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46214         * sysdeps/generic/math_private.h (__mpsin1): Remove
46215         declaration.
46216         (__mpcos1): Likewise.
46217         (__mpsin): New argument __range_reduce.
46218         (__mpcos): Likewise.
46219         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46220         (slow): Use __mpsin and __mpcos.
46221         (slow1): Likewise.
46222         (slow2): Likewise.
46223         (sloww): Likewise.
46224         (sloww1): Likewise.
46225         (sloww2): Likewise.
46226         (bsloww): Likewise.
46227         (bsloww1): Likewise.
46228         (bsloww2): Likewise.
46229         (cslow2): Likewise.
46230         (csloww): Likewise.
46231         (csloww1): Likewise.
46232         (csloww2): Likewise.
46233         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46234         range_reduce.  Merge in __mpsin1.
46235         (__mpcos): Likewise.
46236         (__mpsin1): Remove.
46237         (__mpcos1): Likewise.
46239 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46241         * locale/loadlocale.c (_nl_intern_locale_data): Use
46242         LOCFILE_ALIGNED_P.
46243         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46244         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46245         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46246         obstack data is appropriately aligned.
46247         (obstack_int32_grow_fast): Likewise.
46248         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46249         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46250         (add_locale_uint32_array): Likewise.
46252 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46254         * benchtests/Makefile: Remove ARGLIST and RET variables.
46255         ($(objpfx)bench-%.c): Pass only function name to the script.
46256         * benchtests/README: Update documentation.
46257         * benchtests/acos-inputs: Add new directives.
46258         * benchtests/acosh-inputs: Likewise.
46259         * benchtests/asin-inputs: Likewise.
46260         * benchtests/asinh-inputs: Likewise.
46261         * benchtests/atan-inputs: Likewise.
46262         * benchtests/atanh-inputs: Likewise.
46263         * benchtests/cos-inputs: Likewise.
46264         * benchtests/cosh-inputs: Likewise.
46265         * benchtests/exp-inputs: Likewise.
46266         * benchtests/log-inputs: Likewise.
46267         * benchtests/pow-inputs: Likewise.
46268         * benchtests/rint-inputs: Likewise.
46269         * benchtests/sin-inputs: Likewise.
46270         * benchtests/sinh-inputs: Likewise.
46271         * benchtests/tan-inputs: Likewise.
46272         * benchtests/tanh-inputs: Likewise.
46273         * scripts/bench.pl: Add support for new directives.
46275 2013-10-07  Alan Modra  <amodra@gmail.com>
46277         * README: Fix careless merge.
46279 2013-10-05  Alan Modra  <amodra@gmail.com>
46281         * NEWS: Mention powerpc64le support and bugs fixed.
46282         * README: Both big-endian and little-endian powerpc64 supported.
46284 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46286         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46287         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46288         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46289         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46291 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46293         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46294         match prototype.
46296 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46298         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46299         Move -mhard-float appending from
46300         ports/sysdeps/powerpc/powerpc32/Makefile.
46301         [$(with-fp) = yes] (ASFLAGS): Likewise.
46302         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46303         * sysdeps/powerpc/nofpu: Move directory from
46304         ports/sysdeps/powerpc/nofpu.
46305         * sysdeps/powerpc/soft-fp: Move directory from
46306         ports/sysdeps/powerpc/soft-fp.
46307         * sysdeps/powerpc/powerpc32/405: Move directory from
46308         ports/sysdeps/powerpc/powerpc32/405.
46309         * sysdeps/powerpc/powerpc32/440: Move directory from
46310         ports/sysdeps/powerpc/powerpc32/440.
46311         * sysdeps/powerpc/powerpc32/464: Move directory from
46312         ports/sysdeps/powerpc/powerpc32/464.
46313         * sysdeps/powerpc/powerpc32/476: Move directory from
46314         ports/sysdeps/powerpc/powerpc32/476.
46315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46316         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46318         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46320         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46322         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46324         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46325         * README: Update for powerpc-*-linux-gnu software floating point
46326         support in libc.
46328         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46329         case to powerpc/powerpc32*.
46330         * sysdeps/unix/sysv/linux/configure: Regenerated.
46332         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46333         (_FPU_MASK_OM): Define as 0x04.
46334         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46335         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46336         0x00c10080.
46337         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46338         0x0000003c.
46339         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46342         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46343         getcontext_e500.
46344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46345         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46346         setcontext_e500.
46347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46348         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46349         and setcontext_e500.
46351 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46353         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46355 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46357         * manual/threads.texi (Default Thread Attributes): Fix typo.
46359 2013-10-04  Will Newton  <will.newton@linaro.org>
46361         * malloc/Makefile: Add tst-memalign.
46362         * malloc/tst-memalign.c: New file.
46364         * malloc/tst-posix_memalign.c: Add comments.
46365         (do_test): Add comments and call free on all potentially
46366         allocated pointers. Add space after cast.
46368         * malloc/tst-pvalloc.c: Add comments.
46369         (do_test): Add comments and call free on all potentially
46370         allocated pointers. Remove duplicate check for NULL pointer.
46371         Add space after cast.
46373         * malloc/tst-valloc.c: Add comments.
46374         (do_test): Add comments and call free on all potentially
46375         allocated pointers. Remove duplicate check for NULL pointer.
46376         Add space after cast.
46378 2013-10-04  Alan Modra  <amodra@gmail.com>
46380         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46381         Use stdint types in rather than __attribute__((mode())).
46382         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46384 2013-10-04  Alan Modra  <amodra@gmail.com>
46386         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46387         Correct handling of unaligned relocs for little-endian.
46388         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46390 2013-10-04  Alan Modra  <amodra@gmail.com>
46392         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46393         * configure: Regenerate.
46394         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46395         * shlib-versions: Likewise.
46397 2013-10-04  Alan Modra  <amodra@gmail.com>
46399         * string/tester.c (test_memrchr): Increment reported test cycle.
46401 2013-10-04  Alan Modra  <amodra@gmail.com>
46403         * string/test-memcpy.c (do_one_test): When reporting errors, print
46404         string address and don't overrun end of string.
46406 2013-10-04  Alan Modra  <amodra@gmail.com>
46408         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46409         insrdi.  Make better use of reg selection to speed exit slightly.
46410         Schedule entry path a little better.  Remove useless "are we done"
46411         checks on entry to main loop.  Handle wrapping around zero address.
46412         Correct main loop count.  Handle single left-over word from main
46413         loop inline rather than by using loop_small.  Remove extra word
46414         case in loop_small caused by wrong loop count.  Add little-endian
46415         support.
46416         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46417         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46418         cache hint.
46419         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46420         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46421         support.  Avoid rlwimi.
46422         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46424 2013-10-04  Alan Modra  <amodra@gmail.com>
46426         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46427         insrdi.  Formatting.
46428         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46429         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46430         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46431         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46432         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46433         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46435 2013-10-04  Alan Modra  <amodra@gmail.com>
46437         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46438         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46439         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46440         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46441         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46442         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46443         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46444         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46445         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46446         use of regs.  Use power7 mtocrf.  Tidy function tails.
46448 2013-10-04  Alan Modra  <amodra@gmail.com>
46450         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46451         Formatting.  Consistently use rXXX register defines or rN defines.
46452         Use early exit labels that avoid restoring unused non-volatile regs.
46453         Make cr field use more consistent with rWORDn compares.  Rename
46454         regs used as shift registers for unaligned loop, using rN defines
46455         for short lifetime/multiple use regs.
46456         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46457         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46458         addi 1,1,64 to pop stack frame.  Simplify return value code.
46459         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46461 2013-10-04  Alan Modra  <amodra@gmail.com>
46463         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46464         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46465         rather than rlwimi.
46466         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46467         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46468         little-endian support.  Correct typos.
46469         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46470         rather than rlwimi.
46471         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46472         in loop and entry code to keep "and." results.
46473         (strchr): Add little-endian support.  Comment.  Move cntlzd
46474         earlier in tail.
46475         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46477 2013-10-04  Alan Modra  <amodra@gmail.com>
46479         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46480         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46481         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46482         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46484 2013-10-04  Alan Modra  <amodra@gmail.com>
46486         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46487         (rTMP): Define as r11.
46488         (strcmp): Add little-endian support.  Optimise tail.
46489         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46490         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46491         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46492         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46493         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46494         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46495         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46497 2013-10-04  Alan Modra  <amodra@gmail.com>
46499         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46500         little-endian support.  Remove unnecessary "are we done" tests.
46501         Handle "s" wrapping around zero and extremely large "size".
46502         Correct main loop count.  Handle single left-over word from main
46503         loop inline rather than by using small_loop.  Correct comments.
46504         Delete "zero" tail, use "end_max" instead.
46505         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46507 2013-10-04  Alan Modra  <amodra@gmail.com>
46509         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46510         support.  Don't branch over align.
46511         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46512         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46513         support.  Rearrange tmp reg use to suit.  Comment.
46514         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46516 2013-10-04  Alan Modra  <amodra@gmail.com>
46518         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46520 2013-10-04  Alan Modra  <amodra@gmail.com>
46522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46523         conditional form of branch and link when obtaining pc.
46524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46526 2013-10-04  Alan Modra  <amodra@gmail.com>
46528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46529         HIWORD/LOWORD.
46530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46533 2013-10-04  Alan Modra  <amodra@gmail.com>
46535         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46536         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46537         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46538         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46539         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46540         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46541         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46542         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46543         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46544         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46546 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46547             Alistair Popple <alistair@ozlabs.au.ibm.com>
46548             Alan Modra <amodra@gmail.com>
46550         [BZ #15723]
46551         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46552         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46553         _dl_hwcap access for little-endian.
46554         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46555         destroy vmx regs when saving unaligned.
46556         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46557         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46558         destroy vmx regs when saving unaligned.
46560 2013-10-04  Alan Modra  <amodra@gmail.com>
46562         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46563         Don't use a union to pack hi/low value.
46565 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46567         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46568         for little-endian.
46569         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46570         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46571         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46572         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46573         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46575 2013-10-04  Alan Modra  <amodra@gmail.com>
46577         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46578         constants to usual value for .cst8 section, and remove redundant
46579         high address load.
46580         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46581         constant for 0x1p52.  Load little-endian words of double from
46582         correct stack offsets.
46584 2013-10-04  Alan Modra  <amodra@gmail.com>
46586         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46587         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46588         words of double from correct stack offsets.
46589         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46590         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46591         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46592         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46593         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46594         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46595         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46596         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46597         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46598         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46599         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46600         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46601         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46602         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46603         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46604         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46605         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46607 2013-10-04  Alan Modra  <amodra@gmail.com>
46609         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46610         64-bit int/double union.
46611         (_FPU_SETCW): Likewise.
46612         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46613         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46615 2013-10-04  Alan Modra  <amodra@gmail.com>
46617         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46618         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46620 2013-10-04  Alan Modra  <amodra@gmail.com>
46622         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46623         use vector int constants.
46624         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46626 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46628         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46629         array with long long.
46630         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46631         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46632         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46633         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46634         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46635         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46636         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46637         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46638         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46639         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46640         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46641         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46642         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46644 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46646         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46647         (__signbit): Likewise.  Correct for little-endian.
46648         (__signbitl): Call __signbit.
46649         (lrint): Correct for little-endian.
46650         (lrintf): Call lrint.
46652 2013-10-04  Alan Modra  <amodra@gmail.com>
46654         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46655         union 32-bit int array member with 64-bit int array.
46656         (t515, tm256): Double rather than long double.
46657         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46659 2013-10-04  Alan Modra  <amodra@gmail.com>
46661         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46662         Delete.
46663         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46664         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46665         version of math_ldbl.h.
46667 2013-10-04  Alan Modra  <amodra@gmail.com>
46669         [BZ #15734], [BZ #15735]
46670         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46671         all uses of ieee875 long double macros and unions.  Simplify test
46672         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46673         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46674         normalize after ldbl_extract_mantissa, and don't add hidden bit
46675         already handled.  Don't treat low word of ieee854 mantissa like
46676         low word of IBM long double and mask off bit when testing for
46677         zero.
46678         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46679         all uses of ieee875 long double macros and unions.  Simplify tests
46680         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46681         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46682         two1022, instead use their values.  Recognise that tests for large
46683         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46684         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46685         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46686         test for 0.0L and nan.  Correct negation.
46687         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46688         ieee875 long double macros and unions.  Correct output for large
46689         magnitude x.  Correct absolute value calculation.
46690         (__erfcl): Likewise.
46691         * math/libm-test.inc: Add tests for errors discovered in IBM long
46692         double versions of fmodl, remainderl, erfl and erfcl.
46694 2013-10-04  Alan Modra  <amodra@gmail.com>
46696         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46697         all uses of ieee854 long double macros and unions.  Simplify tests
46698         for long doubles that are fully specified by the high double.
46699         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46700         Likewise.
46701         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46702         Remove dead code too.
46703         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46704         (__ieee754_ynl): Likewise.
46705         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46706         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46707         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46708         Remove dead code too.
46709         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46710         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46711         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46712         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46713         Simplify.
46714         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46715         Simplify.
46716         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46717         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46718         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46719         Comment on variable precision.
46720         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46721         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46722         Likewise.
46723         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46724         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46725         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46726         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46727         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46729 2013-10-04  Alan Modra  <amodra@gmail.com>
46731         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46732         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46733         all uses of ieee854 long double macros and unions.
46734         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46735         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46736         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46737         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46738         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46739         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46740         Likewise.
46741         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46742         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46743         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46744         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46745         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46746         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46747         Simplify sign and nan test too.
46748         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46749         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46750         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46751         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46752         Likewise.
46753         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46754         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46755         Likewise.
46756         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46757         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46758         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46759         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46760         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46761         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46763 2013-10-04  Alan Modra  <amodra@gmail.com>
46765         * stdio-common/printf_size.c (__printf_size): Don't use
46766         union ieee854_long_double in fpnum union.
46767         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46768         signbit macro to retrieve sign from long double.
46769         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46770         retrieve sign from long double.
46771         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46772         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46773         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46774         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46775         * math/test-misc.c (main): Don't use union ieee854_long_double.
46777 2013-10-04  Alan Modra  <amodra@gmail.com>
46779         [BZ #15680]
46780         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46781         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46782         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46783         calculation.  Remove unnecessary test for denormal exponent.
46784         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46785         Correct handling of denormals.  Avoid undefined shift behaviour.
46786         Correct normalisation of low mantissa when low double is denormal.
46787         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46788         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46789         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46790         Correct normalisation of low mantissa.  Test for overflow of high
46791         mantissa and normalise.
46792         (ldbl_nearbyint): Use more readable constant for two52.
46793         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46794         (__mpn_construct_long_double): Fix test for overflow of high
46795         mantissa and correct normalisation.  Avoid undefined shift.
46797 2013-10-04  Alan Modra  <amodra@gmail.com>
46799         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46800         (union ibm_extended_long_double): Define as an array of ieee754_double.
46801         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46802         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46803         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46804         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46805         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46806         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46807         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46808         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46809         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46810         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46811         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46813 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46815         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46816         page size instead of calling getpagesize.
46818         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46819         (LOCFILE_ALIGN_MASK): Likewise.
46820         (LOCFILE_ALIGN_UP): Likewise.
46821         (LOCFILE_ALIGNED_P): Likewise.
46822         * locale/programs/ld-collate.c (collate_output): Use the new
46823         macros instead of __alignof__ (int32_t).
46824         * locale/weight.h (findidx): Likewise.
46826 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46828         [BZ #431]
46829         * manual/string.texi: Fix strncat and wcsncat.
46831 2013-10-03  Brooks Moses  <bmoses@google.com>
46833         [BZ #15915]
46834         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46835         * Makerules: ...here, and adjust associated comments.
46837 2013-10-02  Will Newton  <will.newton@linaro.org>
46839         * malloc/Makefile: Add tst-pvalloc.
46840         * malloc/tst-pvalloc.c: New file.
46842 2013-10-02  Will Newton  <will.newton@linaro.org>
46844         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46845         improve test coverage.
46847 2013-10-02  Will Newton  <will.newton@linaro.org>
46849         * malloc/Makefile: Add tst-posix_memalign.
46850         * malloc/tst-posix_memalign.c: New file.
46852 2013-10-01  Eric Blake  <eblake@redhat.com>
46854         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46855         Use __THROWNL rather than __THROW on static functions.
46857 2013-09-30  Petr Machata  <pmachata@redhat.com>
46859         * elf/elf.h (R_AARCH64_ABS16): New macro.
46860         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46861         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46862         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46863         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46864         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46865         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46866         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46867         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46868         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46869         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46870         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46871         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46872         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46873         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46874         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46875         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46876         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46877         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46878         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46879         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46880         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46881         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46882         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46883         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46884         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46885         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46886         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46887         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46888         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46889         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46890         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46891         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46892         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46893         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46894         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46895         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46896         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46897         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46898         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46899         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46900         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46901         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46902         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46903         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46904         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46905         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46906         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46907         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46908         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46909         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46910         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46911         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46912         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46913         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46914         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46915         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46916         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46917         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46918         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46919         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46920         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46921         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46922         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46923         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46924         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46925         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46926         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46927         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46928         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46929         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46930         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46931         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46932         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46933         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46934         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46935         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46936         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46937         (R_AARCH64_TLSDESC_LDR): Likewise.
46938         (R_AARCH64_TLSDESC_ADD): Likewise.
46939         (R_AARCH64_TLSDESC_CALL): Likewise.
46941 2013-09-30  Andreas Schwab  <schwab@suse.de>
46943         [BZ #15048]
46944         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46945         the nss database lookup.
46946         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46949 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46951         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46953 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46955         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46956         ${Bash-specific parameter/pattern/string} parameter expansion.
46957         * sysdeps/unix/make-syscalls.sh: Likewise.
46959 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46961         * sysdeps/sh/stackguard-macros.h: New file.
46963 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46966         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46967         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46968         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46969         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46970         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46972 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46974         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46975         Fix thread ID register.
46977 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46979         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46980         [POSIX || UNIX98]: Require rather than permitting all symbols from
46981         <time.h>.
46982         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46983         element of struct sched_param.
46984         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46985         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46986         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46987         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46988         constant.
46990 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46992         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46993         argument calculation.
46995 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46997         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46998         Expect macro.
46999         [POSIX] (pthread_attr_t): Do not require type.
47000         [POSIX] (pthread_cond_t): Likewise.
47001         [POSIX] (pthread_condattr_t): Likewise.
47002         [POSIX] (pthread_key_t): Likewise.
47003         [POSIX] (pthread_mutex_t): Likewise.
47004         [POSIX] (pthread_mutexattr_t): Likewise.
47005         [POSIX] (pthread_once_t): Likewise.
47006         [POSIX] (pthread_t): Likewise.
47007         [POSIX-based standards] (pthread_atfork): Expect function.
47009 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47010             Richard Sandiford  <richard@codesourcery.com>
47012         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47013         (swap_endianness_p): New extern variable.
47014         (set_big_endian): New inline function.
47015         (maybe_swap_uint32): Likewise.
47016         (maybe_swap_uint32_array): Likewise.
47017         (maybe_swap_uint32_obstack): Likewise.
47018         * locale/programs/locfile.c: Include <stdbool.h>.
47019         (swap_endianness_p): New variable.
47020         (add_locale_uint32): Call maybe_swap_uint32.
47021         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47022         (write_locale_data): Call maybe_swap_uint32_array.
47023         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47024         maybe_swap_uint32.
47025         (obstack_int32_grow_fast): Likewise.
47026         (output_weightwc): Call maybe_swap_uint32_obstack.
47027         (collate_output): Likewise.
47028         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47029         (OPT_LITTLE_ENDIAN): Likewise.
47030         (options): Add --little-endian and --big-endian options.
47031         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47032         * locale/programs/locarchive.c: Include "locfile.h".
47033         (GET): New macro.
47034         (SET): Likewise.
47035         (INC): Likewise.
47036         (create_archive): Use the new macros to access fields of
47037         structures directly mapped from or written to locale archives.
47038         (oldlocrecentcmp): Likewise.
47039         (enlarge_archive): Likewise.
47040         (insert_name): Likewise.
47041         (add_alias): Likewise.
47042         (add_locale): Likewise.
47043         (delete_locales_from_archive): Likewise.
47044         (show_archive_content): Likewise.
47045         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47046         locale data.
47048 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47050         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47051         http://www.gnu.org/doc/freemanuals.texi.
47052         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47054 2013-09-24  Will Newton  <will.newton@linaro.org>
47056         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47057         macro.
47059 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47061         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47062         unsigned char.
47064 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47066         * manual/threads.texi (POSIX Threads): Fix a typo.
47068 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47070         [BZ #14547]
47071         * string/tst-strcoll-overflow.c: New test case.
47072         * string/Makefile (xtests): Add tst-strcoll-overflow.
47073         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47074         cache if string sizes may cause integer overflow.
47076         [BZ #14547]
47077         * string/strcoll_l.c (coll_seq): New members rule, idx,
47078         save_idx and back_us.
47079         (get_next_seq_nocache): New function.
47080         (do_compare_nocache): New function.
47081         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47082         when malloc fails.
47084 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47086         [BZ #15754]
47087         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47088         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47089         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47091         [BZ #15754]
47092         * elf/Makefile (tests): Add tst-ptrguard1.
47093         (tests-static): Add tst-ptrguard1-static.
47094         (tst-ptrguard1-ARGS): Define.
47095         (tst-ptrguard1-static-ARGS): Define.
47096         * elf/tst-ptrguard1.c: New file.
47097         * elf/tst-ptrguard1-static.c: New file.
47098         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47099         * sysdeps/i386/stackguard-macros.h: Likewise.
47100         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47101         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47102         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47103         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47104         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47105         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47107 2013-09-23  Hector Marco  <hecmargi@upv.es>
47108             Ismael Ripoll  <iripoll@disca.upv.es>
47109             Carlos O'Donell  <carlos@redhat.com>
47111         [BZ #15754]
47112         * sysdeps/generic/stackguard-macros.h: Define
47113         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47114         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47115         Define __pointer_chk_guard_local.
47116         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47117         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47119 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47121         [BZ #15859]
47122         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47124 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47126         * include/string.h (__ffs): Declare as hidden.
47127         * string/ffs.c (__ffs): Define as hidden.
47128         * sysdeps/i386/ffs.c (__ffs): Likewise.
47129         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47130         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47131         * sysdeps/s390/ffs.c (__ffs): Likewise.
47132         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47134 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47136         * NEWS: Mention malloc probes.
47138         * malloc/arena.c (new_heap): New memory_heap_new probe.
47139         (grow_heap): New memory_heap_more probe.
47140         (shrink_heap): New memory_heap_less probe.
47141         (heap_trim): New memory_heap_free probe.
47142         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47143         (systrim): New memory_sbrk_less probe.
47144         * manual/probes.texi: Document them.
47146         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47147         * manual/probes.texi: Document it.
47149         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47150         (__libc_realloc): Add memory_realloc_retry probe.
47151         (__libc_memalign): Add memory_memalign_retry probe.
47152         (__libc_valloc): Add memory_valloc_retry probe.
47153         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47154         (__libc_calloc): Add memory_calloc_retry probe.
47155         * manual/probes.texi: Document them.
47157         * malloc/arena.c (get_free_list): Add probe
47158         memory_arena_reuse_free_list.
47159         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47160         and memory_arena_reuse.
47161         (arena_get2) [!PER_THREAD]: Likewise.
47162         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47163         memory_arena_reuse_realloc.
47164         * manual/probes.texi: Document them.
47166         * malloc/malloc.c (__libc_free): Add
47167         memory_mallopt_free_dyn_thresholds probe.
47168         (__libc_mallopt): Add multiple memory_mallopt probes.
47169         * manual/probes.texi: Document them.
47171         * malloc/malloc.c: Include stap-probe.h.
47172         (__libc_mallopt): Add memory_mallopt probe.
47173         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47174         * manual/probes.texi: New.
47175         * manual/Makefile (chapters): Add probes.
47176         * manual/threads.texi: Set next node.
47178 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47180         [BZ #15963, #13985]
47181         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47182         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47183         Add `Chinese' to `nan' entry name.
47185 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47187         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47188         (POLYNOMIAL): Likewise.
47189         (TAYLOR_SINCOS): Likewise.
47190         (TAYLOR_SLOW): Likewise.
47191         (__sin): Use TAYLOR_SINCOS.
47192         (__cos): Likewise.
47193         (slow): Use TAYLOR_SLOW.
47194         (sloww): Likewise.
47195         (bsloww): Likewise.
47196         (csloww): Likewise.
47198 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47200         * stdlib/strtod_l.c: Fix buffer overrun.
47202 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47204         * benchtests/Makefile (bench): Add sincos.
47205         * benchtests/bench-sincos.c: New file.
47207         * math/libm-test.inc (cos_test_data): New test inputs.
47208         (sin_test_data): Likewise.
47210         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47211         macro.
47212         (__sin): Use it.
47213         (__cos): Likewise.
47214         (slow1): Likewise.
47215         (slow2): Likewise.
47216         (sloww1): Likewise.
47217         (sloww2): Likewise.
47218         (bsloww1): Likewise.
47219         (bsloww2): Likewise.
47220         (cslow2): Likewise.
47221         (csloww1): Likewise.
47222         (csloww2): Likewise.
47224         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47225         function.
47226         (__sin): Use it.
47227         (__cos): Likewise.
47229         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47230         gotos.
47231         (__cos): Likewise.
47233 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47235         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47236         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47237         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47238         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47239         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47240         * elf/cache.c (print_entry): Handle the new cache flags.
47242 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47243             Aldy Hernandez  <aldyh@redhat.com>
47245         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47246         Change condition to [_SOFT_FLOAT].
47247         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47248         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47249         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47250         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47251         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47252         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47253         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47254         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47255         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47256         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47257         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47258         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47259         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47260         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47261         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47262         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47263         declaration.
47265 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47267         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47268         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47269         (__longjmp): Use LOAD_GP to load saved GPRs.
47270         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47271         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47272         (__sigsetjmp): Use SAVE_GP to save GPRs.
47274         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47275         Do not append -msoft-float.
47276         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47278 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47280         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47282 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47284         [BZ #15966]
47285         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47286         (_FPU_GETCW): Use initial "__" on variable and field names but not
47287         on macro parameter name.
47288         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47289         parentheses around reference to macro parameter.
47291 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47293         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47294         prototype.
47295         (ctype_startup): Use uint32_t in cast and sizeof for
47296         ctype->charnames.
47298 2013-09-11  Jia Liu  <proljc@gmail.com>
47300         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47301         __daddr_t_defined.
47302         [__FreeBSD__]: Likewise.
47304 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47306         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47307         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47308         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47309         (strchr): Remove __strchr_sse42 ifunc selection.
47310         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47311         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47313 2013-09-11  Will Newton  <will.newton@linaro.org>
47315         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47316         parameter to RES. Remove hardcoded 1000 value.
47317         * benchtests/bench-skeleton.c (main): Pass RES parameter
47318         to TIMING_INIT and multiply result by 1000.
47320 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47324 2013-09-11  Andreas Schwab  <schwab@suse.de>
47326         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47327         if not defined.
47328         (O_TMPFILE) [__USE_GNU]: Define.
47329         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47330         Define.
47332 2013-09-11  Will Newton  <will.newton@linaro.org>
47334         [BZ #15857]
47335         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47336         does not overflow.
47338 2013-09-11  Will Newton  <will.newton@linaro.org>
47340         [BZ #15856]
47341         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47342         does not overflow.
47344 2013-09-11  Will Newton  <will.newton@linaro.org>
47346         [BZ #15855]
47347         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47348         does not overflow.
47350 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47352         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47353         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47354         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47355         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47356         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47358 2013-09-10  Allan McRae  <allan@archlinux.org>
47360         [BZ #15748]
47361         * manual/arith.texi (Parsing of Floats): Clarify
47362         cross-reference.
47364         [BZ #15849]
47365         * manual/install.texi (Running make install): Mention
47366         --enable-pt-chown.
47367         * INSTALL: Regenerated.
47369 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47371         * csu/init-first.c (_init): Remove the !SHARED condition around
47372         FPU control word initialization.
47373         * elf/dl-support.c (_dl_fpu_control): New variable.
47374         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47375         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47376         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47377         * math/test-fpucw-static.c: New file.
47378         * math/test-fpucw-ieee.c: New file.
47379         * math/test-fpucw-ieee-static.c: New file.
47380         * math/Makefile (tests): Add `test-fpucw-ieee' and
47381         `$(tests-static)'.
47382         (tests-static): New variable.
47383         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47384         dependency to...
47385         [($(build-shared),yes)]
47386         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47387         ... this.
47388         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47389         New dependency.
47391 2013-09-09  Allan McRae  <allan@archlinux.org>
47393         [BZ #15939]
47394         * manual/string.texi (Collation Functions): Fix typo in
47395         strcoll example.
47396         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47398         [BZ #15893]
47399         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47401         [BZ #15892]
47402         * libio/memstream.c (open_memstream): Fix memory leak.
47403         * libio/wmemstream.c (open_wmemstream): Likewise.
47405         [BZ #15895]
47406         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47408 2013-09-09  Will Newton  <will.newton@linaro.org>
47410         * malloc/Makefile: Add tst-realloc to tests.
47411         * malloc/tst-realloc.c: New file.
47413 2013-09-09  Allan McRae  <allan@archlinux.org>
47415         [BZ #15844]
47416         * COPYING: Update from GNU website to fix FSF address.
47417         * COPYING.LIB: Likewise.
47419 2013-09-06  David S. Miller  <davem@davemloft.net>
47421         * po/zh_TW.po: Update Chinese (traditional) translation from
47422         translation project.
47424 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47425             Joseph Myers  <joseph@codesourcery.com>
47427         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47428         "localeinfo.h".
47429         (obstack_chunk_alloc): New macro.
47430         (obstack_chunk_free): Likewise.
47431         (record_offset): New function.
47432         (init_locale_data): Likewise.
47433         (align_locale_data): Likewise.
47434         (add_locale_empty): Likewise.
47435         (add_locale_raw_data): Likewise.
47436         (add_locale_raw_obstack): Likewise.
47437         (add_locale_string): Likewise.
47438         (add_locale_wstring): Likewise.
47439         (add_locale_uint32): Likewise.
47440         (add_locale_uint32_array): Likewise.
47441         (add_locale_char): Likewise.
47442         (start_locale_structure): Likewise.
47443         (end_locale_structure): Likewise.
47444         (start_locale_prelude): Likewise.
47445         (end_locale_prelude): Likewise.
47446         (write_locale_data): Take locale_file structure rather than an
47447         iovec.
47448         * locale/programs/locfile.h: Include "obstack.h".
47449         (struct locale_file): Change to store locale file contents instead
47450         of header.
47451         (init_locale_data): New prototype.
47452         (align_locale_data): Likewise.
47453         (add_locale_empty): Likewise.
47454         (add_locale_raw_data): Likewise.
47455         (add_locale_raw_obstack): Likewise.
47456         (add_locale_string): Likewise.
47457         (add_locale_wstring): Likewise.
47458         (add_locale_uint32): Likewise.
47459         (add_locale_uint32_array): Likewise.
47460         (add_locale_char): Likewise.
47461         (start_locale_structure): Likewise.
47462         (end_locale_structure): Likewise.
47463         (start_locale_prelude): Likewise.
47464         (end_locale_prelude): Likewise.
47465         (write_locale_data): Update prototype.
47466         * locale/programs/3level.h (struct TABLE): Remove result field.
47467         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47468         Use new locale_file interface.
47469         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47470         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47471         * locale/programs/ld-address.c (address_output): Use new
47472         locale_file interface.
47473         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47474         NO_ADD_LOCALE.
47475         (collate_finish): Don't call collseq_table_finalize.
47476         (collate_output): Use new locale_file interface.
47477         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47478         in file.
47479         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47480         (TABLE): Move defines earlier in file.
47481         (ELEMENT): Likewise.
47482         (DEFAULT): Likewise.
47483         (wctrans_table_add): Move macro and inline function earlier in
47484         file.
47485         (struct wctype_table): Move type earlier in file.
47486         (add_locale_wctype_table): New static prototype.
47487         (struct locale_ctype_t): Use logical types instead of struct iovec
47488         pointers for members.
47489         (ctype_output): Use new locale_file interface.
47490         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47491         new locale_file interface.
47492         (allocate_arrays): Update for use of new locale_file interface.
47493         * locale/programs/ld-identification.c (identification_output): Use
47494         new locale_file interface.
47495         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47496         * locale/programs/ld-messages.c (messages_output): Likewise.
47497         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47498         * locale/programs/ld-name.c (name_output): Likewise.
47499         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47500         * locale/programs/ld-paper.c (paper_output): Likewise.
47501         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47502         * locale/programs/ld-time.c (time_output): Likewise.
47504 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47506         * benchtests/Makefile: Add memrchr benchmark.
47507         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47508         benchmark as memrchr.
47509         * benchtests/bench-memrchr-ifunc.c: New file.
47510         * benchtests/bench-memrchr.c: New file.
47512 2013-09-06   Will Newton  <will.newton@linaro.org>
47514         * benchtests/Makefile (string-bench): Add memcpy.
47516 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47517             Cong Wang  <amwang@redhat.com>
47519         [BZ #15850]
47520         * sysdeps/unix/sysv/linux/bits/in.h
47521         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47522         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47523         before __USE_KERNEL_IPV6_DEFS uses.
47524         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47525         IPPROTO_BEETPH.
47526         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47527         sockaddr_in6, or ipv6_mreq.
47529 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47531         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47532         memory access for final bytes in some large inputs.
47533         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47535 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47537         * string/test-memrchr.c: New file.
47538         * string/test-memrchr-ifunc.c: New file.
47539         * string/Makefile: Add new memrchr testcase.
47541 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47543         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47544         fanotify_init returns EPERM.
47546 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47548         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47549         errors.
47550         (top level): Treat second token from macro or constant entries for
47551         allowed headers as allowed.
47552         * include/complex.h: Condition internal declarations on
47553         [!_ISOMAC].
47554         * include/fenv.h: Condition include of <stdbool.h> and internal
47555         declarations on [!_ISOMAC].
47557 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47559         [BZ #15923]
47560         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47562 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47564         * configure.in (--enable-versioning): Remove configure option.
47565         (libc_cv_asm_symver_directive): Remove configure test.
47566         (libc_cv_ld_version_script_option): Likewise.
47567         (VERSIONING): Remove variable and AC_SUBST.
47568         (DO_VERSIONING): Remove AC_DEFINE.
47569         * configure: Regenerated.
47570         * config.h.in (DO_VERSIONING): Remove macro.
47571         * Makerules [$(versioning) = yes]: Change conditionals to
47572         [$(build-shared) = yes].
47573         * config.make.in (versioning): Remove variable.
47574         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47575         [$(build-shared) = yes].
47576         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47577         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47578         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47579         [$(build-shared) = yes].
47580         * extra-lib.mk [$(versioning) = yes]: Likewise.
47581         * hurd/Makefile [$(versioning) = yes]: Likewise.
47582         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47583         [SHARED].
47584         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47585         [SHARED].
47586         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47587         [SHARED && !NO_HIDDEN].
47588         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47589         [SHARED].
47590         [SHARED && DO_VERSIONING]: Likewise..
47591         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47592         [$(build-shared) = yes].
47593         * manual/install.texi (--disable-versioning): Remove
47594         documentation.
47595         * INSTALL: Regenerated.
47596         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47597         to [SHARED].
47598         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47599         [$(build-shared) = yes].
47600         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47601         * sysdeps/i386/i686/multiarch/strstr-c.c
47602         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47603         [SHARED && !NO_HIDDEN].
47604         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47605         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47606         * sysdeps/powerpc/powerpc32/dl-machine.c
47607         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47608         * sysdeps/powerpc/powerpc32/sysdep.h
47609         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47610         to [SHARED && PIC && !NO_HIDDEN].
47611         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47612         conditional to [SHARED].
47614 2013-09-04   Will Newton  <will.newton@linaro.org>
47616         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47617         * benchtests/bench-string.h: Include bench-timing.h instead
47618         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47619         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47620         call to HP_TIMING_DIFF_INIT.
47621         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47622         instead of hp-timing.h macros.
47623         * benchtests/bench-memchr.c: Likewise.
47624         * benchtests/bench-memcmp.c: Likewise.
47625         * benchtests/bench-memcpy.c: Likewise.
47626         * benchtests/bench-memmem.c: Likewise.
47627         * benchtests/bench-memmove.c: Likewise.
47628         * benchtests/bench-memset.c: Likewise.
47629         * benchtests/bench-rawmemchr.c: Likewise.
47630         * benchtests/bench-strcasecmp.c: Likewise.
47631         * benchtests/bench-strcasestr.c: Likewise.
47632         * benchtests/bench-strcat.c: Likewise.
47633         * benchtests/bench-strchr.c: Likewise.
47634         * benchtests/bench-strcmp.c: Likewise.
47635         * benchtests/bench-strcpy.c: Likewise.
47636         * benchtests/bench-strcpy_chk.c: Likewise.
47637         * benchtests/bench-strlen.c: Likewise.
47638         * benchtests/bench-strncasecmp.c: Likewise.
47639         * benchtests/bench-strncat.c: Likewise.
47640         * benchtests/bench-strncmp.c: Likewise.
47641         * benchtests/bench-strncpy.c: Likewise.
47642         * benchtests/bench-strnlen.c: Likewise.
47643         * benchtests/bench-strpbrk.c: Likewise.
47644         * benchtests/bench-strrchr.c: Likewise.
47645         * benchtests/bench-strspn.c: Likewise.
47646         * benchtests/bench-strstr.c: Likewise.
47648 2013-09-04  Will Newton  <will.newton@linaro.org>
47650         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47652 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47654         [BZ #15427]
47655         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47656         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47657         * math/libm-test.inc (lgamma_test_data): Add more tests.
47658         * sysdeps/i386/fpu/libm-test-ulps: Update.
47659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47661 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47663         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47664         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47665         Add ifunc.
47666         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47667         Add strcmp-sse2-unaligned
47668         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47670 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47672         * Versions.def (libc): Add GLIBC_2.19.
47674 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47676         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47677         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47679 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47681         [BZ #14155]
47682         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47683         intermediate calculations in recurrence.
47684         (__ieee754_ynf): Likewise.
47685         * math/libm-test.inc (jn_test_data): Do not allow spurious
47686         underflow exception.  Add more tests.
47687         (yn_test_data): Add more tests.
47688         * sysdeps/i386/fpu/libm-test-ulps: Update.
47689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47691 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47693         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47695 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47697         * csu/init-first.c: Fix then/than typos.
47698         * locale/programs/ld-collate.c: Likewise.
47699         * locale/programs/linereader.h: Likewise.
47700         * manual/charset.texi: Likewise.
47701         * manual/filesys.texi: Likewise.
47702         * manual/stdio.texi: Likewise.
47703         * manual/string.texi: Likewise.
47704         * stdlib/fmtmsg.c: Likewise.
47705         * sysdeps/i386/stpncpy.S: Likewise.
47706         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47707         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47708         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47709         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47711 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47713         * elf/dl-open.c: Fix typos.
47714         * iconvdata/gbbig5.c: Likewise.
47715         * iconvdata/iso-2022-jp.c: Likewise.
47716         * iconv/gconv_int.h: Likewise.
47717         * iconv/loop.c: Likewise.
47718         * nis/rpcsvc/nis.h: Likewise.
47719         * resolv/ns_name.c: Likewise.
47720         * stdio-common/vfscanf.c: Likewise.
47721         * streams/stropts.h: Likewise.
47722         * sunrpc/rpc_thread.c: Likewise.
47723         * sysdeps/i386/strpbrk.S: Likewise.
47724         * sysdeps/ieee754/k_standard.c: Likewise.
47725         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47726         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47727         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47728         * sysdeps/mach/hurd/profil.c: Likewise.
47729         * sysdeps/s390/dl-procinfo.h: Likewise.
47730         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47731         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47732         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47733         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47734         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47736 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47738         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47739         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47741 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47743         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47744         aix specific files.
47745         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47746         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47747         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47748         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47749         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47750         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47751         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47752         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47754 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47755             Roland McGrath  <roland@hack.frob.com>
47757         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47758         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47760 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47762         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47763         __executable_start symbol instead of _start.
47765 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47767         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47768         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47769         Move macros to...
47770         * sysdeps/gnu/ldsodefs.h: ... this new file.
47772         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47773         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47774         instead of ELFOSABI_LINUX.
47776         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47777         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47778         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47779         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47780         Likewise.
47781         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47782         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47783         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47784         Likewise.
47785         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47786         (ibm_extended_long_double): Add ieee_nan member.
47787         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47788         (do_test): New function.
47790         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47791         TEST_TRUNC.
47792         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47793         functions, renamed from truncdfsf_test, trunctfsf_test,
47794         trunctfdf_test.
47795         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47796         functions.
47797         (do_test): Run all these.
47799 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47801         * argp/argp-help.c: Fix typos.
47802         * argp/argp-parse.c: Likewise.
47803         * debug/backtracesyms.c: Likewise.
47804         * elf/elf.h: Likewise.
47805         * malloc/malloc.c: Likewise.
47806         * nis/nis_print.c: Likewise.
47807         * resolv/res_comp.c: Likewise.
47808         * stdlib/stdlib.h: Likewise.
47809         * sunrpc/clnt_tcp.c: Likewise.
47810         * sunrpc/clnt_udp.c: Likewise.
47811         * sunrpc/clnt_unix.c: Likewise.
47812         * sysdeps/unix/bsd/ptsname.c: Likewise.
47813         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47814         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47816         Likewise.
47817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47818         Likewise.
47819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47820         Likewise.
47821         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47823 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47825         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47826         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47828 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47830         [BZ #15897]
47831         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47832         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47833         ($(objpfx)bug-dl-leaf): New rule.
47834         ($(objpfx)bug-dl-leaf.so): Likewise.
47835         ($(objpfx)bug-dl-leaf.out): Likewise.
47836         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47837         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47838         * dlfcn/bug-dl-leaf.c: New test.
47839         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47840         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47841         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47842         (dlclose): Likewise.
47843         (dlmopen): Likewise.
47845 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47847         * include/netdb.h [!_ISOMAC]:
47848         Don't include <tls.h>.
47849         (h_errno, __libc_h_errno): Move declaration and macros out of
47850         [_LIBC_REENTRANT].
47852         * include/resolv.h [_RESOLV_H_]:
47853         Don't include <tls.h>.
47854         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47855         * resolv/res_libc.c: Don't include <tls.h>.
47856         (_res): Use __attribute__ ((nocommon)) in place of
47857         __attribute__ ((section (".bss"))).
47859         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47860         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47862         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47864         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47865         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47867         * resolv/res_mkquery.c: Include <sys/time.h>.
47869         * inet/ifreq.c: Moved to ...
47870         * sysdeps/unix/ifreq.c: ... here.
47871         * inet/ifreq.c: New file, true stub version.
47873         * socket/sa_len.c: New file.
47874         * socket/Makefile (aux): Add it.
47875         * sysdeps/unix/sysv/linux/Makefile
47876         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47877         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47878         and #include <socket/sa_len.c>.
47879         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47880         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47882         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47883         * bits/socket.h: ... here.
47885         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47886         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47887         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47889 2013-08-27  Andreas Schwab  <schwab@suse.de>
47891         [BZ #15736]
47892         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47893         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47894         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47895         * string/test-strcasecmp.c (test_main): Run tests in several
47896         locales.
47897         * string/test-strncasecmp.c (test_main): Likewise.
47899         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47900         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47901         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47902         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47903         (__strncasecmp_ssse3) [PIC]: Likewise.
47905 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47907         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47909         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47910         instead of explicitly declaring xdecrypt.
47911         * nis/nss_nis/nis-publickey.c: Likewise.
47913 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47915         [BZ #15890]
47916         * nscd/aicache.c: Include res_hconf.h.
47917         (addhstaiX): Initialize res_hconf.
47919 2013-08-26  Andreas Schwab  <schwab@suse.de>
47921         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47922         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47924 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47926         * nscd/aicache.c (addhstaiX): Fix indentation.
47928 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47930         * configure.ac: Quote $build_pt_chown test.
47931         * configure: Regenerated.
47933 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47935         [BZ #15532]
47936         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47937         * math/s_cexpf.c (__cexpf): Likewise.
47938         * math/s_cexpl.c (__cexpl): Likewise.
47939         * math/libm-test.inc (cexp_test_data): Correct expected return
47940         value for NaN + i0.  Add another test.
47942 2013-08-22  David S. Miller  <davem@davemloft.net>
47944         * po/ca.po: Update Catalan translation from translation project.
47945         * po/uk.po: Add Ukrainian translations from translation project.
47947 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47949         [BZ #15797]
47950         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47951         is infinite, not alongside NaN test.
47952         * math/s_fdimf.c (__fdimf): Likewise.
47953         * math/s_fdiml.c (__fdiml): Likewise.
47954         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47955         errno is unchanged.
47957 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47959         * argp/argp-help.c: Fix typos.
47960         * crypt/speeds.c: Likewise.
47961         * csu/check_fds.c: Likewise.
47962         * elf/dl-load.c: Likewise.
47963         * elf/dl-open.c: Likewise.
47964         * elf/reldep3.c: Likewise.
47965         * elf/reldep.c: Likewise.
47966         * elf/sprof.c: Likewise.
47967         * iconv/iconv_charmap.c: Likewise.
47968         * iconv/skeleton.c: Likewise.
47969         * iconv/strtab.c: Likewise.
47970         * io/lockf64.c: Likewise.
47971         * libio/libioP.h: Likewise.
47972         * resolv/gai_notify.c: Likewise.
47973         * resolv/ns_name.c: Likewise.
47974         * resolv/ns_samedomain.c: Likewise.
47975         * resolv/res_send.c: Likewise.
47976         * stdlib/random.c: Likewise.
47977         * sunrpc/rpc/xdr.h: Likewise.
47978         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47979         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47980         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47981         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47982         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47983         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47984         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47985         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47986         * sysdeps/mach/hurd/check_fds.c: Likewise.
47987         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47988         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47989         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47990         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47991         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47992         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47993         * sysdeps/pthread/aio_notify.c: Likewise.
47994         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47995         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47996         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47997         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47998         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48000 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48002         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48003         version if bit_Slow_SSE4_2 is set.
48004         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48005         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48007 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48009         [BZ #15867]
48010         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48011         trampoline stack frame information.
48012         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48013         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48014         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48015         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48016         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48017         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48018         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48019         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48020         sa_flags value.
48021         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48022         interrupting a syscall and set with option SA_SIGINFO.
48024 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48026         [BZ #15531]
48027         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48028         argument is infinite.
48029         * math/s_cprojf.c (__cprojf): Likewise.
48030         * math/s_cprojl.c (__cprojl): Likewise.
48031         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48032         * math/libm-test.inc (cproj_test_data): Add more tests.
48034         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48036         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48037         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48038         size.  Use __ffs to determine corresponding shift.
48040 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48041             Roland McGrath  <roland@hack.frob.com>
48043         * Makefile (INSTALL): Remove trailing blank lines from output of
48044         makeinfo.
48046 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48048         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48049         Align 32 bit compat elf_greg to 8 bytes.
48051 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48053         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48055 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48057         * string/strcoll_l.c (coll_seq): New structure.
48058         (get_next_seq_cached): New function.
48059         (get_next_seq): New function.
48060         (do_compare): New function.
48061         (STRCOLL): Use GNU style definition.  Simplify implementation
48062         by using get_next_seq, get_next_seq_cached and do_compare.
48064 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48066         [BZ #14699]
48067         CVE-2013-4237
48068         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48069         member.
48070         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48071         member.
48072         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48073         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48074         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48075         conditional.
48076         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48077         GETDENTS_64BIT_ALIGNED.
48078         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48079         * manual/filesys.texi (Reading/Closing Directory): Document
48080         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48081         strongly.
48082         * manual/conf.texi (Limits for Files): Add portability note to
48083         NAME_MAX, PATH_MAX.
48084         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48086 2013-08-13  Andreas Schwab  <schwab@suse.de>
48088         [BZ #15749]
48089         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48090         of fabs.
48091         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48092         LDBL_MAX_EXP >= 16384]: Add tests for it.
48094 2013-08-12  David S. Miller  <davem@davemloft.net>
48096         * version.h (RELEASE): Set to "development".
48097         (VERSION): Set to "2.18.90".
48098         * NEWS: Add 2.19 section.
48100 2013-08-03  David S. Miller  <davem@davemloft.net>
48102         * po/ko.po: Update Korean translation from translation project.
48104 2013-08-01  David S. Miller  <davem@davemloft.net>
48106         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48107         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48108         Bilka.
48110 2013-07-30  David S. Miller  <davem@davemloft.net>
48112         * po/fr.po: Update French translation from translation project.
48114 2013-07-28  David S. Miller  <davem@davemloft.net>
48116         * po/cs.po: Update Czech translation from translation project.
48118         * po/sv.po: Update Swedish translation from translation project.
48120 2013-07-27  David S. Miller  <davem@davemloft.net>
48122         * po/eo.po: Update Esperanto translation from translation project.
48124         * po/vi.po: Update Vietnamese translation from translation project.
48126         * po/de.po: Update German translation from translation project.
48128 2013-07-26  David S. Miller  <davem@davemloft.net>
48130         * po/bg.po: Update Bulgarian translation from translation project.
48132         * po/nl.po: Update Dutch translation from translation project.
48133         * po/pl.po: Update Polish translation from translation project.
48134         * po/ru.po: Update Russian translation from translation project.
48136 2013-07-24  David S. Miller  <davem@davemloft.net>
48138         * po/libc.pot: Update.
48140 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48142         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48143         variable page size.
48144         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48145         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48146         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48148 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48150         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48152 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48153             Andreas Schwab  <schwab@suse.de>
48154             Roland McGrath  <roland@hack.frob.com>
48155             Joseph Myers  <joseph@codesourcery.com>
48156             Carlos O'Donell  <carlos@redhat.com>
48158         [BZ #15755]
48159         * config.h.in: Define HAVE_PT_CHOWN.
48160         * config.make.in (build-pt-chown): New variable.
48161         * configure.in (--enable-pt_chown): New configure option.
48162         * configure: Regenerate.
48163         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48164         build-pt-chown is enabled.
48165         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48166         pt_chown to fix pty ownership.
48167         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48168         CLOSE_ALL_FDS.
48169         * manual/install.texi (Configuring and compiling): Mention
48170         --enable-pt_chown. Add @findex for grantpt.
48171         * INSTALL: Regenerate.
48173 2013-07-20  David S. Miller  <davem@davemloft.net>
48175         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48176         difference between 32-bit and 64-bit.
48178 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48180         [BZ #15711]
48181         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48182         Avoid system header dependency with -ffreestanding.
48183         ($(objpfx)bits/syscall%d): Likewise.
48185 2013-07-13  David S. Miller  <davem@davemloft.net>
48187         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48188         underflows from atanl/atan2l due to bug 15319.
48189         (casinh_test_data): Likewise.
48191 2013-07-07  David S. Miller  <davem@davemloft.net>
48193         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48195 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48197         * sysdeps/i386/fpu/libm-test-ulps: Update.
48198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48200 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48202         * configure.in (--enable-lock-elision): Fix message text.
48203         * INSTALL: Regenerate.
48204         * configure: Regenerate.
48206 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48210 2013-07-03  Andreas Jaeger  <aj@suse.de>
48212         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48213         define.
48214         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48215         (ptrace_peeksiginfo_args): Add.
48216         (__ptrace_peeksiginfo_flags): Add.
48217         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48218         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48219         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48221 2013-07-03  Allan McRae  <allan@archlinux.org>
48223         * sysdeps/i386/fpu/libm-test-ulps: Update.
48225 2013-07-02  David S. Miller  <davem@davemloft.net>
48227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48229 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48233 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48235         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48238 2013-07-02  Andi Kleen <ak@linux.intel.com>
48240         * config.h.in (ENABLE_LOCK_ELISION): Add.
48241         * configure.in (--enable-lock-elision): Add option.
48242         * manual/install.texi: Document --enable lock elision.
48243         * configure: Regenerate
48244         * INSTALL: Regenerate.
48246 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48248         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48249         SSE4.2 strcasecmp for libc.a.
48250         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48252 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48254         [BZ #13304]
48255         * soft-fp/op-common.h (_FP_FMA): New macro.
48256         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48257         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48258         (_FP_MUL_MEAT_1_imm): ... here.
48259         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48260         (_FP_MUL_MEAT_1_wide): ... here.
48261         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48262         (_FP_MUL_MEAT_1_hard): ... here.
48263         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48264         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48265         (_FP_MUL_MEAT_2_wide): ... here.
48266         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48267         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48268         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48269         (_FP_MUL_MEAT_2_gmp): ... here.
48270         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48271         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48272         (_FP_MUL_MEAT_4_wide): ... here.
48273         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48274         (_FP_MUL_MEAT_4_gmp): ... here.
48275         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48276         (_FP_WFRACBITS_DW_S): Likewise.
48277         (_FP_WFRACXBITS_DW_S): Likewise.
48278         (_FP_HIGHBIT_DW_S): Likewise.
48279         (FP_FMA_S): Likewise.
48280         (_FP_FRAC_HIGH_DW_S): Likewise.
48281         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48282         (_FP_WFRACBITS_DW_D): Likewise.
48283         (_FP_WFRACXBITS_DW_D): Likewise.
48284         (_FP_HIGHBIT_DW_D): Likewise.
48285         (FP_FMA_D): Likewise.
48286         (_FP_FRAC_HIGH_DW_D): Likewise.
48287         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48288         (_FP_WFRACBITS_DW_E): Likewise.
48289         (_FP_WFRACXBITS_DW_E): Likewise.
48290         (_FP_HIGHBIT_DW_E): Likewise.
48291         (FP_FMA_E): Likewise.
48292         (_FP_FRAC_HIGH_DW_E): Likewise.
48293         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48294         (_FP_WFRACBITS_DW_Q): Likewise.
48295         (_FP_WFRACXBITS_DW_Q): Likewise.
48296         (_FP_HIGHBIT_DW_Q): Likewise.
48297         (FP_FMA_Q): Likewise.
48298         (_FP_FRAC_HIGH_DW_Q): Likewise.
48299         * soft-fp/fmasf4.c: New file.
48300         * soft-fp/fmadf4.c: Likewise.
48301         * soft-fp/fmatf4.c: Likewise.
48303 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48305         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48306         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48307         Silvermont.
48308         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48309         macro.
48310         (index_Slow_SSE4_2): Likewise.
48311         (index_Prefer_PMINUB_for_stringop): Likewise.
48312         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48313         bit_Slow_SSE4_2 is set.
48314         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48315         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48317 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48319         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48320         rtld_global._dl_hwcap2.
48321         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48322         POWER8.
48323         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48324         POWER8 feature descriptions defined in _dl_hwcap2.
48325         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48326         string handling for POWER8 feature bits.
48327         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48328         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48329         _dl_powerpc_cap_flags.
48330         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48331         * sysdeps/powerpc/rtld-global-offsets.sym
48332         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48333         _dl_hwcap2 in the rtld_global_ro structure.
48335 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48337         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48338         hardware capabilities in support of AT_HWCAP2.
48339         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48340         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48341         GLRO(dl_hwcap2).
48342         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48343         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48344         explicitly the unknown a_type display mechanism is used.
48345         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48346         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48347         struct member.
48348         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48349         to macro prototype for AT_HWCAP2 support.
48350         * sysdeps/i386/dl-procinfo.h: Likewise.
48351         * sysdeps/s390/dl-procinfo.h: Likewise.
48352         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48353         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48354         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48355         return -1 for unknown a_type display fallback.
48356         * sysdeps/sparc/dl-procinfo.h: Likewise.
48357         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48358         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48360 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48362         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48363         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48365 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48367         [BZ #12492]
48368         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48369         mprotect making __stack_prot writable.
48371 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48372             Joseph Myers  <joseph@codesourcery.com>
48374         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48375         as being properly aligned.
48377 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48379         * dlfcn/modstatic5.c: New file.
48380         * dlfcn/tststatic5.c: New file.
48381         * dlfcn/Makefile (tests): Add tststatic5.
48382         (tests-static): Likewise.
48383         (modules-names): Add modstatic5.
48384         (tststatic5-ENV): New variable.
48385         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48387         [BZ #15022]
48388         * elf/dl-support.c (_dl_main_map): New variable.
48389         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48390         (_dl_nns, _dl_load_adds): Set to 1.
48391         (_dl_initial_searchlist): Refer to _dl_main_map.
48392         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48393         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48394         call to _dl_get_origin.
48395         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48396         around call_map.
48397         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48398         * dlfcn/modstatic3.c: New file.
48399         * dlfcn/tststatic3.c: New file.
48400         * dlfcn/tststatic4.c: New file.
48401         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48402         (tests-static): Likewise.
48403         (modules-names): Add modstatic3.
48404         (tststatic3-ENV, tststatic4-ENV): New variables.
48405         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48406         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48408 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48410         * configure.in (CC): Require GCC version 4.4 or later.
48411         * configure: Regenerated.
48412         * manual/install.texi (Tools for Compilation): Update GCC version
48413         requirement.
48414         * INSTALL: Regenerated.
48416 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48418         [BZ #15674]
48419         * string/test-memcmp.c (check2): New.
48420         (main): Call check2.
48422         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48424 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48426         [BZ #15022]
48427         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48428         over to...
48429         (dl_open_worker) [!SHARED]: ... here.
48431 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48433         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48435 2013-06-25  Richard Henderson  <rth@redhat.com>
48437         * locale/programs/locarchive.c: Include <libc-internal.h>
48439 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48441         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48442         trailing whitespace removed.
48444 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48446         [BZ #10283]
48447         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48448         * locale/programs/locarchive.c: Include libc-mmap.h.
48449         (prepare_address_space): Take two new outputs (the mmap base and len).
48450         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48451         values.
48452         (create_archive): Declare new mmap base and len values for
48453         prepare_address_space, and store the result in ah.
48454         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48455         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48456         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48457         Declare new mmap base and len values for
48458         prepare_address_space, and store the result in new_ah.
48459         (open_archive): Declare new mmap base and len values for
48460         prepare_address_space, and store the result in ah.
48461         (close_archive): If ah->mmap_base is not NULL, use that and
48462         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48463         * sysdeps/generic/libc-mmap.h: New file.
48465 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48467         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48468         (ALIGN_UP): Likewise.
48469         (PTR_ALIGN_DOWN): Likewise.
48470         (PTR_ALIGN_UP): Likewise.
48472 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48474         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48475         entry mapped to PPC_PLATFORM_POWER8.
48476         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48477         POWER8.
48478         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48479         (_dl_string_platform): Add case for exporting platform position for
48480         POWER8.
48481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48482         search path to sysdeps/powerpc/powerpc32/power8 directory.
48483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48484         search path to sysdeps/powerpc/powerpc64/power8 directory.
48485         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48486         power7 directories.
48487         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48488         power7 directories.
48490 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48492         * INSTALL: Regenerate.
48494         * nscd/connections.c (nscd_init): Fix comment.
48496 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48498         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48500         [BZ #15667]
48501         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48502         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48504 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48506         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48507         DL_DST_REQ_STATIC.
48508         (DL_DST_REQ_STATIC): Remove macro.
48510 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48512         [BZ #7006]
48513         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48514         with a shift of 0 bits.
48516 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48518         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48519         $(tststatic-ENV).
48521 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48523         [BZ #15655]
48524         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48526 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48528         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48529         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48530         accepts -fno-tree-loop-distribute-patterns.
48531         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48532         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48533         recursive call.
48534         * string/memset.c (memset): Likewise.
48535         * string/test-memmove.c (simple_memmove): Disable loop transformation
48536         to library calls.
48537         * string/test-memset.c (simple_memset): Likewise.
48538         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48539         * benchtests/bench-memset.c (simple_memset): Likewise.
48540         * configure: Regenerated.
48542 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48544         * math/test-misc.c (main): Ignore fesetround failure when failures
48545         of subsequent rounding tests would be ignored.
48547         [BZ #15654]
48548         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48549         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48550         * math/fegetenv.c (__fegetenv): Return 0.
48551         * math/fegetexcept.c (fegetexcept): Return 0.
48552         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48553         FE_TONEAREST.
48554         * math/feholdexcpt.c (feholdexcept): Return 0.
48555         * math/fesetenv.c (__fesetenv): Return 0.
48556         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48557         argument FE_TONEAREST.
48558         * math/feupdateenv.c (__feupdateenv): Return 0.
48559         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48561 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48563         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48564         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48565         ($(objpfx)rtld-%.os rules): Use them.
48567 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48569         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48570         fields.
48572 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48574         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48575         length of target pattern, then descending length of dependency pattern.
48576         * configure.in (AWK): Require gawk 3.1.2 or newer.
48577         * manual/install.texi (Tools for Compilation): Say that we do.
48578         * configure: Regenerated.
48580         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48581         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48582         * scripts/sysd-rules.awk: ... this new script.
48583         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48584         than a glob-style pattern.
48586 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48588         * math/test-misc.c (main): Do not treat incorrectly rounded
48589         conversions as failure unless ROUNDING_TESTS passes.
48591 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48593         [BZ #15631]
48594         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48595         restore exception state around main square root computation, then
48596         check for inexactness explicitly.
48598         * math/libm-test.inc (fma_test_data): Add another test.
48600 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48602         * manual/threads.texi (Non-POSIX Extensions): New document
48603         node.  Document pthread_getattr_default_np and
48604         pthread_setattr_default_np.
48606         * Versions.def (libpthread): Add GLIBC_2.18.
48607         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48609         Likewise.
48610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48611         Likewise.
48612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48613         Likewise.
48614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48615         Likewise.
48616         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48617         Likewise.
48618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48619         Likewise.
48620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48621         Likewise.
48622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48623         Likewise.
48624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48625         Likewise.
48627 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48630         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48632 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48633             H.J. Lu  <hjl.tools@gmail.com>
48635         [BZ #15627]
48636         * sysdeps/x86_64/rtld-memset.c: Remove file.
48637         * sysdeps/x86_64/rtld-memset.S: New file.
48639 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48641         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48642         (test_in_one_mode): Take arguments for whether the rounding mode
48643         is supported for each floating-point type.
48644         (do_test): Pass new arguments to test_in_one_mode using
48645         ROUNDING_TESTS.
48647 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48649         * posix/tst-waitid.c (do_test): Distinguish different instances of
48650         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48651         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48652         before entering the kernel for waitpid.
48654 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48656         * NEWS: Fix note on clock function precision.  Text by Roland
48657         McGrath.
48659 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48661         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48662         it into place only when and if the sanity check passes.
48664 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48666         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48667         output for whether conversion result is exact.  Take argument
48668         indicating whether type is IBM long double.
48669         (round_for_all): Change need_exact field to ibm_ld.
48670         * stdlib/tst-strtod-round.c (struct exactness): New type.
48671         (struct test): Change bool ld_ok field to struct exactness exact.
48672         (TEST): Update all definitions for change to field.
48673         (tests): Regenerate array contents.
48674         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48675         field value.  Check for IBM long double here.
48676         (do_test): Update calls to test_in_one_mode.
48678 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48680         [BZ #12515]
48681         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48682         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48684 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48686         [BZ #15605]
48687         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48688         generated by the compiler on loop optimizations.
48689         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48690         general definitions.
48692 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48694         * math/bug-nextafter.c: Include <math-tests.h>.
48695         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48696         the relevant type.
48697         * math/bug-nexttoward.c: Include <math-tests.h>.
48698         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48699         the relevant type.
48700         * math/test-misc.c: Include <math-tests.h>.
48701         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48702         the relevant type.
48704 2013-06-12  Andreas Jaeger  <aj@suse.de>
48706         * po/ia.po: Update Interlingua translation from translation
48707         project.
48709 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48711         * include/fenv.h: Include stdbool.h.
48712         (struct rm_ctx): New structure.
48713         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48714         Define macro.
48715         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48716         (SET_RESTORE_ROUNDF): Likewise.
48717         (SET_RESTORE_ROUNDL): Likewise.
48718         (SET_RESTORE_ROUND_NOEX): Likewise.
48719         (SET_RESTORE_ROUND_NOEXF): Likewise.
48720         (SET_RESTORE_ROUND_NOEXL): Likewise.
48721         (SET_RESTORE_ROUND_53BIT): Likewise.
48722         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48723         (libc_feresetround_noexf_ctx): Likewise.
48724         (libc_feresetround_noexl_ctx): Likewise.
48725         (libc_feholdsetround_53bit_ctx): Likewise.
48726         (libc_feresetround_53bit_ctx): Likewise.
48727         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48728         (libc_feholdexcept_setround_sse_ctx): New function.
48729         (libc_fesetenv_sse_ctx): Likewise.
48730         (libc_feupdateenv_sse_ctx): Likewise.
48731         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48732         (libc_feholdexcept_setround_387_ctx): Likewise.
48733         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48734         (libc_feholdsetround_387_prec_ctx): Likewise.
48735         (libc_feholdsetround_387_ctx): Likewise.
48736         (libc_feholdsetround_387_53bit_ctx): Likewise.
48737         (libc_feholdsetround_sse_ctx): Likewise.
48738         (libc_feresetround_sse_ctx): Likewise.
48739         (libc_feresetround_387_ctx): Likewise.
48740         (libc_feupdateenv_387_ctx): Likewise.
48741         (libc_feholdexcept_setroundf_ctx): Define macro.
48742         (libc_fesetenvf_ctx): Likewise.
48743         (libc_feupdateenvf_ctx): Likewise.
48744         (libc_feholdsetroundf_ctx): Likewise.
48745         (libc_feresetroundf_ctx): Likewise.
48746         (libc_feholdexcept_setround_ctx): Likewise.
48747         (libc_fesetenv_ctx): Likewise.
48748         (libc_feupdateenv_ctx): Likewise.
48749         (libc_feholdsetround_ctx): Likewise.
48750         (libc_feresetround_ctx): Likewise.
48751         (libc_feholdexcept_setroundl_ctx): Likewise.
48752         (libc_feupdateenvl_ctx): Likewise.
48753         (libc_feholdsetroundl_ctx): Likewise.
48754         (libc_feresetroundl_ctx): Likewise.
48755         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48756         (libc_feresetround_53bit_ctx): Likewise.
48758 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48760         * locale/iso-639.def: Convert to UTF-8.
48762 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48764         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48765         (EXCEPTION_TESTS_double): Likewise.
48766         (EXCEPTION_TESTS_long_double): Likewise.
48767         (EXCEPTION_TESTS): Likewise.
48768         * math/libm-test.inc (test_exceptions): Only test exceptions if
48769         EXCEPTION_TESTS (FLOAT).
48771 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48773         * benchtests/Makefile (string-bench): Add strcpy_chk and
48774         stpcpy_chk.
48775         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48776         * benchtests/bench-stpcpy_chk.c: New file.
48777         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48778         * benchtests/bench-strcpy_chk.c: New file.
48779         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48780         code.
48781         (do_test): Likewise.
48783 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48785         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48786         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48787         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48788         with tabs where appropriate.
48789         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48790         dl-procinfo.h.
48791         [PPC_PLATFORM_PPC440]: Likewise.
48792         [PPC_PLATFORM_PPC464]: Likewise.
48793         [PPC_PLATFORM_PPC476]: Likewise.
48794         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48795         ppc464, and ppc476 platform strings merging from ports/
48796         dl-procinfo.h.
48798 2013-06-11  Andreas Schwab  <schwab@suse.de>
48800         [BZ #14991]
48801         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48802         (from_ucs4_idx): Regenerate.
48803         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48804         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48805         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48806         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48807         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48808         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48809         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48810         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48811         from FROM_LOOP and TO_LOOP specific macros.
48812         (BODY): Handle combining characters.
48813         * iconvdata/BIG5HKSCS.irreversible: Update.
48814         * iconvdata/BIG5HKSCS.precomposed: New file.
48815         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48816         characters.
48817         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48819 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48821         * include/sys/time.h: Fix indentation and add copyright header.
48823         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48824         (do_test): Likewise.
48825         * string/test-memchr.c (do_one_test): Likewise.
48826         (do_test): Likewise.
48827         * string/test-memcmp.c (do_one_test): Likewise.
48828         (do_test): Likewise.
48829         * string/test-memcpy.c (do_one_test): Likewise.
48830         (do_test): Likewise.
48831         * string/test-memmem.c (do_one_test): Likewise.
48832         (do_test): Likewise.
48833         (do_random_tests): Likewise.
48834         * string/test-memmove.c (do_one_test): Likewise.
48835         (do_test): Likewise.
48836         * string/test-memset.c (do_one_test): Likewise.
48837         (do_test): Likewise.
48838         * string/test-rawmemchr.c (do_one_test): Likewise.
48839         (do_test): Likewise.
48840         * string/test-strcasecmp.c (do_one_test): Likewise.
48841         (do_test): Likewise.
48842         * string/test-strcasestr.c (do_one_test): Likewise.
48843         (do_test): Likewise.
48844         * string/test-strcat.c (do_one_test): Likewise.
48845         (do_test): Likewise.
48846         * string/test-strchr.c (do_one_test): Likewise.
48847         (do_test): Likewise.
48848         * string/test-strcmp.c (do_one_test): Likewise.
48849         (do_test): Likewise.
48850         * string/test-strcpy.c (do_one_test): Likewise.
48851         (do_test): Likewise.
48852         * string/test-string.h: Likewise.
48853         (test_init): Likewise.
48854         * string/test-strlen.c (do_one_test): Likewise.
48855         (do_test): Likewise.
48856         * string/test-strncasecmp.c (do_one_test): Likewise.
48857         (do_test): Likewise.
48858         * string/test-strncat.c (do_one_test): Likewise.
48859         (do_test): Likewise.
48860         * string/test-strncmp.c (do_one_test): Likewise.
48861         (do_test_limit): Likewise.
48862         (do_test): Likewise.
48863         * string/test-strncpy.c (do_one_test): Likewise.
48864         (do_test): Likewise.
48865         * string/test-strnlen.c (do_one_test): Likewise.
48866         (do_test): Likewise.
48867         * string/test-strpbrk.c (do_one_test): Likewise.
48868         (do_test): Likewise.
48869         * string/test-strrchr.c (do_one_test): Likewise.
48870         (do_test): Likewise.
48871         * string/test-strspn.c (do_one_test): Likewise.
48872         (do_test): Likewise.
48873         * string/test-strstr.c (do_one_test): Likewise.
48874         (do_test): Likewise.
48876         * benchtests/Makefile (string-bench): Add string benchmarks.
48877         * benchtests/bench-bcopy-ifunc.c: New file.
48878         * benchtests/bench-bcopy.c: New file.
48879         * benchtests/bench-bzero-ifunc.c: New file.
48880         * benchtests/bench-bzero.c: New file.
48881         * benchtests/bench-memccpy-ifunc.c: New file.
48882         * benchtests/bench-memccpy.c: New file.
48883         * benchtests/bench-memchr-ifunc.c: New file.
48884         * benchtests/bench-memchr.c: New file.
48885         * benchtests/bench-memcmp-ifunc.c: New file.
48886         * benchtests/bench-memcmp.c: New file.
48887         * benchtests/bench-memmem-ifunc.c: New file.
48888         * benchtests/bench-memmem.c: New file.
48889         * benchtests/bench-memmove-ifunc.c: New file.
48890         * benchtests/bench-memmove.c: New file.
48891         * benchtests/bench-mempcpy-ifunc.c: New file.
48892         * benchtests/bench-mempcpy.c: New file.
48893         * benchtests/bench-memset-ifunc.c: New file.
48894         * benchtests/bench-memset.c: New file.
48895         * benchtests/bench-rawmemchr-ifunc.c: New file.
48896         * benchtests/bench-rawmemchr.c: New file.
48897         * benchtests/bench-stpcpy-ifunc.c: New file.
48898         * benchtests/bench-stpcpy.c: New file.
48899         * benchtests/bench-stpncpy-ifunc.c: New file.
48900         * benchtests/bench-stpncpy.c: New file.
48901         * benchtests/bench-strcasecmp-ifunc.c: New file.
48902         * benchtests/bench-strcasecmp.c: New file.
48903         * benchtests/bench-strcasestr-ifunc.c: New file.
48904         * benchtests/bench-strcasestr.c: New file.
48905         * benchtests/bench-strcat-ifunc.c: New file.
48906         * benchtests/bench-strcat.c: New file.
48907         * benchtests/bench-strchr-ifunc.c: New file.
48908         * benchtests/bench-strchr.c: New file.
48909         * benchtests/bench-strchrnul-ifunc.c: New file.
48910         * benchtests/bench-strchrnul.c: New file.
48911         * benchtests/bench-strcmp-ifunc.c: New file.
48912         * benchtests/bench-strcmp.c: New file.
48913         * benchtests/bench-strcpy-ifunc.c: New file.
48914         * benchtests/bench-strcpy.c: New file.
48915         * benchtests/bench-strcspn-ifunc.c: New file.
48916         * benchtests/bench-strcspn.c: New file.
48917         * benchtests/bench-strlen-ifunc.c: New file.
48918         * benchtests/bench-strlen.c: New file.
48919         * benchtests/bench-strncasecmp-ifunc.c: New file.
48920         * benchtests/bench-strncasecmp.c: New file.
48921         * benchtests/bench-strncat-ifunc.c: New file.
48922         * benchtests/bench-strncat.c: New file.
48923         * benchtests/bench-strncmp-ifunc.c: New file.
48924         * benchtests/bench-strncmp.c: New file.
48925         * benchtests/bench-strncpy-ifunc.c: New file.
48926         * benchtests/bench-strncpy.c: New file.
48927         * benchtests/bench-strnlen-ifunc.c: New file.
48928         * benchtests/bench-strnlen.c: New file.
48929         * benchtests/bench-strpbrk-ifunc.c: New file.
48930         * benchtests/bench-strpbrk.c: New file.
48931         * benchtests/bench-strrchr-ifunc.c: New file.
48932         * benchtests/bench-strrchr.c: New file.
48933         * benchtests/bench-strspn-ifunc.c: New file.
48934         * benchtests/bench-strspn.c: New file.
48935         * benchtests/bench-strstr-ifunc.c: New file.
48936         * benchtests/bench-strstr.c: New file.
48938         * benchtests/Makefile: Disable parallel execution of targets.
48939         (string-bench): Add memcpy.
48940         (benchset): New variable to store a list of benchmark sets.
48941         (bench-func): Renamed from bench.
48942         (bench-set): New target.
48943         (bench): Depend on bench-func and bench-set.
48944         * benchtests/README: Add section on benchmark sets.
48945         * benchtests/bench-memcpy-ifunc.c: New file.
48946         * benchtests/bench-memcpy.c: New file.
48947         * benchtests/bench-string.h: New file.
48949 2013-06-11  Andreas Schwab  <schwab@suse.de>
48951         [BZ #15577]
48952         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48953         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48954         values in the triple.
48955         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48956         terminator in the group key.
48958 2013-06-11  Andreas Jaeger  <aj@suse.de>
48960         * po/zh_TW.po: Update Chinese (traditional) translation from
48961         translation project.
48963 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48965         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48966         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48967         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48968         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48969         (clock_getcpuclockid): Likewise.
48970         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48971         Add weak_alias and libc_hidden_def.
48972         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48973         * rt/clock_gettime.c (clock_gettime): Rename to
48974         __clock_gettime.  Add weak_alias and libc_hidden_def.
48975         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48976         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48977         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48978         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48979         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48980         Likewise.
48981         * rt/clock_settime.c (clock_settime): Rename to
48982         __clock_settime.  Add weak_alias and libc_hidden_def.
48983         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48985 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48987         * mach/err_boot.sub: Remove trailing whitespace.
48988         * mach/err_ipc.sub: Likewise.
48989         * mach/err_mach.sub: Likewise.
48991         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48992         (ROUNDING_TESTS_double): Likewise.
48993         (ROUNDING_TESTS_long_double): Likewise.
48994         (ROUNDING_TESTS): Likewise.
48995         * math/libm-test.inc: Include <math-tests.h>.
48996         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48997         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48998         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48999         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49001 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49003         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49004         of assigning.
49006 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49008         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49009         otherwise empty TRANS lines.
49010         * sysdeps/gnu/errlist.c: Regenerated.
49012         * catgets/gencat.c (error_print): Use (void) in function
49013         definition.
49014         * crypt/crypt_util.c (__init_des): Likewise.
49015         * crypt/speeds.c (Stop): Likewise.
49016         (main): Likewise.
49017         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49018         * inet/ruserpass.c (token): Likewise.
49019         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49020         * intl/localealias.c (extend_alias_table): Likewise.
49021         * intl/plural-exp.c (init_germanic_plural): Likewise.
49022         * libio/fcloseall.c (__fcloseall): Likewise.
49023         * libio/genops.c (_IO_flush_all): Likewise.
49024         (_IO_flush_all_linebuffered): Likewise.
49025         (_IO_cleanup): Likewise.
49026         (_IO_iter_begin): Likewise.
49027         (_IO_iter_end): Likewise.
49028         (_IO_list_lock): Likewise.
49029         (_IO_list_unlock): Likewise.
49030         (_IO_list_resetlock): Likewise.
49031         * libio/getchar.c (getchar): Likewise.
49032         * libio/getchar_u.c (getchar_unlocked): Likewise.
49033         * libio/getwchar.c (getwchar): Likewise.
49034         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49035         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49036         * login/getpt.c (__getpt): Likewise.
49037         * login/tst-utmp.c (main): Likewise.
49038         * malloc/hooks.c (__malloc_check_init): Likewise.
49039         * malloc/malloc.c (__malloc_stats): Likewise.
49040         * malloc/mtrace.c (tr_break): Likewise.
49041         (mtrace): Likewise.
49042         (muntrace): Likewise.
49043         * misc/fstab.c (endfsent): Likewise.
49044         * misc/getclktck.c (__getclktck): Likewise.
49045         * misc/getdtsz.c (__getdtablesize): Likewise.
49046         * misc/gethostid.c (gethostid): Likewise.
49047         * misc/getpagesize.c (__getpagesize): Likewise.
49048         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49049         (__get_nprocs): Likewise.
49050         (__get_phys_pages): Likewise.
49051         (__get_avphys_pages): Likewise.
49052         * misc/getttyent.c (getttyent): Likewise.
49053         (setttyent): Likewise.
49054         (endttyent): Likewise.
49055         * misc/getusershell.c (getusershell): Likewise.
49056         (endusershell): Likewise.
49057         (setusershell): Likewise.
49058         (initshells): Likewise.
49059         * misc/hsearch.c (__hdestroy): Likewise.
49060         * misc/sync.c (sync): Likewise.
49061         * misc/syslog.c (closelog_internal): Likewise.
49062         (closelog): Likewise.
49063         * misc/ttyslot.c (ttyslot): Likewise.
49064         * misc/vhangup.c (vhangup): Likewise.
49065         * posix/fork.c (__fork): Likewise.
49066         * posix/getegid.c (__getegid): Likewise.
49067         * posix/geteuid.c (__geteuid): Likewise.
49068         * posix/getgid.c (__getgid): Likewise.
49069         * posix/getpid.c (__getpid): Likewise.
49070         * posix/getppid.c (__getppid): Likewise.
49071         * posix/getuid.c (__getuid): Likewise.
49072         * posix/pause.c (pause): Likewise.
49073         * posix/setpgrp.c (setpgrp): Likewise.
49074         * posix/setsid.c (__setsid): Likewise.
49075         * posix/test-vfork.c (noop): Likewise.
49076         * resolv/gethnamaddr.c (_endhtent): Likewise.
49077         (_gethtent): Likewise.
49078         (ht_endhostent): Likewise.
49079         (gethostent): Likewise.
49080         (dns_service): Likewise.
49081         * stdlib/drand48.c (drand48): Likewise.
49082         * stdlib/lrand48.c (lrand48): Likewise.
49083         * stdlib/mrand48.c (mrand48): Likewise.
49084         * stdlib/rand.c (rand): Likewise.
49085         * stdlib/random.c (__random): Likewise.
49086         * stdlib/setenv.c (clearenv): Likewise.
49087         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49088         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49089         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49090         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49091         (__get_nprocs): Likewise.
49092         (__get_phys_pages): Likewise.
49093         (__get_avphys_pages): Likewise.
49094         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49095         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49096         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49097         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49098         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49099         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49100         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49101         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49102         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49103         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49104         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49105         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49106         * sysdeps/posix/clock.c (clock): Likewise.
49107         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49108         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49109         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49110         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49111         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49112         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49113         (__get_nprocs_conf): Likewise.
49114         (__get_phys_pages): Likewise.
49115         (__get_avphys_pages): Likewise.
49116         * time/clock.c (clock): Likewise.
49117         * time/tzset.c (__tzname_max): Likewise.
49119 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49121         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49122         (__bswap_32): Do not use "register".
49123         * crypt/crypt.c (_ufc_doit_r): Likewise.
49124         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49125         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49126         * gmon/gmon.c (__monstartup): Likewise.
49127         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49128         * hurd/hurdmalloc.c (more_memory): Likewise.
49129         (malloc): Likewise.
49130         (free): Likewise.
49131         (realloc): Likewise.
49132         (malloc_fork_prepare): Likewise.
49133         (malloc_fork_parent): Likewise.
49134         (malloc_fork_child): Likewise.
49135         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49136         (_svcauth_des): Likewise.
49137         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49138         * inet/inet_net.c (inet_network): Likewise.
49139         * inet/inet_netof.c (inet_netof): Likewise.
49140         * inet/rcmd.c (__validuser2_sa): Likewise.
49141         * io/fts.c (fts_open): Likewise.
49142         (fts_load): Likewise.
49143         (fts_close): Likewise.
49144         (fts_read): Likewise.
49145         (fts_children): Likewise.
49146         (fts_build): Likewise.
49147         (fts_stat): Likewise.
49148         (fts_sort): Likewise.
49149         (fts_alloc): Likewise.
49150         (fts_lfree): Likewise.
49151         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49152         (_IO_file_xsgetn): Likewise.
49153         (_IO_file_xsgetn_mmap): Likewise.
49154         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49155         (_IO_cookie_write): Likewise.
49156         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49157         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49158         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49159         * malloc/obstack.c (_obstack_begin): Likewise.
49160         (_obstack_begin_1): Likewise.
49161         (_obstack_newchunk): Likewise.
49162         (_obstack_allocated_p): Likewise.
49163         (obstack_free): Likewise.
49164         (_obstack_memory_used): Likewise.
49165         * misc/getttyent.c (getttynam): Likewise.
49166         (getttyent): Likewise.
49167         (skip): Likewise.
49168         (value): Likewise.
49169         * misc/getusershell.c (initshells): Likewise.
49170         * misc/syslog.c (__vsyslog_chk): Likewise.
49171         * misc/ttyslot.c (ttyslot): Likewise.
49172         * nis/nis_hash.c (__nis_hash): Likewise.
49173         * posix/fnmatch_loop.c (FCT): Likewise.
49174         * posix/getconf.c (print_all): Likewise.
49175         (main): Likewise.
49176         * posix/getopt.c (exchange): Likewise.
49177         * posix/glob.c (globfree): Likewise.
49178         (prefix_array): Likewise.
49179         (__glob_pattern_type): Likewise.
49180         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49181         (NS_GET32): Likewise.
49182         (NS_PUT16): Likewise.
49183         (NS_PUT32): Likewise.
49184         * resolv/gethnamaddr.c (getanswer): Likewise.
49185         (gethostbyname2): Likewise.
49186         (gethostbyaddr): Likewise.
49187         (_gethtent): Likewise.
49188         (_gethtbyname2): Likewise.
49189         (_gethtbyaddr): Likewise.
49190         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49191         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49192         * resolv/res_init.c (__res_vinit): Likewise.
49193         (net_mask): Likewise.
49194         * resolv/res_mkquery.c (outchar): Likewise.
49195         (PRINT): Likewise.
49196         * stdio-common/printf_fp.c (outchar): Likewise.
49197         (PRINT): Likewise.
49198         * stdio-common/printf_fphex.c (outchar): Likewise.
49199         (PRINT): Likewise.
49200         * stdio-common/printf_size.c (outchar): Likewise.
49201         (PRINT): Likewise.
49202         * stdio-common/test_rdwr.c (main): Likewise.
49203         * stdio-common/tfformat.c (matches): Likewise.
49204         * stdio-common/vfprintf.c (outchar): Likewise.
49205         (printf_unknown): Likewise.
49206         (buffered_vfprintf): Likewise.
49207         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49208         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49209         (ReadFile): Likewise.
49210         * stdlib/qsort.c (SWAP): Likewise.
49211         (_quicksort): Likewise.
49212         * stdlib/setenv.c (__add_to_environ): Likewise.
49213         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49214         * stdlib/strtol_l.c (__strtol_l): Likewise.
49215         * stdlib/tst-strtod.c (main): Likewise.
49216         * stdlib/tst-strtol.c (main): Likewise.
49217         * stdlib/tst-strtoll.c (main): Likewise.
49218         * string/bits/string2.h (__strcmp_cc): Likewise.
49219         (__strcmp_cg): Likewise.
49220         (__strcspn_c1): Likewise.
49221         (__strcspn_c2): Likewise.
49222         (__strcspn_c3): Likewise.
49223         (__strspn_c1): Likewise.
49224         (__strspn_c2): Likewise.
49225         (__strspn_c3): Likewise.
49226         (__strsep_1c): Likewise.
49227         (__strsep_2c): Likewise.
49228         (__strsep_3c): Likewise.
49229         * string/memccpy.c (__memccpy): Likewise.
49230         * string/stpcpy.c (__stpcpy): Likewise.
49231         * string/strcmp.c (strcmp): Likewise.
49232         * string/strrchr.c (strrchr): Likewise.
49233         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49234         Likewise.
49235         * sysdeps/mach/hurd/getcwd.c
49236         (_hurd_canonicalize_directory_name_internal): Likewise.
49237         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49238         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49239         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49240         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49241         Likewise, in both definitions.
49242         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49243         definitions.
49244         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49245         64] (__bswap_64): Likewise.
49246         * time/test_time.c (main): Likewise.
49247         * time/tzfile.c (__tzfile_read): Likewise.
49248         (__tzfile_compute): Likewise.
49249         * time/tzset.c (__tzset_parse_tz): Likewise.
49250         (tzset_internal): Likewise.
49251         (compute_change): Likewise.
49252         * wcsmbs/wcscat.c (__wcscat): Likewise.
49253         * wcsmbs/wcschr.c (wcschr): Likewise.
49254         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49255         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49256         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49257         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49258         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49259         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49260         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49261         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49262         * wcsmbs/wmemset.c (wmemset): Likewise.
49264 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49266         * scripts/config.guess: Update to version 2013-05-16.
49267         * scripts/config.sub: Update to version 2013-04-24.
49268         * scripts/install-sh: Update to version 2011-11-20.07.
49269         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49270         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49272 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49274         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49275         * elf/sln.c: Likewise.
49276         * hurd/hurd/ioctl.h: Likewise.
49277         * hurd/hurdmalloc.c: Likewise.
49278         * hurd/xattr.c: Likewise.
49279         * include/shlib-compat.h: Likewise.
49280         * inet/ruserpass.c: Likewise.
49281         * libio/iofgets_u.c: Likewise.
49282         * libio/iofgetws_u.c: Likewise.
49283         * locale/programs/ld-identification.c: Likewise.
49284         * locale/programs/ld-time.c: Likewise.
49285         * mach/msg-destroy.c: Likewise.
49286         * nss/nss_files/files-netgrp.c: Likewise.
49287         * resolv/res_data.c: Likewise.
49288         * soft-fp/op-1.h: Likewise.
49289         * soft-fp/op-2.h: Likewise.
49290         * soft-fp/op-4.h: Likewise.
49291         * soft-fp/op-common.h: Likewise.
49292         * stdio-common/printf_fphex.c: Likewise.
49293         * stdlib/strtod_l.c: Likewise.
49294         * sunrpc/rpc/clnt.h: Likewise.
49295         * sysdeps/generic/framestate.c: Likewise.
49296         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49297         * sysdeps/i386/bsd-setjmp.S: Likewise.
49298         * sysdeps/i386/__longjmp.S: Likewise.
49299         * sysdeps/i386/setjmp.S: Likewise.
49300         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49301         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49302         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49303         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49304         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49305         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49306         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49307         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49308         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49309         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49310         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49311         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49312         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49313         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49314         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49315         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49316         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49317         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49318         * sysdeps/ieee754/support.c: Likewise.
49319         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49320         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49321         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49322         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49323         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49324         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49325         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49326         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49327         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49328         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49329         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49330         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49331         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49332         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49333         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49334         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49335         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49338 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49340         * posix/transbug.c: Remove executable mode.
49342 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49344         * crypt/speeds.c: Remove trailing whitespace.
49345         * dlfcn/default.c: Likewise.
49346         * elf/ifuncdep2.c: Likewise.
49347         * elf/ifuncmain1.c: Likewise.
49348         * elf/ifuncmain1vis.c: Likewise.
49349         * elf/testobj.h: Likewise.
49350         * elf/tst-stackguard1.c: Likewise.
49351         * gmon/sys/gmon.h: Likewise.
49352         * hurd/hurdmsg.c: Likewise.
49353         * hurd/new-fd.c: Likewise.
49354         * hurd/ports-get.c: Likewise.
49355         * iconvdata/ibm1008_420.c: Likewise.
49356         * inet/tst-getni1.c: Likewise.
49357         * inet/tst-getni2.c: Likewise.
49358         * libio/ioungetc.c: Likewise.
49359         * libio/wfiledoalloc.c: Likewise.
49360         * manual/libm-err-tab.pl: Likewise.
49361         * math/w_dremf.c: Likewise.
49362         * misc/ftruncate.c: Likewise.
49363         * posix/bug-glob2.c: Likewise.
49364         * posix/tst-pcre.c: Likewise.
49365         * posix/wait4.c: Likewise.
49366         * resolv/README: Likewise.
49367         * resolv/res_debug.h: Likewise.
49368         * resolv/tst-inet_ntop.c: Likewise.
49369         * setjmp/bug269-setjmp.c: Likewise.
49370         * soft-fp/extended.h: Likewise.
49371         * soft-fp/op-1.h: Likewise.
49372         * soft-fp/op-2.h: Likewise.
49373         * soft-fp/op-4.h: Likewise.
49374         * soft-fp/op-8.h: Likewise.
49375         * soft-fp/testit.c: Likewise.
49376         * stdio-common/bug16.c: Likewise.
49377         * stdlib/random.c: Likewise.
49378         * sunrpc/rpcsvc/rquota.x: Likewise.
49379         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49380         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49381         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49382         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49383         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49384         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49385         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49386         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49387         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49388         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49389         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49390         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49391         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49392         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49393         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49394         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49395         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49396         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49397         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49398         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49399         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49400         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49401         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49402         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49403         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49404         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49405         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49406         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49407         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49408         * sysdeps/ieee754/s_lib_version.c: Likewise.
49409         * sysdeps/mach/hurd/check_fds.c: Likewise.
49410         * sysdeps/mach/hurd/getsockname.c: Likewise.
49411         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49412         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49413         * sysdeps/powerpc/bits/link.h: Likewise.
49414         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49415         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49416         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49417         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49418         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49419         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49420         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49421         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49422         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49423         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49424         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49425         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49426         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49427         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49428         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49429         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49430         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49431         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49432         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49433         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49434         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49435         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49436         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49437         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49438         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49439         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49440         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49441         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49442         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49443         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49444         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49445         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49446         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49447         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49448         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49449         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49450         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49451         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49452         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49453         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49454         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49455         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49456         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49457         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49458         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49459         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49460         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49461         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49462         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49463         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49464         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49465         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49466         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49467         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49468         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49469         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49470         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49471         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49472         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49473         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49474         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49475         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49476         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49477         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49478         * sysdeps/powerpc/sysdep.h: Likewise.
49479         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49480         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49481         * sysdeps/sh/dl-trampoline.S: Likewise.
49482         * sysdeps/sh/memset.S: Likewise.
49483         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49484         * sysdeps/sh/strlen.S: Likewise.
49485         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49486         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49487         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49488         * sysdeps/sparc/sparc32/rem.S: Likewise.
49489         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49490         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49491         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49492         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49493         * sysdeps/sparc/sparc32/urem.S: Likewise.
49494         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49495         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49496         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49497         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49498         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49499         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49500         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49501         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49502         * sysdeps/unix/bsd/times.c: Likewise.
49503         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49504         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49508         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49509         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49510         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49511         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49512         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49513         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49514         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49515         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49516         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49517         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49518         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49519         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49520         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49521         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49522         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49523         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49524         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49525         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49526         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49527         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49528         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49529         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49530         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49531         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49532         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49533         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49534         * sysdeps/x86_64/strcspn.S: Likewise.
49536 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49538         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49539         generated file.  Regenerate properly from gen-translit.pl.
49540         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49541         locale/C-translit.h.
49543 2013-06-05  Andreas Schwab  <schwab@suse.de>
49545         [BZ #15100]
49546         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49547         week as 6 instead of -1.
49548         * time/tst-strptime.c (day_tests): Add test case.
49550 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49552         * sysdeps/generic/math_private.h
49553         (libc_feholdexcept_setround_53bit): Replace with
49554         libc_feholdsetround_53bit.
49555         (libc_feupdateenv_53bit): Replace with
49556         libc_feresetround_53bit.
49557         (SET_RESTORE_ROUND_53BIT): Adjust.
49559 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49561         * string/test-strchrnul.c: Add copyright header.
49563         * posix/tst-getaddrinfo4.c: Increase test timeout.
49565 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49567         [BZ #15536]
49568         * math/libm-test.inc (MAX_EXP): Remove
49569         (MIN_EXP): Define.
49570         (ulp): Use MIN_EXP - MANT_DIG.
49571         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49573 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49575         * po/be.po: Revert last change.
49576         * po/zh_CN.po: Likewise.
49577         * po/header.pot: Likewise.
49579 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49581         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49582         link-libc-deps to empty as target-specific variable.
49583         * Makerules (link-libc-args): New variable.
49584         (libc-for-link): Likewise.
49585         (link-libc-deps): Likewise.
49586         (lib%.so): Depend on $(link-libc-deps).  Link with
49587         $(link-libc-args).
49588         (build-module): Link with $(link-libc-args).
49589         (build-module-asneeded): Likewise.
49590         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49591         list of objects.
49592         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49593         target-specific variable.
49594         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49595         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49596         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49597         libc.
49598         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49599         libc and ld.so.
49600         ($(objpfx)libpcprofile.so): Likewise.
49601         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49602         libc_nonshared.a.
49603         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49604         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49605         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49606         $(link-libc-deps).
49607         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49608         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49609         * login/Makefile ($(objpfx)libutil.so): Likewise.
49610         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49611         * math/Makefile ($(objpfx)libm.so): Likewise.
49612         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49613         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49614         variable instead of depending directly on libc.
49615         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49616         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49617         $(link-libc-deps).
49618         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49619         libc.
49620         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49621         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49622         ($(objpfx)libanl.so): Likewise.
49623         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49624         ld.so.
49625         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49626         $(link-libc-deps).
49627         * sysdeps/i386/fpu/Makefile: Remove file.
49628         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49629         ($(objpfx)libm.so): Remove dependency on ld.so.
49631 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49633         [BZ # 15553]
49634         * nis/yp_xdr.c (XDRMAXNAME): Define.
49635         (XDRMAXRECORD): Define.
49636         (xdr_domainname): Use XDRMAXNAME.
49637         (xdr_mapname): Likewise.
49638         (xdr_peername): Likewise.
49639         (xdr_keydat): Use XDRMAXRECORD.
49640         (xdr_valdat): Likewise.
49642 2013-05-30  Jeff Law  <law@redhat.com>
49644         [BZ #14256]
49645         * manual/errno.texi (ESTALE): Update to account for more than
49646         just NFS file systems.
49647         * sysdeps/gnu/errlist.c: Regenerated.
49649 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49651         [BZ #15465]
49652         * elf/Makefile (tests): Add tst-null-argv.
49653         (modules-names):  Add tst-null-argv-lib.
49654         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49655         (tst-null-argv-ENV): Set environment for tst-null-argv.
49656         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49657         (RTLD_PROGNAME): New macro.
49658         * elf/tst-null-argv.c: New test case.
49659         * elf/tst-null-argv-lib.c: Library for test case.
49660         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49661         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49662         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49663         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49664         * elf/dl-init.c (call_init): Likewise.
49665         (_dl_init): Likewise.
49666         * elf/dl-load.c (print_search_path): Likewise.
49667         (_dl_map_object): Likewise.
49668         * elf/dl-lookup.c (do_lookup_x): Likewise.
49669         (add_dependency): Likewise.
49670         (_dl_lookup_symbol_x): Likewise.
49671         (_dl_debug_bindings): Likewise.
49672         * elf/dl-open.c (_dl_show_scope): Likewise.
49673         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49674         * elf/dl-version.c (match_symbol): Likewise.
49675         (_dl_check_map_versions): Likewise.
49676         * elf/rtld.c (dl_main): Likewise.
49677         (print_unresolved): Use RTLD_PROGNAME.
49678         (print_missing_version): Likewise.
49679         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49680         (elf_machine_rela): Likewise.
49681         * sysdeps/powerpc/powerpc32/dl-machine.c
49682         (__process_machine_rela): Likewise.
49683         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49684         Likewise.
49685         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49686         Likewise.
49687         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49688         Likewise.
49689         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49690         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49691         Likewise.
49692         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49693         Likewise.
49694         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49696 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49698         * po/be.po: Add descriptive title.
49699         * po/zh_CN.po: Likewise.
49700         * po/header.pot: Likewise.
49702 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49704         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49705         error message.
49706         (enlarge_archive): Likewise.
49708 2013-05-28  Ben North  <ben@redfrontdoor.org>
49710         * manual/arith.texi (frexp): It is the magnitude of the return
49711         value which lies in [0.5, 1), not the return value itself.
49713 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49717 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49719         * stdio-common/bug26.c (main): Correct fscanf template.
49721         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49722         declare _dl_skip_args.
49724         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49725         Don't declare.
49727         * manual/platform.texi: Add missing @end deftypefun.
49729 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49731         [BZ #15529]
49732         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49733         bit of mantissa of 2^16382.
49734         * math/libm-test.inc (hypot_test_data): Add more tests.
49736         * math/libm-test.inc: Add drem and pow10 to list of tested
49737         functions.
49738         (pow10_test): New function.
49739         (drem_test): Likewise.
49740         (drem_test_tonearest): Likewise.
49741         (drem_test_towardzero): Likewise.
49742         (drem_test_downward): Likewise.
49743         (drem_test_upward): Likewise.
49744         (main): Call the new functions.
49746         * math/libm-test.inc (finite_test_data): Remove.
49747         (finite_test): Run tests from isfinite_test_data.
49748         (gamma_test_data): Remove.
49749         (gamma_test): Run tests from lgamma_test_data.
49750         * sysdeps/i386/fpu/libm-test-ulps: Update.
49751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49753 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49755         * manual/platform.texi: Add PowerPC PPR function set documentation.
49756         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49757         implementation.
49759 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49761         * math/libm-test.inc (MAX_EXP): Define.
49762         (ULPDIFF): Define.
49763         (ulp): New function.
49764         (check_float_internal): Use ULPDIFF.
49765         (cpow_test): Disable failing test.
49766         (check_ulp): Test ulp() implemetnation.
49767         (main): Call check_ulp before starting tests.
49769 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49771         * math/gen-libm-test.pl (generate_testfile): Do not handle
49772         START_DATA and END_DATA.
49773         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49774         END_DATA.
49775         (acos_tonearest_test_data): Likewise.
49776         (acos_towardzero_test_data): Likewise.
49777         (acos_downward_test_data): Likewise.
49778         (acos_upward_test_data): Likewise.
49779         (acosh_test_data): Likewise.
49780         (asin_test_data): Likewise.
49781         (asin_tonearest_test_data): Likewise.
49782         (asin_towardzero_test_data): Likewise.
49783         (asin_downward_test_data): Likewise.
49784         (asin_upward_test_data): Likewise.
49785         (asinh_test_data): Likewise.
49786         (atan_test_data): Likewise.
49787         (atanh_test_data): Likewise.
49788         (atan2_test_data): Likewise.
49789         (cabs_test_data): Likewise.
49790         (cacos_test_data): Likewise.
49791         (cacosh_test_data): Likewise.
49792         (carg_test_data): Likewise.
49793         (casin_test_data): Likewise.
49794         (casinh_test_data): Likewise.
49795         (catan_test_data): Likewise.
49796         (catanh_test_data): Likewise.
49797         (cbrt_test_data): Likewise.
49798         (ccos_test_data): Likewise.
49799         (ccosh_test_data): Likewise.
49800         (ceil_test_data): Likewise.
49801         (cexp_test_data): Likewise.
49802         (cimag_test_data): Likewise.
49803         (clog_test_data): Likewise.
49804         (clog10_test_data): Likewise.
49805         (conj_test_data): Likewise.
49806         (copysign_test_data): Likewise.
49807         (cos_test_data): Likewise.
49808         (cos_tonearest_test_data): Likewise.
49809         (cos_towardzero_test_data): Likewise.
49810         (cos_downward_test_data): Likewise.
49811         (cos_upward_test_data): Likewise.
49812         (cosh_test_data): Likewise.
49813         (cosh_tonearest_test_data): Likewise.
49814         (cosh_towardzero_test_data): Likewise.
49815         (cosh_downward_test_data): Likewise.
49816         (cosh_upward_test_data): Likewise.
49817         (cpow_test_data): Likewise.
49818         (cproj_test_data): Likewise.
49819         (creal_test_data): Likewise.
49820         (csin_test_data): Likewise.
49821         (csinh_test_data): Likewise.
49822         (csqrt_test_data): Likewise.
49823         (ctan_test_data): Likewise.
49824         (ctan_tonearest_test_data): Likewise.
49825         (ctan_towardzero_test_data): Likewise.
49826         (ctan_downward_test_data): Likewise.
49827         (ctan_upward_test_data): Likewise.
49828         (ctanh_test_data): Likewise.
49829         (ctanh_tonearest_test_data): Likewise.
49830         (ctanh_towardzero_test_data): Likewise.
49831         (ctanh_downward_test_data): Likewise.
49832         (ctanh_upward_test_data): Likewise.
49833         (erf_test_data): Likewise.
49834         (erfc_test_data): Likewise.
49835         (exp_test_data): Likewise.
49836         (exp_tonearest_test_data): Likewise.
49837         (exp_towardzero_test_data): Likewise.
49838         (exp_downward_test_data): Likewise.
49839         (exp_upward_test_data): Likewise.
49840         (exp10_test_data): Likewise.
49841         (exp2_test_data): Likewise.
49842         (expm1_test_data): Likewise.
49843         (fabs_test_data): Likewise.
49844         (fdim_test_data): Likewise.
49845         (finite_test_data): Likewise.
49846         (floor_test_data): Likewise.
49847         (fma_test_data): Likewise.
49848         (fma_towardzero_test_data): Likewise.
49849         (fma_downward_test_data): Likewise.
49850         (fma_upward_test_data): Likewise.
49851         (fmax_test_data): Likewise.
49852         (fmin_test_data): Likewise.
49853         (fmod_test_data): Likewise.
49854         (fpclassify_test_data): Likewise.
49855         (frexp_test_data): Likewise.
49856         (gamma_test_data): Likewise.
49857         (hypot_test_data): Likewise.
49858         (ilogb_test_data): Likewise.
49859         (isfinite_test_data): Likewise.
49860         (isgreater_test_data): Likewise.
49861         (isgreaterequal_test_data): Likewise.
49862         (isinf_test_data): Likewise.
49863         (isless_test_data): Likewise.
49864         (islessequal_test_data): Likewise.
49865         (islessgreater_test_data): Likewise.
49866         (isnan_test_data): Likewise.
49867         (isnormal_test_data): Likewise.
49868         (issignaling_test_data): Likewise.
49869         (isunordered_test_data): Likewise.
49870         (j0_test_data): Likewise.
49871         (j1_test_data): Likewise.
49872         (jn_test_data): Likewise.
49873         (ldexp_test_data): Likewise.
49874         (lgamma_test_data): Likewise.
49875         (lrint_test_data): Likewise.
49876         (lrint_tonearest_test_data): Likewise.
49877         (lrint_towardzero_test_data): Likewise.
49878         (lrint_downward_test_data): Likewise.
49879         (lrint_upward_test_data): Likewise.
49880         (llrint_test_data): Likewise.
49881         (llrint_tonearest_test_data): Likewise.
49882         (llrint_towardzero_test_data): Likewise.
49883         (llrint_downward_test_data): Likewise.
49884         (llrint_upward_test_data): Likewise.
49885         (log_test_data): Likewise.
49886         (log10_test_data): Likewise.
49887         (log1p_test_data): Likewise.
49888         (log2_test_data): Likewise.
49889         (logb_test_data): Likewise.
49890         (logb_downward_test_data): Likewise.
49891         (lround_test_data): Likewise.
49892         (llround_test_data): Likewise.
49893         (modf_test_data): Likewise.
49894         (nearbyint_test_data): Likewise.
49895         (nextafter_test_data): Likewise.
49896         (nexttoward_test_data): Likewise.
49897         (pow_test_data): Likewise.
49898         (pow_tonearest_test_data): Likewise.
49899         (pow_towardzero_test_data): Likewise.
49900         (pow_downward_test_data): Likewise.
49901         (pow_upward_test_data): Likewise.
49902         (remainder_test_data): Likewise.
49903         (remainder_tonearest_test_data): Likewise.
49904         (remainder_towardzero_test_data): Likewise.
49905         (remainder_downward_test_data): Likewise.
49906         (remainder_upward_test_data): Likewise.
49907         (remquo_test_data): Likewise.
49908         (rint_test_data): Likewise.
49909         (rint_tonearest_test_data): Likewise.
49910         (rint_towardzero_test_data): Likewise.
49911         (rint_downward_test_data): Likewise.
49912         (rint_upward_test_data): Likewise.
49913         (round_test_data): Likewise.
49914         (scalb_test_data): Likewise.
49915         (scalbn_test_data): Likewise.
49916         (scalbln_test_data): Likewise.
49917         (signbit_test_data): Likewise.
49918         (sin_test_data): Likewise.
49919         (sin_tonearest_test_data): Likewise.
49920         (sin_towardzero_test_data): Likewise.
49921         (sin_downward_test_data): Likewise.
49922         (sin_upward_test_data): Likewise.
49923         (sincos_test_data): Likewise.
49924         (sinh_test_data): Likewise.
49925         (sinh_tonearest_test_data): Likewise.
49926         (sinh_towardzero_test_data): Likewise.
49927         (sinh_downward_test_data): Likewise.
49928         (sinh_upward_test_data): Likewise.
49929         (sqrt_test_data): Likewise.
49930         (tan_test_data): Likewise.
49931         (tan_tonearest_test_data): Likewise.
49932         (tan_towardzero_test_data): Likewise.
49933         (tan_downward_test_data): Likewise.
49934         (tan_upward_test_data): Likewise.
49935         (tanh_test_data): Likewise.
49936         (tgamma_test_data): Likewise.
49937         (trunc_test_data): Likewise.
49938         (y0_test_data): Likewise.
49939         (y1_test_data): Likewise.
49940         (yn_test_data): Likewise.
49941         (significand_test_data): Likewise.
49943         * math/gen-libm-test.pl (@functions): Remove variable.
49944         (generate_testfile): Don't handle START and END lines.
49945         * math/libm-test.inc (START): New macro.
49946         (END): Likewise.
49947         (END_COMPLEX): Likewise.
49948         (acos_test): Use END macro without arguments.
49949         (acos_test_tonearest): Likewise.
49950         (acos_test_towardzero): Likewise.
49951         (acos_test_downward): Likewise.
49952         (acos_test_upward): Likewise.
49953         (acosh_test): Likewise.
49954         (asin_test): Likewise.
49955         (asin_test_tonearest): Likewise.
49956         (asin_test_towardzero): Likewise.
49957         (asin_test_downward): Likewise.
49958         (asin_test_upward): Likewise.
49959         (asinh_test): Likewise.
49960         (atan_test): Likewise.
49961         (atanh_test): Likewise.
49962         (atan2_test): Likewise.
49963         (cabs_test): Likewise.
49964         (cacos_test): Use END_COMPLEX macro without arguments.
49965         (cacosh_test): Likewise.
49966         (carg_test): Use END macro without arguments.
49967         (casin_test): Use END_COMPLEX macro without arguments.
49968         (casinh_test): Likewise.
49969         (catan_test): Likewise.
49970         (catanh_test): Likewise.
49971         (cbrt_test): Use END macro without arguments.
49972         (ccos_test): Use END_COMPLEX macro without arguments.
49973         (ccosh_test): Likewise.
49974         (ceil_test): Use END macro without arguments.
49975         (cexp_test): Use END_COMPLEX macro without arguments.
49976         (cimag_test): Use END macro without arguments.
49977         (clog_test): Use END_COMPLEX macro without arguments.
49978         (clog10_test): Likewise.
49979         (conj_test): Likewise.
49980         (copysign_test): Use END macro without arguments.
49981         (cos_test): Likewise.
49982         (cos_test_tonearest): Likewise.
49983         (cos_test_towardzero): Likewise.
49984         (cos_test_downward): Likewise.
49985         (cos_test_upward): Likewise.
49986         (cosh_test): Likewise.
49987         (cosh_test_tonearest): Likewise.
49988         (cosh_test_towardzero): Likewise.
49989         (cosh_test_downward): Likewise.
49990         (cosh_test_upward): Likewise.
49991         (cpow_test): Use END_COMPLEX macro without arguments.
49992         (cproj_test): Likewise.
49993         (creal_test): Use END macro without arguments.
49994         (csin_test): Use END_COMPLEX macro without arguments.
49995         (csinh_test): Likewise.
49996         (csqrt_test): Likewise.
49997         (ctan_test): Likewise.
49998         (ctan_test_tonearest): Likewise.
49999         (ctan_test_towardzero): Likewise.
50000         (ctan_test_downward): Likewise.
50001         (ctan_test_upward): Likewise.
50002         (ctanh_test): Likewise.
50003         (ctanh_test_tonearest): Likewise.
50004         (ctanh_test_towardzero): Likewise.
50005         (ctanh_test_downward): Likewise.
50006         (ctanh_test_upward): Likewise.
50007         (erf_test): Use END macro without arguments.
50008         (erfc_test): Likewise.
50009         (exp_test): Likewise.
50010         (exp_test_tonearest): Likewise.
50011         (exp_test_towardzero): Likewise.
50012         (exp_test_downward): Likewise.
50013         (exp_test_upward): Likewise.
50014         (exp10_test): Likewise.
50015         (exp2_test): Likewise.
50016         (expm1_test): Likewise.
50017         (fabs_test): Likewise.
50018         (fdim_test): Likewise.
50019         (finite_test): Likewise.
50020         (floor_test): Likewise.
50021         (fma_test): Likewise.
50022         (fma_test_towardzero): Likewise.
50023         (fma_test_downward): Likewise.
50024         (fma_test_upward): Likewise.
50025         (fmax_test): Likewise.
50026         (fmin_test): Likewise.
50027         (fmod_test): Likewise.
50028         (fpclassify_test): Likewise.
50029         (frexp_test): Likewise.
50030         (gamma_test): Likewise.
50031         (hypot_test): Likewise.
50032         (ilogb_test): Likewise.
50033         (isfinite_test): Likewise.
50034         (isgreater_test): Likewise.
50035         (isgreaterequal_test): Likewise.
50036         (isinf_test): Likewise.
50037         (isless_test): Likewise.
50038         (islessequal_test): Likewise.
50039         (islessgreater_test): Likewise.
50040         (isnan_test): Likewise.
50041         (isnormal_test): Likewise.
50042         (issignaling_test): Likewise.
50043         (isunordered_test): Likewise.
50044         (j0_test): Likewise.
50045         (j1_test): Likewise.
50046         (jn_test): Likewise.
50047         (ldexp_test): Likewise.
50048         (lgamma_test): Likewise.
50049         (lrint_test): Likewise.
50050         (lrint_test_tonearest): Likewise.
50051         (lrint_test_towardzero): Likewise.
50052         (lrint_test_downward): Likewise.
50053         (lrint_test_upward): Likewise.
50054         (llrint_test): Likewise.
50055         (llrint_test_tonearest): Likewise.
50056         (llrint_test_towardzero): Likewise.
50057         (llrint_test_downward): Likewise.
50058         (llrint_test_upward): Likewise.
50059         (log_test): Likewise.
50060         (log10_test): Likewise.
50061         (log1p_test): Likewise.
50062         (log2_test): Likewise.
50063         (logb_test): Likewise.
50064         (logb_test_downward): Likewise.
50065         (lround_test): Likewise.
50066         (llround_test): Likewise.
50067         (modf_test): Likewise.
50068         (nearbyint_test): Likewise.
50069         (nextafter_test): Likewise.
50070         (nexttoward_test): Likewise.
50071         (pow_test): Likewise.
50072         (pow_test_tonearest): Likewise.
50073         (pow_test_towardzero): Likewise.
50074         (pow_test_downward): Likewise.
50075         (pow_test_upward): Likewise.
50076         (remainder_test): Likewise.
50077         (remainder_test_tonearest): Likewise.
50078         (remainder_test_towardzero): Likewise.
50079         (remainder_test_downward): Likewise.
50080         (remainder_test_upward): Likewise.
50081         (remquo_test): Likewise.
50082         (rint_test): Likewise.
50083         (rint_test_tonearest): Likewise.
50084         (rint_test_towardzero): Likewise.
50085         (rint_test_downward): Likewise.
50086         (rint_test_upward): Likewise.
50087         (round_test): Likewise.
50088         (scalb_test): Likewise.
50089         (scalbn_test): Likewise.
50090         (scalbln_test): Likewise.
50091         (signbit_test): Likewise.
50092         (sin_test): Likewise.
50093         (sin_test_tonearest): Likewise.
50094         (sin_test_towardzero): Likewise.
50095         (sin_test_downward): Likewise.
50096         (sin_test_upward): Likewise.
50097         (sincos_test): Likewise.
50098         (sinh_test): Likewise.
50099         (sinh_test_tonearest): Likewise.
50100         (sinh_test_towardzero): Likewise.
50101         (sinh_test_downward): Likewise.
50102         (sinh_test_upward): Likewise.
50103         (sqrt_test): Likewise.
50104         (tan_test): Likewise.
50105         (tan_test_tonearest): Likewise.
50106         (tan_test_towardzero): Likewise.
50107         (tan_test_downward): Likewise.
50108         (tan_test_upward): Likewise.
50109         (tanh_test): Likewise.
50110         (tgamma_test): Likewise.
50111         (trunc_test): Likewise.
50112         (y0_test): Likewise.
50113         (y1_test): Likewise.
50114         (yn_test): Likewise.
50115         (significand_test): Likewise.
50117 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50119         [BZ #15381]
50120         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50122 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50124         [BZ #14894]
50125         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50126         __ppc_mdoio and __ppc_mdoom.
50127         * manual/platform.texi: Document new functions __ppc_yield,
50128         __ppc_mdoio and __ppc_mdoom.
50130 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50132         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50133         (main): Mention "tls" pseudo-hwcap is legacy.
50134         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50136 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50138         * math/gen-libm-test.pl (parse_args): Output only string of
50139         arguments as text for test name, not full call or descriptions of
50140         tests for extra outputs.
50141         (generate_testfile): Do not pass function name to parse_args.
50142         Generate this_func variable from START.
50143         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50144         field to arg_str.
50145         (struct test_ff_f_data): Likewise.
50146         (test_ff_f_data_nexttoward): Likewise.
50147         (struct test_fi_f_data): Likewise.
50148         (struct test_fl_f_data): Likewise.
50149         (struct test_if_f_data): Likewise.
50150         (struct test_fff_f_data): Likewise.
50151         (struct test_c_f_data): Likewise.
50152         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50153         (struct test_fF_f1_data): Likewise.
50154         (struct test_ffI_f1_data): Likewise.
50155         (struct test_c_c_data): Rename test_name field to arg_str.
50156         (struct test_cc_c_data): Likewise.
50157         (struct test_f_i_data): Likewise.
50158         (struct test_ff_i_data): Likewise.
50159         (struct test_f_l_data): Likewise.
50160         (struct test_f_L_data): Likewise.
50161         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50162         and extra2_name.
50163         (COMMON_TEST_SETUP): New macro.
50164         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50165         (COMMON_TEST_CLEANUP): Likewise.
50166         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50167         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50168         macros.
50169         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50170         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50171         macros.
50172         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50173         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50174         cleanup macros.
50175         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50176         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50177         macros.
50178         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50179         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50180         macros.
50181         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50182         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50183         cleanup macros.
50184         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50185         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50186         cleanup macros.
50187         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50188         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50189         cleanup macros.
50190         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50191         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50192         macros.
50193         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50194         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50195         macros.
50196         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50197         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50198         macros.
50199         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50200         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50201         cleanup macros.
50202         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50203         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50204         cleanup macros.
50205         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50206         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50207         macros.
50208         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50209         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50210         cleanup macros.
50211         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50212         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50213         macros.
50214         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50215         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50216         macros.
50217         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50218         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50219         cleanup macros.
50220         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50222 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50224         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50225         to _sifields.sigfault.
50226         (si_addr_lsb): Define new macro.
50227         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50228         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50229         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50231 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50233         [BZ #15441]
50234         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50235         returns -1.
50236         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50237         null return -1.
50238         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50239         loading the domain.
50241 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50243         * math/gen-libm-test.pl (parse_args): Do not include expected
50244         result in test name.
50245         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50246         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50247         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50248         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50249         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50252 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50254         * benchtests/Makefile: Sort function entries.
50256         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50257         tanh, asinh, acosh, atanh.
50258         * benchtests/acos-inputs: New file.
50259         * benchtests/acosh-inputs: New file.
50260         * benchtests/asin-inputs: New file.
50261         * benchtests/asinh-inputs: New file.
50262         * benchtests/atanh-inputs: New file.
50263         * benchtests/cosh-inputs: New file.
50264         * benchtests/log-inputs: New file.
50265         * benchtests/sinh-inputs: New file.
50266         * benchtests/tanh-inputs: New file.
50268 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50270         [BZ #15339]
50271         * posix/tst-getaddrinfo4.c: New test.
50272         * posix/Makefile (tests): Add it.
50274 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50276         [BZ #15339]
50277         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50278         when no services were used.
50279         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50280         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50282 2013-05-21  Andreas Schwab  <schwab@suse.de>
50284         [BZ #15014]
50285         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50286         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50287         successful.
50288         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50289         redundant variable declarations and reallocation of buffer when
50290         parsing as IPv6 address.  Always set NSS status when called from
50291         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50292         buffer too small.  Correct computation of needed size.
50293         * nss/Makefile (tests): Add test-digits-dots.
50294         * nss/test-digits-dots.c: New test.
50296 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50298         * benchtests/Makefile: Remove instructions for adding
50299         benchmark tests.
50300         * benchtests/README: New file to explain how to execute and
50301         enhance the benchmark tests.
50303 2013-05-21  Andreas Schwab  <schwab@suse.de>
50305         [BZ #15493]
50306         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50307         * setjmp/tst-sigsetjmp.c: New test.
50309 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50311         * sysdeps/x86_64/memset.S (memset): New implementation.
50312         (__bzero): Likewise.
50313         (__memset_tail): New function.
50315 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50317         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50318         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50319         __memcpy_sse2_unaligned ifunc selection.
50320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50321         Add memcpy-sse2-unaligned.S.
50322         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50323         Add: __memcpy_sse2_unaligned.
50325 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50327         [BZ #15490]
50328         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50329         math_force_eval before restoring floating-point envrionment.
50330         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50331         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50332         Likewise.
50333         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50334         <math_private.h>.
50335         (__nearbyintl): Use math_force_eval before restoring
50336         floating-point environment.
50337         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50339         * math/gen-libm-test.pl (special_functions): Remove.
50340         (parse_args): Don't handle TEST_extra.  Handle functions with no
50341         return value.
50342         * math/libm-test.inc (struct test_sincos_data): Replace with
50343         struct test_fFF_11_data.
50344         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50345         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50346         (sincos_test_data): Change element type to struct
50347         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50348         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50349         RUN_TEST_LOOP_sincos.
50350         * math/README.libm-test: Don't mention special handling of
50351         individual functions.
50352         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50353         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50354         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50355         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50356         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50359         * math/gen-libm-test.pl (get_variable): Remove function.
50360         (parse_args): Don't show pointer parameters to call in test
50361         names.  Use "extra output N" in test names for extra outputs
50362         rather than naming variables.
50364 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50366         [BZ #15488]
50367         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50368         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50369         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50370         double tests.
50371         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50372         disable.
50373         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50374         check_long_double.
50376         * math/gen-libm-test.pl (@tests): Remove variable.
50377         ($count): Likewise.
50378         (new_test): Remove function.
50379         (show_exceptions): New function.
50380         (special_functions): Use show_exceptions instead of new_test.
50381         (parse_args): Likewise.
50382         (generate_testfile): Pass only function name in generated call to
50383         print_max_error or print_complex_max_error.
50384         (get_ulps): Do not handle complex tests specially.
50385         (output_test): Rename to ...
50386         (get_all_ulps_for_test): ... this.  Return a string rather than
50387         printing to a file.  Require ulps to be present.
50388         (output_ulps): Generate arrays rather than #defines.
50389         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50390         (struct ulp_data): New type.
50391         (BUILD_COMPLEX_ULP): Remove macro.
50392         (compare_ulp_data): New function.
50393         (find_ulps): Likewise.
50394         (find_test_ulps): Likewise.
50395         (find_function_ulps): Likewise.
50396         (find_complex_function_ulps): Likewise.
50397         (print_max_error): Determine allowed ulps using
50398         find_function_ulps.
50399         (print_complex_max_error): Determine allowed ulps using
50400         find_complex_function_ulps.
50401         (check_float_internal): Determine max ulps using find_test_ulps.
50402         (check_float): Do not take max_ulp parameter.  Update call to
50403         check_float_internal.
50404         (check_complex): Likewise.
50405         (check_int): Do not take max_ulp parameter.
50406         (check_long): Likewise.
50407         (check_bool): Likewise.
50408         (check_longlong): Likewise.
50409         (struct test_f_f_data): Remove max_ulp field.
50410         (struct test_ff_f_data): Likewise.
50411         (struct test_ff_f_data_nexttoward): Likewise.
50412         (struct test_fi_f_data): Likewise.
50413         (struct test_fl_f_data): Likewise.
50414         (struct test_if_f_data): Likewise.
50415         (struct test_fff_f_data): Likewise.
50416         (struct test_c_f_data): Likewise.
50417         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50418         (struct test_fF_f1_data): Likewise.
50419         (struct test_ffI_f1_data): Likewise.
50420         (struct test_c_c_data): Remove max_ulp field.
50421         (struct test_cc_c_data): Likewise.
50422         (struct test_f_i_data): Likewise.
50423         (struct test_ff_i_data): Likewise.
50424         (struct test_f_l_data): Likewise.
50425         (struct test_f_L_data): Likewise.
50426         (struct test_sincos_data): Likewise.
50427         (RUN_TEST_f_f): Do not handle ulps.
50428         (RUN_TEST_LOOP_f_f): Likewise.
50429         (RUN_TEST_2_f): Likewise.
50430         (RUN_TEST_LOOP_2_f): Likewise.
50431         (RUN_TEST_fff_f): Likewise.
50432         (RUN_TEST_LOOP_fff_f): Likewise.
50433         (RUN_TEST_c_f): Likewise.
50434         (RUN_TEST_LOOP_c_f): Likewise.
50435         (RUN_TEST_f_f1): Likewise.
50436         (RUN_TEST_LOOP_f_f1): Likewise.
50437         (RUN_TEST_fF_f1): Likewise.
50438         (RUN_TEST_LOOP_fF_f1): Likewise.
50439         (RUN_TEST_fI_f1): Likewise.
50440         (RUN_TEST_LOOP_fI_f1): Likewise.
50441         (RUN_TEST_ffI_f1): Likewise.
50442         (RUN_TEST_LOOP_ffI_f1): Likewise.
50443         (RUN_TEST_c_c): Likewise.
50444         (RUN_TEST_LOOP_c_c): Likewise.
50445         (RUN_TEST_cc_c): Likewise.
50446         (RUN_TEST_LOOP_cc_c): Likewise.
50447         (RUN_TEST_f_i): Likewise.
50448         (RUN_TEST_LOOP_f_i): Likewise.
50449         (RUN_TEST_f_i_tg): Likewise.
50450         (RUN_TEST_LOOP_f_i_tg): Likewise.
50451         (RUN_TEST_ff_i_tg): Likewise.
50452         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50453         (RUN_TEST_f_b): Likewise.
50454         (RUN_TEST_LOOP_f_b): Likewise.
50455         (RUN_TEST_f_b_tg): Likewise.
50456         (RUN_TEST_LOOP_f_b_tg): Likewise.
50457         (RUN_TEST_f_l): Likewise.
50458         (RUN_TEST_LOOP_f_l): Likewise.
50459         (RUN_TEST_f_L): Likewise.
50460         (RUN_TEST_LOOP_f_L): Likewise.
50461         (RUN_TEST_sincos): Likewise.
50462         (RUN_TEST_LOOP_sincos): Likewise.
50464 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50466         [BZ #15480]
50467         [BZ #15485]
50468         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50469         main case of finite arguments, set rounding mode to FE_TONEAREST
50470         and discard exceptions.
50471         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50472         exceptions.
50473         (remainder_tonearest_test_data): New variable.
50474         (remainder_test_tonearest): New function.
50475         (remainder_towardzero_test_data): New variable.
50476         (remainder_test_towardzero): New function.
50477         (remainder_downward_test_data): New variable.
50478         (remainder_test_downward): New function.
50479         (remainder_upward_test_data): New variable.
50480         (remainder_test_upward): New function.
50481         (main): Call the new test functions.
50483         * math/libm-test.inc (struct test_f_f1_data): Remove field
50484         extra_init.
50485         (struct test_fF_f1_data): Likewise.
50486         (struct test_ffI_f1_data): Likewise.
50487         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50488         based on value of EXTRA_EXPECTED.
50489         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50490         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50491         EXTRA_VAR based on value of EXTRA_EXPECTED.
50492         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50493         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50494         EXTRA_VAR based on value of EXTRA_EXPECTED.
50495         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50496         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50497         EXTRA_VAR based on value of EXTRA_EXPECTED.
50498         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50499         * math/gen-libm-test.pl (parse_args): Don't output initializers
50500         for extra output values.
50502         * math/libm-test.inc (check_int): Expect result to be exactly
50503         equal to expected value and do not handle ulps.
50504         (check_long): Likewise.
50505         (check_longlong): Likewise.
50507         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50508         exceptions.
50509         (cimag_test_data): Likewise.
50510         (conj_test_data): Likewise.
50511         (copysign_test_data): Likewise.
50512         (cproj_test_data): Likewise.
50513         (creal_test_data): Likewise.
50514         (fabs_test_data): Likewise.
50515         (fdim_test_data): Likewise.
50516         (finite_test_data): Likewise.
50517         (floor_test_data): Likewise.
50518         (fmax_test_data): Likewise.
50519         (fmin_test_data): Likewise.
50520         (fmod_test_data): Likewise.
50521         (fpclassify_test_data): Likewise.
50522         (frexp_test_data): Likewise.
50523         (ilogb_test_data): Likewise.
50524         (isfinite_test_data): Likewise.
50525         (isgreater_test_data): Likewise.
50526         (isgreaterequal_test_data): Likewise.
50527         (isinf_test_data): Likewise.
50528         (isless_test_data): Likewise.
50529         (islessequal_test_data): Likewise.
50530         (islessgreater_test_data): Likewise.
50531         (isnan_test_data): Likewise.
50532         (isnormal_test_data): Likewise.
50533         (issignaling_test_data): Likewise.
50534         (isunordered_test_data): Likewise.
50535         (ldexp_test_data): Likewise.
50536         (lrint_test_data): Likewise.
50537         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50538         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50539         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50540         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50541         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50542         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50543         test input.
50544         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50545         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50546         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50547         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50548         that test input.
50549         (lrint_downward_test_data): Test for "inexact" exceptions.
50550         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50551         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50552         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50553         test input.
50554         (lrint_upward_test_data): Test for "inexact" exceptions.
50555         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50556         test input.
50557         (llrint_test_data): Test for "inexact" exceptions.
50558         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50559         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50560         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50561         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50562         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50563         (llrint_downward_test_data): Test for "inexact" exceptions.
50564         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50565         (llrint_upward_test_data): Test for "inexact" exceptions.
50566         (logb_test_data): Likewise.
50567         (logb_downward_test_data): Likewise.
50568         (nextafter_test_data): Likewise.
50569         (nexttoward_test_data): Likewise.
50570         (remainder_test_data): Likewise.
50571         (remquo_test_data): Likewise.
50572         (scalbn_test_data): Likewise.
50573         (scalbln_test_data): Likewise.
50574         (signbit_test_data): Likewise.
50575         (sqrt_test_data): Likewise.
50576         (significand_test_data): Likewise.
50578 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50580         [BZ #15424]
50581         * benchtests/bench-modf.c (struct args): Mark arg0 as
50582         volatile.
50583         * scripts/bench.pl: Mark members of struct args as volatile.
50585 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50587         [BZ # 15497]
50588         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50589         negative infinity on POWER6 or lower.
50590         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50592 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50594         [BZ #15442]
50595         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50596         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50597         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50598         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50599         (_FP_SETQNAN): New macro.
50600         (_FP_SETQNAN_SEMIRAW): Likewise.
50601         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50602         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50603         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50604         (FP_EXTEND): Use _FP_FRAC_SNANP.
50605         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50606         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50607         into account.
50608         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50609         New macro.
50610         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50611         Likewise.
50613 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50615         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50616         with DIVIDE_BY_ZERO_EXCEPTION.
50617         (gamma_test_data): Likewise.
50618         (lgamma_test_data): Likewise.
50619         (log_test_data): Likewise.
50620         (log10_test_data): Likewise.
50621         (log2_test_data): Likewise.
50622         (tgamma_test_data): Likewise.
50624         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50625         (acos_test_tonearest): Likewise.
50626         (acos_test_towardzero): Likewise.
50627         (acos_test_downward): Likewise.
50628         (acos_test_upward): Likewise.
50629         (acosh_test): Likewise.
50630         (asin_test): Likewise.
50631         (asin_test_tonearest): Likewise.
50632         (asin_test_towardzero): Likewise.
50633         (asin_test_downward): Likewise.
50634         (asin_test_upward): Likewise.
50635         (asinh_test): Likewise.
50636         (atan_test): Likewise.
50637         (atanh_test): Likewise.
50638         (atan2_test): Likewise.
50639         (cabs_test): Likewise.
50640         (cacos_test): Likewise.
50641         (cacosh_test): Likewise.
50642         (casin_test): Likewise.
50643         (casinh_test): Likewise.
50644         (catan_test): Likewise.
50645         (catanh_test): Likewise.
50646         (cbrt_test): Likewise.
50647         (ccos_test): Likewise.
50648         (ccosh_test): Likewise.
50649         (cexp_test): Likewise.
50650         (clog_test): Likewise.
50651         (clog10_test): Likewise.
50652         (cos_test): Likewise.
50653         (cos_test_tonearest): Likewise.
50654         (cos_test_towardzero): Likewise.
50655         (cos_test_downward): Likewise.
50656         (cos_test_upward): Likewise.
50657         (cosh_test): Likewise.
50658         (cosh_test_tonearest): Likewise.
50659         (cosh_test_towardzero): Likewise.
50660         (cosh_test_downward): Likewise.
50661         (cosh_test_upward): Likewise.
50662         (cpow_test): Likewise.
50663         (csin_test): Likewise.
50664         (csinh_test): Likewise.
50665         (csqrt_test): Likewise.
50666         (ctan_test): Likewise.
50667         (ctan_test_tonearest): Likewise.
50668         (ctan_test_towardzero): Likewise.
50669         (ctan_test_downward): Likewise.
50670         (ctan_test_upward): Likewise.
50671         (ctanh_test): Likewise.
50672         (ctanh_test_tonearest): Likewise.
50673         (ctanh_test_towardzero): Likewise.
50674         (ctanh_test_downward): Likewise.
50675         (ctanh_test_upward): Likewise.
50676         (erf_test): Likewise.
50677         (erfc_test): Likewise.
50678         (exp_test): Likewise.
50679         (exp_test_tonearest): Likewise.
50680         (exp_test_towardzero): Likewise.
50681         (exp_test_downward): Likewise.
50682         (exp_test_upward): Likewise.
50683         (exp10_test): Likewise.
50684         (exp2_test): Likewise.
50685         (expm1_test): Likewise.
50686         (fmod_test): Likewise.
50687         (gamma_test): Likewise.
50688         (hypot_test): Likewise.
50689         (j0_test): Likewise.
50690         (j1_test): Likewise.
50691         (jn_test): Likewise.
50692         (lgamma_test): Likewise.
50693         (log_test): Likewise.
50694         (log10_test): Likewise.
50695         (log1p_test): Likewise.
50696         (log2_test): Likewise.
50697         (logb_test_downward): Likewise.
50698         (pow_test): Likewise.
50699         (pow_test_tonearest): Likewise.
50700         (pow_test_towardzero): Likewise.
50701         (pow_test_downward): Likewise.
50702         (pow_test_upward): Likewise.
50703         (remainder_test): Likewise.
50704         (remquo_test): Likewise.
50705         (sin_test): Likewise.
50706         (sin_test_tonearest): Likewise.
50707         (sin_test_towardzero): Likewise.
50708         (sin_test_downward): Likewise.
50709         (sin_test_upward): Likewise.
50710         (sincos_test): Likewise.
50711         (sinh_test): Likewise.
50712         (sinh_test_tonearest): Likewise.
50713         (sinh_test_towardzero): Likewise.
50714         (sinh_test_downward): Likewise.
50715         (sinh_test_upward): Likewise.
50716         (sqrt_test): Likewise.
50717         (tan_test): Likewise.
50718         (tan_test_tonearest): Likewise.
50719         (tan_test_towardzero): Likewise.
50720         (tan_test_downward): Likewise.
50721         (tan_test_upward): Likewise.
50722         (tanh_test): Likewise.
50723         (tgamma_test): Likewise.
50724         (y0_test): Likewise.
50725         (y1_test): Likewise.
50726         (yn_test): Likewise.
50728         * math/gen-libm-test.pl (adjust_arg): Remove function.
50729         (special_function): Remove argument $in_func.  Only handle
50730         generating output for tables of tests, not inside functions.
50731         (parse_args): Likewise.
50732         (generate_testfile): Remove variable $in_func.  Update call to
50733         parse_args.
50734         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50735         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50736         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50737         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50738         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50739         (MAX_VALUE_INIT): Rename macro to max_value.
50740         (MIN_VALUE_INIT): Rename macro to min_value.
50741         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50742         (plus_zero): Remove variable.
50743         (minus_zero): Likewise.
50744         (plus_infty): Likewise.
50745         (minus_infty): Likewise.
50746         (qnan_value): Likewise.
50747         (max_value): Likewise.
50748         (min_value): Likewise.
50749         (min_subnorm_value): Likewise.
50751 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50753         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50754         uint64_t or uint32_t usage.
50755         * crypt/sha256-block.c: Likewise.
50756         * crypt/sha256-crypt.c: Likewise.
50757         * crypt/sha256.c: Likewise.
50758         * crypt/sha512-block.c: Likewise.
50759         * crypt/sha512-crypt.c: Likewise.
50760         * crypt/sha512.c: Likewise.
50761         * debug/backtrace-tst.c: Likewise.
50762         * debug/pcprofiledump.c: Likewise.
50763         * elf/cache.c: Likewise.
50764         * elf/dl-cache.c: Likewise.
50765         * elf/dl-misc.c: Likewise.
50766         * elf/dl-profile.c: Likewise.
50767         * elf/dl-support.c: Likewise.
50768         * elf/ldconfig.c: Likewise.
50769         * elf/sprof.c: Likewise.
50770         * iconv/dummy-repertoire.c: Likewise.
50771         * iconv/iconv_charmap.c: Likewise.
50772         * iconv/skeleton.c: Likewise.
50773         * iconvdata/8bit-generic.c: Likewise.
50774         * iconvdata/cp737.h: Likewise.
50775         * iconvdata/cp775.h: Likewise.
50776         * iconvdata/ibm1008.h: Likewise.
50777         * iconvdata/ibm1025.h: Likewise.
50778         * iconvdata/ibm1046.h: Likewise.
50779         * iconvdata/ibm1097.h: Likewise.
50780         * iconvdata/ibm1112.h: Likewise.
50781         * iconvdata/ibm1122.h: Likewise.
50782         * iconvdata/ibm1123.h: Likewise.
50783         * iconvdata/ibm1124.h: Likewise.
50784         * iconvdata/ibm1129.h: Likewise.
50785         * iconvdata/ibm1130.h: Likewise.
50786         * iconvdata/ibm1132.h: Likewise.
50787         * iconvdata/ibm1133.h: Likewise.
50788         * iconvdata/ibm1137.h: Likewise.
50789         * iconvdata/ibm1140.h: Likewise.
50790         * iconvdata/ibm1141.h: Likewise.
50791         * iconvdata/ibm1142.h: Likewise.
50792         * iconvdata/ibm1143.h: Likewise.
50793         * iconvdata/ibm1144.h: Likewise.
50794         * iconvdata/ibm1145.h: Likewise.
50795         * iconvdata/ibm1146.h: Likewise.
50796         * iconvdata/ibm1147.h: Likewise.
50797         * iconvdata/ibm1148.h: Likewise.
50798         * iconvdata/ibm1149.h: Likewise.
50799         * iconvdata/ibm1153.h: Likewise.
50800         * iconvdata/ibm1154.h: Likewise.
50801         * iconvdata/ibm1155.h: Likewise.
50802         * iconvdata/ibm1156.h: Likewise.
50803         * iconvdata/ibm1157.h: Likewise.
50804         * iconvdata/ibm1158.h: Likewise.
50805         * iconvdata/ibm1160.h: Likewise.
50806         * iconvdata/ibm1161.h: Likewise.
50807         * iconvdata/ibm1162.h: Likewise.
50808         * iconvdata/ibm1163.h: Likewise.
50809         * iconvdata/ibm1164.h: Likewise.
50810         * iconvdata/ibm1166.h: Likewise.
50811         * iconvdata/ibm1167.h: Likewise.
50812         * iconvdata/ibm12712.h: Likewise.
50813         * iconvdata/ibm1390.h: Likewise.
50814         * iconvdata/ibm1399.h: Likewise.
50815         * iconvdata/ibm16804.h: Likewise.
50816         * iconvdata/ibm4517.h: Likewise.
50817         * iconvdata/ibm4899.h: Likewise.
50818         * iconvdata/ibm4909.h: Likewise.
50819         * iconvdata/ibm4971.h: Likewise.
50820         * iconvdata/ibm5347.h: Likewise.
50821         * iconvdata/ibm803.h: Likewise.
50822         * iconvdata/ibm856.h: Likewise.
50823         * iconvdata/ibm901.h: Likewise.
50824         * iconvdata/ibm902.h: Likewise.
50825         * iconvdata/ibm9030.h: Likewise.
50826         * iconvdata/ibm9066.h: Likewise.
50827         * iconvdata/ibm921.h: Likewise.
50828         * iconvdata/ibm922.h: Likewise.
50829         * iconvdata/ibm9448.h: Likewise.
50830         * iconvdata/isiri-3342.h: Likewise.
50831         * iconvdata/jis0201.h: Likewise.
50832         * include/link.h: Likewise.
50833         * include/netdb.h: Likewise.
50834         * inet/check_native.c: Likewise.
50835         * inet/check_pf.c: Likewise.
50836         * inet/getipv4sourcefilter.c: Likewise.
50837         * inet/getnameinfo.c: Likewise.
50838         * inet/getsourcefilter.c: Likewise.
50839         * inet/htonl.c: Likewise.
50840         * inet/setipv4sourcefilter.c: Likewise.
50841         * inet/setsourcefilter.c: Likewise.
50842         * inet/test-inet6_opt.c: Likewise.
50843         * inet/tst-network.c: Likewise.
50844         * locale/C-collate.c: Likewise.
50845         * locale/C-ctype.c: Likewise.
50846         * locale/C-time.c: Likewise.
50847         * locale/C-translit.h: Likewise.
50848         * locale/loadarchive.c: Likewise.
50849         * locale/programs/3level.h: Likewise.
50850         * locale/programs/charmap.c: Likewise.
50851         * locale/programs/charmap.h: Likewise.
50852         * locale/programs/ld-address.c: Likewise.
50853         * locale/programs/ld-collate.c: Likewise.
50854         * locale/programs/ld-ctype.c: Likewise.
50855         * locale/programs/ld-identification.c: Likewise.
50856         * locale/programs/ld-measurement.c: Likewise.
50857         * locale/programs/ld-messages.c: Likewise.
50858         * locale/programs/ld-monetary.c: Likewise.
50859         * locale/programs/ld-name.c: Likewise.
50860         * locale/programs/ld-numeric.c: Likewise.
50861         * locale/programs/ld-paper.c: Likewise.
50862         * locale/programs/ld-telephone.c: Likewise.
50863         * locale/programs/ld-time.c: Likewise.
50864         * locale/programs/linereader.c: Likewise.
50865         * locale/programs/locale.c: Likewise.
50866         * locale/programs/locarchive.c: Likewise.
50867         * locale/programs/locfile.h: Likewise.
50868         * locale/programs/repertoire.c: Likewise.
50869         * locale/programs/simple-hash.c: Likewise.
50870         * locale/programs/simple-hash.h: Likewise.
50871         * malloc/memusage.c: Likewise.
50872         * malloc/memusagestat.c: Likewise.
50873         * nis/nis_defaults.c: Likewise.
50874         * nis/nis_hash.c: Likewise.
50875         * nis/nis_print.c: Likewise.
50876         * nis/nis_xdr.c: Likewise.
50877         * nscd/connections.c: Likewise.
50878         * nscd/hstcache.c: Likewise.
50879         * nscd/nscd_gethst_r.c: Likewise.
50880         * nscd/nscd_getserv_r.c: Likewise.
50881         * nscd/nscd_helper.c: Likewise.
50882         * nscd/servicescache.c: Likewise.
50883         * nss/makedb.c: Likewise.
50884         * nss/nss_db/db-XXX.c: Likewise.
50885         * nss/nss_db/db-initgroups.c: Likewise.
50886         * nss/nss_db/db-netgrp.c: Likewise.
50887         * nss/nss_files/files-network.c: Likewise.
50888         * nss/nss_files/files-parse.c: Likewise.
50889         * posix/bug-regex5.c: Likewise.
50890         * posix/fnmatch_loop.c: Likewise.
50891         * posix/regcomp.c: Likewise.
50892         * posix/regexec.c: Likewise.
50893         * posix/tst-rfc3484-2.c: Likewise.
50894         * posix/tst-rfc3484-3.c: Likewise.
50895         * posix/tst-rfc3484.c: Likewise.
50896         * resolv/nss_dns/dns-canon.c: Likewise.
50897         * resolv/nss_dns/dns-network.c: Likewise.
50898         * resolv/res_init.c: Likewise.
50899         * resolv/res_mkquery.c: Likewise.
50900         * resolv/tst-aton.c: Likewise.
50901         * stdlib/cxa_atexit.c: Likewise.
50902         * stdlib/cxa_finalize.c: Likewise.
50903         * stdlib/gen-fpioconst.c: Likewise.
50904         * stdlib/strtol_l.c: Likewise.
50905         * string/tst-endian.c: Likewise.
50906         * sunrpc/auth_des.c: Likewise.
50907         * sunrpc/clnt_udp.c: Likewise.
50908         * sunrpc/rtime.c: Likewise.
50909         * sunrpc/svcauth_des.c: Likewise.
50910         * sunrpc/xdr.c: Likewise.
50911         * sunrpc/xdr_intXX_t.c: Likewise.
50912         * sunrpc/xdr_rec.c: Likewise.
50913         * sysdeps/generic/ldconfig.h: Likewise.
50914         * sysdeps/generic/ldsodefs.h: Likewise.
50915         * sysdeps/generic/memusage.h: Likewise.
50916         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50917         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50918         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50919         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50920         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50921         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50922         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50923         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50924         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50925         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50926         * sysdeps/posix/getaddrinfo.c: Likewise.
50927         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50928         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50929         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50930         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50931         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50932         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50933         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50934         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50935         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50936         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50937         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50938         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50939         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50940         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50941         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50942         * sysdeps/x86_64/dl-tls.h: Likewise.
50943         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50944         * time/alt_digit.c: Likewise.
50945         * time/era.c: Likewise.
50946         * wcsmbs/tst-c16c32-1.c: Likewise.
50948 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50950         * math/libm-test.inc (struct test_sincos_data): New type.
50951         (RUN_TEST_LOOP_sincos): New macro.
50952         (sincos_test_data): New variable.
50953         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50955 2013-05-16  Richard Henderson  <rth@redhat.com>
50957         * math/atest-exp2.c (LIMB64): New macro.
50958         (CONSTSZ): New macro.
50959         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50960         (hexdig): Move ...
50961         (print_mpn_fp): ... to function scope.
50962         (read_mpn_hex): Remove.
50963         (get_log2): Remove.
50964         (exp2_mpn): Use mp_log2.
50965         (main): Use mp_exp1.
50967 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50969         * math/libm-test.inc: Remove comment about not testing "inexact"
50970         exceptions.
50971         (INEXACT_EXCEPTION): New macro.
50972         (NO_INEXACT_EXCEPTION): Likewise.
50973         (INVALID_EXCEPTION_OK): Update value.
50974         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50975         (OVERFLOW_EXCEPTION_OK): Likewise.
50976         (UNDERFLOW_EXCEPTION_OK): Likewise.
50977         (IGNORE_ZERO_INF_SIGN): Likewise.
50978         (ERRNO_UNCHANGED): Likewise.
50979         (ERRNO_EDOM): Likewise.
50980         (ERRNO_ERANGE): Likewise.
50981         (test_exceptions): Handle testing "inexact" exceptions.
50982         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50983         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50984         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50985         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50986         INEXACT_EXCEPTION.
50987         (rint_towardzero_test_data): Likewise.
50988         (rint_downward_test_data): Likewise.
50989         (rint_upward_test_data): Likewise.
50991         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50992         with OVERFLOW_EXCEPTION.
50993         (exp10_test_data): Likewise.
50994         (exp2_test_data): Likewise.
50995         (expm1_test_data): Likewise.
50996         (lgamma_test_data): Likewise.
50997         (pow_test_data): Likewise.
50998         (tgamma_test_data): Likewise.
50999         (yn_test_data): Remove duplicate test of overflow.
51001         * math/libm-test.inc (struct test_cc_c_data): New type.
51002         (RUN_TEST_LOOP_cc_c): New macro.
51003         (cpow_test_data): New variable.
51004         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51006         * math/libm-test.inc (struct test_f_L_data): New type.
51007         (RUN_TEST_LOOP_f_L): New macro.
51008         (llrint_test_data): New variable.
51009         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51010         (llrint_tonearest_test_data): New variable.
51011         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51012         (llrint_towardzero_test_data): New variable.
51013         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51014         (llrint_downward_test_data): New variable.
51015         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51016         (llrint_upward_test_data): New variable.
51017         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51018         (llround_test_data): New variable.
51019         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51021 2013-05-13  Peter Collingbourne  <pcc@google.com>
51023         * math/atest-exp2.c (get_log2): Remove const attribute.
51025 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51027         * math/libm-test.inc (struct test_f_l_data): New type.
51028         (RUN_TEST_LOOP_f_l): New macro.
51029         (lrint_test_data): New variable.
51030         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51031         (lrint_tonearest_test_data): New variable.
51032         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51033         (lrint_towardzero_test_data): New variable.
51034         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51035         (lrint_downward_test_data): New variable.
51036         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51037         (lrint_upward_test_data): New variable.
51038         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51039         (lround_test_data): New variable.
51040         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51042 2013-05-15  Peter Collingbourne  <pcc@google.com>
51044         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51045         (EXTRACT_WORDS64) Use where appropriate.
51046         (INSERT_WORDS64) Likewise.
51048         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51049         constraints with x constraints.
51050         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51052         * malloc/obstack.c (_obstack_compat): Add initializer.
51054 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51056         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51057         si_trapno and add si_addr_lsb to _sifields.sigfault.
51058         (si_trapno): Remove macro.
51059         (si_addr_lsb): Define new macro.
51060         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51062 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51064         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51065         instead of TEST_f_l.
51066         (llrint_test_tonearest): Likewise.
51067         (llrint_test_towardzero): Likewise.
51068         (llrint_test_downward): Likewise.
51069         (llrint_test_upward): Likewise.
51070         (llround_test): Likewise.
51072         * math/libm-test.inc (struct test_f_i_data): Add comment.
51073         (RUN_TEST_LOOP_f_b): New macro.
51074         (RUN_TEST_LOOP_f_b_tg): Likewise.
51075         (finite_test_data): New variable.
51076         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51077         (isfinite_test_data): New variable.
51078         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51079         (isinf_test_data): New variable.
51080         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51081         (isnan_test_data): New variable.
51082         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51083         (isnormal_test_data): New variable.
51084         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51085         (issignaling_test_data): New variable.
51086         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51087         (signbit_test_data): New variable.
51088         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51090         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51091         with INVALID_EXCEPTION.
51092         (acosh_test_data): Likewise.
51093         (asin_test_data): Likewise.
51094         (atanh_test_data): Likewise.
51095         (fmod_test_data): Likewise.
51096         (log_test_data): Likewise.
51097         (log10_test_data): Likewise.
51098         (log2_test_data): Likewise.
51099         (pow_test_data): Likewise.
51100         (sqrt_test_data): Likewise.
51101         (y0_test_data): Likewise.
51102         (y1_test_data): Likewise.
51103         (yn_test_data): Likewise.
51105         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51106         function contents.
51108         * math/libm-test.inc (struct test_ff_i_data): New type.
51109         (RUN_TEST_LOOP_ff_i_tg): New macro.
51110         (isgreater_test_data): New variable.
51111         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51112         (isgreaterequal_test_data): New variable.
51113         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51114         (isless_test_data): New variable.
51115         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51116         (islessequal_test_data): New variable.
51117         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51118         (islessgreater_test_data): New variable.
51119         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51120         (isunordered_test_data): New variable.
51121         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51123 2013-05-14  David S. Miller  <davem@davemloft.net>
51125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51127 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51129         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51131         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51132         extra_test to int.
51133         (struct test_f_i_data): Change type of max_ulp to int.
51135         * math/libm-test.inc (test_ffI_f1_data): New type.
51136         (RUN_TEST_LOOP_ffI_f1): New macro.
51137         (remquo_test_data): New variable.
51138         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51140         * setjmp/tst-setjmp-fp.c: New file.
51141         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51142         (link-libm): New variable.
51143         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51145         * math/libm-test.inc (struct test_f_i_data): New type.
51146         (RUN_TEST_LOOP_f_i): New macro.
51147         (RUN_TEST_LOOP_f_i_tg): Likewise.
51148         (fpclassify_test_data): New variable.
51149         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51150         (ilogb_test_data): New variable.
51151         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51153         * math/libm-test.inc (scalbln_test): Correct function name in END
51154         call.
51156         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51157         (RUN_TEST_LOOP_fI_f1): New macro.
51158         (frexp_test_data): New variable.
51159         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51161         * math/libm-test.inc (struct test_fF_f1_data): New type.
51162         (RUN_TEST_LOOP_fF_f1): New macro.
51163         (modf_test_data): New variable.
51164         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51166         * math/libm-test.inc (struct test_f_f1_data): New type.
51167         (RUN_TEST_LOOP_f_f1): New macro.
51168         (gamma_test_data): New variable.
51169         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51170         (lgamma_test_data): New variable.
51171         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51173 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51175         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51176         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51177         (main): Comment "tls" pseudo-hwcap.
51179 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51181         * math/libm-test.inc (struct test_fl_f_data): New type.
51182         (RUN_TEST_LOOP_fl_f): New variable.
51183         (scalbln_test_data): New variable.
51184         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51186         * math/libm-test.inc (struct test_fi_f_data): New type.
51187         (RUN_TEST_LOOP_fi_f): New macro.
51188         (ldexp_test_data): New variable.
51189         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51190         (scalbn_test_data): New variable.
51191         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51193         * math/libm-test.inc (struct test_c_f_data): New type.
51194         (RUN_TEST_LOOP_c_f): New macro.
51195         (cabs_test_data): New variable.
51196         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51197         (carg_test_data): New variable.
51198         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51199         (cimag_test_data): New variable.
51200         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51201         (creal_test_data): New variable.
51202         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51204         * math/libm-test.inc (struct test_if_f_data): New type.
51205         (RUN_TEST_LOOP_if_f): New macro.
51206         (jn_test_data): New variable.
51207         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51208         (yn_test_data): New variable.
51209         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51211         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51213 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51215         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51216         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51218 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51220         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51221         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51222         (bench-deps): Add bench-timing.h.
51223         * benchtests-bench-skeleton.c: Include bench-timing.h.
51224         (main): Use TIMING_* macros instead of clock_gettime.
51225         * benchtests/bench-timing.h: New file.
51227         [BZ #14582]
51228         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51229         Renamed from _LIB_VERSION.
51230         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51232 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51234         * math/libm-test.inc (struct test_fff_f_data): New type.
51235         (RUN_TEST_LOOP_fff_f): New macro.
51236         (fma_test_data): New variable.
51237         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51238         (fma_towardzero_test_data): New variable.
51239         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51240         (fma_downward_test_data): New variable.
51241         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51242         (fma_upward_test_data): New variable.
51243         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51245         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51246         (struct test_c_c_data): New type.
51247         (RUN_TEST_LOOP_c_c): New macro.
51248         (cacos_test_data): New variable.
51249         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51250         (cacosh_test_data): New variable.
51251         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51252         (casin_test_data): New variable.
51253         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51254         (casinh_test_data): New variable.
51255         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51256         (catan_test_data): New variable.
51257         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51258         (catanh_test_data): New variable.
51259         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51260         (ccos_test_data): New variable.
51261         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51262         (ccosh_test_data): New variable.
51263         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51264         (cexp_test_data): New variable.
51265         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51266         (clog_test_data): New variable.
51267         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51268         (clog10_test_data): New variable.
51269         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51270         (conj_test_data): New variable.
51271         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51272         (cproj_test_data): New variable.
51273         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51274         (csin_test_data): New variable.
51275         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51276         (csinh_test_data): New variable.
51277         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51278         (csqrt_test_data): New variable.
51279         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51280         (ctan_test_data): New variable.
51281         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51282         (ctan_tonearest_test_data): New variable.
51283         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51284         (ctan_towardzero_test_data): New variable.
51285         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51286         (ctan_downward_test_data): New variable.
51287         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51288         (ctan_upward_test_data): New variable.
51289         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51290         (ctanh_test_data): New variable.
51291         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51292         (ctanh_tonearest_test_data): New variable.
51293         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51294         (ctanh_towardzero_test_data): New variable.
51295         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51296         (ctanh_downward_test_data): New variable.
51297         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51298         (ctanh_upward_test_data): New variable.
51299         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51300         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51301         of BUILD_COMPLEX.
51303         * math/libm-test.inc (struct test_ff_f_data): New type.
51304         (struct test_ff_f_data_nexttoward): Likewise.
51305         (RUN_TEST_LOOP_2_f): New macro.
51306         (RUN_TEST_LOOP_ff_f): Likewise.
51307         (atan2_test_data): New variable.
51308         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51309         (copysign_test_data): New variable.
51310         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51311         (fdim_test_data): New variable.
51312         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51313         (fmax_test_data): New variable.
51314         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51315         (fmin_test_data): New variable.
51316         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51317         (fmod_test_data): New variable.
51318         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51319         (hypot_test_data): New variable.
51320         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51321         (nextafter_test_data): New variable.
51322         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51323         (nexttoward_test_data): New variable.
51324         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51325         (pow_test_data): New variable.
51326         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51327         (pow_tonearest_test_data): New variable.
51328         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51329         (pow_towardzero_test_data): New variable.
51330         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51331         (pow_downward_test_data): New variable.
51332         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51333         (pow_upward_test_data): New variable.
51334         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51335         (remainder_test_data): New variable.
51336         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51337         (scalb_test_data): New variable.
51338         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51339         * sysdeps/i386/fpu/libm-test-ulps: Update.
51341 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51343         * math/libm-test.inc (fma_test): Use max_value instead of local
51344         variable fltmax.
51345         (nextafter_test): Likewise.
51347         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51348         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51349         (acos_downward_test_data): New variable.
51350         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51351         (acos_upward_test_data): New variable.
51352         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51353         (acosh_test_data): New variable.
51354         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51355         (asin_test_data): New variable.
51356         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51357         (asin_tonearest_test_data): New variable.
51358         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51359         (asin_towardzero_test_data): New variable.
51360         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51361         (asin_downward_test_data): New variable.
51362         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51363         (asin_upward_test_data): New variable.
51364         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51365         (asinh_test_data): New variable.
51366         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51367         (atan_test_data): New variable.
51368         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51369         (atanh_test_data): New variable.
51370         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51371         (cbrt_test_data): New variable.
51372         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51373         (ceil_test_data): New variable.
51374         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51375         (cos_test_data): New variable.
51376         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51377         (cos_tonearest_test_data): New variable.
51378         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51379         (cos_towardzero_test_data): New variable.
51380         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51381         (cos_downward_test_data): New variable.
51382         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51383         (cos_upward_test_data): New variable.
51384         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51385         (cosh_test_data): New variable.
51386         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51387         (cosh_tonearest_test_data): New variable.
51388         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51389         (cosh_towardzero_test_data): New variable.
51390         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51391         (cosh_downward_test_data): New variable.
51392         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51393         (cosh_upward_test_data): New variable.
51394         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51395         (erf_test_data): New variable.
51396         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51397         (erfc_test_data): New variable.
51398         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51399         (exp_test_data): New variable.
51400         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51401         (exp_tonearest_test_data): New variable.
51402         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51403         (exp_towardzero_test_data): New variable.
51404         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51405         (exp_downward_test_data): New variable.
51406         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51407         (exp_upward_test_data): New variable.
51408         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51409         (exp10_test_data): New variable.
51410         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51411         (exp2_test_data): New variable.
51412         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51413         (expm1_test_data): New variable.
51414         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51415         (fabs_test_data): New variable.
51416         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51417         (floor_test_data): New variable.
51418         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51419         (j0_test_data): New variable.
51420         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51421         (j1_test_data): New variable.
51422         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51423         (log_test_data): New variable.
51424         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51425         (log10_test_data): New variable.
51426         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51427         (log1p_test_data): New variable.
51428         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51429         (log2_test_data): New variable.
51430         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51431         (logb_test_data): New variable.
51432         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51433         (logb_downward_test_data): New variable.
51434         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51435         (nearbyint_test_data): New variable.
51436         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51437         (rint_test_data): New variable.
51438         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51439         (rint_tonearest_test_data): New variable.
51440         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51441         (rint_towardzero_test_data): New variable.
51442         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51443         (rint_downward_test_data): New variable.
51444         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51445         (rint_upward_test_data): New variable.
51446         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51447         (round_test_data): New variable.
51448         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51449         (sin_test_data): New variable.
51450         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51451         (sin_tonearest_test_data): New variable.
51452         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51453         (sin_towardzero_test_data): New variable.
51454         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51455         (sin_downward_test_data): New variable.
51456         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51457         (sin_upward_test_data): New variable.
51458         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51459         (sinh_test_data): New variable.
51460         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51461         (sinh_tonearest_test_data): New variable.
51462         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51463         (sinh_towardzero_test_data): New variable.
51464         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51465         (sinh_downward_test_data): New variable.
51466         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51467         (sinh_upward_test_data): New variable.
51468         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51469         (sqrt_test_data): New variable.
51470         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51471         (tan_test_data): New variable.
51472         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51473         (tan_tonearest_test_data): New variable.
51474         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51475         (tan_towardzero_test_data): New variable.
51476         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51477         (tan_downward_test_data): New variable.
51478         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51479         (tan_upward_test_data): New variable.
51480         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51481         (tanh_test_data): New variable.
51482         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51483         (tgamma_test_data): New variable.
51484         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51485         (trunc_test_data): New variable.
51486         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51487         (y0_test_data): New variable.
51488         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51489         (y1_test_data): New variable.
51490         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51491         (significand_test_data): New variable.
51492         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51494 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51496         [BZ #12387]
51497         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51499 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51501         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51503 2013-05-10  Andreas Jaeger  <aj@suse.de>
51505         [BZ #15448]
51506         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51507         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51509 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51511         * math/gen-libm-test.pl (adjust_arg): New function.
51512         (special_functions): Handle generating output in both functions
51513         and arrays.
51514         (parse_args): Likewise.
51515         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51516         $in_func argument to parse_args.
51517         * math/libm-test.inc (struct test_f_f_data): New type.
51518         (IF_ROUND_INIT_): New macro.
51519         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51520         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51521         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51522         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51523         (ROUND_RESTORE_): Likewise.
51524         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51525         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51526         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51527         (ROUND_RESTORE_FE_UPWARD): Likewise.
51528         (RUN_TEST_LOOP_f_f): New macro.
51529         (acos_test_data): New variable.
51530         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51531         (acos_tonearest_test_data): New variable.
51532         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51534 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51536         * benchtests/bench-skeleton.c (startup): Fix coding style.
51538 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51540         [BZ #6809]
51541         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51542         negative infinity argument.
51543         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51544         negative infinity argument.
51545         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51546         negative infinity argument.
51547         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51548         domain errors.
51550 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51552         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51553         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51554         * iconv/iconv_prog.c (main): Likewise.
51555         * locale/programs/charmap-dir.c (charmap_readdir)
51556         (fopen_uncompressed): Likewise.
51557         * locale/programs/locfile.c (siblings_uncached)
51558         (write_locale_data): Use lstat64 instead of lstat.
51559         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51560         stat.
51562 2013-05-10  Andreas Jaeger  <aj@suse.de>
51564         [BZ #15395]
51565         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51566         localization.
51567         Include <locale.h>.
51569 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51571         * elf/dl-close.c (_dl_close_worker): Add comments.
51573 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51575         [BZ #15359]
51576         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51577         high part of pi/2.
51578         (__ieee754_rem_pio2l): Update comments.
51580         [BZ #15429]
51581         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51582         high part of pi/2.
51583         (__ieee754_rem_pio2l): Update comments.
51585         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51586         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51588         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51589         M_PI_4l.
51591         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51592         (M_PI_34_LOG10El): Likewise.
51593         (M_PI2_LOG10El): Likewise.
51594         (M_PI4_LOG10El): Likewise.
51595         (M_PI_LOG10El): Likewise.
51597 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51601 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51603         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51604         (MINUS_ZERO_INIT): Likewise.
51605         (PLUS_INFTY_INIT): Likewise.
51606         (MINUS_INFTY_INIT): Likewise.
51607         (QNAN_VALUE_INIT): Likewise.
51608         (MAX_VALUE_INIT): Likewise.
51609         (MIN_VALUE_INIT): Likewise.
51610         (MIN_SUBNORM_VALUE_INIT): Likewise.
51611         (plus_zero): Initialize with PLUS_ZERO_INIT.
51612         (minus_zero): Initialize with MINUS_ZERO_INIT.
51613         (plus_infty): Initialize with PLUS_INFTY_INIT.
51614         (minus_infty): Initialize with MINUS_INFTY_INIT.
51615         (qnan_value): Initialize with QNAN_VALUE_INIT.
51616         (max_value): Initialize with MAX_VALUE_INIT.
51617         (min_value): Initialize with MIN_VALUE_INIT.
51618         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51620         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51621         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51622         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51623         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51625         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51626         (RUN_TEST_2_f): Likewise.
51627         (RUN_TEST_ff_f): Likewise.
51628         (RUN_TEST_fi_f): Likewise.
51629         (RUN_TEST_fl_f): Likewise.
51630         (RUN_TEST_fff_f): Likewise.
51631         (RUN_TEST_c_f): Likewise.
51632         (RUN_TEST_f_f1): Likewise.
51633         (RUN_TEST_fF_f1): Likewise.
51634         (RUN_TEST_fI_f1): Likewise.
51635         (RUN_TEST_ffI_f1): Likewise.
51636         (RUN_TEST_c_c): Likewise.
51637         (RUN_TEST_cc_c): Likewise.
51638         (RUN_TEST_f_i): Likewise.
51639         (RUN_TEST_f_i_tg): Likewise.
51640         (RUN_TEST_ff_i_tg): Likewise.
51641         (RUN_TEST_f_b): Likewise.
51642         (RUN_TEST_f_b_tg): Likewise.
51643         (RUN_TEST_f_l): Likewise.
51644         (RUN_TEST_f_L): Likewise.
51645         (RUN_TEST_sincos): Likewise.
51646         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51647         whether to show exceptions.  Do not include ");\n" in return
51648         value.
51649         (special_functions): Output call to RUN_TEST_sincos instead of
51650         check_float calls.  Update calls to new_test.
51651         (parse_args): Output call to single RUN_TEST_* macro instead of
51652         check_* calls and other assignments.  Update calls to new_test.
51654         [BZ #2546]
51655         [BZ #2560]
51656         [BZ #5159]
51657         [BZ #15426]
51658         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51659         input to result for tgamma overflow.
51660         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51661         (gamma_coeff): New variable.
51662         (NCOEFF): New macro.
51663         (gamma_positive): New function.
51664         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51665         underflow here.  Use gamma_positive instead of exp (lgamma) for
51666         other arguments.
51667         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51668         (gamma_coeff): New variable.
51669         (NCOEFF): New macro.
51670         (gammaf_positive): New function.
51671         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51672         underflow here.  Use gamma_positive instead of exp (lgamma) for
51673         other arguments.
51674         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51675         (gamma_coeff): New variable.
51676         (NCOEFF): New macro.
51677         (gammal_positive): New function.
51678         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51679         underflow here.  Use gamma_positive instead of exp (lgamma) for
51680         other arguments.
51681         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51682         (gamma_coeff): New variable.
51683         (NCOEFF): New macro.
51684         (gammal_positive): New function.
51685         (__ieee754_gammal_r): Handle positive infinity, overflow and
51686         underflow here.  Handle NaN the same as positive infinity.  Remove
51687         check x < 0xffffffff for negative integers.  Use gamma_positive
51688         instead of exp (lgamma) for other arguments.
51689         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51690         (gamma_coeff): New variable.
51691         (NCOEFF): New macro.
51692         (gammal_positive): New function.
51693         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51694         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51695         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51696         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51697         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51698         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51699         * sysdeps/generic/math_private.h (__gamma_productf): New
51700         prototype.
51701         (__gamma_product): Likewise.
51702         (__gamma_productl): Likewise.
51703         * math/Makefile (libm-calls): Add gamma_product.
51704         * math/libm-test.inc (tgamma_test): Add more tests.
51705         * sysdeps/i386/fpu/libm-test-ulps: Update.
51706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51708 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51710         * benchtests/bench-skeleton.c (main): Preheat CPU.
51712 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51714         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51716 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51718         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51719         and _dl_skip_args_internal.
51721 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51723         * manual/message.texi (Message Translation): Talk about users.
51724         Message to key mapping impacts design.
51726 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51728         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51730         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51732         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51733         * sysdeps/wordsize-64/glob64.c: ... here.
51735         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51736         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51737         New macros.
51739         * debug/getlogin_r_chk.c: Moved to ...
51740         * login/getlogin_r_chk.c: ... here.
51741         * debug/Makefile (routines): Move getlogin_r_chk to ...
51742         * login/Makefile (routines): ... here.
51743         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51744         * login/Versions (libc: GLIBC_2.4): ... here.
51746         * io/poll.c (__poll): Renamed from poll.
51747         Add libc_hidden_def.
51748         (poll): Define as weak alias.
51750         * debug/ptsname_r_chk.c: Moved to ...
51751         * login/ptsname_r_chk.c: ... here.
51752         * debug/Makefile (routines): Move ptsname_r_chk to ...
51753         * login/Makefile (routines): ... here.
51754         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51755         * login/Versions (libc: GLIBC_2.4): ... here.
51757         * posix/getlogin.c: Moved to ...
51758         * login/getlogin.c: ... here.
51759         * posix/getlogin_r.c: Moved to ...
51760         * login/getlogin_r.c: ... here.
51761         * posix/getlogin_r.c: Moved to ...
51762         * login/getlogin_r.c: ... here.
51763         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51764         * login/Makefile (routines): ... here.
51765         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51766         * login/Versions (libc: GLIBC_2.0): ... here.
51768         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51769         (setrlimit): Define as weak alias.
51771         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51772         Call __ names for open, ftruncate, and close.
51773         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51774         (truncate): Define as weak alias.
51776 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51778         * math/gen-libm-test.pl (parse_args): Initialize x before each
51779         test of frexp, modf and remquo.
51781         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51782         test signgam value.
51784 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51786         [BZ #15418]
51787         [BZ #15419]
51788         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51789         internal tests.
51790         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51792 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51794         * elf/dl-writev.h: New file.
51795         * elf/dl-misc.c: Include it.
51796         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51797         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51799 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51801         * math/libm-test.inc (noXFails): Remove variable.
51802         (noXPasses): Likewise.
51803         (BUILD_COMPLEX_INT): Remove macro.
51804         (print_screen): Remove xfail argument.
51805         (print_screen_max_error): Likewise.
51806         (update_stats): Likewise.
51807         (print_max_error): Likewise.  Update calls to other affected
51808         functions.
51809         (print_complex_max_error): Likewise.
51810         (test_single_exception): Update calls to print_screen.
51811         (test_single_errno): Likewise.
51812         (check_float_internal): Remove xfail argument.  Update calls to
51813         other affected functions.
51814         (check_float): Likewise.
51815         (check_complex): Likewise.
51816         (check_int): Likewise.
51817         (check_long): Likewise.
51818         (check_bool): Likewise.
51819         (check_longlong): Likewise.
51820         (main): Don't print noXFails and noXPasses.
51821         * math/gen-libm-test.pl (top level): Don't mention expected
51822         failure handling in comment.
51823         (new_test): Don't handle expected failures.
51824         (parse_args): Don't mention expected failure handling in comment.
51825         (generate_testfile): Don't handle expected failures.
51826         (parse_ulps): Likewise.
51827         (print_ulps_file): Likewise.
51828         (get_failure): Remove function.
51829         (output_test): Don't handle expected failures.
51830         * make/README.libm-test: Don't mention expected failure handling.
51832         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51833         (minus_zero): Likewise.
51834         (plus_infty): Likewise.
51835         (minus_infty): Likewise.
51836         (qnan_value): Likewise.
51837         (max_value): Likewise.
51838         (min_value): Likewise.
51839         (min_subnorm_value): Likewise.
51840         (initialize): Do not initialize those variables dynamically.
51842 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51844         * io/open.c (__open_2): Moved to ...
51845         * io/open_2.c: ... this new file.
51846         * io/open64.c (__open64_2): Moved to ...
51847         * io/open64_2.c: ... this new file.
51848         * io/openat.c (__openat_2): Moved to ...
51849         * io/openat_2.c: ... this new file.
51850         * io/openat64.c (__openat64_2): Moved to ...
51851         * io/openat64_2.c: ... this new file.
51852         * io/Makefile (routines): Add them.
51853         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51854         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51855         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51856         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51857         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51858         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51859         (__openat64): Add hidden_ver.
51860         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51861         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51863         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51864         Separately conditionalize setting of GLRO(dl_sysinfo) so
51865         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51866         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51868 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51870         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51871         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51872         definition.
51873         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51874         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51875         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51876         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51877         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51879 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51881         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51882         test signgam value.
51884         * math/libm-test.inc (hypot_test): Do not use
51885         IGNORE_ZERO_INF_SIGN.
51887 2013-05-03  Andreas Jaeger  <aj@suse.de>
51889         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51890         Linux 3.9.
51891         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51892         (PF_MAX): Adjust for VSOCK change.
51894 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51898 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51900         [BZ #15264]
51901         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51902         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51903         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51905 2013-05-02  David S. Miller  <davem@davemloft.net>
51907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51909 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51911         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51913 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51915         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51917 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51919         [BZ #14952]
51920         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51921         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51922         Use __attribute__ ((__gnu_inline__)).
51923         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51924         Don't use __attribute__ ((__gnu_inline__)).
51926 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51928         [BZ #15423]
51929         * math/s_catan.c (__catan): Handle small real or imaginary part of
51930         input specially to avoid spurious underflow.
51931         * math/s_catanf.c (__catanf): Likewise.
51932         * math/s_catanh.c (__catanh): Likewise.
51933         * math/s_catanhf.c (__catanhf): Likewise.
51934         * math/s_catanhl.c (__catanhl): Likewise.
51935         * math/s_catanl.c (__catanl): Likewise.
51936         * math/libm-test.inc (catan_test): Add more tests.
51937         (catanh_test): Likewise.
51938         * sysdeps/i386/fpu/libm-test-ulps: Update.
51939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51941 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51945 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51947         [BZ #15416]
51948         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51949         accurately for denominator in atan2.
51950         * math/s_catanf.c (__catanf): Likewise.
51951         * math/s_catanh.c (__catanh): Likewise.
51952         * math/s_catanhf.c (__catanhf): Likewise.
51953         * math/s_catanhl.c (__catanhl): Likewise.
51954         * math/s_catanl.c (__catanl): Likewise.
51955         * math/libm-test.inc (catan_test): Add more tests.
51956         (catanh_test): Likewise.
51957         * sysdeps/i386/fpu/libm-test-ulps: Update.
51958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51960 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51962         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51964         * benchtests/Makefile (bench): Remove slow benchmarks.
51965         * benchtests/atan-inputs: Add slow benchmark inputs.
51966         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51967         (BENCH_FUNC): Accept variant offset.
51968         (VARIANT): Define.
51969         * benchtests/bench-skeleton.c (main): Run benchmark for each
51970         variant.
51971         * benchtests/cos-inputs: Add slow benchmark inputs.
51972         * benchtests/exp-inputs: Likewise.
51973         * benchtests/pow-inputs: Likewise.
51974         * benchtests/sin-inputs: Likewise.
51975         * benchtests/slowatan-inputs: Remove.
51976         * benchtests/slowatan.c: Remove.
51977         * benchtests/slowcos-inputs: Remove.
51978         * benchtests/slowcos.c: Remove.
51979         * benchtests/slowexp-inputs: Remove.
51980         * benchtests/slowexp.c: Remove.
51981         * benchtests/slowpow-inputs: Remove.
51982         * benchtests/slowpow.c: Remove.
51983         * benchtests/slowsin-inputs: Remove.
51984         * benchtests/slowsin.c: Remove.
51985         * benchtests/slowtan-inputs: Remove.
51986         * benchtests/slowtan.c: Remove.
51987         * benchtests/tan-inputs: Add slow benchmark inputs.
51988         * scripts/bench.pl: Parse comments and directives.
51990         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51991         in CPPFLAGS.
51992         ($(objpfx)bench-%.c): Remove *-ITER.
51993         * benchtests/bench-modf.c: Remove definition of ITER.
51994         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51995         (main): Loop for DURATION seconds instead of fixed number of
51996         iterations.
51997         * scripts/bench.pl: Don't expect iterations in parameters.
51999 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52001         * io/fchdir.c (__fchdir): Renamed from fchdir.
52002         (fchdir): Define as weak alias.
52004 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52006         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52007         (ERRNO_EDOM): Likewise.
52008         (ERRNO_ERANGE): Likewise.
52009         (noErrnoTests): New variable.
52010         (init_max_error): Set errno to 0.
52011         (test_single_errno): New function.
52012         (test_errno): Likewise.
52013         (check_float_internal): Call test_errno.  Set errno to 0.
52014         (check_complex): Refer to errno tests in comment.
52015         (check_int): Call test_errno.  Set errno to 0.
52016         (check_long): Likewise.
52017         (check_bool): Likewise.
52018         (check_longlong): Likewise.
52019         (cos_test): Use ERRNO_* flags for errno tests instead of
52020         check_int.
52021         (expm1_test): Likewise.
52022         (fmod_test): Likewise.
52023         (ilogb_test): Likewise.
52024         (lgamma_test): Likewise.
52025         (pow_test): Likewise.
52026         (remainder_test): Likewise.
52027         (sin_test): Likewise.
52028         (tan_test): Likewise.
52029         (yn_test): Likewise.
52030         (initialize): Set errno to 0.
52031         (main): Print number of errno tests.
52032         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52034 2013-04-29  Andreas Jaeger  <aj@suse.de>
52036         [BZ #15084]
52037         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52038         and RES_USEVC.
52040         [BZ #15085]
52041         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52042         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52043         unimplemented.
52045         [BZ #15380]
52046         * stdlib/random.c (__initstate): Return NULL if
52047         __initstate fails.
52049         [BZ #15086]
52050         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52051         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52052         RES_SNGLKUPREOP.
52054 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52058 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52060         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52061         of individual tests.
52062         (casin_test): Likewise.
52063         (casinh_test): Likewise.
52065 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52067         [BZ #15409]
52068         * math/s_catan.c (__catan): Handle arguments with large real or
52069         imaginary part separately without squaring.
52070         * math/s_catanf.c (__catanf): Likewise.
52071         * math/s_catanh.c (__catanh): Likewise.
52072         * math/s_catanhf.c (__catanhf): Likewise.
52073         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52074         and redefine.
52075         (__catanhl): Handle arguments with large real or imaginary part
52076         separately without squaring.
52077         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52078         and redefine.
52079         (__catanl): Handle arguments with large real or imaginary part
52080         separately without squaring.
52081         * math/libm-test.inc (catan_test): Add more tests.
52082         (catanh_test): Likewise.
52083         * sysdeps/i386/fpu/libm-test-ulps: Update.
52084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52086 2013-04-27  Andreas Jaeger  <aj@suse.de>
52088         [BZ #15007]
52089         * stdlib/stdlib.h: Update guards for qecvt.
52090         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52091         <stdlib.h>.
52093 2013-04-27  Allan McRae  <allan@archlinux.org>
52095         * sysdeps/i386/fpu/libm-test-ulps: Update.
52097 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52099         [BZ #15406]
52100         * math/s_catan.c: Include <float.h>.
52101         (__catan): Ensure underflow exception occurs for underflowed
52102         result.
52103         * math/s_catanf.c: Include <float.h>.
52104         (__catanf): Ensure underflow exception occurs for underflowed
52105         result.
52106         * math/s_catanh.c: Include <float.h>.
52107         (__catanh): Ensure underflow exception occurs for underflowed
52108         result.
52109         * math/s_catanhf.c: Include <float.h>.
52110         (__catanhf): Ensure underflow exception occurs for underflowed
52111         result.
52112         * math/s_catanhl.c: Include <float.h>.
52113         (__catanhl): Ensure underflow exception occurs for underflowed
52114         result.
52115         * math/s_catanl.c: Include <float.h>.
52116         (__catanl): Ensure underflow exception occurs for underflowed
52117         result.
52118         * math/libm-test.inc (catan_test): Add more tests.
52119         (catanh_test): Likewise.
52121         [BZ #15405]
52122         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52123         underflowed result.
52124         * math/s_ccoshf.c (__ccoshf): Likewise.
52125         * math/s_ccoshl.c (__ccoshl): Likewise.
52126         * math/s_csin.c (__csin): Likewise.
52127         * math/s_csinf.c (__csinf): Likewise.
52128         * math/s_csinh.c (__csinh): Likewise.
52129         * math/s_csinhf.c (__csinhf): Likewise.
52130         * math/s_csinhl.c (__csinhl): Likewise.
52131         * math/s_csinl.c (__csinl): Likewise.
52132         * math/libm-test.inc (ccos_test): Add more tests.
52133         (ccosh_test): Likewise.
52134         (csin_test): Likewise.
52135         (csinh_test): Likewise.
52137 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52139         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52140         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52141         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52142         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52143         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52144         powerpc/power5+/fpu folders.
52145         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52148 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52152 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52154         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52155         additions to variable.
52156         [$(config-machine) = x86_64] (modules-names): Likewise.
52157         ($(objpfx)tst-audit3): Remove dependency.
52158         ($(objpfx)tst-audit3.out): Likewise.
52159         ($(objpfx)tst-audit4): Likewise.
52160         ($(objpfx)tst-audit4.out): Likewise.
52161         ($(objpfx)tst-audit5): Likewise.
52162         ($(objpfx)tst-audit5.out): Likewise.
52163         ($(objpfx)tst-audit6): Likewise.
52164         ($(objpfx)tst-audit6.out): Likewise.
52165         ($(objpfx)tst-audit7): Likewise.
52166         ($(objpfx)tst-audit7.out): Likewise.
52167         (tst-audit3-ENV): Remove variable.
52168         (tst-audit4-ENV): Likewise.
52169         (tst-audit5-ENV): Likewise.
52170         (tst-audit6-ENV): Likewise.
52171         (tst-audit7-ENV): Likewise.
52172         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52173         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52174         addition to variable.
52175         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52176         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52177         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52178         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52179         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52180         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52181         tst-audit3, tst-audit4 and tst-audit5.
52182         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52183         tst-audit6 and tst-audit7.
52184         [$(subdir) = elf] (modules-names): Add audit modules for those
52185         tests.
52186         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52187         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52188         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52189         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52190         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52191         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52192         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52193         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52194         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52195         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52196         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52197         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52198         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52199         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52200         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52201         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52202         Likewise.
52203         [$(subdir) = elf && $(config-cflags-avx) = yes]
52204         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52205         [$(subdir) = elf && $(config-cflags-avx) = yes]
52206         (CFLAGS-tst-auditmod4a.c): Likewise.
52207         [$(subdir) = elf && $(config-cflags-avx) = yes]
52208         (CFLAGS-tst-auditmod4b.c): Likewise.
52209         [$(subdir) = elf && $(config-cflags-avx) = yes]
52210         (CFLAGS-tst-auditmod6b.c): Likewise.
52211         [$(subdir) = elf && $(config-cflags-avx) = yes]
52212         (CFLAGS-tst-auditmod6c.c): Likewise.
52213         [$(subdir) = elf && $(config-cflags-avx) = yes]
52214         (CFLAGS-tst-auditmod7b.c): Likewise.
52215         * elf/tst-audit3.c: Move to ...
52216         * sysdeps/x86_64/tst-audit3.c: ... here.
52217         * elf/tst-audit4.c: Move to ...
52218         * sysdeps/x86_64/tst-audit4.c: ... here.
52219         * elf/tst-audit5.c: Move to ...
52220         * sysdeps/x86_64/tst-audit5.c: ... here.
52221         * elf/tst-audit6.c: Move to ...
52222         * sysdeps/x86_64/tst-audit6.c: ... here.
52223         * elf/tst-audit7.c: Move to ...
52224         * sysdeps/x86_64/tst-audit7.c: ... here.
52225         * elf/tst-auditmod3a.c: Move to ...
52226         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52227         * elf/tst-auditmod3b.c: Move to ...
52228         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52229         * elf/tst-auditmod4a.c: Move to ...
52230         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52231         * elf/tst-auditmod4b.c: Move to ...
52232         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52233         * elf/tst-auditmod5a.c: Move to ...
52234         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52235         * elf/tst-auditmod5b.c: Move to ...
52236         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52237         * elf/tst-auditmod6a.c: Move to ...
52238         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52239         * elf/tst-auditmod6b.c: Move to ...
52240         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52241         * elf/tst-auditmod6c.c: Move to ...
52242         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52243         * elf/tst-auditmod7a.c: Move to ...
52244         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52245         * elf/tst-auditmod7b.c: Move to ...
52246         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52248 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52250         [BZ #15366]
52251         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52252         define unconditionally.
52253         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52254         define unconditionally.
52255         (INT8_C, INT16_C, etc.): Likewise.
52257 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52259         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52260         __ehdr_start with hidden visibility.
52262         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52264 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52266         * math/libm-test.inc (cos_test): Use accurate hex constants.
52267         (sincost_test): Likewise.
52269 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52271         * math/libm-test.inc (catan_test): Add more tests.
52272         (catanh_test): Likewise.
52274         * math/s_catanf.c (__catanf): Use suffixed floating-point
52275         constants.
52276         * math/s_catanhf.c (__catanhf): Likewise.
52277         * math/s_catanhl.c (__catanhl): Likewise.
52278         * math/s_catanl.c (__catanl): Likewise.
52280         [BZ #15394]
52281         * math/s_catan.c (__catan): Calculate imaginary part of result
52282         with log1p not log unless computing log of number close to 0.
52283         * math/s_catanf.c (__catanf): Likewise.
52284         * math/s_catanl.c (__catanl): Likewise.
52285         * math/s_catanh.c (__catanh): Calculate real part of result with
52286         log1p not log unless computing log of number close to 0.
52287         * math/s_catanhf.c (__catanhf): Likewise.
52288         * math/s_catanhl.c (__catanhl): Likewise.
52289         * math/libm-test.inc (catan_test): Add more tests.
52290         (catanh_test): Likewise.
52291         * sysdeps/i386/fpu/libm-test-ulps: Update.
52292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52294 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52296         * benchtests/Makefile: Mention files in which fast and slow
52297         paths of math functions are implemented.
52299 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52301         * sysdeps/posix/timespec_get.c: New file.
52303 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52305         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52306         POWER.
52307         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52308         for POWER.
52309         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52310         powerpc/power5/fpu folders.
52311         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52312         * benchtests/Makefile: Add modf testcase.
52313         * benchtests/bench-modf.c: New file: Benchmark test for mo
52315 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52317         [BZ #14888]
52318         * time/Makefile (tests): Add tst-strptime-whitespace.
52319         * time/strptime_l.c (get_number): Use ISSPACE.
52320         (__strptime_internal): Likewise.
52321         * time/tst-strptime-whitespace.c: New test case.
52323 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52325         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52326         member.
52327         (_nss_files_init): Set it here.
52329 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52331         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52332         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52333         unsigned.
52335 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52337         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52339 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52341         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52342         size just once.
52344 2013-04-21  David S. Miller  <davem@davemloft.net>
52346         * po/ru.po: Update Russion translation from translation project.
52348 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52350         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52351         and setfsgid.
52353 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52355         * configure.in: Remove i386 configure warning. Remove i386 case.
52356         * configure: Regenerate.
52357         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52358         Add example to error message.
52359         * sysdeps/i386/configure: Regenerate.
52361 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52363         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52364         slowtan.
52365         * benchtests/cos-inputs: New file.
52366         * benchtests/slowcos-inputs: New file.
52367         * benchtests/slowcos.c: New file.
52368         * benchtests/slowtan-inputs: New file.
52369         * benchtests/slowtan.c: New file.
52370         * benchtests/tan-inputs: New file.
52372 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52374         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52375         considered kosher.
52377 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52379         * benchtests/Makefile: Include cppflags-iterator.mk to add
52380         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52382         * Makefile.in (bench-clean): New target.
52383         * benchtests/Makefile (bench-clean): Likewise.
52385 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52387         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52389 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52391         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52393 2013-04-15  Andreas Schwab  <schwab@suse.de>
52395         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52396         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52397         * nscd/pwdcache.c (cache_addpw): Likewise.
52398         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52399         more than recsize.
52401 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52403         * benchtests/Makefile (bench): Write all output to
52404         bench-out.tmp together.
52406 2013-04-15  Andreas Schwab  <schwab@suse.de>
52408         * nscd/nscd.c (main): Don't fork again after closing files.
52410 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52412         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52414         * benchtests/Rules (bench-deps): Collect dependencies into a
52415         single variable.  Add Makefile to dependencies.
52416         ($(objpfx)bench-%.c): Depend on bench-deps.
52418 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52419             Xavier Roche  <roche+kml2@exalead.com>
52421         [BZ #15361]
52422         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52423         just that it's a file descriptor.
52424         * manual/llio.texi (Synchronizing AIO Operations): Update description
52425         for EBADF error from aio_fsync.
52427 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52429         * Rules (bench): Move target definition...
52430         * benchtests/Makefile: ... here.
52432 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52434         * math/libm-test.inc (cos_test): Fix PI/2 test.
52435         (sincos_test): Likewise.
52436         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52437         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52439 2013-04-11  Andreas Schwab  <schwab@suse.de>
52441         [BZ #13988]
52442         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52443         accept exponent character only when digits were seen.
52444         * stdio-common/Makefile (tests): Add bug26.
52445         * stdio-common/bug26.c: New file.
52447         [BZ #14293]
52448         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52449         non-freeable.
52451 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52453         * Makeconfig (rtld-prefix): Define built linker prefix.
52454         * Rules (run-bench): Use it.
52455         * math/Makefile (run-regen-ulps): Likewise.
52457         * Rules (bench): Remove eval.
52459 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52460             Roland McGrath  <roland@hack.frob.com>
52461             Ondrej Bilka  <neleai@seznam.cz>
52463         [BZ #15346]
52464         * time/getdate.c: Include ctype.h and alloca.h.
52465         (__getdate_r): Trim leading and trailing spaces of input.
52466         * time/tst-getdate.c (tests): Add tests with leading and
52467         trailing spaces.
52469 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52471         [BZ #14280]
52472         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52473         when computing value.
52475 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52477         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52478         Use testrun.sh to run libm tests.
52480         [BZ #15309]
52481         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52483 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52485         [BZ #15264]
52486         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52488 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52490         * Makefile.in (regen-ulps): New target.
52491         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52492         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52493         [ifneq (no,$(PERL)] (regen-ulps): New target.
52494         [ifeq (no,$(PERL)] (regen-ulps): New target.
52495         * math/libm-test.inc (ulps_file_name): Define.
52496         (output_dir): New variable.
52497         (options): Add "output-dir" option.
52498         (parse_opt): Handle 'o' case.
52499         (main): If output_dir is non-NULL use it as a prefix
52500         otherwise use "".
52501         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52503 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52505         [BZ #10060, #10062]
52506         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52507         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52508         fail configure if __sync_val_compare_and_swap is not inlined.
52509         * sysdeps/i386/configure: Regenerate.
52510         * configure.in: Build for i686 when configured for i386.
52511         * configure: Regenerate.
52512         * README: Remove i386 reference.
52514 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52516         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52517         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52519 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52521         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52522         (lmsnanval): New variables.
52523         (F): Add conversion tests.
52524         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52525         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52527         * stdio-common/tstdiomisc.c (F): Properly collect individual
52528         tests' results.
52530         [BZ #14686, #15336]
52531         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52532         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52533         Instead, use input NaN values or generate a qNaN by arithmetic
52534         operation.  Also fix bugs to comply with the standard.
52535         * math/libm-test.inc (remainder_test): Add more tests.
52537         [BZ #15335, #15342]
52538         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52539         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52540         input NaN values or generate a qNaN by arithmetic operation.
52542         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52543         unreachable code.
52545         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52546         definitions.
52548 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52550         [BZ #14478]
52551         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52552         underflowed result.
52553         * math/s_cexpf.c (__cexpf): Likewise.
52554         * math/s_cexpl.c (__cexpl): Likewise.
52555         * math/libm-test.inc (cexp_test): Add more tests.
52557 2013-04-03  Andreas Schwab  <schwab@suse.de>
52559         [BZ #15330]
52560         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52561         order arrays from heap if bigger than alloca cutoff.
52563 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52565         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52566         (SNAN_TESTS_double): Refer to GCC PR56831.
52567         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52568         GCC PR56828.
52570 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52572         * Rules (bench): Move bench.out after the run is complete.
52574         * Rules (bench): Echo currently running benchmark.
52576         * benchtests/Makefile (bench): Add atan and slowatan.
52577         * benchtests/atan-inputs: New file.
52578         * benchtests/slowatan-inputs: New file.
52579         * benchtests/slowatan.c: New file.
52581         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52582         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52583         its value.
52585         [BZ #15305]
52586         * sysdeps/unix/sysv/linux/kernel-features.h
52587         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52588         __ASSUME_XFS_RESTRICTED_CHOWN.
52589         * sysdeps/unix/sysv/linux/pathconf.c
52590         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52591         Save and restore errno.
52593 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52595         [BZ #15327]
52596         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52597         arguments using __kernel_casinh.
52598         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52599         arguments using __kernel_casinhf.
52600         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52601         arguments using __kernel_casinhl.
52602         * math/libm-test.inc (cacosh_test): Add more tests.
52603         * sysdeps/i386/fpu/libm-test-ulps: Update.
52604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52606 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52608         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52609         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52611         * bench/Makefile (bench): Add sin and slowsin.
52612         * benchtests/sin-inputs: New file.
52613         * benchtests/slowsin-inputs: New file.
52614         * benchtests/slowsin.c: New file.
52616         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52617         (bench): Add slowexp and slowpow.
52618         (exp-ITER): Increase iterations.
52619         (pow-ITER): Likewise.
52620         * benchtests/exp-inputs: Change input.
52621         * benchtests/pow-inputs: Likewise.
52622         * benchtests/slowexp-inputs: New file.
52623         * benchtests/slowexp.c: New file.
52624         * benchtests/slowpow-inputs: New file.
52625         * benchtests/slowpow.c: New file.
52627 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52629         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52630         instructions.
52631         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52632         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52633         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52634         * benchtests/Makefile: Add rint benchtest.
52635         * benchtests/rint-inputs: Input for rint benchtest.
52637 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52639         * Versions.def (libm): Add GLIBC_2.18.
52640         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52641         hidden libm prototypes.
52642         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52643         * math/Makefile (libm-calls): Add s_issignaling.
52644         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52645         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52646         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52647         declaration.
52648         * math/math.h [__USE_GNU] (issignaling): New macro.
52649         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52650         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52651         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52652         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52653         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52654         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52655         * manual/arith.texi (issignaling): New section.
52656         * manual/libm-err-tab.pl (@all_functions): Update comment.
52657         * math/gen-libm-test.pl (parse_args): Apply special handling for
52658         issignaling.
52659         * math/libm-test.inc (print_float, issignaling_test): New
52660         functions.
52661         (check_float_internal): Add issignaling checks.
52662         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52663         default definition.
52664         * sysdeps/powerpc/math-tests.h: New file.
52665         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52666         tests.
52667         * math/test-snan.c (TEST_FUNC): Likewise.
52669 2013-03-30  David S. Miller  <davem@davemloft.net>
52671         * po/de.po: Update from translation team.
52673 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52675         [BZ #10357]
52676         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52677         imaginary part less than 1.0 and real part less than 0.5
52678         specially.
52679         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52680         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52681         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52682         (cacos_test): Add more tests.
52683         (casin_test): Likewise.
52684         (casinh_test): Likewise.
52685         * sysdeps/i386/fpu/libm-test-ulps: Update.
52686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52688 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52690         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52691         ONE with its value.
52693         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52694         (__pow_mp): Replace ONE and MONE with their values.
52695         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52696         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52697         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52698         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52699         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52700         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52702         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52704         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52705         (__pow_mp): Replace ZERO and MZERO with their values.
52706         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52707         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52708         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52709         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52710         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52711         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52712         (__sqr): Likewise.
52714         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52716         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52718 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52720         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52721         Declare with __attribute__ ((weak)).
52722         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52723         Call __call_tls_dtors only if it's not NULL.
52725 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52727         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52728         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52729         magic __ehdr_start linker symbol if it's defined.
52730         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52731         them up here if it was already done.
52733         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52734         (_dl_aux_init): Use const in cast when setting it.
52735         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52736         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52737         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52739         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52740         Declare them here.
52741         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52742         * csu/libc-tls.c: Nor here.
52743         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52745         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52746         (__libc_message): Never call vsyslog.
52748 2013-03-28  Alan Modra  <amodra@gmail.com>
52750         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52751         Define as empty.
52752         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52753         Likewise.
52755 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52757         [BZ #15214]
52758         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52759         underflow.
52760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52762 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52764         [BZ #15304]
52765         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52766         Don't add gid passed as argument.
52768         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52770 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52772         [BZ #15307]
52773         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52774         imaginary part between 1.0 and 1.5 and real part less than 0.5
52775         specially.
52776         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52777         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52778         * math/libm-test.inc (cacos_test): Add more tests.
52779         (casin_test): Likewise.
52780         (casinh_test): Likewise.
52781         * sysdeps/i386/fpu/libm-test-ulps: Update.
52782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52784 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52786         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52787         constants.
52788         (norm): Likewise.
52789         (denorm): Likewise.
52790         (__dbl_mp): Likewise.
52791         (add_magnitudes): Likewise.
52792         (sub_magnitudes): Likewise.
52793         (__add): Likewise.
52794         (__sub): Likewise.
52795         (__mul): Likewise.
52796         (__sqr): Likewise.
52797         (__inv): Likewise.
52798         (__dvd): Likewise.
52800         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52801         commented code.
52802         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52803         (__dubcos): Likewise.
52804         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52805         (__ieee754_acos): Likewise.
52806         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52807         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52808         (__exp1): Likewise.
52809         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52810         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52811         (log1): Likewise.
52812         (my_log2): Likewise.
52813         (checkint): Likewise.
52814         * sysdeps/ieee754/dbl-64/e_remainder.c
52815         (__ieee754_remainder): Likewise.
52816         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52817         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52818         (bsloww): Likewise.
52819         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52821         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52822         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52823         MANTISSA_STORE_T to store computations on mantissa.  Use
52824         macros for rounding and division.
52825         (denorm): Likewise.
52826         (__dbl_mp): Likewise.
52827         (add_magnitudes): Likewise.
52828         (sub_magnitudes): Likewise.
52829         (__mul): Likewise.
52830         (__sqr): Likewise.
52831         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52832         powers of two in terms of TWOPOW macro.
52833         (mp_no): Make type of mantissa as MANTISSA_T.
52834         [!RADIXI]: Define RADIXI.
52835         [!TWO52]: Define TWO52.
52836         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52838 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52840         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52841         llroundl symbol when building for PPC32.
52843 2013-03-24  Mark H Weaver  <mhw@netris.org>
52845         * manual/arith.texi (Normalization Functions): Fix prototypes for
52846         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52848 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52850         [BZ #13889]
52851         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52852         high value to check if expl overflow.
52853         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52854         to check for underflow and overflow.
52855         * math/libm-test.inc: Add exp test.
52857 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52859         [BZ #11120]
52860         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52861         with NOT_IN_libc.
52863 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52865         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52866         symbol.
52868 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52870         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52871         wrap blocks consisting of several statements.
52873         * sysdeps/generic/math-tests.h: New file.
52874         * sysdeps/i386/fpu/math-tests.h: Likewise.
52875         * math/test-snan.c: Include it.
52876         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52878 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52880         [BZ #15285]
52881         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52882         (__ieee754_j0l): Do not improve calculations using cos of twice
52883         input for inputs above LDBL_MAX / 2.0L.
52884         (__ieee754_y0l): Likewise.
52885         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52886         (__ieee754_j1l): Do not improve calculations using cos of twice
52887         input for inputs above LDBL_MAX / 2.0L.
52888         (__ieee754_y1l): Likewise.
52889         * math/libm-test.inc (j0_test): Add another test.
52890         (j1_test): Likewise.
52891         (y0_test): Likewise.
52892         (y1_test): Likewise.
52893         * sysdeps/i386/fpu/libm-test-ulps: Update.
52895 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52897         * Rules ($(objpfx)bench-%.c): Include code from a C source
52898         file.
52900 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52902         [BZ #15287]
52903         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52904         imaginary part 1.0 and real part less than 0.5 specially.
52905         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52906         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52907         * math/libm-test.inc (cacos_test): Add more tests.
52908         (casin_test): Likewise.
52909         (casinh_test): Likewise.
52910         * sysdeps/i386/fpu/libm-test-ulps: Update.
52911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52913 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52915         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52916         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52918 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52920         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52921         * config.make.in (config-cflags-sse4): Remove variable.
52922         (config-cflags-avx): Likewise.
52923         (config-cflags-sse2avx): Likewise.
52924         (config-cflags-novzeroupper): Likewise.
52925         (config-asflags-i686): Likewise.
52926         (have-mfma4): Likewise.
52927         (have-as-vis3): Likewise.
52928         (MIG): Likewise.
52929         * configure.in (MIG): Do not AC_SUBST.
52930         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52931         (libc_cv_cc_sse4): Do not AC_SUBST.
52932         (libc_cv_cc_avx): Likewise.
52933         (libc_cv_cc_sse2avx): Likewise.
52934         (libc_cv_cc_novzeroupper): Likewise.
52935         (libc_cv_cc_fma4): Likewise.
52936         (libc_cv_as_i686): Likewise.
52937         (libc_cv_sparc_as_vis3): Likewise.
52938         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52939         LIBC_CONFIG_VAR.
52940         (config-asflags-i686): Likewise.
52941         (config-cflags-avx): Likewise.
52942         (config-cflags-sse2avx): Likewise.
52943         (have-mfma4): Likewise.
52944         (config-cflags-novzeroupper): Likewise.
52945         * sysdeps/mach/configure.in (MIG): Likewise.
52946         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52947         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52948         LIBC_CONFIG_VAR.
52949         (config-cflags-avx): Likewise.
52950         (config-cflags-sse2avx): Likewise.
52951         (have-mfma4): Likewise.
52952         (config-cflags-novzeroupper): Likewise.
52953         * configure: Regenerated.
52954         * sysdeps/i386/configure: Likewise.
52955         * sysdeps/mach/configure: Likewise.
52956         * sysdeps/sparc/configure: Likewise.
52957         * sysdeps/x86_64/configure: Likewise.
52959 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52961         [BZ #14812]
52962         * locale/programs/localedef.c (options): Put N_ translation marker
52963         on argument names, not just descriptions.
52965 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52967         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52969 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52971         [BZ #14176]
52972         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52974 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52976         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52977         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52978         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52979         [!BEFORE_ABORT] (before_abort): New function.
52980         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52981         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52982         (writev_for_fatal): New function.
52983         (WRITEV_FOR_FATAL): New macro; call that.
52984         (backtrace_and_maps): New function.
52985         (BEFORE_ABORT): New macro; call that.
52986         (struct str_list): Type removed.
52987         (__libc_message, __libc_fatal): Functions removed.
52988         Include <sysdeps/posix/libc_fatal.c> instead.
52990 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52992         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52993         constants.
52994         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52995         double constants.
52997 2013-03-19  Andreas Schwab  <schwab@suse.de>
52999         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53000         * sysdeps/gnu/configure: Regenerate.
53002         * configure.in: Substitute libc_cv_rtlddir.
53003         * configure: Regenerate.
53004         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53005         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53006         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53007         * elf/Makefile (install-others, CFLAGS-interp.c)
53008         (ldso_install, common-ldd-rewrite): Likewise.
53009         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53010         $(inst_slibdir)/$(rtld-installed-name).
53011         * scripts/rellns-sh: Add -p option.
53012         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53013         for source.
53015 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53017         * manual/nptl.texi: Renamed to ...
53018         * manual/threads.texi: ... this.
53019         * manual/Makefile (chapters): Update.
53021 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53023         [BZ #14812]
53024         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53025         on argument names, not just descriptions.
53026         * malloc/memusagestat.c (options): Likewise.
53027         * nss/getent.c (options): Likewise.
53029 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53031         [BZ #14812]
53032         * iconv/iconv_prog.c (options): Put N_ translation marker
53033         on argument names, not just descriptions.
53034         * iconv/iconvconfig.c (options): Likewise.
53036 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53038         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53039         implementation which is faster on all x86_64 architectures.
53040         Tested on AMD, Intel Nehalem, SNB, IVB.
53041         * sysdeps/x86_64/strnlen.S: Likewise.
53043         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53044         Remove all multiarch strlen and strnlen versions.
53045         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53046         Remove strlen and strnlen related parts.
53048         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53049         Inline strlen part.
53050         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53052         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53053         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53054         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53055         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53056         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53057         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53059 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53061         * manual/memory.texi (Malloc Tunable Parameters):
53062         Sort parameters alphabetically. Add comments for missing entries.
53064 2013-03-17  David S. Miller  <davem@davemloft.net>
53066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53068 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53070         [BZ #15283]
53071         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53072         for arguments at most half maximum finite value.
53073         * math/libm-test.inc (j0_test): Add more tests.
53074         (j1_test): Likewise.
53075         (y0_test): Likewise.
53076         (y1_test): Likewise.
53077         * sysdeps/i386/fpu/libm-test-ulps: Update.
53078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53080         [BZ #14155]
53081         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53082         1 / x and functions P and Q for arguments above 0x1p256L.
53083         (__ieee754_y0l): Likewise.
53084         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53085         (__ieee754_y1l): Likewise.
53086         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53087         (j1_test): Likewise.
53088         (y0_test): Likewise.
53089         (y1_test): Likewise.
53091 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53093         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53094         variable.
53096 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53098         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53099         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53100         zero since it's initialized to EXEC_PAGESIZE.
53102         * sysdeps/unix/sysv/linux/ldsodefs.h
53103         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53104         * sysdeps/generic/ldsodefs.h: ... here.
53106 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53108         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53110         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53111         math/test-snan.c.
53112         * math/test-snan.c: Renamed from
53113         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53114         * math/Makefile (tests): Add test-snan.
53115         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53116         test-powerpc-snan.
53118         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53119         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53120         functions.
53121         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53122         __builtin_nan family of functions.
53123         * math/libm-test.inc (initialize): Initialize qnan_value with
53124         __builtin_nan family of functions.
53125         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53126         Remove variables.
53127         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53128         Remove functions.
53129         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53130         storage class.  Initialize qNaN_var and sNaN_var with
53131         __builtin_nan and __builtin_nans families of functions,
53132         respectively.
53134         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53135         (sqrt_test): Remove duplicate test with qNaN input.
53136         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53137         (round_test, signbit_test, significand_test): Note missing +/-Inf
53138         as well as qNaN tests.
53140         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53141         qNaN_var.  Fix a few strings, too.
53142         * math/libm-test.inc (nan_value): Rename to qnan_value.
53143         * math/gen-libm-test.pl (%beautify): Adjust to that.
53144         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53145         * math/test-misc.c (main): Likewise.
53146         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53147         to __qnan_bytes, and __qnan_union, respectively.
53148         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53149         Likewise.
53150         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53151         and lqnanval, respectively.
53152         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53153         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53154         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53155         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53157         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53158         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53159         doubles.
53161         * math/test-misc.c (main): Fix copy'n'pastos.
53162         * misc/tst-efgcvt.c (special): Likewise.
53164         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53165         Remove declarations.
53167 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53169         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53170         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53171         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53172         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53174 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53176         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53177         macro to return vdso values correctly in IFUNC implementations.
53178         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53179         Optimization by using IFUNC.
53181 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53182             Richard Henderson  <rth@redhat.com>
53183             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53185         * Makefile.in (bench): New target.
53186         * NEWS: Mention the benchmark framework.
53187         * Rules (bench): Likewise.
53188         (binaries-bench): Generate binaries for functions to
53189         benchmark.
53190         * benchtests/Makefile: New makefile for benchmark tests.
53191         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53192         programs.
53193         * benchtests/exp-inputs: New input file for EXP function.
53194         * benchtests/pow-inputs: New input file for POW function.
53195         * scripts/bench.pl: New script to generate source files for
53196         benchmark programs.
53198 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53200         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53201         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53202         computations on mantissa.  Use macros for rounding and
53203         division.
53204         (denorm): Likewise.
53205         (__dbl_mp): Likewise.
53206         (add_magnitudes): Likewise.
53207         (sub_magnitudes): Likewise.
53208         (__mul): Likewise.
53209         (__sqr): Likewise.
53210         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53211         powers of two in terms of TWOPOW macro.
53212         (mp_no): Make type of mantissa as MANTISSA_T.
53213         [!RADIXI]: Define RADIXI.
53214         [!TWO52]: Define TWO52.
53215         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53217         * manual/nptl.texi (cindex): Modify threads to pthreads.
53219 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53221         * sysdeps/x86_64/preconfigure: Regenerated.
53223 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53225         [BZ #14155]
53226         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53227         0x1p28 and above.
53228         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53229         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53230         0x1p28 and above.
53231         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53232         * math/libm-test.inc (j0_test): Do not allow one spurious
53233         underflow exception.
53234         (y1_test): Likewise.
53236 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53238         * manual/Makefile (chapters): Add nptl.
53239         * manual/debug.texi (Debugging Support): Add link to Threads
53240         chapter.
53241         * manual/nptl.texi: New file.
53243         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53245 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53247         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53248         for non-NULL pointer before the memory validity test. Pointed
53249         out by Holger Brunck <holger.brunck@keymile.com>.
53251 2013-03-13  Andreas Schwab  <schwab@suse.de>
53253         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53254         instead of .os.
53256 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53258         * timezone/zic.c: Update from tzcode 2013b.
53260 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53262         * manual/install.texi (Configuring and compiling):
53263         Mention i686 and i586.
53264         * INSTALL: Regenerate.
53266 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53268         * sysdeps/init_array/elf-init.c: New file.
53269         * csu/elf-init.c
53270         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53271         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53273         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53274         __gmon_start__ as global, but as static with a .preinit_array pointer.
53275         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53276         * sysdeps/init_array/crti.S: New file, empty except for comments.
53277         * sysdeps/init_array/crtn.S: Likewise.
53279 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53281         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53282         definining bcopy.
53283         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53284         Remove Prefer_SSE_for_memop.
53285         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53286         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53287         HAS_PREFER_SSE_FOR_MEMOP.
53288         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53289         memset-x86-64.
53290         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53291         Remove bzero, memset ifunc support.
53292         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53293         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53294         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53295         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53297 2013-03-11  Andreas Schwab  <schwab@suse.de>
53299         [BZ #15234]
53300         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53301         by SHLIB_COMPAT.
53302         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53303         (GLIBC_2.16): Remove pthread_atfork.
53305 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53307         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53308         (ptestcases.h): Likewise.
53310 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53312         * Makeconfig ($(common-objpfx)config.status): Depend on
53313         sysdeps/*/preconfigure{,.in} too.
53315 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53317         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53318         (__free_hook): Use void * instead of __malloc_ptr_t.
53319         (__malloc_hook): Likewise.
53320         (__realloc_hook): Likewise.
53321         (__memalign_hook): Likewise.
53322         (__after_morecore_hook): Likewise.
53323         * malloc/arena.c (save_malloc_hook): Likewise.
53324         (save_free_hook): Likewise.
53325         * malloc/hooks.c (malloc_hook_ini): Likewise.
53326         (realloc_hook_ini): Likewise.
53327         (memalign_hook_ini): Likewise.
53328         * malloc/malloc.c (malloc_hook_ini): Likewise.
53329         (realloc_hook_ini): Likewise.
53330         (memalign_hook_ini): Likewise.
53331         (__free_hook): Likewise.
53332         (__malloc_hook): Likewise.
53333         (__realloc_hook): Likewise.
53334         (__memalign_hook): Likewise.
53335         (__libc_malloc): Likewise.
53336         (__libc_free): Likewise.
53337         (__libc_realloc): Likewise.
53338         (__libc_memalign): Likewise.
53339         (__libc_valloc): Likewise.
53340         (__libc_pvalloc): Likewise.
53341         (__libc_calloc): Likewise.
53342         (__posix_memalign): Likewise.
53343         * malloc/morecore.c (__sbrk): Likewise.
53344         (__default_morecore): Likewise.
53346         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53348         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53349         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53350         __malloc_ptrdiff_t.
53352         * malloc/malloc.h (__malloc_size_t): Remove macro.
53353         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53354         __malloc_size_t.
53355         (old_memalign_hook): Likewise.
53356         (old_realloc_hook): Likewise.
53357         (struct hdr): Likewise.
53358         (flood): Likewise.
53359         (mallochook): Likewise.
53360         (memalignhook): Likewise.
53361         (reallochook): Likewise.
53362         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53363         (tr_old_realloc_hook): Likewise.
53364         (tr_old_memalign_hook): Likewise.
53365         (tr_mallochook): Likewise.
53366         (tr_reallochook): Likewise.
53367         (tr_memalignhook): Likewise.
53369 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53371         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53372         default_ldbl_pack and using as default implementation.
53373         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53374         implementation.
53375         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53376         redundant definition.
53377         (ldbl_insert_mantissa): Likewise.
53378         (ldbl_canonicalize): Likewise.
53379         (ldbl_nearbyint): Likewise.
53380         (ldbl_pack): Rename to ldbl_pack_ppc.
53381         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53382         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53383         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53385 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53387         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53388         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53389         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53390         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53391         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53392         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53393         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53394         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53396 2013-03-07  Andreas Jaeger  <aj@suse.de>
53398         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53399         bits/mman-linux.h.
53401 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53403         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53404         Include mpa.h and declare __MPEXP.
53405         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53406         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53407         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53408         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53409         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53410         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53411         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53413         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53414         (__slowpow): Use long double EXPL and LOGL functions to
53415         compute POW.
53416         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53417         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53418         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53419         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53420         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53421         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53423         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53424         intermediate variable to calculate exponent.
53425         (__sqr): Likewise.
53426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53427         Likewise.
53428         (__sqr): Likewise.
53430         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53431         [!NO__SQR]: Define __sqr.
53432         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53433         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53434         sysdeps/ieee754/dbl-64/mpa.c.
53435         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53437         [BZ #12723]
53438         * posix/Makefile (tests): Add tst-pathconf.
53439         * posix/tst-pathconf.c: New test case.
53440         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53441         _PC_PIPE_BUF.
53442         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53444 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53446         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53448 2013-03-06  Andreas Jaeger  <aj@suse.de>
53450         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53451         definition via __MAP_ANONYMOUS.
53453         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53454         it's not part of Linux headers.
53456         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53457         (MAP_HUGE_MASK): Define.
53459         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53460         Define.
53461         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53462         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53463         Define.
53464         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53465         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53466         Define.
53467         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53468         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53469         Define.
53470         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53472         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53473         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53474         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53475         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53476         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53477         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53479         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53480         Handle f2fs.
53482         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53483         Handle f2fs and efivarfs.
53485         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53486         f2fs.
53488         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53489         (EFIVARFS_MAGIC): Add.
53490         (F2FS_LINK_MAX): Add.
53492 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53494         * stdio-common/vfprintf.c: Replace __builtin_expect with
53495         __glibc_unlikely.
53497 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53499         [BZ #13550]
53500         * sysdeps/generic/bp-sym.h: Remove file.
53501         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53502         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53503         <bp-sym.h> and <bp-asm.h>.
53504         (__longjmp): Don't use BP_SYM.
53505         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53506         and <bp-asm.h>.
53507         (memcpy): Don't use BP_SYM.
53508         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53509         <bp-sym.h> and <bp-asm.h>.
53510         (memcpy): Don't use BP_SYM.
53511         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53512         <bp-asm.h>.
53513         (memcpy): Don't use BP_SYM.
53514         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53515         <bp-asm.h>.
53516         (memset): Don't use BP_SYM.
53517         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53518         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53519         (__bzero): Don't use BP_SYM.
53520         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53521         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53522         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53523         <bp-sym.h> and <bp-asm.h>.
53524         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53525         pointers.
53526         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53527         <bp-sym.h> and <bp-asm.h>.
53528         (memcpy): Don't use BP_SYM.
53529         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53530         <bp-sym.h> and <bp-asm.h>.
53531         (memset): Don't use BP_SYM.
53532         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53533         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53534         (__bzero): Don't use BP_SYM.
53535         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53536         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53537         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53538         <bp-sym.h> and <bp-asm.h>.
53539         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53540         pointers.
53541         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53542         <bp-sym.h> and <bp-asm.h>.
53543         (memcpy): Don't use BP_SYM.
53544         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53545         <bp-sym.h> and <bp-asm.h>.
53546         (memset): Don't use BP_SYM.
53547         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53548         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53549         (__bzero): Don't use BP_SYM.
53550         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53551         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53552         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53553         <bp-sym.h> and <bp-asm.h>.
53554         (__memchr): Don't use BP_SYM.
53555         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53556         <bp-sym.h> and <bp-asm.h>.
53557         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53558         pointers.
53559         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53560         <bp-sym.h> and <bp-asm.h>.
53561         (memcpy): Don't use BP_SYM.
53562         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53563         <bp-sym.h> and <bp-asm.h>.
53564         (__mempcpy): Don't use BP_SYM.
53565         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53566         <bp-sym.h> and <bp-asm.h>.
53567         (__memrchr): Don't use BP_SYM.
53568         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53569         <bp-sym.h> and <bp-asm.h>.
53570         (memset): Don't use BP_SYM.
53571         (__bzero): Likewise.
53572         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53573         <bp-sym.h> and <bp-asm.h>.
53574         (__rawmemchr): Don't use BP_SYM.
53575         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53576         <bp-sym.h> and <bp-asm.h>.
53577         (__STRCMP): Don't use BP_SYM.
53578         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53579         <bp-sym.h> and <bp-asm.h>.
53580         (strchr): Don't use BP_SYM.
53581         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53582         <bp-sym.h> and <bp-asm.h>.
53583         (__strchrnul): Don't use BP_SYM.
53584         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53585         <bp-sym.h> and <bp-asm.h>.
53586         (strlen): Don't use BP_SYM.
53587         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53588         <bp-sym.h> and <bp-asm.h>.
53589         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53590         pointers.
53591         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53592         <bp-sym.h> and <bp-asm.h>.
53593         (__strnlen): Don't use BP_SYM.
53594         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53595         <bp-sym.h> and <bp-asm.h>.
53596         (__GI__setjmp): Don't use BP_SYM.
53597         (_setjmp): Likewise.
53598         (__sigsetjmp): Likewise.
53599         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53600         (L(start_addresses)): Don't use BP_SYM.
53601         (_start): Likewise.
53602         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53603         <bp-asm.h>.
53604         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53605         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53606         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53607         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53608         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53609         <bp-asm.h>.
53610         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53611         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53612         about bounded pointers.
53613         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53614         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53615         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53616         <bp-asm.h>.
53617         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53618         about bounded pointers.  Remove GKM FIXME comments.
53619         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53620         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53621         <bp-asm.h>.
53622         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53623         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53624         Remove GKM FIXME comments.
53625         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53626         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53627         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53628         <bp-asm.h>.
53629         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53630         about bounded pointers.  Remove GKM FIXME comment.
53631         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53632         and <bp-asm.h>.
53633         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53634         pointers.
53635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53636         <bp-sym.h> and <bp-asm.h>.
53637         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53639         <bp-sym.h> and <bp-asm.h>.
53640         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53641         comment.
53643 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53645         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53646         call free(NULL).
53648 2013-03-05  David S. Miller  <davem@davemloft.net>
53650         * po/es.po: Update from translation team.
53652 2013-03-05  Andreas Jaeger  <aj@suse.de>
53654         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53655         <bits/mman-linux.h>.
53656         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53657         is fine.
53658         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53659         <bits/mman-linux.h> to end of file.
53660         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53661         is fine.
53662         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53663         <bits/mman-linux.h> to end of file.
53664         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53665         is fine.
53666         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53667         <bits/mman-linux.h> to end of file.
53669         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53670         (MCL_CURRENT, MCL_FUTURE): Define here.
53672 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53674         [BZ #15232]
53675         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53676         attribute_hidden.
53677         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53679 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53681         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53682         fourth parameter needed for rt_sigprocmask syscall.
53683         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53684         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53685         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53686         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53687         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53688         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53690 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53692         [BZ #13550]
53693         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53694         comment about bounded pointers.
53695         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53696         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53698 2013-03-04  Andreas Jaeger  <aj@suse.de>
53700         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53701         common definitions.
53703         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53704         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53705         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53706         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53707         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53708         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53710 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53712         [BZ #15055]
53713         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53714         __ieee754_sqrl instead of __sqrl.
53716 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53718         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53719         * sysdeps/powerpc/fpu_control.h: ... here.
53720         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53721         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53722         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53723         * sysdeps/powerpc/bits/mathinline.h: ... here.
53725 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53727         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53728         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53729         to just [NEED_DL_SYSINFO_DSO].
53730         * elf/dl-support.c: Likewise.
53731         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53732         * elf/rtld.c (dl_main): Likewise.
53733         * elf/setup-vdso.h (setup_vdso): Likewise.
53734         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53735         * sysdeps/unix/sysv/linux/dl-sysdep.c
53736         (_dl_discover_osversion): Likewise.
53738 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53740         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53741         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53743 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53745         * NEWS: Mention libm performance improvements and non-x86 PI
53746         futex support.
53748         * csu/libc-start.c (__pthread_initialize_minimal): Change
53749         function arguments.
53750         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53752 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53754         [BZ #13550]
53755         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53756         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53757         <bp-sym.h> and <bp-asm.h>.
53758         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53759         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53760         and <bp-asm.h>.
53761         (memcpy): Don't use BP_SYM.
53762         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53763         <bp-asm.h>.
53764         (__mpn_add_n): Don't use BP_SYM.
53765         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53766         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53767         and <bp-asm.h>.
53768         (__mpn_addmul_1): Don't use BP_SYM.
53769         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53770         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53771         <bp-sym.h>.
53772         (_setjmp): Don't use BP_SYM.
53773         (__novmx_setjmp): Likewise.
53774         (__GI__setjmp): Likewise.
53775         (__vmx_setjmp): Likewise.
53776         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53777         <bp-sym.h>.
53778         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53779         (__bzero): Don't use BP_SYM.
53780         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53781         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53782         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53783         <bp-sym.h> and <bp-asm.h>.
53784         (memcpy): Don't use BP_SYM.
53785         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53786         <bp-sym.h> and <bp-asm.h>.
53787         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53788         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53789         <bp-sym.h> and <bp-asm.h>.
53790         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53791         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53792         <bp-asm.h>.
53793         (__mpn_lshift): Don't use BP_SYM.
53794         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53795         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53796         <bp-asm.h>.
53797         (memset): Don't use BP_SYM.
53798         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53799         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53800         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53801         <bp-asm.h>.
53802         (__mpn_mul_1): Don't use BP_SYM.
53803         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53804         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53805         <bp-sym.h> and <bp-asm.h>.
53806         (memcmp): Don't use BP_SYM.
53807         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53808         <bp-sym.h> and <bp-asm.h>.
53809         (memcpy): Don't use BP_SYM.
53810         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53811         <bp-sym.h> and <bp-asm.h>.
53812         (memset): Don't use BP_SYM.
53813         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53814         <bp-sym.h> and <bp-asm.h>.
53815         (strncmp): Don't use BP_SYM.
53816         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53817         <bp-sym.h> and <bp-asm.h>.
53818         (memcpy): Don't use BP_SYM.
53819         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53820         <bp-sym.h> and <bp-asm.h>.
53821         (memset): Don't use BP_SYM.
53822         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53823         <bp-sym.h> and <bp-asm.h>.
53824         (__memchr): Don't use BP_SYM.
53825         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53826         <bp-sym.h> and <bp-asm.h>.
53827         (memcmp): Don't use BP_SYM.
53828         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53829         <bp-sym.h> and <bp-asm.h>.
53830         (memcpy): Don't use BP_SYM.
53831         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53832         <bp-sym.h> and <bp-asm.h>.
53833         (__mempcpy): Don't use BP_SYM.
53834         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53835         <bp-sym.h> and <bp-asm.h>.
53836         (__memrchr): Don't use BP_SYM.
53837         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53838         <bp-sym.h> and <bp-asm.h>.
53839         (memset): Don't use BP_SYM.
53840         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53841         <bp-sym.h> and <bp-asm.h>.
53842         (__rawmemchr): Don't use BP_SYM.
53843         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53844         <bp-sym.h> and <bp-asm.h>.
53845         (__STRCMP): Don't use BP_SYM.
53846         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53847         <bp-sym.h> and <bp-asm.h>.
53848         (strchr): Don't use BP_SYM.
53849         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53850         <bp-sym.h> and <bp-asm.h>.
53851         (__strchrnul): Don't use BP_SYM.
53852         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53853         <bp-sym.h> and <bp-asm.h>.
53854         (strlen): Don't use BP_SYM.
53855         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53856         <bp-sym.h> and <bp-asm.h>.
53857         (strncmp): Don't use BP_SYM.
53858         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53859         <bp-sym.h> and <bp-asm.h>.
53860         (__strnlen): Don't use BP_SYM.
53861         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53862         <bp-asm.h>.
53863         (__mpn_rshift): Don't use BP_SYM.
53864         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53865         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53866         <bp-sym.h> and <bp-asm.h>.
53867         (__sigsetjmp): Don't use BP_SYM.
53868         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53869         (L(start_addresses)): Don't use BP_SYM.
53870         (_start): Likewise.
53871         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53872         <bp-asm.h>.
53873         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53874         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53875         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53876         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53877         <bp-asm.h>.
53878         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53879         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53880         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53881         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53882         <bp-asm.h>.
53883         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53884         comments.
53885         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53886         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53887         <bp-asm.h>.
53888         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53889         FIXME comments.
53890         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53891         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53892         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53893         <bp-asm.h>.
53894         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53895         comment.
53896         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53897         and <bp-asm.h>.
53898         (strncmp): Don't use BP_SYM,
53899         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53900         <bp-asm.h>.
53901         (__mpn_sub_n): Don't use BP_SYM.
53902         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53903         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53904         and <bp-asm.h>.
53905         (__mpn_submul_1): Don't use BP_SYM.
53906         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53908         <bp-sym.h> and <bp-asm.h>.
53909         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53911         <bp-sym.h> and <bp-asm.h>.
53912         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53913         comment.
53915 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53918         Use ZK to minimize writes to Z.
53919         (sub_magnitudes): Simplify code a bit.
53920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53921         Use ZK to minimize writes to Z.
53922         (sub_magnitudes): Simplify code a bit.
53924 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53926         * csu/gmon-start.c: Add special exception to license text.
53928 2013-02-27  Richard Henderson  <rth@redhat.com>
53930         * scripts/config.guess: Update from config.git.
53931         * scripts/config.sub: Likewise.
53933 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53935         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53937         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53939         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53941         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53943         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53945 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53947         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53948         [$(build-shared = yes].
53950 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53952         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53953         (__mul): Reduce iterations for calculating mantissa.
53955         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53956         MPTWO.
53957         (__mpranred): Likewise.
53959         [BZ #15160]
53960         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53961         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53963 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53965         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53966         Define __attribute__.
53968 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53970         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53971         unused.
53972         * posix/regex_internal.h (__attribute): Remove.
53973         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53974         (re_string_context_at): Likewise.
53975         (bitset_not): Use __attribute__ and mark function as possibly
53976         unused.
53977         (bitset_merge): Likewise.
53978         (bitset_mask): Likewise.
53979         (re_string_char_size_at): Likewise.
53980         (re_string_wchar_at): Likewise.
53981         (re_string_elem_size_at): Likewise.
53983 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53985         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53986         code.
53987         (cc32): Likewise.
53989         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53990         (__acr): Likewise.
53991         (__cpy): Likewise.
53992         (norm): Likewise.
53993         (denorm): Likewise.
53994         (__dbl_mp): Likewise.
53995         (add_magnitudes): Likewise.
53996         (sub_magnitudes): Likewise.
53997         (__mul): Likewise.
53998         (__inv): Likewise.
54000         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54001         style.
54003         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54004         style.
54006         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54007         code.
54009         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54010         up changes with default code.
54011         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54012         Likewise.
54014 2013-02-24  Allan McRae  <allan@archlinux.org>
54016         * manual/socket.texi (The Internet Namespace): Order menu items
54017         to match that in the file.
54019         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54020         node listing of the info page menu.
54022 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54024         [BZ #13550]
54025         * sysdeps/i386/bp-asm.h: Remove file.
54026         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54027         (PARMS): Do not use macros from bp-asm.h.
54028         (S1): Likewise.
54029         (S2): Likewise.
54030         (SIZE): Likewise.
54031         (__mpn_add_n): Do not use BP_SYM
54032         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54033         "bp-asm.h".
54034         (PARMS): Do not use macros from bp-asm.h.
54035         (S1): Likewise.
54036         (SIZE): Likewise.
54037         (__mpn_addmul_1): Do not use BP_SYM
54038         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54039         "bp-asm.h".
54040         (PARMS): Do not use macros from bp-asm.h.
54041         (SIGMSK): Likewise.
54042         (_setjmp): Likewise.  Do not use BP_SYM.
54043         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54044         "bp-asm.h".
54045         (PARMS): Do not use macros from bp-asm.h.
54046         (SIGMSK): Likewise.
54047         (setjmp): Likewise.  Do not use BP_SYM.
54048         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54049         "bp-asm.h".
54050         (PARMS): Do not use macros from bp-asm.h.
54051         (__frexp): Do not use BP_SYM.
54052         (frexp): Likewise.
54053         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54054         "bp-asm.h".
54055         (PARMS): Do not use macros from bp-asm.h.
54056         (__frexpf): Do not use BP_SYM.
54057         (frexpf): Likewise.
54058         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54059         "bp-asm.h".
54060         (PARMS): Do not use macros from bp-asm.h.
54061         (__frexpl): Do not use BP_SYM.
54062         (frexpl): Likewise.
54063         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54064         "bp-asm.h".
54065         (PARMS): Do not use macros from bp-asm.h.
54066         (__remquo): Do not use BP_SYM.
54067         (remquo): Likewise.
54068         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54069         "bp-asm.h".
54070         (PARMS): Do not use macros from bp-asm.h.
54071         (__remquof): Do not use BP_SYM.
54072         (remquof): Likewise.
54073         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54074         "bp-asm.h".
54075         (PARMS): Do not use macros from bp-asm.h.
54076         (__remquol): Do not use BP_SYM.
54077         (remquol): Likewise.
54078         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54079         "bp-asm.h".
54080         (PARMS): Do not use macros from bp-asm.h.
54081         (DEST): Likewise.
54082         (SRC): Likewise.
54083         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54084         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54085         "bp-asm.h".
54086         (PARMS): Do not use macros from bp-asm.h.
54087         (strlen): Do not use BP_SYM.
54088         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54089         "bp-asm.h".
54090         (PARMS): Do not use macros from bp-asm.h.
54091         (S1): Likewise.
54092         (S2): Likewise.
54093         (SIZE): Likewise.
54094         (__mpn_add_n): Do not use BP_SYM.
54095         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54096         "bp-asm.h".
54097         (PARMS): Do not use macros from bp-asm.h.
54098         (S1): Likewise.
54099         (SIZE): Likewise.
54100         (__mpn_addmul_1): Do not use BP_SYM.
54101         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54102         weak_alias.
54103         (bzero): Likewise.
54104         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54105         "bp-asm.h".
54106         (PARMS): Do not use macros from bp-asm.h.
54107         (S): Likewise.
54108         (SIZE): Likewise.
54109         (__mpn_lshift): Do not use BP_SYM.
54110         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54111         "bp-asm.h".
54112         (PARMS): Do not use macros from bp-asm.h.
54113         (DEST): Likewise.
54114         (SRC): Likewise.
54115         (LEN): Likewise.
54116         (memcpy): Likewise.  Do not use BP_SYM.
54117         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54118         libc_hidden_def and weak_alias.
54119         (mempcpy): Do not use BP_SYM in weak_alias.
54120         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54121         "bp-asm.h".
54122         (PARMS): Do not use macros from bp-asm.h.
54123         (DEST): Likewise.
54124         (LEN): Likewise.
54125         [!BZERO_P] (CHR): Likewise.
54126         (memset): Likewise.  Do not use BP_SYM.
54127         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54128         "bp-asm.h".
54129         (PARMS): Do not use macros from bp-asm.h.
54130         (S1): Likewise.
54131         (SIZE): Likewise.
54132         (__mpn_mul_1): Do not use BP_SYM.
54133         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54134         "bp-asm.h".
54135         (PARMS): Do not use macros from bp-asm.h.
54136         (S): Likewise.
54137         (SIZE): Likewise.
54138         (__mpn_rshift): Do not use BP_SYM.
54139         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54140         "bp-asm.h".
54141         (PARMS): Do not use macros from bp-asm.h.
54142         (STR): Likewise.
54143         (CHR): Likewise.
54144         (strchr): Likewise.  Do not use BP_SYM.
54145         (index): Do not use BP_SYM in weak_alias.
54146         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54147         "bp-asm.h".
54148         (PARMS): Do not use macros from bp-asm.h.
54149         (DEST): Likewise.
54150         (SRC): Likewise.
54151         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54152         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54153         "bp-asm.h".
54154         (PARMS): Do not use macros from bp-asm.h.
54155         (strlen): Do not use BP_SYM.
54156         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54157         "bp-asm.h".
54158         (PARMS): Do not use macros from bp-asm.h.
54159         (S1): Likewise.
54160         (S2): Likewise.
54161         (SIZE): Likewise.
54162         (__mpn_sub_n): Do not use BP_SYM.
54163         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54164         "bp-asm.h".
54165         (PARMS): Do not use macros from bp-asm.h.
54166         (S1): Likewise.
54167         (SIZE): Likewise.
54168         (__mpn_submul_1): Do not use BP_SYM.
54169         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54170         "bp-asm.h".
54171         (PARMS): Do not use macros from bp-asm.h.
54172         (S1): Likewise.
54173         (S2): Likewise.
54174         (SIZE): Likewise.
54175         (__mpn_add_n): Do not use BP_SYM.
54176         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54177         weak_alias.
54178         (bzero): Likewise.
54179         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54180         "bp-asm.h".
54181         (PARMS): Do not use macros from bp-asm.h.
54182         (BLK2): Likewise.
54183         (LEN): Likewise.
54184         (memcmp): Do not use BP_SYM.
54185         (bcmp): Do not use BP_SYM in weak_alias.
54186         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54187         "bp-asm.h".
54188         (PARMS): Do not use macros from bp-asm.h.
54189         (DEST): Likewise.
54190         (SRC): Likewise.
54191         (LEN): Likewise.
54192         (memcpy): Likewise.  Do not use BP_SYM.
54193         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54194         "bp-asm.h".
54195         (PARMS): Do not use macros from bp-asm.h.
54196         (DEST): Likewise.
54197         (SRC): Likewise.
54198         (LEN): Likewise.
54199         (memmove): Likewise.  Do not use BP_SYM.
54200         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54201         "bp-asm.h".
54202         (PARMS): Do not use macros from bp-asm.h.
54203         (DEST): Likewise.
54204         (SRC): Likewise.
54205         (LEN): Likewise.
54206         (__mempcpy): Likewise.  Do not use BP_SYM.
54207         (mempcpy): Do not use BP_SYM in weak_alias.
54208         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54209         "bp-asm.h".
54210         (PARMS): Do not use macros from bp-asm.h.
54211         (DEST): Likewise.
54212         (LEN): Likewise.
54213         [!BZERO_P] (CHR): Likewise.
54214         (memset): Likewise.  Do not use BP_SYM.
54215         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54216         "bp-asm.h".
54217         (PARMS): Do not use macros from bp-asm.h.
54218         (STR2): Likewise.
54219         (strcmp): Do not use BP_SYM.
54220         * sysdeps/i386/i686/strtok.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         (DELIM): Likewise.
54225         [USE_AS_STRTOK_R] (SAVE): Likewise.
54226         (FUNCTION): Likewise.  Do not use BP_SYM.
54227         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54228         aliases.
54229         (strtok_r): Likewise.
54230         (__GI___strtok_r): Likewise.
54231         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54232         (PARMS): Do not use macros from bp-asm.h.
54233         (S): Likewise.
54234         (SIZE): Likewise.
54235         (__mpn_lshift): Do not use BP_SYM.
54236         * sysdeps/i386/memchr.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         (CHR): Likewise.
54240         (__memchr): Do not use BP_SYM.
54241         (memchr): Do not use BP_SYM in weak_alias.
54242         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54243         (PARMS): Do not use macros from bp-asm.h.
54244         (BLK2): Likewise.
54245         (LEN): Likewise.
54246         (memcmp): Do not use BP_SYM.
54247         (bcmp): Do not use BP_SYM in weak_alias.
54248         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54249         (PARMS): Do not use macros from bp-asm.h.
54250         (S1): Likewise.
54251         (SIZE): Likewise.
54252         (__mpn_mul_1): Do not use BP_SYM.
54253         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54254         "bp-asm.h".
54255         (PARMS): Do not use macros from bp-asm.h.
54256         (STR): Likewise.
54257         (CHR): Likewise.
54258         (__rawmemchr): Do not use BP_SYM.
54259         (rawmemchr): Do not use BP_SYM in weak_alias.
54260         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54261         (PARMS): Do not use macros from bp-asm.h.
54262         (S): Likewise.
54263         (SIZE): Likewise.
54264         (__mpn_rshift): Do not use BP_SYM.
54265         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54266         (PARMS): Do not use macros from bp-asm.h.
54267         (SIGMSK): Likewise.
54268         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54269         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54270         (_start): Do not use BP_SYM.
54271         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54272         (PARMS): Do not use macros from bp-asm.h.
54273         (DEST): Likewise.
54274         (SRC): Likewise.
54275         (__stpcpy): Likewise.  Do not use BP_SYM.
54276         (stpcpy): Do not use BP_SYM in weak_alias.
54277         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54278         "bp-asm.h".
54279         (PARMS): Do not use macros from bp-asm.h.
54280         (DEST): Likewise.
54281         (SRC): Likewise.
54282         (LEN): Likewise.
54283         (__stpncpy): Likewise.  Do not use BP_SYM.
54284         (stpncpy): Do not use BP_SYM in weak_alias.
54285         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54286         (PARMS): Do not use macros from bp-asm.h.
54287         (STR): Likewise.
54288         (CHR): Likewise.
54289         (strchr): Likewise.  Do not use BP_SYM.
54290         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54291         "bp-asm.h".
54292         (PARMS): Do not use macros from bp-asm.h.
54293         (STR): Likewise.
54294         (CHR): Likewise.
54295         (__strchrnul): Likewise.  Do not use BP_SYM.
54296         (strchrnul): Do not use BP_SYM in weak_alias.
54297         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54298         "bp-asm.h".
54299         (PARMS): Do not use macros from bp-asm.h.
54300         (STOP): Likewise.
54301         (strcspn): Do not use BP_SYM.
54302         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54303         "bp-asm.h".
54304         (PARMS): Do not use macros from bp-asm.h.
54305         (STR): Likewise.
54306         (STOP): Likewise.
54307         (strpbrk): Likewise.  Do not use BP_SYM.
54308         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54309         "bp-asm.h".
54310         (PARMS): Do not use macros from bp-asm.h.
54311         (STR): Likewise.
54312         (CHR): Likewise.
54313         (strrchr): Likewise.  Do not use BP_SYM.
54314         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54315         (PARMS): Do not use macros from bp-asm.h.
54316         (SKIP): Likewise.
54317         (strspn): Do not use BP_SYM.
54318         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54319         (PARMS): Do not use macros from bp-asm.h.
54320         (STR): Likewise.
54321         (DELIM): Likewise.
54322         (SAVE): Likewise.
54323         (FUNCTION): Likewise.  Do not use BP_SYM.
54324         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54325         aliases.
54326         (strtok_r): Likewise.
54327         (__GI___strtok_r): Likewise.
54328         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54329         (PARMS): Do not use macros from bp-asm.h.
54330         (S1): Likewise.
54331         (S2): Likewise.
54332         (SIZE): Likewise.
54333         (__mpn_sub_n): Do not use BP_SYM.
54334         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54335         "bp-asm.h".
54336         (PARMS): Do not use macros from bp-asm.h.
54337         (S1): Likewise.
54338         (SIZE): Likewise.
54339         (__mpn_submul_1): Do not use BP_SYM.
54340         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54341         <bp-sym.h>.
54342         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54343         and <bp-asm.h>.
54344         (PARMS): Do not use macros from bp-asm.h.
54345         (FLAGS): Likewise.
54346         (PTID): Likewise.
54347         (TLS): Likewise.
54348         (CTID): Likewise.
54349         (__clone): Do not use BP_SYM.
54350         (clone): Do not use BP_SYM in weak_alias.
54351         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54352         and <bp-asm.h>.
54353         (PARMS): Do not use macros from bp-asm.h.
54354         (LEN): Likewise.
54355         (__mmap64): Do not use BP_SYM.
54356         (mmap64): Do not use BP_SYM in weak_alias.
54357         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54358         <bp-sym.h> and <bp-asm.h>.
54359         (PARMS): Do not use macros from bp-asm.h.
54360         (__posix_fadvise64_l64): Do not use BP_SYM.
54361         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54362         (PARMS): Do not use macros from bp-asm.h.
54363         (NSOPS): Likewise.
54364         (semtimedop): Do not use BP_SYM.
54365         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54366         and <bp-asm.h>.
54368 2013-02-21  Allan McRae  <allan@archlinux.org>
54370         * manual/message.texi (Charset conversion in gettext):
54371         Move @end statement to beginning of line.
54373 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54375         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54376         static.
54377         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54378         Likewise.
54380         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54381         (denorm): Likewise.
54382         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54385 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54387         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54388         tail-call to the resolved function if pltexit isn't needed.
54390 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54392         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54393         or Y being zero as being unlikely.
54394         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54395         Likewise.
54397 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54399         * manual/nss.texi (System Databases and Name Service Switch):
54400         Remove frobnicate @pxref.
54402 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54404         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54405         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54407 2013-02-20  Petr Machata  <pmachata@redhat.com>
54409         * elf/elf.h (R_ARM_TARGET1): New macro.
54410         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54411         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54412         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54413         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54414         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54415         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54416         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54417         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54418         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54419         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54420         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54421         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54422         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54423         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54424         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54425         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54426         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54427         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54428         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54429         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54430         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54431         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54432         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54433         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54434         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54435         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54436         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54437         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54438         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54439         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54440         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54441         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54442         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54443         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54444         (R_ARM_THM_GOT_BREL12): Likewise.
54445         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54446         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54447         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54448         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54449         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54450         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54451         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54452         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54453         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54455 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54457         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54458         __attribute_used__ to __attribute__ ((unused)).
54460 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54462         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54463         powerpc mpa.c.
54464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54465         comment formatting.
54466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54468 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54470         [BZ #13550]
54471         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54472         Remove macro.
54473         (ENTER): Remove both macro definitions.
54474         (LEAVE): Likewise.
54475         (CHECK_BOUNDS_LOW): Likewise.
54476         (CHECK_BOUNDS_HIGH): Likewise.
54477         (CHECK_BOUNDS_BOTH): Likewise.
54478         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54479         (RETURN_BOUNDED_POINTER): Likewise.
54480         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54481         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54482         (POP_ERRNO_LOCATION_RETURN): Likewise.
54483         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54484         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54485         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54486         macros.
54487         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54488         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54489         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54490         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54491         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54492         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54493         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54494         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54495         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54496         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54497         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54498         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54499         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54500         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54501         removed macros.
54502         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54503         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54504         macros.
54505         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54506         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54507         * sysdeps/i386/i586/memset.S (memset): Likewise.
54508         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54509         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54510         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54511         macros.
54512         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54513         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54514         Change uses of L(2) to L(out).
54515         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54516         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54517         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54518         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54519         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54520         removed macros.
54521         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54522         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54523         macros.
54524         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54525         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54526         (RETURN): Do not use macro LEAVE.
54527         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54528         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54529         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54530         * sysdeps/i386/i686/memset.S (memset): Likewise.
54531         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54532         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54533         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54534         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54535         Likewise.
54536         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54537         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54538         L(1_2) and L(1_3) into L(1).
54539         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54540         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54541         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54542         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54543         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54544         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54545         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54546         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54547         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54548         macros.
54549         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54550         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54551         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54552         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54553         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54554         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54555         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54556         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54557         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54558         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54559         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54560         * sysdeps/i386/strspn.S (strspn): Likewise.
54561         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54562         conditional code.
54563         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54564         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54565         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54566         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54567         L(1_3) into L(1_1).
54568         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54569         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54570         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54571         macros.
54572         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54574 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54576         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54577         macro.
54579 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54581         * math/atest-exp.c (exp_mpn): Remove ROUND.
54582         * math/atest-exp2.c (exp_mpn): Likewise.
54583         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54585         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54586         * stdlib/tst-tls-atexit-lib.c: Likewise.
54587         * stdlib/tst-tls-atexit.c: Likewise.
54589 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54591         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54592         and __attribute_alloc_size__.
54594 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54596         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54597         __attribute_alloc_size__.
54598         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54599         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54601 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54603         * include/programs/xmalloc.h: New file.
54604         * catgets/gencat.c: Include it.
54605         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54606         * elf/pldd.c: Likewise.
54607         * iconv/iconv_charmap.c: Likewise.
54608         * iconv/iconvconfig.c: Likewise.
54609         * iconv/strtab.c: Likewise.
54610         * locale/programs/locale.c: Likewise.
54611         * locale/programs/localedef.h: Likewise.
54612         * locale/programs/simple-hash.c: Likewise.
54613         * nscd/nscd.h: Likewise.
54614         * nss/makedb.c: Likewise.
54615         * sysdeps/generic/ldconfig.h: Likewise.
54617 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54619         * Versions.def: Add GLIBC_2.18.
54620         * include/link.h (struct link_map): New member l_tls_dtor_count.
54621         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54622         (__call_tls_dtors): Likewise.
54623         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54624         __cxa_thread_atexit_impl.
54625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54626         Likewise.
54627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54628         Likewise.
54629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54630         Likewise.
54631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54632         Likewise.
54633         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54635         Likewise.
54636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54637         Likewise.
54638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54640         Likewise.
54641         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54642         (tests): Add test case tst-tls-atexit.
54643         (modules-names): Add shared library for tst-tls-atexit.
54644         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54645         (GLIBC_PRIVATE): Add __call_tls_dtors.
54646         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54647         for libstdc++.
54648         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54649         * stdlib/tst-tls-atexit.c: New test case.
54650         * stdlib/tst-tls-atexit-lib.c: New test case.
54652         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54654         * elf/Versions (ld): Add _dl_find_dso_for_object.
54655         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54656         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54657         (dl_open_worker): Use _dl_find_dso_for_object.
54658         * elf/dl-sym.c (do_sym): Likewise.
54659         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54661 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54663         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54664         Syntactic changes only.
54665         (_dl_runtime_profile): Do a tail-call to the resolved function.
54667 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54669         [BZ #13550]
54670         * sysdeps/x86_64/bp-asm.h: Remove file.
54671         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54672         <bp-sym.h> and <bp-asm.h>.
54673         (__clone): Do not use BP_SYM.
54674         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54675         <bp-sym.h> and <bp-asm.h>.
54676         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54677         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54678         "bp-asm.h".
54679         (_setjmp): Do not use BP_SYM.
54680         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54681         "bp-asm.h".
54682         (setjmp): Do not use BP_SYM.
54683         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54684         libc_hidden_def.
54685         (mempcpy): Do not use BP_SYM in weak_alias.
54686         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54687         "bp-asm.h".
54688         (strchr): Do not use BP_SYM.
54689         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54690         "bp-asm.h".
54691         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54692         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54693         (_start): Do not use BP_SYM.
54694         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54695         "bp-asm.h".
54696         (strcat): Do not use BP_SYM.
54697         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54698         "bp-asm.h".
54699         (STRCMP): Do not use BP_SYM.
54700         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54701         "bp-asm.h".
54702         (STRCPY): Do not use BP_SYM.
54703         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54704         "bp-asm.h".
54705         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54706         "bp-asm.h".
54707         (FUNCTION): Do not use BP_SYM.
54708         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54709         weak_alias.
54710         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54712 2013-02-17  Andreas Jaeger  <aj@suse.de>
54714         * time/Versions: Sort entries.
54715         * string/Versions: Likewise.
54716         * resolv/Versions: Likewise.
54717         * posix/Versions: Likewise.
54718         * iconv/Versions: Likewise.
54719         * elf/Versions: Likewise.
54720         * wcsmbs/Versions: Likewise.
54722 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54724         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54725         loop termination condition.
54727         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54728         variable to calculate EZ.
54729         (__sqr): Likewise.
54731         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54732         the lower precision input.
54734 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54736         [BZ #13550]
54737         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54738         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54739         (run-via-rtld-prefix): Do not handle %-bp tests.
54740         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54741         (all-object-suffixes): Remove .ob.
54742         (bppfx): Remove variable.
54743         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54744         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54745         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54746         [$(build-bounded) = yes] (libtype.ob): Likewise.
54747         * Makerules (elide-routines.ob): Remove variable.
54748         (do-tests-clean): Do not handle *-bp.out.
54749         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54750         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54751         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54752         (tests): Do not include $(tests-bp.out).
54753         (xtests): Do not include $(xtests-bp.out).
54754         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54755         [$(build-bounded) = yes] ($(addprefix
54756         $(objpfx),$(binaries-bounded))): Remove rule.
54757         ($(objpfx)%-bp.out): Remove rule.
54758         * config.make.in (build-bounded): Remove variable.
54759         * crypt/Makefile [$(build-bounded) = yes]
54760         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54761         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54762         append to variable.
54763         [$(build-bounded) = yes] (install-lib): Likewise.
54764         [$(build-bounded) = yes] (generated): Likewise.
54765         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54766         Remove rule.
54767         * intl/Makefile [$(build-bounded) = yes]
54768         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54769         * math/Makefile [$(build-bounded) = yes]
54770         ($(tests:%=$(objpfx)%-bp): Likewise.
54771         * misc/Makefile [$(build-bounded) = yes]
54772         ($(objpfx)tst-tsearch-bp): Likewise.
54773         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54774         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54775         Remove dependency.
54776         * string/Makefile (o-objects.ob): Remove variable.
54777         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54778         (CFLAGS-.ob): Remove variable.
54779         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54780         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54781         both definitions of variable.
54782         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54783         (ASFLAGS-.ob): Remove variable.
54785 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54787         [BZ #13550]
54788         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54789         Remove __BOUNDED_POINTERS__ from condition.
54790         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54791         * string/bits/string2.h [!__NO_STRING_INLINES &&
54792         !__BOUNDED_POINTERS__]: Likewise.
54793         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54794         Likewise.
54795         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54796         Remove conditional code.
54797         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54798         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54799         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54800         condition.
54802         [BZ #13550]
54803         * csu/libc-start.c: Do not include <bp-sym.h>.
54804         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54805         * elf/dl-open.c: Do not include <bp-sym.h>.
54806         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54807         * math/fegetenv.c: Do not include <bp-sym.h>.
54808         (fegetenv): Do not use BP_SYM in versioned symbols.
54809         * nptl/sysdeps/pthread/bits/libc-lockP.h
54810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54811         <bp-sym.h>.
54812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54813         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54815         (__pthread_mutex_destroy): Likewise.
54816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54817         (__pthread_mutex_lock): Likewise.
54818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54819         (__pthread_mutex_trylock): Likewise.
54820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54821         (__pthread_mutex_unlock): Likewise.
54822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54823         (__pthread_mutexattr_init): Likewise.
54824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54825         (__pthread_mutexattr_destroy): Likewise.
54826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54827         (__pthread_mutexattr_settype): Likewise.
54828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54829         (__pthread_rwlock_init): Likewise.
54830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54831         (__pthread_rwlock_destroy): Likewise.
54832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54833         (__pthread_rwlock_rdlock): Likewise.
54834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54835         (__pthread_rwlock_tryrdlock): Likewise.
54836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54837         (__pthread_rwlock_wrlock): Likewise.
54838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54839         (__pthread_rwlock_trywrlock): Likewise.
54840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54841         (__pthread_rwlock_unlock): Likewise.
54842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54843         (__pthread_key_create): Likewise.
54844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54845         (__pthread_setspecific): Likewise.
54846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54847         (__pthread_getspecific): Likewise.
54848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54849         Likewise.
54850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54851         (_pthread_cleanup_push_defer): Likewise.
54852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54853         (_pthread_cleanup_pop_restore): Likewise.
54854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54855         (pthread_setcancelstate): Likewise.
54856         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54857         <bp-sym.h>.
54858         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54859         (memchr): Do not use BP_SYM in weak_alias.
54860         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54861         (fegetenv): Do not use BP_SYM in versioned symbols.
54862         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54863         (fesetenv): Do not use BP_SYM in versioned symbols.
54864         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54865         (feupdateenv): Do not use BP_SYM in versioned symbols.
54866         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54867         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54868         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54869         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54870         (open64): Do not use BP_SYM in weak_alias.
54871         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54872         (fegetenv): Do not use BP_SYM in versioned symbols.
54873         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54874         (fesetenv): Do not use BP_SYM in versioned symbols.
54875         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54876         (feupdateenv): Do not use BP_SYM in versioned symbols.
54877         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54878         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54879         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54880         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54881         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54882         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54883         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54884         <bp-sym.h>.
54885         (__libc_start_main): Do not use BP_SYM.
54887 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54889         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54890         redundant return line.
54891         (norm): Likewise.
54892         (denorm): Likewise.
54893         (dbl_mp): Likewise.
54894         (sub_magnitudes): Likewise.
54895         (__add): Likewise.
54896         (__sub): Likewise.
54897         (__mul): Likewise.
54898         (__inv): Likewise.
54899         (__dvd): Likewise.
54900         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54901         (norm): Likewise.
54902         (denorm): Likewise.
54903         (dbl_mp): Likewise.
54904         (sub_magnitudes): Likewise.
54905         (__add): Likewise.
54906         (__sub): Likewise.
54907         (__mul): Likewise.
54908         (__inv): Likewise.
54909         (__dvd): Likewise.
54911         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54912         instead of __mul.
54913         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54914         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54915         (cc32): Likewise.
54917         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54918         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54920         of __mul for squares.
54921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54922         function
54923         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54924         Likewise.
54925         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54926         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54928 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54930         [BZ #13550]
54931         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54932         code.
54933         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54934         prototype or function definition.  Rename ubp_* variables and
54935         parameters.  Remove argv definitions conditional on
54936         [__BOUNDED_POINTERS__].
54937         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54938         * elf/dl-runtime.c (_dl_fixup): Likewise.
54939         * include/set-hooks.h (RUN_HOOK): Likewise.
54940         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54941         definition.
54942         * string/strcpy.c (strcpy): Do not use __unbounded.
54943         * sysdeps/generic/frame.h (struct layout): Likewise.
54944         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54945         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54946         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54947         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54948         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54949         (__backtrace): Likewise.
54950         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54951         use __ptrvalue.
54952         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54953         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54954         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54955         Likewise.
54956         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54957         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54958         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54959         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54960         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54961         Do not use __unbounded.
54962         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54963         Rename __unboundedrlimits parameter to rlimits in prototype.
54964         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54965         Do not use __unbounded.
54966         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54967         not use __ptrvalue.
54968         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54969         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54970         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54971         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54972         __ptrvalue or __unbounded.
54973         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54974         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54975         use __unbounded.
54976         (__new_msgctl): Do not use __ptrvalue.
54977         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54978         __unbounded.
54979         (__libc_msgrcv): Do not use __ptrvalue.
54980         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54981         startup_info): Do not use __unbounded.
54982         (__libc_start_main): Likewise.  Rename ubp_* variables and
54983         parameters.  Remove argv definitions conditional on
54984         [__BOUNDED_POINTERS__].
54985         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54986         __ptrvalue.
54987         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54988         use __unbounded.
54989         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54990         or __ptrvalue.
54991         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54992         use __unbounded.
54993         (__new_shmctl): Do not use __ptrvalue.
54994         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54995         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54996         Likewise.
54997         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54998         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54999         (__libc_sigaction): Likewise.
55000         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55001         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55002         Likewise.
55003         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55005 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55007         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55009         * string/mempcpy.c: Implement by calling memcpy.
55011 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55013         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55015         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55016         evaluation.
55018         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55019         values in the mantissa.
55021         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55022         minimize writes to Z.
55023         (sub_magnitudes): Simplify code a bit.
55025 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55027         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55028         from the message.  The linker prefixes all warnings with that already.
55030 2013-02-12  Andreas Schwab  <schwab@suse.de>
55032         [BZ #15078]
55033         * posix/regexec.c (extend_buffers): Add parameter min_len.
55034         (check_matching): Pass minimum needed length.
55035         (clean_state_log_if_needed): Likewise.
55036         (get_subexp): Likewise.
55037         * posix/Makefile (tests): Add bug-regex34.
55038         (bug-regex34-ENV): Define.
55039         * posix/bug-regex34.c: New file.
55041         [BZ #11561]
55042         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55043         elements compare against the byte sequence of it, not its name.
55044         * posix/Makefile (tests): Add bug-regex35.
55045         (bug-regex35-ENV): Define.
55046         * posix/bug-regex35.c: New file.
55048 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55050         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55051         comment.
55052         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55053         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55054         (CHECK_EOL): Add undef.
55056 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55058         * bits/stdlib-bsearch.h: New file.
55059         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55060         * stdlib/stdlib.h: Likewise.
55062 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55064         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55065         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55066         declaration.
55067         * manual/search.texi (Array Search Function): Add missing const in
55068         lfind prototype.
55069         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55070         declaration to use rlim_t.
55071         (Basic Scheduling Functions): Remove erroneous const from
55072         sched_getparam prototype.  Remove erroneous * from
55073         sched_get_priority_max and sched_get_priority_min prototypes.
55074         (Resource Usage): Fix summary @comment on vtimes to refer to
55075         sys/vtimes.h rather than vtimes.h.
55076         Add missing *s in vtimes prototype.
55077         (Limits on Resources): Fix ulimit prototype to return long int.
55078         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55079         prototypes to use long int rather than double.
55080         (BSD Random): Fix initstate and setstate to use char *, not void *.
55081         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55082         prototype to make second argument 'struct aiocb64 *const[]'.
55083         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55084         (Status of AIO Operations): Remove erroneous const in aio_return and
55085         aio_return64 prototypes.
55086         (Synchronizing I/O): Fix sync prototype to return void.
55087         * manual/startup.texi (Suboptions): Remove an erroneous const in
55088         getsubopt prototype.
55089         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55090         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55091         use size_t rather than int.
55092         (Scanning All Users): Likewise for getpwent_r.
55093         (Setting Groups): Add missing const to setgroups prototype.
55094         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55095         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55096         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55097         'const void *' rather than 'const char *'.
55098         (Host Address Functions): Likewise for inet_ntop.
55099         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55100         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55101         ssize_t for return value.
55102         (Sending Data): Likewise for send, sendto, sendmsg.
55103         (Socket Option Functions): Add a missing const in setsockopt prototype.
55104         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55105         use wchar_t for the argument.
55106         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55107         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55108         take no arguments.
55109         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55110         double/float/long double for second argument.
55111         Fix return types of significand, significandf, significandl.
55112         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55113         argument in fchmod prototype.
55114         (File Owner): Use uid_t and gid_t in fchown prototype.
55115         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55116         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55117         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55118         use 'const struct dirent **' as argument types to CMP function pointer
55119         argument.
55120         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55121         (File Times): Fix summary magic @comment for struct utimbuf and utime
55122         to refer to utime.h, not time.h.
55123         * manual/string.texi (Argz Functions): Add missing const in
55124         argz_extract and argz_next prototypes.
55125         (Finding Tokens in a String): Likewise for basename.
55126         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55127         (Copying and Concatenation): Fix typo in wmemmove prototype.
55128         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55129         (Signal Stack): Remove erroneous const in sigstack prototype.
55130         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55131         prototype.
55132         (Simple Calendar Time): Likewise for stime.
55133         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55134         prototype.
55135         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55136         say sys/sysctl.h instead.
55137         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55138         and vsyslog prototypes.
55140 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55142         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55143         Remove.
55145 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55147         * misc/sys/mman.h: Fix typo in mremap comment.
55149 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55151         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55152         the '\0' terminator.
55154 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55156         [BZ #13550]
55157         * debug/segfault.c: Don't include <bp-checks.h>.
55158         * sysdeps/generic/bp-checks.h: Remove file.
55159         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55160         (__GETDENTS): Don't use CHECK_N.
55161         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55162         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55163         (__getgroups): Don't use CHECK_N.
55164         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55165         (setgroups): Don't use CHECK_N.
55166         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55167         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55168         (__libc_msgrcv): Don't use CHECK_N.
55169         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55170         (__libc_msgsnd): Don't use CHECK_N.
55171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55172         <bp-checks.h>.
55173         (__libc_pread): Don't use CHECK_N.
55174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55175         include <bp-checks.h>.
55176         (__libc_pread64): Don't use CHECK_N.
55177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55178         include <bp-checks.h>.
55179         (__libc_pwrite): Don't use CHECK_N.
55180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55181         include <bp-checks.h>.
55182         (__libc_pwrite64): Don't use CHECK_N.
55183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55184         <bp-checks.h>.
55185         (__libc_pread): Don't use CHECK_N.
55186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55187         include <bp-checks.h>.
55188         (__libc_pread64): Don't use CHECK_N.
55189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55190         include <bp-checks.h>.
55191         (__libc_pwrite): Don't use CHECK_N.
55192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55193         include <bp-checks.h>.
55194         (__libc_pwrite64): Don't use CHECK_N.
55195         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55196         (do_pread): Don't use CHECK_N.
55197         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55198         (do_pread64): Don't use CHECK_N.
55199         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55200         (do_pwrite): Don't use CHECK_N.
55201         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55202         (do_pwrite64): Don't use CHECK_N.
55203         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55204         (__libc_readv): Don't use CHECK_N.
55205         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55206         (semop): Don't use CHECK_N.
55207         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55208         <bp-checks.h>.
55209         (semtimedop): Don't use CHECK_N.
55210         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55211         (__libc_pread): Don't use CHECK_N.
55212         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55213         <bp-checks.h>.
55214         (__libc_pread64): Don't use CHECK_N.
55215         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55216         <bp-checks.h>.
55217         (__libc_pwrite): Don't use CHECK_N.
55218         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55219         <bp-checks.h>.
55220         (__libc_pwrite64): Don't use CHECK_N.
55221         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55222         <bp-checks.h>.
55223         (__libc_msgrcv): Don't use CHECK_N.
55224         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55225         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55226         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55227         (__libc_writev): Don't use CHECK_N.
55229 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55231         * string/strcpy.c: Removed unused variable.
55233         * Makeconfig (+sysdep-includes): Define with := rather than =.
55234         Use an existing include/ subdir of each sysdeps dir before it.
55236 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55238         * nscd/connection.c (register_traced_file): Comment function.
55239         [HAVE_INOTIFY] (union __inev): Define.
55240         [HAVE_INOTIFY] (inotify_check_files): New function.
55241         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55242         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55243         clear_db_cache.
55244         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55246 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55248         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55249         loaded if not already and that a failure is permanent.
55251 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55253         [BZ #15006]
55254         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55255         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55257 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55259         [BZ #13550]
55260         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55261         (CHECK_1_NULL_OK): Likewise.
55262         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55263         (__fxstat): Do not use CHECK_1.
55264         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55265         <bp-checks.h>.
55266         (___fxstat64): Do not use CHECK_1.
55267         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55268         <bp-checks.h>.
55269         (__fxstatat): Do not use CHECK_1.
55270         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55271         <bp-checks.h>.
55272         (__fxstatat64): Do not use CHECK_1.
55273         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55274         <bp-checks.h>.
55275         (__fxstat): Do not use CHECK_1.
55276         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55277         <bp-checks.h>.
55278         (__fxstatat): Do not use CHECK_1.
55279         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55280         <bp-checks.h>.
55281         (__getresgid): Do not use CHECK_1.
55282         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55283         <bp-checks.h>.
55284         (__getresuid): Do not use CHECK_1.
55285         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55286         <bp-checks.h>.
55287         (__lxstat): Do not use CHECK_1.
55288         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55289         <bp-checks.h>.
55290         (__old_msgctl): Do not use CHECK_1.
55291         (__new_msgctl): Likewise.
55292         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55293         <bp-checks.h>.
55294         (__new_setrlimit): Do not use CHECK_1.
55295         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55296         <bp-checks.h>.
55297         (__old_shmctl): Do not use CHECK_1.
55298         (__new_shmctl): Likewise.
55299         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55300         <bp-checks.h>.
55301         (__xstat): Do not use CHECK_1.
55302         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55303         (__lxstat): Do not use CHECK_1.
55304         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55305         <bp-checks.h>.
55306         (___lxstat64): Do not use CHECK_1.
55307         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55308         (__old_msgctl): Do not use CHECK_1.
55309         (__new_msgctl): Likewise.
55310         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55311         <bp-checks.h>.
55312         (__gettimeofday): Do not use CHECK_1.
55313         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55314         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55315         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55316         <bp-checks.h>.
55317         (__gettimeofday): Do not use CHECK_1.
55318         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55319         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55320         (__new_shmctl): Do not use CHECK_1.
55321         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55322         <bp-checks.h>.
55323         (do_sigtimedwait): Do not use CHECK_1.
55324         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55325         <bp-checks.h>.
55326         (do_sigwaitinfo): Do not use CHECK_1.
55327         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55328         <bp-checks.h>.
55329         (msgctl): Do not use CHECK_1.
55330         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55331         <bp-checks.h>.
55332         (shmctl): Do not use CHECK_1.
55333         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55334         (ustat): Do not use CHECK_1.
55335         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55336         <bp-checks.h>.
55337         (__fxstat): Do not use CHECK_1.
55338         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55339         <bp-checks.h>.
55340         (__fxstatat): Do not use CHECK_1.
55341         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55342         <bp-checks.h>.
55343         (__lxstat): Do not use CHECK_1.
55344         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55345         <bp-checks.h>.
55346         (__xstat): Do not use CHECK_1.
55347         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55348         (__xstat): Do not use CHECK_1.
55349         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55350         (___xstat64): Do not use CHECK_1.
55352         [BZ #13550]
55353         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55354         definitions.
55355         (CHECK_BOUNDS_HIGH): Likewise.
55356         * string/strcpy.c: Do not include <bp-checks.h>.
55357         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55359 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55361         * nscd/nscd-client.h (__nscd_drop_map_ref):
55362         Add __attribute__ ((unused)).
55363         * nis/nss-nisplus.h (niserr2nss): Likewise.
55365         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55366         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55368         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55369         Remove inline keyword.
55370         * include/rounding-mode.h (round_away): Likewise.
55371         * libio/wfileops.c (adjust_wide_data): Likewise.
55372         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55373         (__m128i_strloadu_tolower): Likewise.
55374         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55375         (__m128i_strloadu_tolower): Likewise.
55376         * time/mktime.c (ydhms_diff): Likewise.
55377         * locale/elem-hash.h (elem_hash): Likewise.
55378         * locale/setlocale.c (setdata): Likewise.
55379         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55380         (re_string_wchar_at): Likewise.
55381         (bitset_not, bitset_merge, bitset_mask): Likewise.
55382         [!(__GNUC__ > 3)] (inline): Remove macro.
55383         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55384         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55385         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55386         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55387         * string/memcmp.c (memcmp_bytes): Likewise.
55388         * locale/programs/locarchive.c (compute_hashval): Likewise.
55389         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55390         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55391         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55392         * nss/getent.c (print_rpc, print_protocols): Likewise.
55393         (print_passwd, print_group, print_aliases): Likewise.
55394         * nis/nss-nisplus.h (niserr2nss): Likewise.
55395         * nscd/connections.c (restart_p): Likewise.
55396         Change return type to bool.
55398 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55400         * Makeconfig (all-Depend-files): Add existing
55401         $(sorted-subdirs:=/Depend) files.
55402         (all-subdirs): Remove nss.
55403         * sysdeps/unix/inet/Subdirs: Add it here instead.
55404         * hesiod/Depend: New file.
55406         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55407         instead of calling alloca.
55409         * io/lseek.c (__lseek): Rename to __libc_lseek.
55410         Define __lseek as an alias.
55412         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55414 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55416         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55417         else clause and remove check for non-standard endianness.
55419 2013-02-04  David S. Miller  <davem@davemloft.net>
55421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55423 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55425         [BZ #13550]
55426         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55427         (__ubp_memchr): Remove prototype.
55428         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55429         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55430         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55431         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55432         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55433         Remove alias.
55434         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55435         (__ubp_memchr): Likewise.
55436         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55437         (__ubp_memchr): Likewise.
55438         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55439         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55440         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55441         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55442         CHECK_STRING.
55443         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55444         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55445         (__getcwd): Do not use CHECK_STRING.
55446         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55447         <bp-checks.h>.
55448         (__real_chown): Do not use CHECK_STRING.
55449         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55450         <bp-checks.h>.
55451         (fchownat): Do not use CHECK_STRING.
55452         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55453         CHECK_STRING.
55454         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55455         <bp-checks.h>.
55456         (__lchown): Do not use CHECK_STRING.
55457         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55458         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55459         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55460         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55462         include <bp-checks.h>.
55463         (truncate64): Do not use CHECK_STRING.
55464         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55465         <bp-checks.h>.
55466         (__real_chown): Do not use CHECK_STRING.
55467         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55468         <bp-checks.h>.
55469         (__lchown): Do not use CHECK_STRING.
55470         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55471         <bp-checks.h>.
55472         (__chown): Do not use CHECK_STRING.
55473         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55474         <bp-checks.h>.
55475         (truncate64): Do not use CHECK_STRING.
55476         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55477         Likewise.
55478         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55479         (__xmknod): Do not use CHECK_STRING.
55480         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55481         <bp-checks.h>.
55482         (__xmknodat): Do not use CHECK_STRING.
55483         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55484         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55486 2013-02-04  Andreas Schwab  <schwab@suse.de>
55488         [BZ #14142]
55489         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55490         * include/netdb.h: Likewise for h_errno.
55491         * elf/tst-stackguard1.c: Include <tls.h>.
55493 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55495         * elf/link.h (struct link_map): Extend the l_addr comment.
55496         * include/link.h (struct link_map): Likewise.
55498 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55500         [BZ #13550]
55501         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55502         (BOUNDED_1): Remove macro.
55503         * debug/backtrace.c: Don't include <bp-checks.h>.
55504         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55505         (__backtrace): Likewise.
55506         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55507         <bp-checks.h>.
55508         (__backtrace): Don't use BOUNDED_1.
55509         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55510         <bp-checks.h>.
55511         (__backtrace): Don't use BOUNDED_1.
55512         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55513         (__backtrace): Don't use BOUNDED_1.
55514         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55515         (shmat): Don't use BOUNDED_N.
55517 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55519         [BZ #13550]
55520         * sysdeps/generic/bp-start.h: Remove file.
55521         * csu/libc-start.c: Don't include <bp-start.h>.
55522         (LIBC_START_MAIN): Set up __environ directly instead of using
55523         INIT_ARGV_and_ENVIRON.
55524         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55525         <bp-start.h>.
55527         [BZ #13550]
55528         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55529         definitions.
55530         (CHECK_FCNTL): Likewise.
55531         (CHECK_N_PAGES): Likewise.
55533         [BZ #13550]
55534         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55535         definitions.
55536         (CHECK_SIGSET_NULL_OK): Likewise.
55537         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55538         <bp-checks.h>.
55539         (sigpending): Don't use CHECK_SIGSET.
55540         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55541         <bp-checks.h>.
55542         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55543         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55544         <bp-checks.h>.
55545         (do_sigsuspend): Don't use CHECK_SIGSET.
55546         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55547         use CHECK_SIGSET.
55548         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55549         (do_sigwait): Don't use CHECK_SIGSET.
55550         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55551         use CHECK_SIGSET.
55552         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55553         include <bp-checks.h>.
55554         (sigpending): Don't use CHECK_SIGSET.
55555         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55556         include <bp-checks.h>.
55557         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55558         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55559         <bp-checks.h>.
55560         (sigpending): Don't use CHECK_SIGSET.
55561         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55562         <bp-checks.h>.
55563         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55565         [BZ #13550]
55566         * sysdeps/generic/bp-semctl.h: Remove file.
55567         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55568         <bp-checks.h> and <bp-semctl.h>.
55569         (__old_semctl): Don't use CHECK_SEMCTL.
55570         (__new_semctl): Likewise.
55571         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55572         and <bp-semctl.h>.
55573         (__old_semctl): Don't use CHECK_SEMCTL.
55574         (__new_semctl): Likewise.
55575         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55576         <bp-checks.h> and <bp-semctl.h>.
55577         (__old_semctl): Don't use CHECK_SEMCTL.
55578         (__new_semctl): Likewise.
55579         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55580         <bp-checks.h> and <bp-semctl.h>.
55581         (semctl): Don't use CHECK_SEMCTL.
55583         [BZ #13550]
55584         * Makerules (elide-bp-thunks): Remove variable.
55585         (elide-routines.oS): Don't use $(elide-bp-thunks).
55586         (elide-routines.os): Likewise.
55587         (elide-routines.o): Likewise.
55588         (elide-routines.op): Likewise.
55589         (elide-routines.og): Likewise.
55590         (objects): Don't use $(bp-thunks).
55591         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55592         include.
55593         (common-generated): Do not add s-proto-bp.d.
55594         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55595         (int): Likewise.
55596         (typ): Likewise.
55597         Do not generate makefile rules for bounded-pointer thunks.
55598         * sysdeps/generic/bp-thunks.h: Remove file.
55599         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55600         * sysdeps/unix/s-proto-bp.S: Likewise.
55602         [BZ #15062]
55603         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55604         parts of result separately when argument is not close to line from
55605         -i to i and one part of argument is small.
55606         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55607         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55608         * math/libm-test.inc (cacos_test): Add more tests.
55609         (casin_test): Likewise.
55610         (casinh_test): Likewise.
55611         * sysdeps/i386/fpu/libm-test-ulps: Update.
55612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55614 2013-01-31  David S. Miller  <davem@davemloft.net>
55616         * po/de.po: Update from translation team.
55618 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55620         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55622 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55624         * configure.in (_AC_PROG_CC_C89): New definition.
55625         * configure: Regenerate.
55627         * configure.in (AC_PROG_CPP): New definition.
55628         * configure: Regenerate.
55630 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55632         * debug/tst-backtrace.h: New file.
55633         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55634         (ret): Remove variable.
55635         (x): Likewise.
55636         (FAIL): Remove macro.
55637         (NO_INLINE): Likewise.
55638         (fn1): Use match function instead of strstr.
55639         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55640         (ret): Remove variable.
55641         (x): Likewise.
55642         (FAIL): Remove macro.
55643         (NO_INLINE): Likewise.
55644         (fn): Use match function instead of strstr.
55645         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55646         (ret): Remove variable.
55647         (x): Likewise.
55648         (FAIL): Remove macro.
55649         (NO_INLINE): Likewise.
55650         (handle_signal): Use match function instead of strstr.
55651         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55652         (ret): Remove variable.
55653         (x): Likewise.
55654         (FAIL): Remove macro.
55655         (NO_INLINE): Likewise.
55656         (handle_signal): Use match function instead of strstr.
55658 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55660         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55662 2013-01-23  David S. Miller  <davem@davemloft.net>
55664         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55665         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55666         argument of CAS if possible.
55667         * sysdeps/sparc/sparc64/bits/atomic.h
55668         (__arch_compare_and_exchange_val_32_acq): Likewise.
55669         (__arch_compare_and_exchange_val_64_acq): Likewise.
55671 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55673         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55674         * sysdeps/posix/ulimit.c: ... this.
55675         Include <limits.h>.
55676         * sysdeps/unix/bsd/ulimit.c: Remove file.
55678 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55680         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55681         (LDFLAGS-tst-array5): Likewise.
55683 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55685         [BZ #15036]
55686         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55687         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55688         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55689         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55691 2013-01-21  David S. Miller  <davem@davemloft.net>
55693         * sysdeps/sparc/backtrace.c: New file.
55694         * sysdeps/sparc/sparc32/backtrace.h: New file.
55695         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55696         * sysdeps/sparc/sparc64/backtrace.h: New file.
55697         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55698         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55699         -funwind-tables.
55701 2013-01-21  Andreas Schwab  <schwab@suse.de>
55703         [BZ #15020]
55704         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55705         closed its stdout.
55707 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55709         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55710         "mpa2.h".
55711         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55713 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55714             Mark Mitchell  <mark@codesourcery.com>
55715             Tom de Vries  <tom@codesourcery.com>
55716             Paul Pluzhnikov  <ppluzhnikov@google.com>
55718         * debug/tst-backtrace2.c: New file.
55719         * debug/tst-backtrace3.c: Likewise.
55720         * debug/tst-backtrace4.c: Likewise.
55721         * debug/tst-backtrace5.c: Likewise.
55722         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55723         (CFLAGS-tst-backtrace3.c): Likewise.
55724         (CFLAGS-tst-backtrace4.c): Likewise.
55725         (CFLAGS-tst-backtrace5.c): Likewise.
55726         (LDFLAGS-tst-backtrace2): Likewise.
55727         (LDFLAGS-tst-backtrace3): Likewise.
55728         (LDFLAGS-tst-backtrace4): Likewise.
55729         (LDFLAGS-tst-backtrace5): Likewise.
55730         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55731         tst-backtrace4 and tst-backtrace5.
55733 2013-01-18  Anton Blanchard  <anton@samba.org>
55734             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55736         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55737         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55738         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55739         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55741         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55742         "+r" and remove output regs list as redundant.  Add explicit inline
55743         asm to specify register of return val to work around compiler codegen
55744         bug.  Remove (int) cast on return value.  Add return type parameter to
55745         use in macro so that this macro does not truncate return value for
55746         64-bit values.
55747         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55748         pass to INTERNAL_VSYSCALL_NCS.
55749         (INLINE_VSYSCALL): Add 'long int' as return type to
55750         INTERNAL_VSYSCALL_NCS macro invocation.
55751         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55752         INTERNAL_VSYSCALL_NCS macro invocation.
55753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55755 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55757         [BZ #14496]
55758         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55759         Fix application of SIMD FP exception mask.
55761         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55762         mp_no from a power of two.
55763         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55764         __mpexp_twomm1.  Use __pow_mp.
55766         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55767         multiplication.
55769 2013-01-17  David S. Miller  <davem@davemloft.net>
55771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55773 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55775         [BZ #15023]
55776         * include/complex.h: Condition contents on [!_COMPLEX_H].
55777         (__kernel_casinhf): New prototype.
55778         (__kernel_casinh): Likewise.
55779         (__kernel_casinhl): Likewise.
55780         * math/Makefile (libm_calls): Add k_casinh.
55781         * math/k_casinh.c: New file.
55782         * math/k_casinhf.c: Likewise.
55783         * math/k_casinhl.c: Likewise.
55784         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55785         finite nonzero arguments.
55786         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55787         finite nonzero arguments.
55788         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55789         finite nonzero arguments.
55790         * math/s_casinh.c: Do not include <float.h>.
55791         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55792         * math/s_casinhf.c: Do not include <float.h>.
55793         (__casinhf): Move code for finite nonzero arguments to
55794         k_casinhf.c.
55795         * math/s_casinhl.c: Do not include <float.h>.
55796         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55797         redefine.
55798         (__casinhl): Move code for finite nonzero arguments to
55799         k_casinhl.c.
55800         * math/libm-test.inc (cacos_test): Add more tests.
55801         * sysdeps/i386/fpu/libm-test-ulps: Update.
55802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55804 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55806         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55807         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55808         [!HAVE_MREMAP]: Remove [defined linux] case.
55809         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55811 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55813         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55815 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55817         * elf/elf.h (R_386_SIZE32): New relocation.
55818         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55819         R_386_SIZE32.
55820         (elf_machine_rela): Likewise.
55821         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55822         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55824 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55826         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55827         (FP_FAST_FMA): Do not define.
55828         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55829         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55830         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55831         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55832         !_SOFT_FLOAT]: Likewise.
55833         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55834         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55835         value.
55836         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55837         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55838         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55839         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55840         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55841         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55842         file.
55844 2013-01-16  Andreas Schwab  <schwab@suse.de>
55846         [BZ #14327]
55847         * include/stdlib.h (__mktemp): Add declaration.
55848         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55849         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55851 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55853         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55854         definitions.
55855         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55856         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55857         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55858         definitions here.
55859         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55860         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55861         definitions.
55862         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55863         and ONE.
55864         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55865         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55866         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55867         definitions.
55868         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55869         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55870         definitions.
55871         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55873         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55875 2013-01-15  David S. Miller  <davem@davemloft.net>
55877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55878         trunc{,f} to libm-sysdep_routes.
55879         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55881         file.
55882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55884         file.
55885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55886         file.
55887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55889         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55890         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55891         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55892         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55893         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55894         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55897         nearbyint{,f} to libm-sysdep_routes.
55898         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55900         New file.
55901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55902         file.
55903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55904         New file.
55905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55906         file.
55907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55909         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55910         file.
55911         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55912         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55913         file.
55914         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55915         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55916         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55918         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55919         libc_feholdexcept and libc_fesetenv.
55921 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55923         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55925 2013-01-14  David S. Miller  <davem@davemloft.net>
55927         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55928         (SPARC_ASM_VIS2_IFUNC): Likewise.
55929         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55931         use of 'siam' instruction.
55932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55933         Likewise.
55934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55935         Likewise.
55936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55937         Likewise.
55938         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55939         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55940         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55941         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55943         file.
55944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55945         file.
55946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55947         file.
55948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55949         file.
55950         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55951         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55952         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55953         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55955         new VIS2 routines.
55956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55959         Likewise.
55960         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55961         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55962         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55963         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55965         routines to libm-sysdep_routines.
55966         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55969         fdim/fdimf to libm-sysdep_routines.
55970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55971         file.
55972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55974         file.
55975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55978         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55979         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55980         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55981         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55983 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55985         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55986         to optimize copies.
55988         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55990         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55993         local variable MPTWO.
55994         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55995         Likewise.
55997 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55999         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56000         GLOB_NOESCAPE.
56002 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56004         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56006 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56008         * manual/pattern.texi (glob_t): Document gl_flags.
56009         (glob64_t): Likewise.
56011 2013-01-11  David S. Miller  <davem@davemloft.net>
56013         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56014         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56015         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56016         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56017         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56018         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56019         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56020         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56021         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56022         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56023         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56024         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56025         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56027         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56028         sparc V9 rather than using V8 code.
56029         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56030         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56032         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56033         Move to...
56034         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56035         Here.
56037 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56039         [BZ #14941]
56040         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56041         not in the main loop.
56042         * configure: Regenerated.
56044 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56046         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56047         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56048         to just #else.
56049         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56050         [!__GLIBC_HAVE_LONG_LONG] case.
56051         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56052         condition to just #else.
56053         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56054         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56055         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56056         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56057         unconditional.
56058         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56059         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56060         #elif condition to just #else.
56061         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56062         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56063         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56064         #elif condition to just #else.
56066 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56068         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56069         (EF_MIPS_ARCH_64): Fix value.
56070         (EF_MIPS_ARCH_32R2): New.
56071         (EF_MIPS_ARCH_64R2): New.
56073 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56075         * Makeconfig (+link-pie-before-libc): New.
56076         (+link-pie-after-libc): Likewise.
56077         (+link-pie-tests): Likewise.
56078         (+link-pie): Rewritten.
56079         (link-before-libc): Remove $(config-LDFLAGS).
56080         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56081         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56082         (config-LDFLAGS): Renamed to ...
56083         (rtld-LDFLAGS): This.
56084         (rtld-tests-LDFLAGS): New macro.
56085         (link-libc-rpath-link): Likewise.
56086         (link-libc-tests-rpath-link): Likewise.
56087         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56088         (link-libc): Prepand $(link-libc-rpath-link).
56089         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56090         (test-program-prefix): New macro.
56091         (test-via-rtld-prefix): Likewise.
56092         (test-program-cmd): Likewise.
56093         (host-test-program-cmd): Likewise.
56094         * Makefile ($(common-objpfx)testrun.sh): Replace
56095         $(run-program-prefix) with $(test-program-prefix).
56096         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56097         $(rtld-LDFLAGS).
56098         ($(common-objpfx)shlib.lds): Likewise.
56099         (build-module-helper): Likewise.
56100         ($(common-objpfx)format.lds): Likewise.
56101         * Rules (binaries-pie-tests): New.
56102         (binaries-pie-notests): Likewise.
56103         (binaries-pie): Rewritten.
56104         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56105         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56106         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56107         (make-test-out): Replace $(host-built-program-cmd) with
56108         $(host-test-program-cmd).
56109         * config.make.in (build-hardcoded-path-in-tests): New variable.
56110         * configure.in (--enable-hardcoded-path-in-tests): New configure
56111         option.
56112         (hardcoded_path_in_tests): New AC_SUBST.
56113         * configure: Regenerated.
56114         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56115         $(built-program-cmd) with $(test-program-cmd).
56116         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56117         (test_program_cmd): This.
56118         * elf/Makefile ($(objpfx)order.out): Run test with
56119         $(test-program-prefix).
56120         ($(objpfx)order2.out): Likewise.
56121         ($(objpfx)tst-initorder.out): Likewise.
56122         ($(objpfx)tst-initorder2.out): Likewise.
56123         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56124         $(test-program-cmd).
56125         ($(objpfx)tst-array1-static.out): Likewise.
56126         ($(objpfx)tst-array2.out): Likewise.
56127         ($(objpfx)tst-array3.out): Likewise.
56128         ($(objpfx)tst-array4.out): Likewise.
56129         ($(objpfx)tst-array5.out): Likewise.
56130         ($(objpfx)tst-array5-static.out): Likewise.
56131         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56132         $(test-program-cmd).
56133         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56134         $(run-program-prefix) with $(test-program-prefix).
56135         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56136         (test_program_prefix): This.
56137         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56138         $(run-program-prefix) with $(test-program-prefix).
56139         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56140         (test_program_prefix): This.
56141         * iconvdata/tst-tables.sh: Likewise.
56142         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56143         $(run-program-prefix) with $(test-program-prefix).
56144         ($(objpfx)tst-translit.out): Likewise.
56145         ($(objpfx)tst-gettext2.out): Likewise.
56146         ($(objpfx)tst-gettext4.out): Likewise.
56147         ($(objpfx)tst-gettext6.out): Likewise.
56148         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56149         (test_program_prefix): This.
56150         * intl/tst-gettext2.sh: Likewise.
56151         * intl/tst-gettext4.sh  Likewise.
56152         * intl/tst-gettext6.sh: Likewise.
56153         * intl/tst-translit.sh: Likewise.
56154         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56155         with $(test-program-cmd).
56156         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56157         $(run-program-prefix) with $(test-program-prefix).
56158         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56159         (test_program_prefix): This.
56160         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56161         $(run-program-prefix) with $(test-program-prefix).
56162         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56163         (test_program_prefix): This.
56164         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56165         * posix/Makefile ($(objpfx)globtest.out): Replace
56166         $(run-via-rtld-prefix) and $(test-wrapper) with
56167         $(test-program-prefix) and $(test-via-rtld-prefix).
56168         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56169         $(test-program-prefix).
56170         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56171         $(host-test-program-cmd).
56172         (tst-spawn-ARGS): Likewise.
56173         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56174         $(test-program-prefix).
56175         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56176         (test_via_rtld_prefix): This.
56177         (test_wrapper): Renamed to ...
56178         (test_program_prefix): This.
56179         (run_program_prefix): Replaced by test_program_prefix.
56180         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56181         (test_program_prefix): This.
56182         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56183         with $(host-test-program-cmd).
56184         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56185         $(run-program-prefix) with $(test-program-prefix).
56186         ($(objpfx)tst-printf.out): Likewise.
56187         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56188         $(test-program-cmd).
56189         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56190         (test_program_prefix): This.
56191         * stdio-common/tst-unbputc.sh: Likewise.
56192         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56193         $(run-program-prefix) with $(test-program-prefix).
56194         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56195         (test_program_prefix): This.
56196         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56197         $(built-program-cmd) with $(test-program-cmd).
56199 2013-01-11  Andreas Jaeger  <aj@suse.de>
56201         [BZ #15003]
56202         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56203         value. Sync with Linux 3.7.
56205 2013-01-10  David S. Miller  <davem@davemloft.net>
56207         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56208         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56209         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56211 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56213         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56214         never set.
56215         * configure: Regenerated.
56217 2013-01-10  David S. Miller  <davem@davemloft.net>
56219         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56220         sparc V9 rather than using V8 code.
56221         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56222         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56224 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56226         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56227         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56228         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56229         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56230         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56231         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56232         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56233         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56234         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56235         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56236         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56237         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56238         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56239         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56240         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56241         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56242         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56243         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56244         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56245         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56246         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56247         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56248         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56249         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56250         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56251         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56252         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56254 2013-01-10  David S. Miller  <davem@davemloft.net>
56256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56258 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56260         * posix/Makefile (tests-static): New variable.
56261         (tests): Add $(tests-static).
56262         (tst-exec-static-ARGS): New variable.
56263         (tst-spawn-static-ARGS): Likewise.
56264         * posix/tst-exec-static.c: New file.
56265         * posix/tst-spawn-static.c: Likewise.
56266         * posix/tst-exec.c: Support run directly.
56267         * posix/tst-spawn.c: Likewise.
56269 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56271         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56272         long.
56273         * math/bits/mathcalls.h (llrint): Likewise.
56274         (llround): Likewise.
56275         * stdlib/stdlib.h (struct drand48_data): Likewise.
56276         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56277         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56278         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56279         Likewise.
56280         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56281         Likewise.
56282         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56283         (elf_greg_t): Likewise.
56284         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56285         (__jmp_buf): Likewise.
56286         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56287         definitions.
56288         (llrint): Likewise, for all definitions.
56289         (llrintl): Likewise.
56291         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56292         Remove [__GNUC__] condition.
56293         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56294         condition to just [__USE_ISOC99].
56295         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56297 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56299         [BZ #14200]
56300         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56301         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56302         defined.
56303         (_POSIX_V6_ILP32_OFF32): Likewise.
56304         (_XBS5_ILP32_OFF32): Likewise.
56305         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56306         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56308 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56310         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56312         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56313         doubles __mpexp_twomm1.  Adjust usage.
56314         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56315         Remove.
56317 2013-01-10  Andreas Schwab  <schwab@suse.de>
56319         [BZ #14964]
56320         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56321         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56323 2013-01-09  David S. Miller  <davem@davemloft.net>
56325         [BZ #15003]
56326         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56327         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56328         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56329         (TCP_FASTOPEN): Define.
56330         (tcp_repair_opt): New structure.
56331         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56332         enum values.
56333         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56334         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56335         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56336         (tcp_cookie_transactions): New structure.
56338 2013-01-09  Anton Blanchard  <anton@samba.org>
56340         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56341         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56342         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56343         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56345 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56347         * include/features.h (__USE_ANSI): Remove.
56349 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56351         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56353         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56355 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56357         * sysdeps/s390/fpu/libm-test-ulps: Update.
56359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56361         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56362         (__acr): Likewise.
56363         (__cpy): Likewise.
56364         (norm): Likewise.
56365         (denorm): Likewise.
56366         (__mp_dbl): Likewise.
56367         (__dbl_mp): Likewise.
56368         (add_magnitudes): Likewise.
56369         (sub_magnitudes): Likewise.
56370         (__add): Likewise.
56371         (__sub): Likewise.
56372         (__mul): Likewise.
56373         (__inv): Likewise.
56374         (__dvd): Likewise.
56375         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56376         (__acr): Likewise.
56377         (__cpy): Likewise.
56378         (norm): Likewise.
56379         (denorm): Likewise.
56380         (__mp_dbl): Likewise.
56381         (__dbl_mp): Likewise.
56382         (add_magnitudes): Likewise.
56383         (sub_magnitudes): Likewise.
56384         (__add): Likewise.
56385         (__sub): Likewise.
56386         (__mul): Likewise.
56387         (__inv): Likewise.
56388         (__dvd): Likewise.
56389         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56390         (__acr): Likewise.
56391         (__cpy): Likewise.
56392         (norm): Likewise.
56393         (denorm): Likewise.
56394         (__mp_dbl): Likewise.
56395         (__dbl_mp): Likewise.
56396         (add_magnitudes): Likewise.
56397         (sub_magnitudes): Likewise.
56398         (__add): Likewise.
56399         (__sub): Likewise.
56400         (__mul): Likewise.
56401         (__inv): Likewise.
56402         (__dvd): Likewise.
56404 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56406         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56407         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56408         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56409         2 && __USE_EXTERN_INLINES]: Likewise.
56411 2013-01-08  Andreas Jaeger  <aj@suse.de>
56413         [BZ# 14985]
56414         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56415         Remove.
56416         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56417         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56419 2013-01-07  Anton Blanchard  <anton@samba.org>
56421         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56422         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56423         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56424         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56425         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56426         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56427         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56428         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56429         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56430         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56431         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56432         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56433         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56434         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56435         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56436         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56437         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56438         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56439         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56440         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56441         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56442         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56443         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56444         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56445         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56446         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56447         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56448         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56449         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56450         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56451         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56453         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56454         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56455         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56456         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56457         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56458         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56459         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56460         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56461         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56462         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56463         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56465 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56467         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56468         (__MALLOC_PMT): Likewise.
56469         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56470         [__GNUC__], only on [_LIBC].
56471         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56472         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56473         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56474         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56475         forward declaration.
56476         (realloc_hook_ini): Likewise.
56477         (memalign_hook_ini): Likewise.
56478         (__libc_memalign): Do not use __MALLOC_PMT in variable
56479         declaration.
56480         (__libc_valloc): Likewise.
56481         (__libc_pvalloc): Likewise.
56482         (__libc_calloc): Likewise.
56483         (__posix_memalign): Likewise.
56485         [BZ #14996]
56486         * math/s_casinh.c: Include <float.h>.
56487         (__casinh): Do not do computation with squaring and square root
56488         for large arguments.
56489         * math/s_casinhf.c: Include <float.h>.
56490         (__casinhf): Do not do computation with squaring and square root
56491         for large arguments.
56492         * math/s_casinhl.c: Include <float.h>.
56493         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56494         (__casinhl): Do not do computation with squaring and square root
56495         for large arguments.
56496         * math/libm-test.inc (casin_test): Add more tests.
56497         (casinh_test): Likewise.
56498         * sysdeps/i386/fpu/libm-test-ulps: Update.
56499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56501 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56503         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56504         (__x86_64_raw_data_cache_size): Likewise.
56505         (__x86_64_data_cache_size_half): Likewise.
56506         (__x86_64_raw_data_cache_size_half): Likewise.
56507         (__x86_64_shared_cache_size): Likewise.
56508         (__x86_64_raw_shared_cache_size): Likewise.
56509         (__x86_64_shared_cache_size_half): Likewise.
56510         (__x86_64_raw_shared_cache_size_half): Likewise.
56511         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56512         to ...
56513         (__x86_data_cache_size): This.
56514         (__x86_64_raw_data_cache_size): Renamed to ...
56515         (__x86_raw_data_cache_size): This.
56516         (__x86_64_data_cache_size_half): Renamed to ...
56517         (__x86_data_cache_size_half): This.
56518         (__x86_64_raw_data_cache_size_half): Renamed to ...
56519         (__x86_raw_data_cache_size_half): This.
56520         (__x86_64_shared_cache_size): Renamed to ...
56521         (__x86_shared_cache_size): This.
56522         (__x86_64_raw_shared_cache_size): Renamed to ...
56523         (__x86_raw_shared_cache_size): This.
56524         (__x86_64_shared_cache_size_half): Renamed to ...
56525         (__x86_shared_cache_size_half): This.
56526         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56527         (__x86_raw_shared_cache_size_half): This.
56528         * sysdeps/x86_64/memcpy.S: Updated.
56529         * sysdeps/x86_64/memset.S: Likewise.
56530         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56531         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56532         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56534 2013-01-04  David S. Miller  <davem@davemloft.net>
56536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56538 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56540         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56541         1 to avoid redefinition warning.
56542         (__USE_GNU): Don't define.
56543         (init_signaling_nan): Protoize.
56545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56547 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56549         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56550         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56551         (__cpymn): Likewise.
56552         (norm): Remove commented code.
56553         (denorm): Likewise.
56554         (__mp_dbl): Likewise.
56555         (__inv): Likewise.
56556         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56557         (__cpymn): Likewise.
56558         (norm): Remove commented code.
56559         (denorm): Likewise.
56560         (__mp_dbl): Likewise.
56561         (__inv): Likewise.
56563         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56564         mp_no value for 1.0 and 2.0.
56565         (norm): Use RADIXI instead of radixi.d.
56566         (denorm): Likewise.
56567         (__mul): Use 0.0 instead of zero.d.
56568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56569         mp_no value for 1.0 and 2.0.
56570         (norm): Use RADIXI instead of radixi.d.
56571         (denorm): Likewise.
56572         (__mul): Use 0.0 instead of zero.d.
56574 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56576         [BZ #14994]
56577         * math/s_casinh.c (__casinh): Reduce finite argument to first
56578         quadrant then set signs of results at the end.
56579         * math/s_casinhf.c (__casinhf): Likewise.
56580         * math/s_casinhl.c (__casinhl): Likewise.
56581         * math/libm-test.inc (casin_test): Add more tests.
56582         (casinh_test): Likewise.
56583         * sysdeps/i386/fpu/libm-test-ulps: Update.
56584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56586 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56588         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56590         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56592         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56593         declarations.
56594         (denorm): Likewise.
56595         (__mp_dbl): Likewise.
56596         (__inv): Likewise.
56598         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56599         and adjust the header comment.
56601         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56602         variable name from declaration.
56604 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56606         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56607         Initialize COMMON_CPUID_INDEX_7 element.
56608         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56609         (CPUID_RTM): Likewise.
56610         (HAS_RTM): Likewise.
56611         (COMMON_CPUID_INDEX_7): New enum.
56613 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56615         [BZ #14981]
56616         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56617         size is zero, record memory as freed.
56619 2013-01-03  Andreas Jaeger  <aj@suse.de>
56621         * po/ia.po: Add new Interlingua translation.
56623 2012-01-03  Allan McRae  <allan@archlinux.org>
56625         * locale/programs/localedef.c: Fix description of '--posix' flag.
56627 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56629         * NEWS: Update dates in second copyright notice.
56630         * README: Update copyright dates in example.
56631         * manual/libc.texinfo: Update copyright dates.
56632         * scripts/test-installation.pl: Update copyright date in --version
56633         output.
56635         * hurd/ctty-input.c: Fix copyright notice formatting.
56636         * hurd/ctty-output.c: Likewise.
56637         * hurd/dtable.c: Likewise.
56638         * hurd/hurd-raise.c: Likewise.
56639         * hurd/hurdprio.c: Likewise.
56640         * hurd/msgportdemux.c: Likewise.
56641         * misc/sys/file.h: Likewise.
56642         * misc/sys/ioctl.h: Likewise.
56643         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56644         * sysdeps/mach/hurd/chdir.c: Likewise.
56645         * sysdeps/mach/hurd/fchdir.c: Likewise.
56646         * sysdeps/mach/hurd/rename.c: Likewise.
56647         * sysdeps/mach/hurd/rmdir.c: Likewise.
56648         * sysdeps/mach/hurd/seekdir.c: Likewise.
56649         * sysdeps/mach/hurd/setsid.c: Likewise.
56650         * sysdeps/posix/wait3.c: Likewise.
56652         * All files with FSF copyright notices: Update copyright dates
56653         using scripts/update-copyrights.
56654         * intl/plural.c: Regenerated.
56655         * locale/programs/charmap-kw.h: Likewise.
56656         * locale/programs/locfile-kw.h: Likewise.
56658 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56660         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56661         four values.
56663         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56664         calculation loop and add branch prediction.
56666         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56667         check access beyond bounds of m1np.
56669         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56670         MPTWO.
56671         (__inv): Remove local variable MPTWO to use the global
56672         constant.
56673         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56674         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56675         variable MPTWO.
56676         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56677         MP3HALFS static const.
56679 2013-01-01  David S. Miller  <davem@davemloft.net>
56681         * po/ca.po: Update from translation team.
56683 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56685         * scripts/update-copyrights: New file.
56686         * Makeconfig: Reformat copyright notice.
56687         * ctype/ctype.h: Likewise.
56688         * debug/swprintf_chk.c: Likewise.
56689         * elf/dl-cache.c: Likewise.
56690         * elf/dl-debug.c: Likewise.
56691         * elf/dl-object.c: Likewise.
56692         * grp/initgroups.c: Likewise.
56693         * hurd/Makefile: Likewise.
56694         * hurd/hurd/signal.h: Likewise.
56695         * hurd/hurdfault.c: Likewise.
56696         * hurd/hurdioctl.c: Likewise.
56697         * hurd/hurdlookup.c: Likewise.
56698         * hurd/intr-msg.c: Likewise.
56699         * iconv/gconv_open.c: Likewise.
56700         * libio/swprintf.c: Likewise.
56701         * locale/lc-ctype.c: Likewise.
56702         * locale/nl_langinfo.c: Likewise.
56703         * mach/Machrules: Likewise.
56704         * mach/Makefile: Likewise.
56705         * malloc/obstack.h: Likewise.
56706         * manual/Makefile: Likewise.
56707         * manual/tsort.awk: Likewise.
56708         * misc/bits/stab.def: Likewise.
56709         * nis/nis_print_group_entry.c: Likewise.
56710         * nis/nis_table.c: Likewise.
56711         * nis/nss_compat/compat-pwd.c: Likewise.
56712         * nis/nss_compat/compat-spwd.c: Likewise.
56713         * po/Makefile: Likewise.
56714         * posix/fnmatch.c: Likewise.
56715         * posix/regex.h: Likewise.
56716         * resolv/Makefile: Likewise.
56717         * resolv/nss_dns/dns-network.c: Likewise.
56718         * resolv/res_hconf.c: Likewise.
56719         * scripts/gen-sorted.awk: Likewise.
56720         * soft-fp/soft-fp.h: Likewise.
56721         * stdio-common/printf.h: Likewise.
56722         * stdlib/monetary.h: Likewise.
56723         * stdlib/random.c: Likewise.
56724         * stdlib/random_r.c: Likewise.
56725         * sysdeps/generic/Makefile: Likewise.
56726         * sysdeps/gnu/Makefile: Likewise.
56727         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56728         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56729         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56730         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56731         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56732         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56733         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56734         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56735         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56736         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56737         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56738         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56739         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56740         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56741         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56742         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56743         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56744         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56745         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56746         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56747         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56748         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56749         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56750         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56751         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56752         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56753         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56754         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56755         * sysdeps/mach/hurd/errnos.awk: Likewise.
56756         * sysdeps/mach/hurd/fork.c: Likewise.
56757         * sysdeps/mach/hurd/getcwd.c: Likewise.
56758         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56759         * sysdeps/mach/hurd/mmap.c: Likewise.
56760         * sysdeps/mach/hurd/utimes.c: Likewise.
56761         * sysdeps/mach/hurd/xmknod.c: Likewise.
56762         * sysdeps/posix/profil.c: Likewise.
56763         * sysdeps/posix/readdir_r.c: Likewise.
56764         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56765         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56766         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56767         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56768         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56769         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56770         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56771         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56772         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56773         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56774         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56775         * sysdeps/pthread/lio_listio.c: Likewise.
56776         * sysdeps/sparc/dl-procinfo.h: Likewise.
56777         * sysdeps/unix/i386/sysdep.S: Likewise.
56778         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56779         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56780         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56781         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56783         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56784         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56785         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56786         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56787         * sysdeps/wordsize-32/divdi3.c: Likewise.
56788         * time/sys/time.h: Likewise.
56789         * wcsmbs/Makefile: Likewise.
56791 2013-01-01  David S. Miller  <davem@davemloft.net>
56793         * po/fr.po: Update from translation team.
56795         * catgets/gencat.c: Update copyright year.
56796         * csu/version.c: Likewise.
56797         * debug/catchsegv.sh: Likewise.
56798         * debug/pcprofiledump.c: Likewise.
56799         * debug/xtrace.sh: Likewise.
56800         * elf/ldconfig.c: Likewise.
56801         * elf/ldd.bash.in: Likewise.
56802         * elf/pldd.c: Likewise.
56803         * elf/sotruss.ksh: Likewise.
56804         * elf/sprof.c: Likewise.
56805         * iconv/iconv_prog.c: Likewise.
56806         * iconv/iconvconfig.c: Likewise.
56807         * locale/programs/locale.c: Likewise.
56808         * locale/programs/localedef.c: Likewise.
56809         * login/programs/pt_chown.c: Likewise.
56810         * malloc/memusage.sh: Likewise.
56811         * malloc/memusagestat.c: Likewise.
56812         * malloc/mtrace.pl: Likewise.
56813         * nscd/nscd.c: Likewise.
56814         * nss/getent.c: Likewise.
56815         * nss/makedb.c: Likewise.
56816         * posix/getconf.c: Likewise.
56818 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56820         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56821         numbers.
56823 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56825         * math/bits/mathcalls.h (modf): Use __nonnull.
56827 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56829         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56830         (split): Use macro CN instead of the bare value.
56831         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56832         could be used.
56833         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56834         instead of the bare value.
56835         (power1): Likewise.
56837 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56839         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56840         __ATAN_TWOM.
56841         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56843         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56844         their values.
56845         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56846         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56847         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56848         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56850 2012-12-28  Andreas Jaeger  <aj@suse.de>
56852         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56853         values are from Linux 3.7.
56855         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56856         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56858 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56860         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56861         TRUE case.
56863         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56864         (norm): Likewise.
56865         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56866         variables with preprocessor constants.
56867         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56868         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56869         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56871 2012-12-27  Bruno Haible  <bruno@clisp.org>
56873         [BZ #14317]
56874         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56875         only if needed.
56877 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56879         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56880         and use variable directly.
56881         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56883         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56884         MPONE.
56885         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56886         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56887         variable MPONE.
56888         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56889         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56890         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56891         include directive.  Remove local variable MPONE.
56892         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56893         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56894         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56896 2012-12-25  David S. Miller  <davem@davemloft.net>
56898         * version.h (RELEASE): Set to "development".
56899         (VERSION): Set to "2.17.90".
56900         * NEWS: Add 2.18 section.
56902 2012-12-21  David S. Miller  <davem@davemloft.net>
56904         * po/hr.po: Update from translation team.
56906 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56908         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56910 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56912         * NEWS:  Mention new memcpy for MIPS.
56914 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56916         * manual/contrib.texi (Contributors): Spelling correction.
56918 2012-12-15  David S. Miller  <davem@davemloft.net>
56920         * po/ru.po: Update from translation team.
56922 2012-12-13  David S. Miller  <davem@davemloft.net>
56924         * NEWS: Mention IFUNC testsuite enhancements.
56926         * po/pl.po: Update from translation team.
56927         * po/bg.po: Likewise.
56929         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56930         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56932 2012-12-11  David S. Miller  <davem@davemloft.net>
56934         * po/sv.po: Update from translation team.
56936         * po/vi.po: Update from translation team.
56938         * po/cs.po: Update from translation team.
56940         * po/de.po: Update from translation team.
56941         * po/eo.po: Likewise.
56942         * po/nl.po: Likewise.
56944 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56946         [BZ #14246]
56947         * manual/argp.texi (Argp Helper Functions): Move node to follow
56948         Argp Parsing State.
56950         [BZ #14872]
56951         * manual/conf.texi (Limits on File System Capacity): Mention if
56952         terminating null is included in the max size.
56954 2012-12-10  Andreas Jaeger  <aj@suse.de>
56956         * po/cs.po: Update from translation team.
56958 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56960         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56961         void pointer and cast to uintptr_t.
56962         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56963         path.
56964         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56965         * sysdeps/s390/s390-64/memset.S: Likewise.
56967 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56969         [BZ #14833]
56970         * menual/message.texi (Message Translation): Fix typos.
56971         (Helper programs for gettext): Likewise.
56973 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56975         [BZ #14898]
56976         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56977         Change to -1.
56979 2012-12-07  David S. Miller  <davem@davemloft.net>
56981         * po/libc.pot: Update.
56983 2012-12-07  Richard Henderson  <rth@redhat.com>
56985         [BZ #10114]
56986         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56987         normal/normal case to before the switch.
56988         (_FP_DIV): Likewise.
56990 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56991             Mike Frysinger  <vapier@gentoo.org>
56993         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56994         check for __NR_fadvise64_64.
56996 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56998         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56999         0, not just to plain "0" as a statement.
57000         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57001         with cw.
57003 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57005         * NEWS: Use sourceware.org in Bugzilla URL.
57007 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57010         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57012         * stdio-common/tst-put-error.c (do_test): Add newline to the
57013         padded test to ensure flush.
57015 2012-12-05  Jeff Law  <law@redhat.com>
57017         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57019 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57021         * README: Don't refer to ports add-on as distributed separately.
57022         Mention AArch64 in list of systems supported in the ports add-on.
57024         * LICENSES: Add more non-FSF copyright and license notices.
57026         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57027         ((unused)).
57029         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57031         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57032         10000 as width of padded output.
57034 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57036         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57038         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57039         variable LX with __attribute__ ((unused)).
57040         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57041         Likewise.
57042         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57043         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57044         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57045         with __attribute__ ((unused)).
57047 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57049         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57051 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57053         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57054         (CFLAGS-nldbl-acos.c): New variable.
57055         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57056         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57057         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57058         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57059         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57060         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57061         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57062         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57063         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57064         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57065         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57066         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57067         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57068         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57069         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57070         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57071         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57072         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57073         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57074         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57075         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57076         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57077         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57078         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57079         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57080         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57081         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57082         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57083         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57084         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57085         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57086         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57087         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57088         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57089         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57090         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57091         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57092         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57093         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57094         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57095         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57096         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57097         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57098         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57099         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57100         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57101         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57102         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57103         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57104         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57105         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57106         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57107         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57108         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57109         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57110         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57111         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57112         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57113         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57114         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57115         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57116         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57117         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57118         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57119         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57120         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57121         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57122         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57123         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57124         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57125         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57126         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57127         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57128         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57129         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57130         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57131         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57132         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57133         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57134         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57135         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57136         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57137         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57138         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57139         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57140         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57141         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57142         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57143         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57144         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57145         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57146         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57147         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57148         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57149         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57150         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57151         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57154         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57156         [BZ #14914]
57157         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57158         whole low double instead of just low 47 bits when splitting values
57159         into two parts.
57161 2012-12-03  Allan McRae  <allan@archlinux.org>
57163         * manual/stdio.texi (Predefined Printf Handlers): Remove
57164         @hsep and @vsep usage.
57166 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57168         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57169         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57171 2012-12-03  Jeff Law  <law@redhat.com>
57173         * time/sys/time.h (settimeofday): Do not mark TV argument
57174         as __nonnull.
57176 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57178         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57179         when currently writing and seek to current position when not.
57180         * libio/Makefile (tests): Remove bug-fclose1.
57181         * libio/bug-fclose1.c: Delete.
57183 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57185         * manual/arith.texi (feenableexcept): Fix typo.
57186         (fedisableexcept): Likewise.
57188 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57190         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57191         second, differently-typed declaration, rather than a cast.
57193 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57195         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57196         * include/rpc/svc.h: ... here.
57198 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57200         [BZ #13013]
57201         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57202         depending n and resplen2 to catch cases where answer
57203         equals answerp2.
57205 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57207         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57208         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57210 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57212         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57214 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57216         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57218 2012-11-28  Jeff Law  <law@redhat.com>
57220         [BZ #13761]
57221         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57222         dataset_temporary.  Track alloca usage into alloca_used.
57223         If dataset is large allocate and release it via malloc/free.
57225 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57227         [BZ #14197]
57228         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57230 2012-11-28  David S. Miller  <davem@davemloft.net>
57232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57234 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57236         [BZ #14803]
57237         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57238         of pi/2 rounded to nearest to 64 bits.
57239         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57240         nearest to 64 bits.
57241         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57242         bits.
57244 2012-11-28  Jeff Law <law@redhat.com>
57245             Martin Osvald <mosvald@redhat.com>
57247         [BZ #14889]
57248         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57249         * sunrpc/svc.c: Include time.h.
57250         (__svc_accept_failed): New function.
57251         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57252         any reason other than EINTR, call __svc_accept_failed.
57253         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57254         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57256 2012-11-28  Andreas Schwab  <schwab@suse.de>
57258         * scripts/abilist.awk: Also handle indirect functions in .opd
57259         section.
57261 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57263         [BZ #13881]
57264         * sysdeps/x86/fpu/powl_helper.c: New file.
57265         * sysdeps/x86/fpu/Makefile: Likewise.
57266         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57267         (p3): New object.
57268         (__ieee754_powl): Use __powl_helper for finite arguments except
57269         integer exponents below 8.
57270         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57271         (p3): New object.
57272         (__ieee754_powl): Use __powl_helper for finite arguments except
57273         integer exponents below 8.
57274         * math/libm-test.inc (pow_test): Add more tests and enable some
57275         previously disabled tests.
57276         * sysdeps/i386/fpu/libm-test-ulps: Update.
57277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57279 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57280             Carlos O'Donell  <carlos_odonell@mentor.com>
57282         * nss/makedb.c (is_prime): Assert that input is odd and greater
57283         than 4.  Note that fact in a comment too.
57284         (next_prime): Add 4 to input.
57286 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57288         [BZ #11741]
57289         * libio/Makefile (tests): Add test case tst-fwrite-error.
57290         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57291         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57292         * libio/tst-fwrite-error.c: New test case.
57294 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57296         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57297         before casting to void *.
57298         * include/libc-internal.h (__pointer_type): New macro.
57299         (__integer_if_pointer_type_sub): Likewise.
57300         (__integer_if_pointer_type): Likewise.
57301         (cast_to_integer): Likewise.
57302         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57303         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57304         before casting to atomic64_t.
57305         (atomic_exchange_acq): Likewise.
57306         (__arch_exchange_and_add_body): Likewise.
57307         (__arch_add_body): Likewise.
57308         (atomic_add_negative): Likewise.
57309         (atomic_add_zero): Likewise.
57311 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57313         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57314         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57315         (add_fdes): Likewise.
57316         (linear_search_fdes): Likewise.
57317         (binary_search_unencoded_fdes): Likewise.
57319 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57321         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57323 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57325         * configure.in: Autodetect C++ header directories.
57326         * configure: Regenerated.
57328 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57330         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57332 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57336 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57338         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57339         LDBL_MANT_DIG == 106]: Disable some tests.
57340         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57341         Likewise.
57342         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57343         Likewise.
57345         [BZ #14871]
57346         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57347         input for small inputs.  Return +/- pi/2 for large inputs.
57348         * math/libm-test.inc (atan_test): Add more tests.
57350         * sysdeps/generic/unwind-dw2-fde-glibc.c
57351         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57352         __attribute__ ((unused)).
57354         [BZ #14645]
57355         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57356         x * y if x and y are nonzero and z is zero.
57358         [BZ #14811]
57359         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57360         nonzero exponents with absolute value below 0x1p-117 to +/-
57361         0x1p-117.
57363         [BZ #14869]
57364         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57365         up arguments below 2**-450, not just those below 2**-500.
57366         * math/libm-test.inc (hypot_test): Add another test.
57368         [BZ #14868]
57369         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57370         Return a+b for ratio over 2**120, not 2**60.
57371         * math/libm-test.inc (hypot_test): Add another test.
57373         * math/libm-test.inc (clog_test): Use
57374         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57375         (clog10_test): Likewise.
57377         [BZ #6778]
57378         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57380 2012-11-22  Andreas Schwab  <schwab@suse.de>
57382         * sysdeps/i386/fpu/libm-test-ulps: Update.
57384 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57386         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57387         printf output with newline.
57389 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57391         [BZ #14865]
57392         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57393         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57394         -z nodlopen, -z initfirst and -z execstack support.
57395         * configure: Regenerated.
57397         * elf/elf.h (DF_1_NODIRECT): New macro.
57398         (DF_1_IGNMULDEF): Likewise.
57399         (DF_1_NOKSYMS): Likewise.
57400         (DF_1_NOHDR): Likewise.
57401         (DF_1_EDITED): Likewise.
57402         (DF_1_NORELOC): Likewise.
57403         (DF_1_SYMINTPOSE): Likewise.
57404         (DF_1_GLOBAUDIT): Likewise.
57405         (DF_1_SINGLETON): Likewise.
57406         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57407         DT_1_SUPPORTED_MASK bits.
57408         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57410 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57412         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57414 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57416         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57417         macro.
57419         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57420         (sendmmsg): Move declarations...
57421         * socket/sys/socket.h: ... here.
57422         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57423         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57424         include it from...
57425         * socket/recvmmsg.c: ... this new file.
57426         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57427         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57428         definition of __sendmmsg hidden.
57429         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57430         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57431         Move ENOSYS stub into and include it from...
57432         * socket/sendmmsg.c: ... this new file.
57433         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57434         (sysdep_routines): Move recvmmsg and sendmmsg...
57435         * socket/Makefile (routines): ... here.
57436         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57437         (GLIBC_PRIVATE): Add __sendmmsg.
57438         * include/sys/socket.h (__sendmmsg): Add declarations.
57439         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57440         sendmmsg.
57442 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57444         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57445         variable I1 with __attribute__ ((unused)).
57446         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57448 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57450         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57451         DUMMY variables with __attribute__ ((unused)).
57453         * bits/byteswap.h: Include <bits/types.h>.
57454         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57456 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57458         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57459         string_t.  Do not manually set errno.
57460         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57461         length with __strnlen.  Make sure to both set errno and return it on
57462         failure.
57464 2012-11-19  David S. Miller  <davem@davemloft.net>
57466         With help from Joseph Myers.
57467         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57468         very large arguments properly.
57469         * math/libm-test.inc (atan_test): New tests.
57470         (atan2_test): New tests.
57471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57474 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57476         [BZ #14856]
57477         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57478         Define to 3.
57480         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57481         [POSIX] (EADDRNOTAVAIL): Likewise.
57482         [POSIX] (EAFNOSUPPORT): Likewise.
57483         [POSIX] (EALREADY): Likewise.
57484         [POSIX] (ECONNABORTED): Likewise.
57485         [POSIX] (ECONNREFUSED): Likewise.
57486         [POSIX] (ECONNRESET): Likewise.
57487         [POSIX] (EDESTADDRREQ): Likewise.
57488         [POSIX] (EDQUOT): Likewise.
57489         [POSIX] (EHOSTUNREACH): Likewise.
57490         [POSIX] (EIDRM): Likewise.
57491         [POSIX] (EISCONN): Likewise.
57492         [POSIX] (ELOOP): Likewise.
57493         [POSIX] (EMULTIHOP): Likewise.
57494         [POSIX] (ENETDOWN): Likewise.
57495         [POSIX] (ENETUNREACH): Likewise.
57496         [POSIX] (ENOBUFS): Likewise.
57497         [POSIX] (ENODATA): Likewise.
57498         [POSIX] (ENOLINK): Likewise.
57499         [POSIX] (ENOMSG): Likewise.
57500         [POSIX] (ENOPROTOOPT): Likewise.
57501         [POSIX] (ENOSR): Likewise.
57502         [POSIX] (ENOSTR): Likewise.
57503         [POSIX] (ENOTCONN): Likewise.
57504         [POSIX] (ENOTSOCK): Likewise.
57505         [POSIX] (EOPNOTSUPP): Likewise.
57506         [POSIX] (EOVERFLOW): Likewise.
57507         [POSIX] (EPROTO): Likewise.
57508         [POSIX] (EPROTONOSUPPORT): Likewise.
57509         [POSIX] (EPROTOTYPE): Likewise.
57510         [POSIX] (ESTALE): Likewise.
57511         [POSIX] (ETIME): Likewise.
57512         [POSIX] (ETXTBSY): Likewise.
57513         [POSIX] (EWOULDBLOCK): Likewise.
57514         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57515         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57516         [POSIX] (SEEK_CUR): Likewise.
57517         [POSIX] (SEEK_END): Likewise.
57518         [POSIX || UNIX98] (mode_t): Do not require.
57519         [POSIX] (off_t): Likewise.
57520         [POSIX] (pid_t): Likewise.
57521         [POSIX] (sys/stat.h): Do not allow header.
57522         [POSIX] (unistd.h): Likewise.
57523         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57524         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57525         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57526         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57527         require.
57528         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57529         sigevent): Specify elements.
57530         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57531         entry.
57532         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57533         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57535         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57536         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57537         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57538         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57539         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57540         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57541         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57542         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57543         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57544         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57545         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57546         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57547         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57548         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57549         Likewise.
57550         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57551         Likewise.
57552         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57553         Likewise.
57554         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57555         Likewise.
57556         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57557         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57558         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57559         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57560         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57561         Specify lower bound on value.
57562         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57563         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57564         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57565         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57566         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57567         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57568         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57569         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57570         value.
57571         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57572         as optional.
57573         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57574         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57575         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57576         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57577         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57578         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57579         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57580         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57581         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57582         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57583         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57584         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57585         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57586         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57587         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57588         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57589         entry.
57590         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57591         optional.
57592         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57593         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57594         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57595         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57596         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57597         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57598         Likewise.
57599         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57600         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57601         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57602         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57603         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57604         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57605         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57606         as optional.
57607         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57608         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57609         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57610         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57611         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57612         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57613         specify as optional.
57614         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57615         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57616         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57617         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57618         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57619         [XPG3] (NL_LANGMAX): Likewise.
57620         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57621         [POSIX || XPG3] (NL_NMAX): Likewise.
57622         [POSIX || XPG3] (NL_SETMAX): Likewise.
57623         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57624         [XPG3] (NZERO): Likewise.
57625         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57626         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57627         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57628         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57629         (REG_ERANGE): Expect.
57630         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57631         optional-constant.
57632         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57633         Use (void) in prototype.
57634         [POSIX] (*_t): Allow.
57635         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57636         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57637         (WRDE_BADVAL): Expect.
57639         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57640         expect.
57641         [XPG3 || XPG4] (O_RSYNC): Likewise.
57642         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57643         Likewise.
57644         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57645         [XPG3 || XPG4] (sigqueue): Likewise.
57646         [XPG3 || XPG4] (sigtimedwait): Likewise.
57647         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57648         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57649         [XPG3 || XPG4] (vsnprintf): Likewise.
57650         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57651         Likewise.
57652         [XPG3 || XPG4] (blksize_t): Likewise.
57653         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57654         Likewise.
57655         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57656         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57657         [XPG3 || XPG4] (struct itimerspec): Likewise.
57658         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57659         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57660         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57661         [XPG3 || XPG4] (clockid_t): Likewise.
57662         [XPG3 || XPG4] (timer_t): Likewise.
57663         [XPG3 || XPG4] (clock_getres): Likewise.
57664         [XPG3 || XPG4] (clock_gettime): Likewise.
57665         [XPG3 || XPG4] (clock_settime): Likewise.
57666         [XPG3 || XPG4] (nanosleep): Likewise.
57667         [XPG3 || XPG4] (timer_create): Likewise.
57668         [XPG3 || XPG4] (timer_delete): Likewise.
57669         [XPG3 || XPG4] (timer_gettime): Likewise.
57670         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57671         [XPG3 || XPG4] (timer_settime): Likewise.
57672         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57673         [XPG3 || XPG4] (getlogin_r): Likewise.
57674         [XPG3 || XPG4] (pread): Likewise.
57675         [XPG3 || XPG4] (pthread_atfork): Likewise.
57676         [XPG3 || XPG4] (pwrite): Likewise.
57678         [BZ #14835]
57679         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57680         <bits/siginfo.h>.
57682 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57684         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57685         finalizing MALLSTREAM.
57687         * sysdeps/mach/hurd/syncfs.c: New file.
57689 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57691         [BZ #14719]
57692         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57693         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57694         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57695         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57696         (_nss_dns_gethostbyname4_r): Likewise.
57697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57698         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57700 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57702         [BZ #13763]
57703         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57705 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57707         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57708         * elf/cache.c (print_entry): Print ",AArch64" for
57709         FLAG_AARCH64_LIB64
57711         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57712         * elf/cache.c (print_entry): Print ",hard-float" for
57713         FLAG_ARM_LIBHF.
57715 2012-11-18  David S. Miller  <davem@davemloft.net>
57717         With help from Joseph Myers.
57718         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57719         cutoff to 2**-13.
57720         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57721         cutoff to 2**-25.
57722         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57723         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57724         small.
57725         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57726         * math/libm-test.inc (y0_test): New tests.
57727         (y1_test): New tests.
57728         * sysdeps/i386/fpu/libm-test-ulps: Update.
57729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57732 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57734         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57735         64-bit targets.
57736         * configure: Regenerated.
57738 2012-11-17  David S. Miller  <davem@davemloft.net>
57740         [BZ #14811]
57741         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57742         nonzero exponents with absolute value below 0x1p-128 to +/-
57743         0x1p-128.
57745 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57747         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57749         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57751         * posix/getconf-speclist.c: New file.
57752         * posix/posix-envs.def: Likewise.
57753         * posix/confstr.c (START_ENV_GROUP): New macro.
57754         (END_ENV_GROUP): Likewise.
57755         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57756         (KNOWN_PRESENT_ENV_STRING): Likewise.
57757         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57758         (UNKNOWN_ENVIRONMENT): Likewise.
57759         (confstr): Include posix-envs.def instead of handling
57760         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57761         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57762         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57763         (END_ENV_GROUP): Likewise.
57764         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57765         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57766         (UNKNOWN_ENVIRONMENT): Likewise.
57767         (__sysconf): Include posix-envs.def instead of handling associated
57768         cases directly here.
57769         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57770         preprocessing getconf-speclist.c rather than running getconf or
57771         generating empty file.
57773 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57775         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57777 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57779         [BZ #14672]
57780         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57782 2012-11-16  David S. Miller  <davem@davemloft.net>
57784         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57785         smaller than LDBL_EPSILON/2.0L, just return xm1.
57787 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57789         * elf/tst-array1.c (init): Set constructor priority to 1000.
57790         (fini): Set destructor priority to 1000.
57791         * elf/tst-array2dep.c: Likewise.
57793 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57795         [BZ #11741]
57796         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57797         (_IO_new_file_xsputn): Also return EOF if none of the input
57798         data was written when overflow failed.
57799         * libio/iopadn.c (_IO_padn): Likewise.
57800         * libio/iowpadn.c (_IO_wpadn): Likewise.
57801         * stdio-common/tst-put-error.c: Add copyright notice.
57802         (do_test): Add case for printing padded string.
57803         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57804         _IO_padn returned error.
57805         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57806         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57807         return EOF.
57809 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57811         * libio/libioP.h: Add comment note that the references to C++
57812         bits are now obsolete.
57814 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57816         * math/libm-test.inc (check_complex): Use asprintf.
57818 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57820         * debug/pcprofiledump.c (print_version): Update copyright year.
57821         * malloc/memusagestat.c (print_version): Likewise.
57823 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57825         [BZ #14831]
57826         * elf/Makefile (tests): Add tst-audit8.
57827         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57828         ($(objpfx)tst-audit8.out): New target.
57829         (tst-audit8-ENV): New variable.
57830         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57831         audit if l_reloc_result is NULL.
57832         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57833         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57834         * elf/tst-audit8.c: New file.
57836 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57838         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57839         * misc/Makefile (CFLAGS-select.c): Define.
57840         * posix/Makefile (CFLAGS-pause.c): Define.
57842 2012-11-13  David S. Miller  <davem@davemloft.net>
57844         * crypt/Makefile: Move test targets after toplevel Rules
57845         inclusion.  Grab any necessary sysdep routines when linking.
57846         * crypt/md5.c (md5_process_block): Remove define, we will always
57847         name it __md5_process_block.
57848         (md5_finish_ctx): Update md5_process_block call.
57849         (md5_stream): Likewise.
57850         (md5_process_bytes): Likewise.
57851         (md5_process_block): Rename to __md5_process_block and move to ...
57852         * crypt/md5-block.c: ... here.
57853         * crypt/sha256.c (sha256_process_block): Move to ...
57854         * crypt/sha256-block.c: ... here.
57855         * crypt/sha512.c (sha512_process_block): Move to ...
57856         * crypt/sha512-block.c: ... here.
57857         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57858         path.
57859         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57860         * sysdeps/sparc/sparc64/multiarch/Makefile
57861         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57862         crypt subdir.
57863         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57864         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57865         multiarch changes.
57866         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57867         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57868         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57869         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57870         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57871         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57872         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57873         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57874         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57875         file.
57876         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57877         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57878         file.
57879         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57881 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57883         * timezone/tzselect.ksh: Update from tzcode git revision
57884         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57885         * timezone/zdump.c: Likewise.
57886         * timezone/zic.c: Likewise.
57887         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57888         in TZVERSION setting, not $(PKGVERSION).
57889         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57890         REPORT_BUGS_TO settings.
57892         [BZ #14838]
57893         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57894         macro.
57896 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57898         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57899         detection to immediately after _FP_ROUND().
57900         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57901         bits are 0.
57903 2012-11-11  David S. Miller  <davem@davemloft.net>
57905         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57906         inttypes.h
57907         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57908         __close rather than their public counterparts.
57910 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57912         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57913         file.
57914         [UNIX98] (sem_timedwait): Do not expect.
57915         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57916         [XPG4 || UNIX98] (sockatmark): Do not expect.
57917         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57918         (clock_getcpuclockid): Do not expect.
57919         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57920         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57921         Do not expect.
57922         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57923         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57924         [UNIX98] (vwscanf): Likewise.
57925         [UNIX98] (vswscanf): Likewise.
57927 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57929         * timezone/version.h: Remove file.
57930         * timezone/README: Do not refer to version.h.
57931         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57932         $(objpfx)version.h.
57933         ($(objpfx)zdump.o): Likewise.
57934         ($(objpfx)version.h): New target.
57936         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57937         2012i.
57938         * timezone/README: Don't mention modification to tzselect.ksh.
57939         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57940         work on unmodified tzselect.ksh.  Substitute version numbers in
57941         tzselect.ksh.
57943         * Makefile (format-me): Remove.
57944         (INSTALL): Adjust indentation.  Use commands directly instead of
57945         using $(format-me).
57947         * aclocal.m4 (ACX_PKGVERSION): New macro.
57948         (ACX_BUGURL): Likewise.
57949         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57950         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57951         (REPORT_BUGS_TO): Likewise.
57952         * configure: Regenerated.
57953         * config.h.in (PKGVERSION): New macro.
57954         (REPORT_BUGS_TO): Likewise.
57955         * config.make.in (PKGVERSION): New variable.
57956         (PKGVERSION_TEXI): Likewise.
57957         (REPORT_BUGS_TO): Likewise.
57958         (REPORT_BUGS_TEXI): Likewise.
57959         * Makefile (format-me): Use -I$(common-objpfx)manual.
57960         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57961         ($(common-objpfx)manual/%): New target.
57962         (manual/%): Remove target.
57963         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57964         (print_version): Use PKGVERSION.
57965         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57966         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57967         and REPORT_BUGS_TO.
57968         ($(objpfx)xtrace): Likewise.
57969         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57970         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57971         (print_version): Use PKGVERSION.
57972         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57973         (do_version): Use PKGVERSION.
57974         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57975         REPORT_BUGS_TO.
57976         (common-ldd-rewrite): Likewise.
57977         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57978         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57979         (print_version): Use PKGVERSION.
57980         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57981         * elf/pldd.c (argp_program_bug_address): Remove variable.
57982         (more_help): New function.
57983         (argp): Use more_help.
57984         (print_version): Use PKGVERSION.
57985         * elf/sln.c (main): Use PKGVERSION.
57986         (usage): Use REPORT_BUGS_TO.
57987         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57988         (top level): Use PKGVERSION.
57989         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57990         (print_version): Use PKGVERSION.
57991         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57992         (print_version): Use PKGVERSION.
57993         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57994         (print_version): Use PKGVERSION.
57995         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57996         (print_version): Use PKGVERSION.
57997         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57998         (print_version): Use PKGVERSION.
57999         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58000         (print_version): Use PKGVERSION.
58001         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58002         and BUGURL.
58003         ($(objpfx)memusage): Likewise.
58004         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58005         (do_version): Use PKGVERSION.
58006         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58007         (print_version): Use PKGVERSION.
58008         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58009         ($PKGVERSION): New variable.
58010         ($REPORT_BUGS_TO): Likewise.
58011         (usage): Use $REPORT_BUGS_TO.
58012         (top level): Use $PKGVERSION.
58013         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58014         ($(objpfx)pkgvers.texi): New rule.
58015         ($(objpfx)stamp-pkgvers): Likewise.
58016         * manual/install.texi: Include pkgvers.texi.
58017         (--with-pkgversion): Document new configure option.
58018         (--with-bugurl): Likewise.
58019         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58020         than necessarily for this particular distribution.  Use
58021         REPORT_BUGS_TO for where to report bugs.
58022         * INSTALL: Regenerated.
58023         * manual/libc.texinfo: Include pkgvers.texi.
58024         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58025         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58026         (print_version): Use PKGVERSION.
58027         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58028         (print_version): Use PKGVERSION.
58029         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58030         (print_version): Use PKGVERSION.
58031         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58032         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58033         macro.
58034         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58035         (print_version): Use PKGVERSION.
58036         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58037         (print_version): Use PKGVERSION.
58038         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58039         and PKGVERSION.
58041         * timezone/checktab.awk: Update from tzcode 2012i.
58042         * timezone/ialloc.c: Likewise.
58043         * timezone/private.h: Likewise.
58044         * timezone/scheck.c: Likewise.
58045         * timezone/tzfile.h: Likewise.
58046         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58047         (TZVERSION): Hardcode tzcode version number.
58048         * timezone/zdump.c: Update from tzcode 2012i.
58049         * timezone/zic.c: Likewise.
58050         * timezone/version.h: New file.
58051         * timezone/README: Describe version.h.  Update upstream location.
58053         [BZ #14824]
58054         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58055         (mktemp): Enable declaration.
58056         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58057         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58058         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58059         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58060         Likewise.
58061         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58062         Likewise.
58063         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58064         Likewise.
58065         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58066         Likewise.
58067         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58068         Likewise.
58069         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58070         Likewise.
58072         [BZ #14821]
58073         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58074         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58075         for copies of such integer values.
58076         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58077         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58079 2012-11-09  Andreas Jaeger  <aj@suse.de>
58081         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58082         definitions and declarations that are provided by
58083         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58085 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58087         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58088         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58089         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58090         definition.
58092 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58094         * elf/elf.h: Update comment before AArch64 relocations.
58096 2012-11-07  David S. Miller  <davem@davemloft.net>
58098         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58099         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58100         (__start_context): Declare.
58101         (__makecontext_ret): Delete.
58102         (__makecontext): Hook up __start_context instead of
58103         __makecontext_ret.
58104         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58105         (sysdep_routines): Add __start_context when in stdlib.
58107 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58109         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58110         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58111         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58112         hardcoded "nm".
58113         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58114         (READELF): New variable.  Use it instead of hardcoded "readelf".
58116 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58118         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58119         * sysdeps/x86/Makefile: Here.
58120         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58121         * sysdeps/x86/tst-xmmymm.sh: This.
58123 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58125         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58126         expectations.
58127         [UNIX98] (pthread_barrier_t): Do not expect.
58128         [UNIX98] (pthread_barrierattr_t): Likewise.
58129         [UNIX98] (pthread_spinlock_t): Likewise.
58130         [UNIX98] (pthread_barrier_destroy): Likewise.
58131         [UNIX98] (pthread_barrier_init): Likewise.
58132         [UNIX98] (pthread_barrier_wait): Likewise.
58133         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58134         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58135         [UNIX98] (pthread_barrierattr_init): Likewise.
58136         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58137         [UNIX98] (pthread_getcpuclockid): Likewise.
58138         [UNIX98] (pthread_mutex_timedlock): Likewise.
58139         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58140         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58141         [UNIX98] (pthread_sigmask): Likewise.
58142         [UNIX98] (pthread_spin_destroy): Likewise.
58143         [UNIX98] (pthread_spin_init): Likewise.
58144         [UNIX98] (pthread_spin_lock): Likewise.
58145         [UNIX98] (pthread_spin_trylock): Likewise.
58146         [UNIX98] (pthread_spin_unlock): Likewise.
58147         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58148         Do not expect.
58149         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58150         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58151         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58152         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58153         [XPG3 || XPG4] (pthread_key_t): Likewise.
58154         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58155         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58156         [XPG3 || XPG4] (pthread_once_t): Likewise.
58157         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58158         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58159         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58160         [XPG3 || XPG4] (pthread_t): Likewise.
58162         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58163         not expect.
58164         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58166         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58167         Change function return type to int.
58169         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58170         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58171         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58172         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58173         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58174         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58175         [!POSIX] (posix_madvise): Likewise.
58176         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58177         && !UNIX98].
58178         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58179         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58180         (mode_t): Likewise.
58181         (posix_mem_offset): Likewise.
58182         (posix_typed_mem_get_info): Likewise.
58183         (posix_typed_mem_open): Likewise.
58185         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58186         Change condition to [XOPEN2K8].
58188         * conform/conformtest.pl: Preprocess allow-header data with -x c
58189         instead of from stdin.
58190         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58191         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58192         [C99-based standards] (cerfc): Likewise.
58193         [C99-based standards] (cexp2): Likewise.
58194         [C99-based standards] (cexpm1): Likewise.
58195         [C99-based standards] (clog10): Likewise.
58196         [C99-based standards] (clog1p): Likewise.
58197         [C99-based standards] (clog2): Likewise.
58198         [C99-based standards] (clgamma): Likewise.
58199         [C99-based standards] (ctgamma): Likewise.
58200         [C99-based standards] (cerff): Likewise.
58201         [C99-based standards] (cerfcf): Likewise.
58202         [C99-based standards] (cexp2f): Likewise.
58203         [C99-based standards] (cexpm1f): Likewise.
58204         [C99-based standards] (clog10f): Likewise.
58205         [C99-based standards] (clog1pf): Likewise.
58206         [C99-based standards] (clog2f): Likewise.
58207         [C99-based standards] (clgammaf): Likewise.
58208         [C99-based standards] (ctgammaf): Likewise.
58209         [C99-based standards] (cerfl): Likewise.
58210         [C99-based standards] (cerfcl): Likewise.
58211         [C99-based standards] (cexp2l): Likewise.
58212         [C99-based standards] (cexpm1l): Likewise.
58213         [C99-based standards] (clog10l): Likewise.
58214         [C99-based standards] (clog1pl): Likewise.
58215         [C99-based standards] (clog2l): Likewise.
58216         [C99-based standards] (clgammal): Likewise.
58217         [C99-based standards] (ctgammal): Likewise.
58218         * conform/data/inttypes.h-data [C99-based standards]: Include
58219         stdint.h-data.  Remove all expectations for stdint.h contents.
58220         [C99-based standards] (PRI*): Do not allow.
58221         [C99-based standards] (SCN*): Likewise.
58222         [C99-based standards] (*_t): Likewise.
58223         [C99-based-standards] (PRId8): Expect macro.
58224         [C99-based-standards] (PRIi8): Likewise.
58225         [C99-based-standards] (PRIo8): Likewise.
58226         [C99-based-standards] (PRIu8): Likewise.
58227         [C99-based-standards] (PRIx8): Likewise.
58228         [C99-based-standards] (PRIX8): Likewise.
58229         [C99-based-standards] (SCNd8): Likewise.
58230         [C99-based-standards] (SCNi8): Likewise.
58231         [C99-based-standards] (SCNo8): Likewise.
58232         [C99-based-standards] (SCNu8): Likewise.
58233         [C99-based-standards] (SCNx8): Likewise.
58234         [C99-based-standards] (PRIdLEAST8): Likewise.
58235         [C99-based-standards] (PRIiLEAST8): Likewise.
58236         [C99-based-standards] (PRIoLEAST8): Likewise.
58237         [C99-based-standards] (PRIuLEAST8): Likewise.
58238         [C99-based-standards] (PRIxLEAST8): Likewise.
58239         [C99-based-standards] (PRIXLEAST8): Likewise.
58240         [C99-based-standards] (SCNdLEAST8): Likewise.
58241         [C99-based-standards] (SCNiLEAST8): Likewise.
58242         [C99-based-standards] (SCNoLEAST8): Likewise.
58243         [C99-based-standards] (SCNuLEAST8): Likewise.
58244         [C99-based-standards] (SCNxLEAST8): Likewise.
58245         [C99-based-standards] (PRIdFAST8): Likewise.
58246         [C99-based-standards] (PRIiFAST8): Likewise.
58247         [C99-based-standards] (PRIoFAST8): Likewise.
58248         [C99-based-standards] (PRIuFAST8): Likewise.
58249         [C99-based-standards] (PRIxFAST8): Likewise.
58250         [C99-based-standards] (PRIXFAST8): Likewise.
58251         [C99-based-standards] (SCNdFAST8): Likewise.
58252         [C99-based-standards] (SCNiFAST8): Likewise.
58253         [C99-based-standards] (SCNoFAST8): Likewise.
58254         [C99-based-standards] (SCNuFAST8): Likewise.
58255         [C99-based-standards] (SCNxFAST8): Likewise.
58256         [C99-based-standards] (PRId16): Likewise.
58257         [C99-based-standards] (PRIi16): Likewise.
58258         [C99-based-standards] (PRIo16): Likewise.
58259         [C99-based-standards] (PRIu16): Likewise.
58260         [C99-based-standards] (PRIx16): Likewise.
58261         [C99-based-standards] (PRIX16): Likewise.
58262         [C99-based-standards] (SCNd16): Likewise.
58263         [C99-based-standards] (SCNi16): Likewise.
58264         [C99-based-standards] (SCNo16): Likewise.
58265         [C99-based-standards] (SCNu16): Likewise.
58266         [C99-based-standards] (SCNx16): Likewise.
58267         [C99-based-standards] (PRIdLEAST16): Likewise.
58268         [C99-based-standards] (PRIiLEAST16): Likewise.
58269         [C99-based-standards] (PRIoLEAST16): Likewise.
58270         [C99-based-standards] (PRIuLEAST16): Likewise.
58271         [C99-based-standards] (PRIxLEAST16): Likewise.
58272         [C99-based-standards] (PRIXLEAST16): Likewise.
58273         [C99-based-standards] (SCNdLEAST16): Likewise.
58274         [C99-based-standards] (SCNiLEAST16): Likewise.
58275         [C99-based-standards] (SCNoLEAST16): Likewise.
58276         [C99-based-standards] (SCNuLEAST16): Likewise.
58277         [C99-based-standards] (SCNxLEAST16): Likewise.
58278         [C99-based-standards] (PRIdFAST16): Likewise.
58279         [C99-based-standards] (PRIiFAST16): Likewise.
58280         [C99-based-standards] (PRIoFAST16): Likewise.
58281         [C99-based-standards] (PRIuFAST16): Likewise.
58282         [C99-based-standards] (PRIxFAST16): Likewise.
58283         [C99-based-standards] (PRIXFAST16): Likewise.
58284         [C99-based-standards] (SCNdFAST16): Likewise.
58285         [C99-based-standards] (SCNiFAST16): Likewise.
58286         [C99-based-standards] (SCNoFAST16): Likewise.
58287         [C99-based-standards] (SCNuFAST16): Likewise.
58288         [C99-based-standards] (SCNxFAST16): Likewise.
58289         [C99-based-standards] (PRId32): Likewise.
58290         [C99-based-standards] (PRIi32): Likewise.
58291         [C99-based-standards] (PRIo32): Likewise.
58292         [C99-based-standards] (PRIu32): Likewise.
58293         [C99-based-standards] (PRIx32): Likewise.
58294         [C99-based-standards] (PRIX32): Likewise.
58295         [C99-based-standards] (SCNd32): Likewise.
58296         [C99-based-standards] (SCNi32): Likewise.
58297         [C99-based-standards] (SCNo32): Likewise.
58298         [C99-based-standards] (SCNu32): Likewise.
58299         [C99-based-standards] (SCNx32): Likewise.
58300         [C99-based-standards] (PRIdLEAST32): Likewise.
58301         [C99-based-standards] (PRIiLEAST32): Likewise.
58302         [C99-based-standards] (PRIoLEAST32): Likewise.
58303         [C99-based-standards] (PRIuLEAST32): Likewise.
58304         [C99-based-standards] (PRIxLEAST32): Likewise.
58305         [C99-based-standards] (PRIXLEAST32): Likewise.
58306         [C99-based-standards] (SCNdLEAST32): Likewise.
58307         [C99-based-standards] (SCNiLEAST32): Likewise.
58308         [C99-based-standards] (SCNoLEAST32): Likewise.
58309         [C99-based-standards] (SCNuLEAST32): Likewise.
58310         [C99-based-standards] (SCNxLEAST32): Likewise.
58311         [C99-based-standards] (PRIdFAST32): Likewise.
58312         [C99-based-standards] (PRIiFAST32): Likewise.
58313         [C99-based-standards] (PRIoFAST32): Likewise.
58314         [C99-based-standards] (PRIuFAST32): Likewise.
58315         [C99-based-standards] (PRIxFAST32): Likewise.
58316         [C99-based-standards] (PRIXFAST32): Likewise.
58317         [C99-based-standards] (SCNdFAST32): Likewise.
58318         [C99-based-standards] (SCNiFAST32): Likewise.
58319         [C99-based-standards] (SCNoFAST32): Likewise.
58320         [C99-based-standards] (SCNuFAST32): Likewise.
58321         [C99-based-standards] (SCNxFAST32): Likewise.
58322         [C99-based-standards] (PRId64): Likewise.
58323         [C99-based-standards] (PRIi64): Likewise.
58324         [C99-based-standards] (PRIo64): Likewise.
58325         [C99-based-standards] (PRIu64): Likewise.
58326         [C99-based-standards] (PRIx64): Likewise.
58327         [C99-based-standards] (PRIX64): Likewise.
58328         [C99-based-standards] (SCNd64): Likewise.
58329         [C99-based-standards] (SCNi64): Likewise.
58330         [C99-based-standards] (SCNo64): Likewise.
58331         [C99-based-standards] (SCNu64): Likewise.
58332         [C99-based-standards] (SCNx64): Likewise.
58333         [C99-based-standards] (PRIdLEAST64): Likewise.
58334         [C99-based-standards] (PRIiLEAST64): Likewise.
58335         [C99-based-standards] (PRIoLEAST64): Likewise.
58336         [C99-based-standards] (PRIuLEAST64): Likewise.
58337         [C99-based-standards] (PRIxLEAST64): Likewise.
58338         [C99-based-standards] (PRIXLEAST64): Likewise.
58339         [C99-based-standards] (SCNdLEAST64): Likewise.
58340         [C99-based-standards] (SCNiLEAST64): Likewise.
58341         [C99-based-standards] (SCNoLEAST64): Likewise.
58342         [C99-based-standards] (SCNuLEAST64): Likewise.
58343         [C99-based-standards] (SCNxLEAST64): Likewise.
58344         [C99-based-standards] (PRIdFAST64): Likewise.
58345         [C99-based-standards] (PRIiFAST64): Likewise.
58346         [C99-based-standards] (PRIoFAST64): Likewise.
58347         [C99-based-standards] (PRIuFAST64): Likewise.
58348         [C99-based-standards] (PRIxFAST64): Likewise.
58349         [C99-based-standards] (PRIXFAST64): Likewise.
58350         [C99-based-standards] (SCNdFAST64): Likewise.
58351         [C99-based-standards] (SCNiFAST64): Likewise.
58352         [C99-based-standards] (SCNoFAST64): Likewise.
58353         [C99-based-standards] (SCNuFAST64): Likewise.
58354         [C99-based-standards] (SCNxFAST64): Likewise.
58355         [C99-based-standards] (PRIdMAX): Likewise.
58356         [C99-based-standards] (PRIiMAX): Likewise.
58357         [C99-based-standards] (PRIoMAX): Likewise.
58358         [C99-based-standards] (PRIuMAX): Likewise.
58359         [C99-based-standards] (PRIxMAX): Likewise.
58360         [C99-based-standards] (PRIXMAX): Likewise.
58361         [C99-based-standards] (SCNdMAX): Likewise.
58362         [C99-based-standards] (SCNiMAX): Likewise.
58363         [C99-based-standards] (SCNoMAX): Likewise.
58364         [C99-based-standards] (SCNuMAX): Likewise.
58365         [C99-based-standards] (SCNxMAX): Likewise.
58366         [C99-based-standards] (PRIdPTR): Likewise.
58367         [C99-based-standards] (PRIiPTR): Likewise.
58368         [C99-based-standards] (PRIoPTR): Likewise.
58369         [C99-based-standards] (PRIuPTR): Likewise.
58370         [C99-based-standards] (PRIxPTR): Likewise.
58371         [C99-based-standards] (PRIXPTR): Likewise.
58372         [C99-based-standards] (SCNdPTR): Likewise.
58373         [C99-based-standards] (SCNiPTR): Likewise.
58374         [C99-based-standards] (SCNoPTR): Likewise.
58375         [C99-based-standards] (SCNuPTR): Likewise.
58376         [C99-based-standards] (SCNxPTR): Likewise.
58377         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58378         allow.
58379         * conform/data/stdint.h-data: Update comments to clarify
58380         requirements.
58381         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58382         type.
58383         [C99-based standards] (INT8_MAX): Likewise.
58384         [C99-based standards] (INT16_MIN): Likewise.
58385         [C99-based standards] (INT16_MAX): Likewise.
58386         [C99-based standards] (INT32_MIN): Likewise.
58387         [C99-based standards] (INT32_MAX): Likewise.
58388         [C99-based standards] (INT64_MIN): Likewise.
58389         [C99-based standards] (INT64_MAX): Likewise.
58390         [C99-based standards] (UINT8_MAX): Likewise.
58391         [C99-based standards] (UINT16_MAX): Likewise.
58392         [C99-based standards] (UINT32_MAX): Likewise.
58393         [C99-based standards] (UINT64_MAX): Likewise.
58394         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58395         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58396         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58397         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58398         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58399         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58400         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58401         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58402         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58403         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58404         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58405         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58406         [C99-based standards] (INT_FAST8_MIN): Likewise.
58407         [C99-based standards] (INT_FAST8_MAX): Likewise.
58408         [C99-based standards] (INT_FAST16_MIN): Likewise.
58409         [C99-based standards] (INT_FAST16_MAX): Likewise.
58410         [C99-based standards] (INT_FAST32_MIN): Likewise.
58411         [C99-based standards] (INT_FAST32_MAX): Likewise.
58412         [C99-based standards] (INT_FAST64_MIN): Likewise.
58413         [C99-based standards] (INT_FAST64_MAX): Likewise.
58414         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58415         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58416         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58417         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58418         [C99-based standards] (INTPTR_MIN): Likewise.
58419         [C99-based standards] (INTPTR_MAX): Likewise.
58420         [C99-based standards] (UINTPTR_MAX): Likewise.
58421         [C99-based standards] (INTMAX_MIN): Likewise.
58422         [C99-based standards] (INTMAX_MAX): Likewise.
58423         [C99-based standards] (UINTMAX_MAX): Likewise.
58424         [C99-based standards] (PTRDIFF_MIN): Likewise.
58425         [C99-based standards] (PTRDIFF_MAX): Likewise.
58426         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58427         [C99-based standards] (SIZE_MAX): Likewise.
58428         [C99-based standards] (WCHAR_MAX): Likewise.
58429         [C99-based standards] (WINT_MAX): Likewise.
58430         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58431         constraint on value.
58432         [C99-based standards] (WCHAR_MIN): Likewise.
58433         [C99-based standards] (WINT_MIN): Likewise.
58434         [C99-based standards] (*_t): Allow.
58435         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58436         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58437         Include math.h-data and complex.h-data.  Remove all expectations
58438         of math.h and complex.h contents.
58439         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58440         at end of line.
58441         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58442         (struct tm): Expect tag.
58443         [C99-based-standards] (wcstof): Expect function.
58444         [C99-based-standards] (wcstold): Likewise.
58445         [C99-based-standards] (wcstoll): Likewise.
58446         [C99-based-standards] (wcstoull): Likewise.
58447         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58448         macro-int-constant.  Specify type.
58449         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58450         constraint on value.
58451         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58452         Specify type.
58453         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58454         Specify value.
58455         [ISO C standards]: Do not allow headers.
58456         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58457         wcs[abcdefghijklmnopqrstuvwxyz]*.
58458         [ISO C standards] (*_t): Do not allow.
58459         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58460         Expect function.
58461         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58462         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58463         Specify type.
58464         [ISO C standards]: Do not allow headers.
58465         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58466         is[abcdefghijklmnopqrstuvwxyz]*.
58467         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58468         to[abcdefghijklmnopqrstuvwxyz]*.
58469         [ISO C standards] (*_t): Do not allow.
58470         * conform/data/stdalign.h-data: New file.
58471         * conform/data/stdbool.h-data: Likewise.
58472         * conform/data/stdnoreturn.h-data: Likewise.
58474 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58476         [BZ #14815]
58477         * manual/filesys.texi (Directory Entries): Typo fix.
58478         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58480 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58482         * elf/elf.h (EM_AARCH64): New macro.
58483         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58484         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58485         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58486         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58487         (R_AARCH64_TLSDESC): Likewise.
58488         (NT_ARM_TLS): Likewise.
58489         (NT_ARM_HW_BREAK): Likewise.
58490         (NT_ARM_HW_WATCH): Likewise.
58492 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58494         [BZ #14811]
58495         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58496         (__ieee754_powl): Saturate nonzero exponents with absolute value
58497         below 0x1p-79 to +/- 0x1p-79.
58498         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58499         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58500         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58501         nonzero exponents with absolute value below 0x1p-32 to +/-
58502         0x1p-32.
58503         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58504         (__ieee754_powl): Saturate nonzero exponents with absolute value
58505         below 0x1p-79 to +/- 0x1p-79.
58506         * math/libm-test.inc (pow_test): Add more tests.
58508 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58510         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58511         _dl_s390_cap_flags with kernel. Increase string length.
58512         (_dl_s390_platforms): Add z196 and zEC12.
58514 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58516         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58517         Change XOPEN21K to XOPEN2K.
58519 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58521         * string/memmove.c: Use memcpy when possible.
58523 2012-11-06  Andreas Jaeger  <aj@suse.de>
58525         * po/eo.po: Update from translation team.
58527 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58529         [BZ #14793]
58530         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58531         exponent and small x and y exponents, scale x or y up.  Increase
58532         by 2 the exponent used in scaling up.
58533         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58534         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58535         * math/libm-test.inc (fma_test): Add more tests.
58536         (fma_test_towardzero): Likewise.
58537         (fma_test_downward): Likewise.
58538         (fma_test_upward): Likewise.
58540 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58542         [BZ #14805]
58543         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58544         fenv_t *.
58546         [BZ #14801]
58547         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58548         namespace for names of struct fields.
58549         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58550         fenv_t fields.
58551         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58552         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58554 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58556         [BZ #3665]
58557         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58559 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58561         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58562         PTR_DEMANGLE.
58564         [BZ #5246]
58565         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58566         PTR_DEMANGLE.
58568 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58570         [BZ #14797]
58571         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58572         definitely overflow as x * y not x * y + z.
58573         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58574         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58575         * math/libm-test.inc (fma_test): Add more tests.
58576         (fma_test_towardzero): Likewise.
58577         (fma_test_downward): Likewise.
58578         (fma_test_upward): Likewise.
58580 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58582         [BZ #157]
58584         * include/stub-tag.h: Remove file.
58585         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58586         '#include' of it.
58587         * manual/maint.texi (Porting): Don't reference it.
58588         * Makerules ($(objpfx)stubs): Likewise.
58589         * dirent/closedir.c: Don't include <stub-tag.h>.
58590         * dirent/dirfd.c: Likewise.
58591         * dirent/fdopendir.c: Likewise.
58592         * dirent/getdents.c: Likewise.
58593         * dirent/getdents64.c: Likewise.
58594         * dirent/opendir.c: Likewise.
58595         * dirent/readdir.c: Likewise.
58596         * dirent/readdir64.c: Likewise.
58597         * dirent/readdir64_r.c: Likewise.
58598         * dirent/readdir_r.c: Likewise.
58599         * dirent/rewinddir.c: Likewise.
58600         * dirent/seekdir.c: Likewise.
58601         * dirent/telldir.c: Likewise.
58602         * gmon/profil.c: Likewise.
58603         * grp/setgroups.c: Likewise.
58604         * inet/if_index.c: Likewise.
58605         * io/access.c: Likewise.
58606         * io/chdir.c: Likewise.
58607         * io/chmod.c: Likewise.
58608         * io/chown.c: Likewise.
58609         * io/close.c: Likewise.
58610         * io/dup.c: Likewise.
58611         * io/dup2.c: Likewise.
58612         * io/dup3.c: Likewise.
58613         * io/euidaccess.c: Likewise.
58614         * io/faccessat.c: Likewise.
58615         * io/fchdir.c: Likewise.
58616         * io/fchmod.c: Likewise.
58617         * io/fchmodat.c: Likewise.
58618         * io/fchown.c: Likewise.
58619         * io/fchownat.c: Likewise.
58620         * io/fcntl.c: Likewise.
58621         * io/flock.c: Likewise.
58622         * io/fstatfs.c: Likewise.
58623         * io/fstatfs64.c: Likewise.
58624         * io/fstatvfs.c: Likewise.
58625         * io/fstatvfs64.c: Likewise.
58626         * io/futimens.c: Likewise.
58627         * io/fxstat.c: Likewise.
58628         * io/fxstat64.c: Likewise.
58629         * io/fxstatat.c: Likewise.
58630         * io/fxstatat64.c: Likewise.
58631         * io/getcwd.c: Likewise.
58632         * io/isatty.c: Likewise.
58633         * io/lchmod.c: Likewise.
58634         * io/lchown.c: Likewise.
58635         * io/link.c: Likewise.
58636         * io/linkat.c: Likewise.
58637         * io/lseek.c: Likewise.
58638         * io/lseek64.c: Likewise.
58639         * io/lxstat64.c: Likewise.
58640         * io/mkdir.c: Likewise.
58641         * io/mkdirat.c: Likewise.
58642         * io/mkfifo.c: Likewise.
58643         * io/mkfifoat.c: Likewise.
58644         * io/open.c: Likewise.
58645         * io/open64.c: Likewise.
58646         * io/openat.c: Likewise.
58647         * io/openat64.c: Likewise.
58648         * io/pipe.c: Likewise.
58649         * io/pipe2.c: Likewise.
58650         * io/poll.c: Likewise.
58651         * io/posix_fadvise.c: Likewise.
58652         * io/posix_fadvise64.c: Likewise.
58653         * io/posix_fallocate.c: Likewise.
58654         * io/posix_fallocate64.c: Likewise.
58655         * io/read.c: Likewise.
58656         * io/readlink.c: Likewise.
58657         * io/readlinkat.c: Likewise.
58658         * io/rmdir.c: Likewise.
58659         * io/sendfile.c: Likewise.
58660         * io/sendfile64.c: Likewise.
58661         * io/statfs.c: Likewise.
58662         * io/statfs64.c: Likewise.
58663         * io/statvfs.c: Likewise.
58664         * io/statvfs64.c: Likewise.
58665         * io/symlink.c: Likewise.
58666         * io/symlinkat.c: Likewise.
58667         * io/ttyname.c: Likewise.
58668         * io/ttyname_r.c: Likewise.
58669         * io/umask.c: Likewise.
58670         * io/unlink.c: Likewise.
58671         * io/unlinkat.c: Likewise.
58672         * io/utime.c: Likewise.
58673         * io/utimensat.c: Likewise.
58674         * io/write.c: Likewise.
58675         * io/xmknod.c: Likewise.
58676         * io/xmknodat.c: Likewise.
58677         * io/xstat.c: Likewise.
58678         * io/xstat64.c: Likewise.
58679         * login/getpt.c: Likewise.
58680         * login/grantpt.c: Likewise.
58681         * login/unlockpt.c: Likewise.
58682         * math/e_acoshl.c: Likewise.
58683         * math/e_acosl.c: Likewise.
58684         * math/e_asinl.c: Likewise.
58685         * math/e_atan2l.c: Likewise.
58686         * math/e_atanhl.c: Likewise.
58687         * math/e_coshl.c: Likewise.
58688         * math/e_expl.c: Likewise.
58689         * math/e_fmodl.c: Likewise.
58690         * math/e_gammal_r.c: Likewise.
58691         * math/e_hypotl.c: Likewise.
58692         * math/e_j0l.c: Likewise.
58693         * math/e_j1l.c: Likewise.
58694         * math/e_jnl.c: Likewise.
58695         * math/e_lgammal_r.c: Likewise.
58696         * math/e_log10l.c: Likewise.
58697         * math/e_log2l.c: Likewise.
58698         * math/e_logl.c: Likewise.
58699         * math/e_powl.c: Likewise.
58700         * math/e_rem_pio2l.c: Likewise.
58701         * math/e_sinhl.c: Likewise.
58702         * math/e_sqrtl.c: Likewise.
58703         * math/fclrexcpt.c: Likewise.
58704         * math/fedisblxcpt.c: Likewise.
58705         * math/feenablxcpt.c: Likewise.
58706         * math/fegetenv.c: Likewise.
58707         * math/fegetexcept.c: Likewise.
58708         * math/fegetround.c: Likewise.
58709         * math/feholdexcpt.c: Likewise.
58710         * math/fesetenv.c: Likewise.
58711         * math/fesetround.c: Likewise.
58712         * math/feupdateenv.c: Likewise.
58713         * math/fgetexcptflg.c: Likewise.
58714         * math/fraiseexcpt.c: Likewise.
58715         * math/fsetexcptflg.c: Likewise.
58716         * math/ftestexcept.c: Likewise.
58717         * math/k_cosl.c: Likewise.
58718         * math/k_rem_pio2l.c: Likewise.
58719         * math/k_sinl.c: Likewise.
58720         * math/k_tanl.c: Likewise.
58721         * math/s_asinhl.c: Likewise.
58722         * math/s_atanl.c: Likewise.
58723         * math/s_cbrtl.c: Likewise.
58724         * math/s_erfl.c: Likewise.
58725         * math/s_expm1l.c: Likewise.
58726         * math/s_log1pl.c: Likewise.
58727         * math/s_tanhl.c: Likewise.
58728         * misc/acct.c: Likewise.
58729         * misc/brk.c: Likewise.
58730         * misc/chflags.c: Likewise.
58731         * misc/chroot.c: Likewise.
58732         * misc/fchflags.c: Likewise.
58733         * misc/fgetxattr.c: Likewise.
58734         * misc/flistxattr.c: Likewise.
58735         * misc/fremovexattr.c: Likewise.
58736         * misc/fsetxattr.c: Likewise.
58737         * misc/fsync.c: Likewise.
58738         * misc/ftruncate.c: Likewise.
58739         * misc/futimes.c: Likewise.
58740         * misc/futimesat.c: Likewise.
58741         * misc/getdomain.c: Likewise.
58742         * misc/getdtsz.c: Likewise.
58743         * misc/gethostid.c: Likewise.
58744         * misc/gethostname.c: Likewise.
58745         * misc/getloadavg.c: Likewise.
58746         * misc/getpagesize.c: Likewise.
58747         * misc/getsysstats.c: Likewise.
58748         * misc/getxattr.c: Likewise.
58749         * misc/gtty.c: Likewise.
58750         * misc/ioctl.c: Likewise.
58751         * misc/lgetxattr.c: Likewise.
58752         * misc/listxattr.c: Likewise.
58753         * misc/llistxattr.c: Likewise.
58754         * misc/lremovexattr.c: Likewise.
58755         * misc/lsetxattr.c: Likewise.
58756         * misc/lutimes.c: Likewise.
58757         * misc/madvise.c: Likewise.
58758         * misc/mincore.c: Likewise.
58759         * misc/mlock.c: Likewise.
58760         * misc/mlockall.c: Likewise.
58761         * misc/mmap.c: Likewise.
58762         * misc/mprotect.c: Likewise.
58763         * misc/msync.c: Likewise.
58764         * misc/munlock.c: Likewise.
58765         * misc/munlockall.c: Likewise.
58766         * misc/munmap.c: Likewise.
58767         * misc/preadv.c: Likewise.
58768         * misc/preadv64.c: Likewise.
58769         * misc/ptrace.c: Likewise.
58770         * misc/pwritev.c: Likewise.
58771         * misc/pwritev64.c: Likewise.
58772         * misc/readv.c: Likewise.
58773         * misc/reboot.c: Likewise.
58774         * misc/remap_file_pages.c: Likewise.
58775         * misc/removexattr.c: Likewise.
58776         * misc/revoke.c: Likewise.
58777         * misc/select.c: Likewise.
58778         * misc/setdomain.c: Likewise.
58779         * misc/setegid.c: Likewise.
58780         * misc/seteuid.c: Likewise.
58781         * misc/sethostid.c: Likewise.
58782         * misc/sethostname.c: Likewise.
58783         * misc/setregid.c: Likewise.
58784         * misc/setreuid.c: Likewise.
58785         * misc/setxattr.c: Likewise.
58786         * misc/sstk.c: Likewise.
58787         * misc/stty.c: Likewise.
58788         * misc/swapoff.c: Likewise.
58789         * misc/swapon.c: Likewise.
58790         * misc/sync.c: Likewise.
58791         * misc/syncfs.c: Likewise.
58792         * misc/syscall.c: Likewise.
58793         * misc/truncate.c: Likewise.
58794         * misc/ualarm.c: Likewise.
58795         * misc/usleep.c: Likewise.
58796         * misc/ustat.c: Likewise.
58797         * misc/utimes.c: Likewise.
58798         * misc/vhangup.c: Likewise.
58799         * misc/writev.c: Likewise.
58800         * posix/_exit.c: Likewise.
58801         * posix/alarm.c: Likewise.
58802         * posix/execve.c: Likewise.
58803         * posix/fexecve.c: Likewise.
58804         * posix/fork.c: Likewise.
58805         * posix/fpathconf.c: Likewise.
58806         * posix/getaddrinfo.c: Likewise.
58807         * posix/getegid.c: Likewise.
58808         * posix/geteuid.c: Likewise.
58809         * posix/getgid.c: Likewise.
58810         * posix/getgroups.c: Likewise.
58811         * posix/getlogin.c: Likewise.
58812         * posix/getlogin_r.c: Likewise.
58813         * posix/getpgid.c: Likewise.
58814         * posix/getpid.c: Likewise.
58815         * posix/getppid.c: Likewise.
58816         * posix/getresgid.c: Likewise.
58817         * posix/getresuid.c: Likewise.
58818         * posix/getsid.c: Likewise.
58819         * posix/getuid.c: Likewise.
58820         * posix/glob64.c: Likewise.
58821         * posix/nanosleep.c: Likewise.
58822         * posix/pathconf.c: Likewise.
58823         * posix/pause.c: Likewise.
58824         * posix/posix_madvise.c: Likewise.
58825         * posix/pread.c: Likewise.
58826         * posix/pread64.c: Likewise.
58827         * posix/pwrite.c: Likewise.
58828         * posix/pwrite64.c: Likewise.
58829         * posix/sched_getaffinity.c: Likewise.
58830         * posix/sched_getp.c: Likewise.
58831         * posix/sched_gets.c: Likewise.
58832         * posix/sched_primax.c: Likewise.
58833         * posix/sched_primin.c: Likewise.
58834         * posix/sched_rr_gi.c: Likewise.
58835         * posix/sched_setaffinity.c: Likewise.
58836         * posix/sched_setp.c: Likewise.
58837         * posix/sched_sets.c: Likewise.
58838         * posix/sched_yield.c: Likewise.
58839         * posix/setgid.c: Likewise.
58840         * posix/setlogin.c: Likewise.
58841         * posix/setpgid.c: Likewise.
58842         * posix/setresgid.c: Likewise.
58843         * posix/setresuid.c: Likewise.
58844         * posix/setsid.c: Likewise.
58845         * posix/setuid.c: Likewise.
58846         * posix/sleep.c: Likewise.
58847         * posix/spawni.c: Likewise.
58848         * posix/sysconf.c: Likewise.
58849         * posix/times.c: Likewise.
58850         * posix/wait.c: Likewise.
58851         * posix/wait3.c: Likewise.
58852         * posix/wait4.c: Likewise.
58853         * posix/waitpid.c: Likewise.
58854         * resolv/gai_sigqueue.c: Likewise.
58855         * resource/getpriority.c: Likewise.
58856         * resource/getrlimit.c: Likewise.
58857         * resource/getrusage.c: Likewise.
58858         * resource/nice.c: Likewise.
58859         * resource/setpriority.c: Likewise.
58860         * resource/setrlimit.c: Likewise.
58861         * resource/ulimit.c: Likewise.
58862         * rt/aio_cancel.c: Likewise.
58863         * rt/aio_fsync.c: Likewise.
58864         * rt/aio_read.c: Likewise.
58865         * rt/aio_sigqueue.c: Likewise.
58866         * rt/aio_suspend.c: Likewise.
58867         * rt/aio_write.c: Likewise.
58868         * rt/clock_getres.c: Likewise.
58869         * rt/clock_gettime.c: Likewise.
58870         * rt/clock_nanosleep.c: Likewise.
58871         * rt/clock_settime.c: Likewise.
58872         * rt/lio_listio.c: Likewise.
58873         * rt/mq_close.c: Likewise.
58874         * rt/mq_getattr.c: Likewise.
58875         * rt/mq_notify.c: Likewise.
58876         * rt/mq_open.c: Likewise.
58877         * rt/mq_receive.c: Likewise.
58878         * rt/mq_send.c: Likewise.
58879         * rt/mq_setattr.c: Likewise.
58880         * rt/mq_timedreceive.c: Likewise.
58881         * rt/mq_timedsend.c: Likewise.
58882         * rt/mq_unlink.c: Likewise.
58883         * rt/shm_open.c: Likewise.
58884         * rt/shm_unlink.c: Likewise.
58885         * rt/timer_create.c: Likewise.
58886         * rt/timer_delete.c: Likewise.
58887         * rt/timer_getoverr.c: Likewise.
58888         * rt/timer_gettime.c: Likewise.
58889         * rt/timer_settime.c: Likewise.
58890         * setjmp/__longjmp.c: Likewise.
58891         * setjmp/setjmp.c: Likewise.
58892         * signal/kill.c: Likewise.
58893         * signal/killpg.c: Likewise.
58894         * signal/raise.c: Likewise.
58895         * signal/sigaction.c: Likewise.
58896         * signal/sigaltstack.c: Likewise.
58897         * signal/sigblock.c: Likewise.
58898         * signal/sigignore.c: Likewise.
58899         * signal/sigintr.c: Likewise.
58900         * signal/signal.c: Likewise.
58901         * signal/sigpause.c: Likewise.
58902         * signal/sigpending.c: Likewise.
58903         * signal/sigqueue.c: Likewise.
58904         * signal/sigreturn.c: Likewise.
58905         * signal/sigset.c: Likewise.
58906         * signal/sigsetmask.c: Likewise.
58907         * signal/sigstack.c: Likewise.
58908         * signal/sigsuspend.c: Likewise.
58909         * signal/sigtimedwait.c: Likewise.
58910         * signal/sigvec.c: Likewise.
58911         * signal/sigwait.c: Likewise.
58912         * signal/sigwaitinfo.c: Likewise.
58913         * signal/sysv_signal.c: Likewise.
58914         * socket/accept.c: Likewise.
58915         * socket/accept4.c: Likewise.
58916         * socket/bind.c: Likewise.
58917         * socket/connect.c: Likewise.
58918         * socket/getpeername.c: Likewise.
58919         * socket/getsockname.c: Likewise.
58920         * socket/getsockopt.c: Likewise.
58921         * socket/isfdtype.c: Likewise.
58922         * socket/listen.c: Likewise.
58923         * socket/recv.c: Likewise.
58924         * socket/recvfrom.c: Likewise.
58925         * socket/recvmsg.c: Likewise.
58926         * socket/send.c: Likewise.
58927         * socket/sendmsg.c: Likewise.
58928         * socket/sendto.c: Likewise.
58929         * socket/setsockopt.c: Likewise.
58930         * socket/shutdown.c: Likewise.
58931         * socket/sockatmark.c: Likewise.
58932         * socket/socket.c: Likewise.
58933         * socket/socketpair.c: Likewise.
58934         * stdio-common/ctermid.c: Likewise.
58935         * stdio-common/cuserid.c: Likewise.
58936         * stdio-common/remove.c: Likewise.
58937         * stdio-common/rename.c: Likewise.
58938         * stdio-common/renameat.c: Likewise.
58939         * stdio-common/tempname.c: Likewise.
58940         * stdlib/getcontext.c: Likewise.
58941         * stdlib/makecontext.c: Likewise.
58942         * stdlib/setcontext.c: Likewise.
58943         * stdlib/swapcontext.c: Likewise.
58944         * stdlib/system.c: Likewise.
58945         * streams/fattach.c: Likewise.
58946         * streams/fdetach.c: Likewise.
58947         * streams/getmsg.c: Likewise.
58948         * streams/getpmsg.c: Likewise.
58949         * streams/putmsg.c: Likewise.
58950         * streams/putpmsg.c: Likewise.
58951         * sysdeps/unix/bsd/getpt.c: Likewise.
58952         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58953         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58954         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58956         Likewise.
58957         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58958         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58959         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58960         * sysvipc/msgctl.c: Likewise.
58961         * sysvipc/msgget.c: Likewise.
58962         * sysvipc/msgrcv.c: Likewise.
58963         * sysvipc/msgsnd.c: Likewise.
58964         * sysvipc/semctl.c: Likewise.
58965         * sysvipc/semget.c: Likewise.
58966         * sysvipc/semop.c: Likewise.
58967         * sysvipc/semtimedop.c: Likewise.
58968         * sysvipc/shmat.c: Likewise.
58969         * sysvipc/shmctl.c: Likewise.
58970         * sysvipc/shmdt.c: Likewise.
58971         * sysvipc/shmget.c: Likewise.
58972         * termios/tcdrain.c: Likewise.
58973         * termios/tcflow.c: Likewise.
58974         * termios/tcflush.c: Likewise.
58975         * termios/tcgetattr.c: Likewise.
58976         * termios/tcgetpgrp.c: Likewise.
58977         * termios/tcsendbrk.c: Likewise.
58978         * termios/tcsetattr.c: Likewise.
58979         * termios/tcsetpgrp.c: Likewise.
58980         * time/adjtime.c: Likewise.
58981         * time/clock.c: Likewise.
58982         * time/getitimer.c: Likewise.
58983         * time/gettimeofday.c: Likewise.
58984         * time/setitimer.c: Likewise.
58985         * time/settimeofday.c: Likewise.
58986         * time/stime.c: Likewise.
58987         * time/time.c: Likewise.
58989 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58991         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58992         /usr/old/bin.
58994         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58995         instead of spaces.
58996         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58998 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59000         [BZ #14796]
59001         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59002         FE_TONEAREST before applying Dekker multiplication and Knuth
59003         addition.  Clear inexact exceptions and check for exact zero
59004         results afterwards.
59005         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59006         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59007         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59008         * math/libm-test.inc (fma_test): Add more tests.
59009         (fma_test_towardzero): Likewise.
59010         (fma_test_downward): Likewise.
59011         (fma_test_upward): Likewise.
59012         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59013         function.
59014         (libc_fesetround): New macro.
59015         (libc_fesetroundf): Likewise.
59016         (libc_fesetroundl): Likewise.
59017         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59018         function.
59019         (libc_fesetround_387): Likewise.
59020         (libc_fesetroundf): New macro.
59021         (libc_fesetround): Likewise.
59022         (libc_fesetroundl): Likewise.
59023         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59024         function.
59025         (libc_fesetroundf): New macro.
59026         (libc_fesetround): Likewise.
59027         (libc_fesetroundl): Likewise.
59028         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59029         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59030         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59031         libm_hidden_ver.
59032         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59033         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59034         libm_hidden_def.
59035         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59036         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59037         libm_hidden_ver.
59038         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59039         libm_hidden_def.
59041         [BZ #3439]
59042         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59043         integer constant usable in #if and use that to give value to enum
59044         constant.
59045         (FE_DIVBYZERO): Likewise.
59046         (FE_UNDERFLOW): Likewise.
59047         (FE_OVERFLOW): Likewise.
59048         (FE_INVALID): Likewise.
59049         (FE_INVALID_SNAN): Likewise.
59050         (FE_INVALID_ISI): Likewise.
59051         (FE_INVALID_IDI): Likewise.
59052         (FE_INVALID_ZDZ): Likewise.
59053         (FE_INVALID_IMZ): Likewise.
59054         (FE_INVALID_COMPARE): Likewise.
59055         (FE_INVALID_SOFTWARE): Likewise.
59056         (FE_INVALID_SQRT): Likewise.
59057         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59058         (FE_TONEAREST): Likewise.
59059         (FE_TOWARDZERO): Likewise.
59060         (FE_UPWARD): Likewise.
59061         (FE_DOWNWARD): Likewise.
59062         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59063         (FE_DIVBYZERO): Likewise.
59064         (FE_OVERFLOW): Likewise.
59065         (FE_UNDERFLOW): Likewise.
59066         (FE_INEXACT): Likewise.
59067         (FE_TONEAREST): Likewise.
59068         (FE_DOWNWARD): Likewise.
59069         (FE_UPWARD): Likewise.
59070         (FE_TOWARDZERO): Likewise.
59071         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59072         (FE_UNDERFLOW): Likewise.
59073         (FE_OVERFLOW): Likewise.
59074         (FE_DIVBYZERO): Likewise.
59075         (FE_INVALID): Likewise.
59076         (FE_TONEAREST): Likewise.
59077         (FE_TOWARDZERO): Likewise.
59078         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59079         (FE_OVERFLOW): Likewise.
59080         (FE_UNDERFLOW): Likewise.
59081         (FE_DIVBYZERO): Likewise.
59082         (FE_INEXACT): Likewise.
59083         (FE_TONEAREST): Likewise.
59084         (FE_TOWARDZERO): Likewise.
59085         (FE_UPWARD): Likewise.
59086         (FE_DOWNWARD): Likewise.
59087         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59088         (FE_DIVBYZERO): Likewise.
59089         (FE_OVERFLOW): Likewise.
59090         (FE_UNDERFLOW): Likewise.
59091         (FE_INEXACT): Likewise.
59092         (FE_TONEAREST): Likewise.
59093         (FE_DOWNWARD): Likewise.
59094         (FE_UPWARD): Likewise.
59095         (FE_TOWARDZERO): Likewise.
59097 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59099         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59101 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59103         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59104         commands.  Quote $PWD.
59105         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59106         -x" by "export".
59107         (remove_newlines): Remove.
59109 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59111         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59112         * stdlib/stdlib.h (atof): Moved to ...
59113         * include/bits/stdlib-float.h: Here.  New file.
59114         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59115         * stdlib/bits/stdlib-float.h: New file.
59116         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59117         -mno-sse -mno-mmx.
59118         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59119         <xmmintrin.h>.
59121 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59123         * conform/conformtest.pl (@headers): Add fenv.h.
59124         * conform/data/fenv.h-data: New file.
59125         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59126         include of <math/fenv.h>.
59128         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59129         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59130         && !UNIX98].  Enables tests for XOPEN2K8.
59131         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59132         POSIX2008]: Likewise.
59134         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59135         (struct rusage): Do not expect type or its members.
59137         [BZ #3439]
59138         * math/math.h (FP_NAN): Define macro to integer constant usable in
59139         #if and use that to give value to enum constant.
59140         (FP_INFINITE): Likewise.
59141         (FP_ZERO): Likewise.
59142         (FP_SUBNORMAL): Likewise.
59143         (FP_NORMAL): Likewise.
59145 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59147         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59148         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59149         arguments.
59151 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59153         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59154         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59155         autoconf-time if not.
59156         * configure.in: Remove AC_PREREQ.
59158 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59160         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59161         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59162         of the internal implementation.
59164 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59166         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59167         except include of <misc/sys/syslog.h>.
59169 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59172         function returns with a NULL context exit with zero.
59174 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59176         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59178 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59180         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59181         (run_program_cmd): This.
59182         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59183         (tst_langinfo): New variable.  Use it.
59185 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59187         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59188         floating point opcodes.
59190 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59192         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59193         variable.
59195         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59197         * sysdeps/mach/hurd/powerpc: Remove directory.
59198         * sysdeps/mach/powerpc: Likewise.
59200 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59202         * scripts/check-local-headers.sh: Ignore c++ headers.
59204 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59206         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59207         __libc_cleanup_region_start argument.
59209 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59211         [BZ #14784]
59212         [BZ #14785]
59213         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59214         x * y using scaling, not as x * y + z.
59215         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59216         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59217         * math/libm-test.inc (fma_test): Add more tests.
59218         (fma_test_towardzero): Likewise.
59219         (fma_test_downward): Likewise.
59220         (fma_test_upward): Likewise.
59222 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59224         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59226 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59228         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59229         New variable.
59231 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59233         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59235 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59238         Fix sort order.
59239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59240         Likewise.
59242 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59245         Fix the order of the list for glibc 2.17.
59246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59247         Likewise.
59249 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59253 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59255         [BZ #14610]
59256         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59257         for low part of x being zero before using __atanl (y).
59258         * math/libm-test.inc (atan2_test): Add another test.
59260         * manual/install.texi (Configuring and compiling): Document
59261         general use of test-wrapper and test-wrapper-env.
59262         * INSTALL: Regenerated.
59264         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59265         (__fma): Do not extract and scale down low bits on after-rounding
59266         systems when result rounded to normal precision would have normal
59267         exponent.
59268         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59269         (__fmal): Do not extract and scale down low bits on after-rounding
59270         systems when result rounded to normal precision would have normal
59271         exponent.
59272         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59273         (__fmal): Do not extract and scale down low bits on after-rounding
59274         systems when result rounded to normal precision would have normal
59275         exponent.
59276         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59277         macro.
59278         (fma_test): Add more tests.
59279         (fma_test_towardzero): Likewise.
59280         (fma_test_downward): Likewise.
59281         (fma_test_upward): Likewise.
59283 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59285         * sysdeps/i386/tininess.h: Renamed to ...
59286         * sysdeps/x86/tininess.h: This.
59287         * sysdeps/x86_64/tininess.h: Removed.
59289 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59291         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59292         input.  Use $(build-program-cmd).
59293         ($(objpfx)tst-array1-static.out): Likewise.
59294         ($(objpfx)tst-array2.out): Likewise.
59295         ($(objpfx)tst-array3.out): Likewise.
59296         ($(objpfx)tst-array4.out): Likewise.
59297         ($(objpfx)tst-array5.out): Likewise.
59298         ($(objpfx)tst-array5-static.out): Likewise.
59300 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59302         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59303         if defined.
59305         * nss/nsswitch.h (nss_interface_function): Provide new
59306         macro for use with NSS functions.
59307         * grp/initgroups.c: Use new macro.
59308         * nss/getXXbyYY.c: Likewise.
59309         * nss/getXXbyYY_r.c: Likewise.
59310         * nss/getXXent.c: Likewise.
59311         * nss/getXXent_r.c: Likewise.
59312         * sysdeps/posix/getaddrinfo.c: Likewise.
59314 2012-10-30  Andreas Jaeger  <aj@suse.de>
59316         * po/ru.po: Update Russion translation from translation project.
59318 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59320         [BZ #14152]
59321         [BZ #14783]
59322         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59323         result and shift together with sticky bit instead of replicating
59324         round-to-nearest rounding.
59325         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59326         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59327         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59328         missing underflow exceptions.
59329         (fma_test_towardzero): Add more tests.
59330         (fma_test_downward): Likewise.
59331         (fma_test_upward): Likewise.
59333         [BZ #14047]
59334         * sysdeps/generic/tininess.h: New file.
59335         * sysdeps/i386/tininess.h: Likewise.
59336         * sysdeps/sh/tininess.h: Likewise.
59337         * sysdeps/x86_64/tininess.h: Likewise.
59338         * stdlib/tst-strtod-underflow.c: Likewise.
59339         * stdlib/tst-tininess.c: Likewise.
59340         * stdlib/strtod_l.c: Include <tininess.h>.
59341         (round_and_return): Do not set errno for exact underflow cases.
59342         Force an underflow exception when setting errno for underflow.
59343         Determine underflow based on rounding to normal precision if
59344         TININESS_AFTER_ROUNDING.
59345         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59346         ERANGE for exact underflow cases.
59347         * stdlib/Makefile (tests): Add tst-tininess and
59348         tst-strtod-underflow.
59349         ($(objpfx)tst-tininess): Use $(link-libm).
59350         ($(objpfx)tst-strtod-underflow): Likewise.
59352 2012-10-30  Andreas Jaeger  <aj@suse.de>
59354         [BZ#14767]
59355         * elf/Makefile (tests): Remove conditional for have-initfini-array
59356         since this is now always required and the variable does not exist
59357         anymore.
59358         (tests-static): Likewise.
59359         (modules-names): Likewise.
59361         * po/eo.po: Add Esperanto translation from translation project.
59363         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59364         merged with constructor/destructor.
59365         (init_array): Likewise.
59366         * elf/tst-array2dep.c (fini_array): Likewise.
59367         (init_array): Likewise.
59369 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59371         * manual/message.texi: Delete @cartouche tags.
59373 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59375         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59376         EOPNOTSUPP.
59377         * sysdeps/mach/hurd/fsync.c: Likewise.
59379         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59380         [_POSIX_REALTIME_SIGNALS]: Change condition to
59381         [_POSIX_REALTIME_SIGNALS > 0].
59383 2012-10-27  Andreas Jaeger  <aj@suse.de>
59385         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59386         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59387         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59388         [__WORDSIZE != 64]: Likewise.
59390 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59392         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59393         *  iconvdata/tst-tables.sh: Likewise.
59395 2012-10-25  David S. Miller  <davem@davemloft.net>
59397         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59398         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59399         of strtoull.
59401         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59402         ifunc-impl-list.c
59403         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59404         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59405         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59406         file.
59408 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59410         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59411         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59412         __getdirentries.
59414 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59415             Jim Blandy  <jimb@codesourcery.com>
59417         * scripts/cross-test-ssh.sh: New file.
59418         * manual/install.texi (Configuring and compiling): Document use of
59419         cross-test-ssh.sh.
59420         * INSTALL: Regenerated.
59422 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59424         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59425         EOPNOTSUPP.
59427 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59429         * Makeconfig (run-program-prefix): Fix comment.
59431 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59432             Jim Blandy  <jimb@codesourcery.com>
59434         * Makeconfig (test-wrapper): New variable,
59435         (test-wrapper-env): Likewise.
59436         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59437         (run-built-tests): Define to yes.
59438         (run-program-prefix): Use $(test-wrapper).
59439         (built-program-cmd): Likewise.
59440         * Rules (make-test-out): Use $(test-wrapper-env) and
59441         $(host-built-program-cmd).
59442         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59443         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59444         tst-pathopt.sh.
59445         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59446         $(test-wrapper-env) to tst-rtld-load-self.sh.
59447         ($(objpfx)order2.out): Use $(test-wrapper).
59448         ($(objpfx)tst-initorder.out): Likewise.
59449         ($(objpfx)tst-initorder2.out): Likewise.
59450         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59451         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59452         (test_wrapper_env): New variable.  Use it to run ld.so.
59453         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59454         Use it to run ld.so.
59455         (test_wrapper_env): Likewise.
59456         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59457         $(test-wrapper) to run-iconv-test.sh.
59458         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59459         (ICONV): Use $test_wrapper.
59460         * posix/Makefile ($(objpfx)globtest.out): Pass
59461         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59462         globtest.sh, not $(run-program-prefix).
59463         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59464         (test_wrapper): Likewise.
59465         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59466         set together with run_via_rtld_prefix.
59467         (run_program_prefix): Define in terms of test_wrapper and
59468         run_via_rtld_prefix.
59470 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59472         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59473         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59474         Targets removed.
59476         [BZ #14743]
59477         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59478         Declare __clock_getres, __clock_gettime, __clock_settime,
59479         __clock_nanosleep, and __clock_getcpuclockid.
59480         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59481         Remove librt_hidden_def (clock_gettime).
59482         * sysdeps/unix/clock_gettime.c: Likewise.
59483         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59484         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59485         * rt/clock_getres.c: Define __clock_getres as an alias.
59486         * sysdeps/posix/clock_getres.c: Likewise.
59487         * rt/clock_settime.c: Define __clock_settime as an alias.
59488         * sysdeps/unix/clock_settime.c: Likewise.
59489         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59490         * sysdeps/unix/clock_nanosleep.c: Likewise.
59491         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59492         * rt/clock-compat.c: New file.
59493         * rt/Makefile (librt-routines): Add clock-compat and move
59494         $(clock-routines) to ...
59495         (routines): ... here, new variable.
59496         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59497         Don't add get_clockfreq here.
59498         * rt/Versions (libc: GLIBC_2.17): New version set.
59499         Add clock_* symbols here.
59500         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59501         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59502         (GLIBC_2.17): Add clock_* symbols.
59503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59505         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59507         Likewise.
59508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59509         Likewise.
59510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59511         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59514         * NEWS: Mention the move.
59516         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59517         Use __open, __read, __close rather than their public counterparts.
59518         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59519         (__get_clockfreq_via_cpuinfo): Likewise.
59520         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59521         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59523         * config.h.in (HAVE_IFUNC): New #undef.
59524         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59525         was successful.
59526         * configure: Regenerated.
59528 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59530         * configure.in: Move READELF check to start of file.
59531         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59532         libc_cv_asm_gnu_indirect_function in the process.
59533         * configure: Regenerated.
59535 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59537         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59538         send the output to /dev/null.
59539         (libc_cv_cc_with_libunwind): Likewise.
59540         (libc_cv_as_noexecstack): Likewise.
59541         * configure: Regenerate.
59543 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59545         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59547         * posix/globtest.sh (TMPDIR): Do not set.
59548         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59549         (testout): Likewise.
59551 2012-10-24  Andreas Jaeger  <aj@suse.de>
59553         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59554         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59555         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59556         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59557         posix_fadvise64, posix_fallocate64.
59559         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59560         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59561         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59562         Likewise.
59563         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59564         Likewise.
59565         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59567         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59568         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59569         <bits/fcntl-linux.h>.
59570         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59572         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59573         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59574         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59575         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59576         [__WORDSIZE != 64]: Likewise.
59578 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59580         * Makeconfig (run-built-tests): New variable.
59581         * Rules [$(cross-compiling) = yes]: Change condition to
59582         [$(run-built-tests) = no].
59583         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59584         to [$(run-built-tests) = yes].
59585         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59586         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59587         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59588         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59589         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59590         * io/Makefile [$(cross-compiling) = no]: Likewise.
59591         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59592         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59593         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59594         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59595         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59596         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59597         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59598         * string/Makefile [$(cross-compiling) = no]: Likewise.
59600         * posix/Makefile ($(objpfx)globtest.out): Pass
59601         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59602         $(rtld-installed-name).
59603         * posix/globtest.sh (elf_objpfx): Remove variable.
59604         (rtld_installed_name): Likewise.
59605         (library_path): Likewise.
59606         (run_program_prefix): New variable.  Use for running globtest
59607         binary.
59609 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59610             Joseph Myers  <joseph@codesourcery.com>
59612         * Makeconfig (host-built-program-cmd): New variable.
59613         * elf/Makefile (tst-stackguard1-ARGS): Use
59614         $(host-built-program-cmd).
59615         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59616         (tst-spawn-ARGS): Likewise.
59617         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59619 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59620             Jim Blandy  <jimb@codesourcery.com>
59622         * Makeconfig (run-via-rtld-prefix): New variable.
59623         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59624         (built-program-cmd): Likewise.
59626 2012-10-22  Andreas Jaeger  <aj@suse.de>
59628         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59629         __O_RSYNC if it exists, otherwise to O_SYNC.
59631 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59632             Joseph Myers  <joseph@codesourcery.com>
59634         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59635         /dev/null.
59636         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59637         from /dev/null
59638         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59639         /dev/null.
59641 2012-10-22  Andreas Jaeger  <aj@suse.de>
59643         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59644         Define always.
59645         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59647         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59648         bits/fcntl-linux.h.
59650         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59651         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59653         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59654         to __O_LARGEFILE.
59655         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59656         to __O_LARGEFILE.
59658 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59659             Joseph Myers  <joseph@codesourcery.com>
59661         * config.make.in (NM): New variable.
59663 2012-10-21  Andreas Jaeger  <aj@suse.de>
59665         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59666         definitions and declarations that are provided by
59667         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59669 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59671         [BZ #14683]
59672         * elf/Makefile (tests-static): Add tst-leaks1-static.
59673         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59674         ($(objpfx)tst-leaks1-static): New rule.
59675         ($(objpfx)tst-leaks1-static-mem): Likewise.
59676         (tst-leaks1-static-ENV): New macro.
59677         * elf/dl-open.c (dl_open_worker): Check the main application
59678         only if SHARED is defined.
59679         * elf/tst-leaks1-static.c: New file.
59681 2012-10-20  Andreas Jaeger  <aj@suse.de>
59683         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59684         generic values for Linux.
59685         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59686         and declarations that are provided by <bits/fcntl-linux.h> and
59687         include <bits/fcntl-linux.h>.
59688         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59689         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59691 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59693         * io/fcntl.h: Move include of <bits/types.h> to the top and
59694         include it unconditionally.
59696 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59698         * wcsmbs/Makefile (tests-ifunc): New variable.
59699         (tests): Add $(tests-ifunc).
59700         * wcsmbs/test-wcschr-ifunc.c: New file.
59701         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59702         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59703         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59704         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59705         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59707         * string/Makefile (tests-ifunc): New variable.
59708         (tests): Add $(tests-ifunc).
59709         * string/test-memccpy.c (TEST_NAME): New macro.
59710         * string/test-memchr.c (TEST_NAME): Likewise.
59711         * string/test-memcmp.c (TEST_NAME): Likewise.
59712         * string/test-memcpy.c (TEST_NAME): Likewise.
59713         * string/test-memmem.c (TEST_NAME): Likewise.
59714         * string/test-memmove.c (TEST_NAME): Likewise.
59715         * string/test-memset.c (TEST_NAME): Likewise.
59716         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59717         * string/test-stpcpy.c (TEST_NAME): Likewise.
59718         * string/test-stpncpy.c (TEST_NAME): Likewise.
59719         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59720         * string/test-strcasestr.c (TEST_NAME): Likewise.
59721         * string/test-strcat.c (TEST_NAME): Likewise.
59722         * string/test-strchr.c (TEST_NAME): Likewise.
59723         * string/test-strcmp.c(TEST_NAME): Likewise.
59724         * string/test-strcpy.c (TEST_NAME): Likewise.
59725         * string/test-strcspn.c (TEST_NAME): Likewise.
59726         * string/test-strlen.c (TEST_NAME): Likewise.
59727         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59728         * string/test-strncmp.c (TEST_NAME): Likewise.
59729         * string/test-strncpy.c (TEST_NAME): Likewise.
59730         * string/test-strnlen.c (TEST_NAME): Likewise.
59731         * string/test-strpbrk.c (TEST_NAME): Likewise.
59732         * string/test-strrchr.c (TEST_NAME): Likewise.
59733         * string/test-strspn.c (TEST_NAME): Likewise.
59734         * string/test-strstr.c (TEST_NAME): Likewise.
59735         * string/test-bcopy-ifunc.c: New file.
59736         * string/test-bzero-ifunc.c: Likewise.
59737         * string/test-memccpy-ifunc.c: Likewise.
59738         * string/test-memchr-ifunc.c: Likewise.
59739         * string/test-memcmp-ifunc.c: Likewise.
59740         * string/test-memcpy-ifunc.c: Likewise.
59741         * string/test-memmem-ifunc.c: Likewise.
59742         * string/test-memmove-ifunc.c: Likewise.
59743         * string/test-mempcpy-ifunc.c: Likewise.
59744         * string/test-memset-ifunc.c: Likewise.
59745         * string/test-rawmemchr-ifunc.c: Likewise.
59746         * string/test-stpcpy-ifunc.c: Likewise.
59747         * string/test-stpncpy-ifunc.c: Likewise.
59748         * string/test-strcasecmp-ifunc.c: Likewise.
59749         * string/test-strcasestr-ifunc.c: Likewise.
59750         * string/test-strcat-ifunc.c: Likewise.
59751         * string/test-strchr-ifunc.c: Likewise.
59752         * string/test-strchrnul-ifunc.c: Likewise.
59753         * string/test-strcmp-ifunc.c: Likewise.
59754         * string/test-strcpy-ifunc.c: Likewise.
59755         * string/test-strcspn-ifunc.c: Likewise.
59756         * string/test-strlen-ifunc.c: Likewise.
59757         * string/test-strncasecmp-ifunc.c: Likewise.
59758         * string/test-strncat-ifunc.c: Likewise.
59759         * string/test-strncmp-ifunc.c: Likewise.
59760         * string/test-strncpy-ifunc.c: Likewise.
59761         * string/test-strnlen-ifunc.c: Likewise.
59762         * string/test-strpbrk-ifunc.c: Likewise.
59763         * string/test-strrchr-ifunc.c: Likewise.
59764         * string/test-strspn-ifunc.c: Likewise.
59765         * string/test-strstr-ifunc.c: Likewise.
59767         * debug/Makefile (tests-ifunc): New variable.
59768         (tests): Add $(tests-ifunc).
59769         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59770         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59771         * debug/test-stpcpy_chk-ifunc.c: New file.
59772         * debug/test-strcpy_chk-ifunc.c: Likewise.
59774 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59776         [BZ #13601]
59777         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59778         header is not read in.
59780 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59782         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59783         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59784         directly.  Pass built executable to script as
59785         $(built-program-cmd).
59786         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59787         $testprogram without using LD_LIBRARY_PATH and $ldso.
59789         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59790         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59791         $(rtld-installed-name).
59792         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59793         (rtld_installed_name): Likewise.
59794         (library_path): Likewise.
59795         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59796         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59797         $(run-program-prefix) to tst-tables.sh.
59798         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59799         it to run tst-table-from and tst-table-to.
59800         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59801         Pass it to tst-table.sh.
59802         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59803         $(run-program-prefix) to tst-gettext.sh.
59804         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59805         tst-translit.sh.
59806         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59807         tst-gettext2.sh.
59808         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59809         to run tst-gettext.
59810         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59811         to run tst-gettext2.
59812         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59813         to run tst-translit.
59814         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59815         $(run-program-prefix) to tst-mtrace.sh.
59816         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59817         to run tst-mtrace.
59818         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59819         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59820         $(rtld-installed-name).
59821         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59822         (rtld_installed_name): Likewise.
59823         (run_program_prefix): New variable.  Use it to run wordexp-test.
59825         * Makeconfig (ARCH): Remove all definitions.
59826         (machine): Likewise.
59827         [ARCH]: Remove conditional code.
59828         [!objdir]: Give error.
59829         [!objdir] (objpfx): Remove.
59830         [!objdir] (common-objpfx): Likewise.
59831         [!objdir] (common-objdir): Likewise.
59832         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59833         AC_CONFIG_FILES call.
59834         * configure: Regenerated.
59836         [BZ #13888]
59837         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59838         or TMPDIR.
59839         (testout): Likewise.
59841         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59842         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59843         $(rtld-installed-name).
59844         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59845         (rtld_installed_name): Likwise.
59846         (runit): Remove function.
59847         (run_getconf): New variable,  Use it for running getconf binary.
59849 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59851         [BZ #14716]
59852         * string/test-memmem.c (check_result): New function.
59853         (do_one_test): Use it.
59854         (check1): New function.
59855         (test_main): Use it.
59857 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59859         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59861 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59863         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59864         (_G_LSEEK64): Likewise.
59865         (_G_MMAP64): Likewise.
59866         (_G_FSTAT64): Likewise.
59867         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59868         (_G_LSEEK64): Likewise.
59869         (_G_MMAP64): Likewise.
59870         (_G_FSTAT64): Likewise.
59871         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59872         unconditional.  Call __mmap64 directly.
59873         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59874         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59875         __lseek64 directly.
59876         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59877         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59878         __mmap64 directly.
59879         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59880         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59881         __lseek64 directly.
59882         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59883         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59884         __lseek64 directly.
59885         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59886         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59887         __lseek64 directly.
59888         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59889         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59890         __fxstat64 directly.
59891         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59892         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59893         unconditional.
59894         (freopen64) [!_G_OPEN64]: Remove conditional code.
59895         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59896         unconditional.
59897         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59898         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59899         unconditional.
59900         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59901         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59902         unconditional.
59903         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59904         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59905         unconditional.
59906         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59907         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59908         unconditional.
59909         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59910         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59911         unconditional.
59912         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59913         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59914         unconditional.
59915         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59917 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59919         [BZ #12140]
59920         * manual/memory.texi (Malloc Tunable Parameters): Add note
59921         about free list pointers overwriting some perturb bytes.
59922         Wording suggested by Roland McGrath.
59924 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59926         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59927         (lgamma_test): Likewise.
59928         (tgamma_test): Likewise.
59930 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59932         [BZ #14700]
59933         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59934         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59936 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59938         * NEWS: Mention BZ #14716.
59939         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59940         when removing AVAILABLE1_USES_J macro.
59942 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59944         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59945         (__bswap_64): __uint64_t for unsigned 64-bit int.
59947 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59949         * include/string.h (memmem): Declare libc hidden alias.
59950         * string/memmem.c (memmem): Define libc hidden alias.
59951         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59952         __read, __close instead of open, read, close.
59954 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59956         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59957         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59958         global and hidden.
59959         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59960         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59961         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59962         Likewise.
59963         (__rawmemchr_sse2): Likewise.
59964         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59965         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59966         (__strchr_sse2): Likewise.
59967         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59968         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59969         (__strcasecmp_sse2): Likewise.
59970         (__strncasecmp_sse2): Likewise.
59971         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59972         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59973         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59974         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59975         (__strrchr_sse2): Likewise.
59976         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59977         ifunc-impl-list.c.
59978         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59979         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59980         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59981         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59982         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59983         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59984         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59985         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59986         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59987         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59988         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59989         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59990         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59991         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59992         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59993         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59994         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59995         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59996         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59997         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59998         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59999         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60000         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60001         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60002         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60003         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60004         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60005         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60006         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60007         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60009         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60010         global and hidden.
60011         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60012         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60013         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60014         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60015         Likewise.
60016         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60017         Likewise.
60018         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60019         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60020         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60021         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60022         ifunc-impl-list.c.
60023         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60024         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60025         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60026         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60027         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60028         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60029         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60030         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60031         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60032         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60033         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60034         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60035         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60036         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60037         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60038         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60039         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60040         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60041         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60042         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60043         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60044         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60045         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60046         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60047         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60048         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60049         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60050         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60051         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60052         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60053         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60054         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60055         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60056         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60057         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60058         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60059         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60060         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60061         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60062         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60063         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60065         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60066         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60067         * include/ifunc-impl-list.h: New file.
60068         * misc/ifunc-impl-list.c: Likewise.
60069         * misc/Makefile (routines): Add ifunc-impl-list.
60070         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60071         * string/test-string.h: Include <ifunc-impl-list.h>.
60072         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60073         TEST_NAME]: New variables.
60074         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60075         are defined.
60076         (test_init): Call __libc_ifunc_impl_list to initialize
60077         func_list if TEST_IFUNC and TEST_NAME are defined.
60079         * string/Makefile (strop-tests): Add bcopy and bzero.
60080         * string/test-bcopy.c: New file.
60081         * string/test-bzero.c: Likewise.
60082         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60083         defined.
60084         * string/test-memset.c: Support bzero test if TEST_BZERO is
60085         defined.
60086         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60087         __libc_memmove.
60088         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60089         __libc_memset.
60090         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60091         of memset.
60093 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60095         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60096         * configure: Regenerated.
60098         * Makeconfig (+link-static-before-libc): Don't include
60099         $(link-static-libc).
60101         * libio/libio.h (_IO_pos_t): Remove.
60103 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60105         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60106         McGrath.
60108 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60110         * crypt/crypt-entry.c: Include fips-private.h.
60111         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60112         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60113         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60114         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60116 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60118         * crypt/crypt-private.h: Include stdbool.h.
60119         (_ufc_setup_salt_r): Return bool.
60120         * crypt/crypt-entry.c: Include errno.h.
60121         (__crypt_r): Return NULL with EINVAL for bad salt.
60122         * crypt/crypt_util.c (bad_for_salt): New.
60123         (_ufc_setup_salt_r): Check that salt is long enough and within
60124         the specified alphabet.
60125         * crypt/badsalttest.c: New file.
60126         * crypt/Makefile (tests): Add it.
60127         ($(objpfx)badsalttest): New.
60129 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60131         * NEWS: Add entry for BZ #14602.
60133 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60135         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60136         type-generic.
60137         * math/libm-test.inc: Update comment listing what functions and
60138         macros are tested.
60139         (isgreater_test): New function.
60140         (isgreaterequal_test): Likewise.
60141         (isless_test): Likewise.
60142         (islessequal_test): Likewise.
60143         (islessgreater_test): Likewise.
60144         (isunordered_test): Likewise.
60145         (main): Call the new functions.
60147 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60149         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60150         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60151         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60152         * sysdeps/i386/configure: Regenerated.
60153         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60154         * sysdeps/mach/configure: Regenerated.
60155         * sysdeps/mach/hurd/configure: Regenerated.
60156         * sysdeps/powerpc/configure: Regenerated.
60157         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60158         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60159         * sysdeps/s390/s390-32/configure: Regenerated.
60160         * sysdeps/s390/s390-64/configure: Regenerated.
60161         * sysdeps/sh/configure: Regenerated.
60162         * sysdeps/sparc/configure: Regenerated.
60163         * sysdeps/unix/sysv/linux/configure: Regenerated.
60164         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60165         * sysdeps/x86_64/configure: Regenerated.
60167         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60168         defined.  Don't check if MAP is NULL.
60170 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60172         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60173         (_G_stat64): Likewise.
60174         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60175         (_G_stat64): Likewise.
60176         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60177         instead of struct _G_stat64.
60178         * libio/fileops.c (mmap_remap_check): Likewise.
60179         (decide_maybe_mmap): Likewise.
60180         (_IO_new_file_seekoff): Likewise.
60181         (_IO_file_stat): Likewise.
60182         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60183         _G_off64_t.
60184         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60185         instead of struct _G_stat64.
60186         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60188 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60190         [BZ #14602]
60191         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60192         Replace with ...
60193         (CHECK_EOL): New macro.
60194         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60195         CHECK_EOL.
60196         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60197         Replace with CHECK_EOL.
60198         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60199         Replace with CHECK_EOL.
60201 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60203         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60204         type-generic.
60205         * math/libm-test.inc: Update comment listing what functions and
60206         macros are tested.
60207         (finite_test): New function.
60208         (isinf_test): Likewise.
60209         (isnan_test): Likewise.
60210         (fpclassify_test): Test subnormal input.
60211         (isfinite_test): Likewise.
60212         (isnormal_test): Likewise.
60213         (main): Call the new functions.
60215 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60217         [BZ #14660]
60218         * Makerules (%.dynsym): Force C locale when running
60219         $(OBJDUMP) --dynamic-syms.
60221 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60223         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60224         <stdint.h>.
60226 2012-10-06  David S. Miller  <davem@davemloft.net>
60228         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60229         upper 32-bits of the length value in %o2 since we use branch-on-register
60230         tests which consider the entire 64-bit register.
60232 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60234         * string/test-strstr.c (check2): Add a test for page boundary.
60236 2012-10-05  David S. Miller  <davem@davemloft.net>
60238         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60239         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60240         file.
60241         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60242         sysdep_routines.
60243         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60244         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60245         and bzero when HWCAP_SPARC_CRYPTO is present.
60247 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60249         [BZ #14602]
60250         * string/test-strstr.c (check2): New function.
60251         (test_main): Call check2.
60253         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60254         and bug-strchr1.
60255         * string/bug-strcasestr1.c (do_test): Moved to ...
60256         * string/test-strcasestr.c (check1): Here.  New function.
60257         (do_one_test): Break out result checking code into ...
60258         (check_result): This.  New function.
60259         (do_one_test): Call check_result.
60260         (test_main): Call check1.
60261         * string/bug-strchr1.c (do_test): Moved to ...
60262         * string/test-strchr.c (check1): Here.  New function.
60263         (do_one_test): Break out result checking code into ...
60264         (check_result): This.  New function.
60265         (do_one_test): Call check_result.
60266         (test_main): Call check1.
60267         * string/bug-strstr1.c (main): Moved to ...
60268         * string/test-strstr.c (check1): Here.  New function.
60269         (do_one_test): Break out result checking code into ...
60270         (check_result): This.  New function.
60271         (do_one_test): Call check_result.
60272         (test_main): Call check1.
60273         * string/bug-strcasestr1.c: Removed.
60274         * string/bug-strchr1.c: Likewise.
60275         * string/bug-strstr1.c: Likewise.
60277         * elf/Makefile (dl-routines): Add hwcaps.
60278         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60279         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60280         (_dl_important_hwcaps): Moved to ...
60281         * elf/dl-hwcaps.c: Here.  New file.
60282         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60284         [BZ #14557]
60285         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60286         if IS_IN_rtld isn't defined.
60288         * elf/dl-support.c (_dl_sysinfo_map): New.
60289         Include "get-dynamic-info.h" and "setup-vdso.h".
60290         (_dl_non_dynamic_init): Call setup_vdso.
60291         * elf/dynamic-link.h: Don't include <assert.h>.
60292         (elf_get_dynamic_info): Moved to ...
60293         * elf/get-dynamic-info.h: Here.  New file.
60294         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60295         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60296         * elf/setup-vdso.h: Here.  New file.
60297         * elf/rtld.c: Include "setup-vdso.h".
60298         (dl_main): Call setup_vdso.
60300 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60302         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60303         creal in comment listing functions tested.  List finite, isinf,
60304         isnan, isless, islessequal, isgreater, isgreaterequal,
60305         islessgreater, isunordered, lgamma_r and pow10 as functions and
60306         macros not tested.  Mention which functions not tested are aliases
60307         for other functions.  Fix typo.  Note that signs of NaNs are not
60308         tested.
60310         * scripts/config.guess: Update from config.git.
60311         * scripts/config.sub: Likewise.
60313 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60315         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60316         * misc/madvise.c (madvise): Renamed to __madvise.
60317         Make madvise a weak alias.
60318         * include/sys/mman.h: Declare __madvise.
60319         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60320         * sysdeps/unix/syscalls.list
60321         (madvise): Make __madvise the strong name, and madvise a weak alias.
60322         * sysdeps/unix/sysv/linux/syscalls.list
60323         (madvise, mmap): Remove redundant entries.
60324         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60325         * malloc/malloc.c (mtrim): Likewise.
60326         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60328 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60330         * sysdeps/mach/hurd/dl-cache.c: File removed.
60331         * config.h.in (USE_LDCONFIG): New #undef.
60332         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60333         * configure: Regenerated.
60334         * elf/Makefile (dl-routines): Add dl-cache only under
60335         [$(use-ldconfig) = yes].
60336         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60337         cache on [USE_LDCONFIG].
60338         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60339         [USE_LDCONFIG].
60340         * elf/rtld.c (dl_main): Likewise.
60342 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60344         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60345         _SC_LEVEL4_CACHE_LINESIZE.
60347 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60349         * sysdeps/unix/bsd/confstr.h: File removed.
60351 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60353         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60354         sys/sdt-config.h.
60356 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60358         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60359         Make 'mapoff' field ElfW(Off) rather than off_t.
60361 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60363         * nscd/Makefile: Remove nscd-cflags and all its users.
60364         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60365         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60367         [BZ #10631]
60368         * malloc.c (malloc_printerr): Clarify error message.
60370 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60372         [BZ #14648]
60373         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60374         Set bit_FMA_Usable if FMA is supported.
60375         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60376         macro.
60377         (bit_FMA4_Usable): Updated.
60378         (index_FMA_Usable): New macro.
60379         (CPUID_FMA): Likewise.
60380         (HAS_FMA): Defined with bit_FMA_Usable.
60382 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60384         * bits/types.h (__swblk_t): Type removed.
60385         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60386         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60387         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60388         (__SWBLK_T_TYPE): Likewise.
60389         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60390         (__SWBLK_T_TYPE): Likewise.
60391         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60392         (__SWBLK_T_TYPE): Likewise.
60393         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60394         (__SWBLK_T_TYPE): Likewise.
60396 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60397             Honza Horak <hhorak@redhat.com>
60399         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60400         (xdr_mapname): Use YPMAXMAP as maxsize.
60401         (xdr_peername): Use YPMAXPEER as maxsize.
60402         (xdr_keydat): Use YPAXRECORD as maxsize.
60403         (xdr_valdat): Use YPMAXRECORD as maxsize.
60405 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60407         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60409         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60410         * csu/init-first.c: ... here.
60411         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60412         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60413         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60414         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60415         * sysdeps/i386/init-first.c: File removed.
60416         * sysdeps/sh/init-first.c: File removed.
60418 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60420         [BZ #14645]
60421         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60422         if x * y might underflow to zero and z is zero.
60423         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60424         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60425         * math/libm-test.inc (min_subnorm_value): New variable.
60426         (fma_test): Add more tests.
60427         (fma_test_towardzero): Likewise.
60428         (fma_test_downward): Likewise.
60429         (fma_test_upward): Likewise.
60430         (initialize): Set min_subnorm_value.
60432 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60434         [BZ #14638]
60435         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60436         0 + 0.
60437         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60438         mode for addition resulting in exact zero.
60439         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60440         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60441         exact 0 + 0.
60442         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60443         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60444         * math/libm-test.inc (fma_test): Add more tests.
60445         (fma_test_towardzero): New function.
60446         (fma_test_downward): Likewise.
60447         (fma_test_upward): Likewise.
60448         (main): Call the new functions.
60450 2012-09-28  David S. Miller  <davem@davemloft.net>
60452         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60454 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60456         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60457         instead of SIGALRM.
60459         * sysdeps/gnu/_G_config.h: Moved to ...
60460         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60461         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60462         * sysdeps/generic/_G_config.h: ... here.
60464         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60466         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60468         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60469         Conditionalize target on [libnss_test1.so-version].
60471         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60473         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60474         (elfobjdir): Move out of conditionals.
60476         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60477         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60478         (__nss_lookup_function): Conditionalize label remove_from_tree on
60479         [!DO_STATIC_NSS || SHARED], matching its only use.
60481 2012-09-28  David S. Miller  <davem@davemloft.net>
60483         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60484         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60485         file.
60486         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60487         sysdep_routines.
60488         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60489         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60490         when HWCAP_SPARC_CRYPTO is present.
60492 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60494         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60496 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60498         [BZ #6530]
60499         * stdio-common/vfprintf.c (process_string_arg): Revert
60500         2000-07-22 change.
60502 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60504         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60505         for testcase.
60506         * stdio-common/tst-sprintf.c: Include <locale.h>
60507         (main): Test sprintf's handling of incomplete multibyte
60508         characters.
60510 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60512         * elf/dl-runtime.c (VERSYMIDX): Removed.
60513         * elf/dl-version.c (VERSYMIDX): Likewise.
60514         * elf/do-rel.h (VERSYMIDX): Likewise.
60515         (VALIDX): Likewise.
60516         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60517         * elf/rtld.c (VALIDX): Likewise.
60518         (ADDRIDX): Likewise.
60519         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60520         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60521         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60522         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60523         (VALIDX): Likewise.
60524         (ADDRIDX): Likewise.
60526 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60528         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60530 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60532         [BZ #11438]
60533         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60534         to global scope.
60535         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60536         addresses are in the same scope as 192.0.2/24.
60537         * posix/gai.conf: Document new scope table defaults.
60539 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60541         [BZ #5298]
60542         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60543         for ftell.  Compute offsets from write pointers instead.
60544         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60546 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60548         [BZ #14543]
60549         * libio/Makefile (tests): New test case tst-fseek.
60550         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60551         combination works in wide mode.
60552         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60553         state when the external buffer state changes.
60555 2012-09-27  David S. Miller  <davem@davemloft.net>
60557         [BZ #14376]
60558         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60559         pass reloc->r_addend in as the 'high' argument to
60560         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60564 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60566         * rt/tst-aio2.c: Include <pthread.h>.
60567         * rt/tst-aio3.c: Likewise.
60569 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60571         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60573 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60575         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60576         contents on [SHARED].
60578 2012-09-26  Marek Polacek  <polacek@redhat.com>
60580         [BZ #14530]
60581         [BZ #13741]
60582         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60583         for C++ and GCC <4.3 as well as for non GCC compilers.
60585 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60587         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60589 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60591         * Makefile.in (all, install): Declare with .PHONY.
60592         Reported by Michael Hope <michael.hope@linaro.org>.
60594 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60596         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60597         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60598         system header.
60599         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60600         Likewise.
60601         (sydep_routines): Add the new and the internal functions.
60602         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60603         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60605         (GLIBC_2.17): Add the new function.
60606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60607         (GLIBC_2.17): Likewise.
60608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60609         (GLIBC_2.17): Likewise.
60610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60611         (GLIBC_2.17): Likewise.
60612         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60614 2012-09-25  Alan Modra  <amodra@gmail.com>
60616         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60617         Add release barrier before setting once_control to say
60618         initialisation is done.  Add hints on lwarx.  Use macro in
60619         place of isync.
60620         (clear_once_control): Add release barrier.
60622 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60624         [BZ #13629]
60625         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60626         specially.
60627         * math/s_clog10.c (__clog10): Likewise.
60628         * math/s_clog10f.c (__clog10f): Likewise.
60629         * math/s_clog10l.c (__clog10l): Likewise.
60630         * math/s_clogf.c (__clogf): Likewise.
60631         * math/s_clogl.c (__clogl): Likewise.
60632         * math/Makefile (libm-calls): Add x2y2m1.
60633         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60634         (__x2y2m1): Likewise.
60635         (__x2y2m1l): Likewise.
60636         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60637         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60638         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60639         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60640         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60641         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60642         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60643         * sysdeps/i386/fpu/libm-test-ulps: Update.
60644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60646         [BZ #14621]
60647         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60648         int as type of variable DEPTH.
60649         (glob): Use size_t instead of int as type of variables NEWCOUNT
60650         and OLD_PATHC.
60652 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60654         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60655         Add s_sincosf-sse2.
60656         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60657         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60658         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60659         macros for using routine as __sincosf_ia32.
60660         Use macro for function declaration and weak_alias.
60661         * sysdeps/i386/fpu/libm-test-ulps: Update.
60663         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60666         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60667         subnormal argument.
60668         * math/s_cexpf.c (__cexpf): Likewise.
60669         * math/s_csinf.c (__csinf): Likewise.
60670         * math/s_csinhf.c (__csinhf): Likewise.
60671         * math/s_ctanf.c (__ctanf): Likewise.
60672         * math/s_ctanhf.c (__ctanhf): Likewise.
60673         * math/s_ccosh.c (__ccoshf): Likewise.
60674         * math/s_cexp.c (__cexpl): Likewise.
60675         * math/s_csin.c (__csin): Likewise.
60676         * math/s_csinh.c (__csinh): Likewise.
60677         * math/s_ctan.c (__ctan): Likewise.
60678         * math/s_ctanh.c (ctanh): Likewise.
60679         * math/s_ccoshl.c (__ccoshl): Likewise.
60680         * math/s_cexpl.c (__cexpl): Likewise.
60681         * math/s_csinl.c (__csinl): Likewise.
60682         * math/s_csinhl.c (__csinhl): Likewise.
60683         * math/s_ctanl.c (__ctanl): Likewise.
60684         * math/s_ctanhl.c (__ctanhl): Likewise.
60686 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60688         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60689         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60690         (_IO_off_t): Define to __off_t, not _G_off_t.
60691         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60692         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60693         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60694         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60695         type of __dummy and __dummy2 fields.
60696         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60697         (_G_ssize_t): Likewise.
60698         (_G_off_t): Likewise.
60699         (_G_pid_t): Likewise.
60700         (_G_uid_t): Likewise.
60701         (_G_wchar_t): Likewise.
60702         (_G_wint_t): Likewise.
60703         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60704         (_G_ssize_t): Likewise.
60705         (_G_off_t): Likewise.
60706         (_G_pid_t): Likewise.
60707         (_G_uid_t): Likewise.
60708         (_G_wchar_t): Likewise.
60709         (_G_wint_t): Likewise.
60710         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60711         (_G_ssize_t): Likewise.
60712         (_G_off_t): Likewise.
60713         (_G_pid_t): Likewise.
60714         (_G_uid_t): Likewise.
60715         (_G_wchar_t): Likewise.
60716         (_G_wint_t): Likewise.
60718 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60720         * malloc/arena.c: Include malloc-sysdep.h.
60721         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60722         is sufficient to shrink the heap or an unmap is needed.
60723         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60724         new function check_may_shrink_heap.
60725         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60726         new function check_may_shrink_heap.
60728 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60730         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60731         comments.
60733 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60735         * catgets/test-gencat.sh: Add "set -e".
60736         * elf/tst-pathopt.sh: Likewise.
60737         * grp/tst_fgetgrent.sh: Likewise.
60738         * iconvdata/run-iconv-test.sh: Likewise.
60739         * intl/tst-gettext.sh: Likewise.
60740         * intl/tst-gettext2.sh: Likewise.
60741         * intl/tst-gettext4.sh: Likewise.
60742         * intl/tst-gettext6.sh: Likewise.
60743         * intl/tst-translit.sh: Likewise.
60744         * io/ftwtest-sh: Likewise.
60745         * libio/test-freopen.sh: Likewise.
60746         * malloc/tst-mtrace.sh: Likewise.
60747         * posix/globtest.sh: Likewise.
60748         * posix/tst-getconf.sh: Likewise.
60749         * posix/wordexp-tst.sh: Likewise.
60750         * stdio-common/tst-printf.sh: Likewise.
60751         * stdio-common/tst-unbputc.sh: Likewise.
60752         * stdlib/tst-fmtmsg.sh: Likewise.
60753         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60754         * catgets/Makefile: Do not specify -e option when running
60755         testsuite shell scripts.
60756         * elf/Makefile: Likewise.
60757         * grp/Makefile: Likewise.
60758         * iconvdata/Makefile: Likewise.
60759         * intl/Makefile: Likewise.
60760         * io/Makefile: Likewise.
60761         * libio/Makefile: Likewise.
60762         * malloc/Makefile: Likewise.
60763         * posix/Makefile: Likewise.
60764         * stdio-common/Makefile: Likewise.
60765         * stdlib/Makefile: Likewise.
60766         * sysdeps/x86_64/Makefile: Likewise.
60768         * io/ftwtest-sh: Add copyright header.
60769         * posix/globtest.sh: Likewise.
60770         * posix/tst-getconf.sh: Likewise.
60771         * posix/wordexp-tst.sh: Likewise.
60772         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60774 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60776         [BZ #13679]
60777         * Makeconfig (+link): Defined as $(+link-static) if
60778         $(build-shared) isn't yes.
60779         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60780         isn't yes.
60781         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60783         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60785         [BZ #14562]
60786         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60787         new chunk size with MALLOC_ALIGN_MASK.
60789 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60791         [BZ #5044]
60792         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60793         <rounding-mode.h>.
60794         (__printf_fphex): Determine rounding using get_rounding_mode and
60795         round_away.
60796         * stdio-common/tst-printf-round.c (struct hex_test): New
60797         structure.
60798         (hex_tests): New variable.
60799         (test_hex_in_one_mode): New function.
60800         (do_test): Also run tests for hex float output.
60802 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60804         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60805         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60806         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60807         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60808         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60809         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60810         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60811         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60813 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60815         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60816         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60817         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60818         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60820 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60822         [BZ #14579]
60823         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60824         mode only.
60825         * elf/tst-rtld-load-self.sh: New test.
60826         * elf/Makefile: Run it.
60828 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60830         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60831         (tst-writev-ENV): Remove.
60832         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60834 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60836         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60838 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60840         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60841         unconditional.
60842         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60843         Likewise.
60844         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60845         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60846         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60847         Likewise.
60849 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60851         [BZ #14587]
60852         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60853         * config.make.in (have-cpp-asm-debuginfo): Removed.
60854         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60855         * configure: Regenerated.
60857 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60859         [BZ #5044]
60860         * stdio-common/printf_fp.c: Include <stdbool.h> and
60861         <rounding-mode.h>.
60862         (___printf_fp): Determine rounding using get_rounding_mode and
60863         round_away.
60864         * stdio-common/tst-printf-round.c: New file.
60865         * stdio-common/Makefile (tests): Add tst-printf-round.
60866         (link-libm): New variable.
60867         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60869 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60871         [BZ #14576]
60872         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60873         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60874         Likewise.
60875         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60876         Likewise.
60878 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60880         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60881         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60882         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60883         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60885 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60887         [BZ #14518]
60888         * include/rounding-mode.h: New file.
60889         * sysdeps/generic/get-rounding-mode.h: Likewise.
60890         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60891         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60892         (MAX_VALUE): New macro.
60893         (MIN_VALUE): Likewise.
60894         (overflow_value): New function.
60895         (underflow_value): Likewise.
60896         (round_and_return): Use overflow_value and underflow_value to
60897         determine return values in overflow and underflow cases.  Use
60898         round_away to determine rounding depending on rounding mode.
60899         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60900         determine return values in overflow and underflow cases.
60901         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60902         (struct test_results): New structure.
60903         (struct test): Use struct test_results to store expected results
60904         for all rounding modes.
60905         (TEST): Include expected results for all rounding modes.
60906         (test_in_one_mode): New function.
60907         (do_test): Use test_in_one_mode to compute and check results.
60908         Check results for all rounding modes.
60909         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60910         $(link-libm).
60912 2012-12-09  Allan McRae  <allan@archlinux.org>
60914         * sysdeps/i386/fpu/libm-test-ulps: Update
60916 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60918         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60919         (_G_int32_t): Likewise.
60920         (_G_uint16_t): Likewise.
60921         (_G_uint32_t): Likewise.
60922         (_G_HAVE_BOOL): Likewise.
60923         (_G_HAVE_ATEXIT): Likewise.
60924         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60925         (_G_HAVE_IO_FILE_OPEN): Likewise.
60926         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60927         (_G_int32_t): Likewise.
60928         (_G_uint16_t): Likewise.
60929         (_G_uint32_t): Likewise.
60930         (_G_HAVE_BOOL): Likewise.
60931         (_G_HAVE_ATEXIT): Likewise.
60932         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60933         (_G_HAVE_IO_FILE_OPEN): Likewise.
60934         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60935         (_G_int32_t): Likewise.
60936         (_G_uint16_t): Likewise.
60937         (_G_uint32_t): Likewise.
60938         (_G_HAVE_BOOL): Likewise.
60939         (_G_HAVE_ATEXIT): Likewise.
60940         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60941         (_G_HAVE_IO_FILE_OPEN): Likewise.
60943 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60945         * csu/libc-tls.c: Update copyright years.
60947 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60949         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60950         [!_G_USING_THUNKS]: Remove conditional code.
60951         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60952         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60954         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60955         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60956         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60957         (_G_VTABLE_LABEL_PREFIX): Likewise.
60958         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60959         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60960         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60961         (_G_VTABLE_LABEL_PREFIX): Likewise.
60962         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60963         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60964         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60965         (_G_VTABLE_LABEL_PREFIX): Likewise.
60966         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60968 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60970         * libio/Makefile: Include ../Makeconfig before tests.
60971         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60972         only if $(build-shared) is yes.
60974         * iconv/gconv_db.c: Update copyright years.
60976 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60978         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60979         unwind info if defined PIC. Fix special cases description.
60980         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60982         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60983         DP_HI_MASK entry.
60984         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60986 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60988         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60990         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60991         is NULL.
60993         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60994         (LDLIBS-tst-chk4): This.
60995         (LDFLAGS-tst-chk5): Renamed to ...
60996         (LDLIBS-tst-chk5): This.
60997         (LDFLAGS-tst-chk6): Renamed to ...
60998         (LDLIBS-tst-chk6): This.
60999         (LDFLAGS-tst-lfschk4): Renamed to ...
61000         (LDLIBS-tst-lfschk4): This.
61001         (LDFLAGS-tst-lfschk5): Renamed to ...
61002         (LDLIBS-tst-lfschk5): This.
61003         (LDFLAGS-tst-lfschk6): Renamed to ...
61004         (LDLIBS-tst-lfschk6): This.
61006         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61007         on $(common-objpfx)soversions.mk.
61009 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61011         [BZ #10014]
61012         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61013         example host name.
61015 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61017         * malloc/arena.c (arena_get_retry): New function that gets
61018         another arena for the caller to try its request on.
61019         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61020         current arena cannot fulfill the request.
61021         (__libc_memalign): Likewise.
61022         (__libc_memalign): Likewise.
61023         (__libc_pvalloc): Likewise.
61024         (__libc_calloc): Likewise.
61026 2012-09-05  John Tobey  <john.tobey@gmail.com>
61028         [BZ #13542]
61029         * manual/arith.texi (Operations on Complex): Fix description
61030         of carg branch cut.
61032 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61034         [BZ #10014]
61035         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61036         host name.
61038         [BZ #10038]
61039         * manual/memory.texi (Memory): Make order of menu items match
61040         order of sections.
61042 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61044         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61045         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61046         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61048 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61050         * csu/libc-tls.c (static_dtv): Renamed to ...
61051         (_dl_static_dtv): This.  Make it global.
61052         (_dl_initial_dtv): Removed.
61053         (__libc_setup_tls): Updated.
61054         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61055         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61056         DL_INITIAL_DTV.
61058 2012-09-06  Petr Machata  <pmachata@redhat.com>
61060         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61061         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61062         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61063         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61065 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61067         [BZ #14545]
61068         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61069         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61070         freeing dtv[-1].
61072 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61074         [BZ #14544]
61075         * Makeconfig (link-static-before-libc): Replace $(+prector)
61076         with $(+prectorT).
61077         (link-static-after-libc): Replace $(+postctor) with
61078         $(+postctorT).
61079         (link-bounded): Replace $(+prector)/$(+postctor) with
61080         $(+prectorT)/$(+postctorT).
61081         (+prectorT): New macro.
61082         (+postctorT): Likewise.
61084 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61086         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61087         (round_str): Handle values above the maximum for IBM long double
61088         as inexact.
61089         * stdlib/tst-strtod-round.c (tests): Regenerated.
61091 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61093         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61094         assembler flag.
61095         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61096         zarch_nohighgprs around the zarch optimized routines.
61097         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61098         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61099         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61100         for zarch.
61102 2012-09-05  David S. Miller  <davem@davemloft.net>
61104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61106         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61107         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61108         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61109         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61110         entries.
61112 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61114         * malloc/arena.c: Fold copyright years.
61115         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61117 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61119         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61121 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61123         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61125 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61127         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61128         change internal state upon failure.
61130 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61132         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61133         * malloc/memusage.c (mmap): Likewise.
61134         (mmap64, mremap): Likewise.  Adjust name in comment.
61136 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61138         * libio/fileops.c: Fix typos in comments.
61139         * libio/oldfileops.c: Likewise.
61140         * libio/wfileops.c: Likewise.
61142 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61144         [BZ #1349]
61145         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61146         (tst-malloc-usable-ENV): Set environment for test case.
61147         * malloc/hooks.c (malloc_check_get_size): New function to get
61148         requested size.
61149         * malloc/malloc.c (musable): Use malloc_check_get_size.
61150         * malloc/tst-malloc-usable.c: New test case.
61152 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61154         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61156 2012-09-05  Allan McRae  <allan@archlinux.org>
61158         [BZ #13966]
61159         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61160         determine header location.
61161         * configure: Regenerated.
61163 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61165         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61166         float format.
61167         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61168         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61169         format.
61170         (test): Regenerate.
61172 2012-09-04  David S. Miller  <davem@davemloft.net>
61174         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61175         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61176         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61178 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61180         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61181         failures.
61183         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61185 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61187         [BZ #9914]
61188         * libio/iogetdelim.c: Include <limits.h>.
61189         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61190         + len + 1 would overflow.
61192 2012-09-03  Andreas Jaeger  <aj@suse.de>
61194         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61195         * sysdeps/i386/fpu/libm-test-ulps: Update.
61197 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61199         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61200         Add s_sinf-sse2, s_conf-sse2.
61202         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61203         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61204         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61205         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61207         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61208         for using routine as __sinf_ia32.
61209         Use macro for function declaration and weak_alias.
61210         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61211         for using routine as __cosf_ia32.
61212         Use macro for function declaration and weak_alias.
61214         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61215         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61217         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61218         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61219         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61221         * math/libm-test.inc (cos_test): Add more test cases.
61222         (sin_test): Likewise.
61223         (sincos_test): Likewise.
61225 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61227         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61228         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61229         hidden.
61230         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61232 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61234         [BZ #14538]
61235         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61236         first element of the GOT.
61237         (elf_machine_load_address): Return the difference between
61238         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61240 2012-09-01  Allan McRae  <allan@archlinux.org>
61242         [BZ #13412]
61243         * configure.in (AWK): Require gawk version 3.0 or later.
61244         * configure: Regenerated.
61246 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61248         * sysdeps/unix/sysv/linux/kernel-features.h
61249         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61250         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61251         [__NR_clock_getres]: Make code unconditional.
61252         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61253         (clock_getcpuclockid): Remove code left unreachable by removal of
61254         conditionals.
61255         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61256         code unconditional.
61257         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61258         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61259         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61260         Make code unconditional.
61261         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61262         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61263         * sysdeps/unix/sysv/linux/clock_settime.c
61264         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61265         conditional code.
61266         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61267         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61269 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61271         [BZ #14476]
61272         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61273         scripts/test-installation.pl.
61275         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61276         and $ld_so_version if it is set.
61278 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61280         [BZ #14516]
61281         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61282         failure if reading from procfs failed.
61283         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61285 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61287         * sysdeps/unix/sysv/linux/kernel-features.h
61288         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61289         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61290         Remove conditional code.
61291         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61292         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61293         Remove conditional code.
61294         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61295         * sysdeps/unix/sysv/linux/i386/fxstat.c
61296         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61297         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61298         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61299         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61300         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61301         * sysdeps/unix/sysv/linux/i386/lxstat.c
61302         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61303         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61304         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61305         Remove conditional code.
61306         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61307         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61308         Remove conditional code.
61309         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61310         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61311         <kernel-features.h>.
61312         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61313         Remove.
61314         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61315         Remove conditional code.
61316         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61317         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61318         Remove conditional.
61320 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61322         [BZ #5400]
61323         * NEWS: Add fixed bug number.
61325 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61327         [BZ #14519]
61328         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61329         underflowing exponent in case of negative sign.
61330         * stdlib/tst-strtod-round-data: Add more tests.
61331         * stdlib/tst-strtod-round.c (tests): Regenerated.
61333         [BZ #3479]
61334         * stdlib/strtod_l.c (NDIG): Remove.
61335         (HEXNDIG): Likewise.
61336         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61337         smallest representable value.
61338         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61339         lie within an exact representation of 1/2 ulp of the result.
61340         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61341         unconditionally.
61342         (TENS_P9_IDX): Define unconditionally.
61343         (TENS_P9_SIZE): Likewise.
61344         (TENS_P10_IDX): Likewise.
61345         (TENS_P10_SIZE): Likewise.
61346         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61347         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61348         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61349         entries for 10^2^13 and 10^2^14.
61350         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61351         (TENS_P13_IDX): Define.
61352         (TENS_P13_SIZE): Likewise.
61353         (TENS_P14_IDX): Likewise.
61354         (TENS_P14_SIZE): Likewise.
61355         (_fpioconst_pow10): Change array size to
61356         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61357         unconditional.
61358         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61359         1024]: Add entries for 10^2^13 and 10^2^14.
61360         [LAST_POW10 > _LAST_POW10]: Remove #error.
61361         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61362         (_fpioconst_pow10): Change array size to
61363         FPIOCONST_POW10_ARRAY_SIZE.
61364         * stdlib/gen-fpioconst.c: New file.
61365         * stdlib/gen-tst-strtod-round.c: Likewise.
61366         * stdlib/tst-strtod-round-data: Likewise.
61367         * stdlib/tst-strtod-round.c: Likewise.
61368         * stdlib/Makefile (tests): Add tst-strtod-round.
61370         [BZ #14459]
61371         * stdlib/strtod_l.c: Include <stdint.h>.
61372         (NDEBUG): Do not define.
61373         (round_and_return): Change EXPONENT parameter to type intmax_t.
61374         Rearrange calculations to avoid internal overflow possibilities.
61375         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61376         Rearrange calculations to avoid internal overflow possibilities.
61377         Assert that number fits inside MPNSIZE limbs.
61378         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61379         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61380         calculations and add assertions to avoid internal overflow
61381         possibilities.  Add casts to avoid signed/unsigned operations.
61382         * stdlib/tst-strtod-overflow.c: New file.
61383         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61385 2012-08-25  Marek Polacek  <polacek@redhat.com>
61387         * time/time.h: Fix some typos in comments.
61389 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61391         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61392         * posix/tst-rfc3484-2.c: Likewise.
61393         * posix/tst-rfc3484-3.c: Likewise.
61395 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61397         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61398         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61400 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61402         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61403         #include of fxstatat64.c.
61405 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61407         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61408         * shadow/getspent_r.c: Likewise.
61409         * shadow/getspnam.c: Likewise.
61410         * shadow/getspnam_r.c: Likewise.
61411         * gshadow/getsgent.c: Likewise.
61412         * gshadow/getsgent_r.c: Likewise.
61413         * gshadow/getsgnam.c: Likewise.
61414         * gshadow/getsgnam_r.c: Likewise.
61415         * inet/getnetbyad.c: Likewise.
61416         * inet/getnetbyad_r.c: Likewise.
61417         * inet/getnetbynm.c: Likewise.
61418         * inet/getnetbynm_r.c: Likewise.
61419         * inet/getnetent.c: Likewise.
61420         * inet/getnetent_r.c: Likewise.
61421         * inet/getproto.c: Likewise.
61422         * inet/getproto_r.c: Likewise.
61423         * inet/getprtent.c: Likewise.
61424         * inet/getprtent_r.c: Likewise.
61425         * inet/getprtname.c: Likewise.
61426         * inet/getprtname_r.c: Likewise.
61427         * inet/getrpcbyname.c: Likewise.
61428         * inet/getrpcbyname_r.c: Likewise.
61429         * inet/getrpcbynumber.c: Likewise.
61430         * inet/getrpcbynumber_r.c: Likewise.
61431         * inet/getrpcent.c: Likewise.
61432         * inet/getrpcent_r.c: Likewise.
61433         * inet/getaliasent.c: Likewise.
61434         * inet/getaliasent_r.c: Likewise.
61435         * inet/getaliasname.c: Likewise.
61436         * inet/getaliasname_r.c: Likewise.
61437         * nscd/getgrgid_r.c: Likewise.
61438         * nscd/getgrnam_r.c: Likewise.
61439         * nscd/gethstbyad_r.c: Likewise.
61440         * nscd/gethstbynm3_r.c: Likewise.
61441         * nscd/getpwnam_r.c: Likewise.
61442         * nscd/getpwuid_r.c: Likewise.
61443         * nscd/getsrvbynm_r.c: Likewise.
61444         * nscd/getsrvbypt_r.c: Likewise.
61445         * nscd/gai.c: Likewise.
61447         * configure.in (build_nscd): New substituted variable, set
61448         by --disable-build-nscd and defaults to $use_nscd.
61449         * configure: Regenerated.
61450         * config.make.in (build-nscd): New substituted variable.
61451         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61452         Change conditional to require [$(build-nscd) = yes] as well.
61453         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61455         [BZ# 13696]
61456         * configure.in (use_nscd): New substituted variable, set by
61457         --disable-nscd.  If enabled, define USE_NSCD.
61458         * configure: Regenerated.
61459         * config.h.in: Add USE_NSCD.
61460         * config.make.in (use-nscd): New substituted variable.
61461         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61462         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61463         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61464         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61465         (CFLAGS-getgrnam_r.c): Likewise.
61466         (CFLAGS-initgroups.c): Likewise.
61467         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61468         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61469         Variables removed.
61470         * inet/getnetgrent_r.c
61471         (nscd_setnetgrent): New function, broken out of ...
61472         (setnetgrent): ... here.  Call it.
61473         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61474         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61475         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61476         * nscd/Makefile (routines, aux): Move definitions after include of
61477         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61478         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61479         Conditionalize on [USE_NSCD].
61480         (is_nscd, nscd_init_cb): Likewise.
61481         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61482         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61483         * nss/nss_db/db-init.c: Likewise.
61484         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61485         [USE_NSCD].
61486         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61487         (make_request): Use it.
61488         (cache_valid_p): New function.
61489         (__check_pf): Use it.
61490         * NEWS: Add item for --disable-nscd.
61492 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61494         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61495         to support sed >= 4.2.1-20-ga9bf076.
61496         * configure: Regenerated.
61498 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61500         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61501         Conditionalize whole body on [IREL].
61503 2012-08-22  Jeff Law <law@redhat.com>
61505         [BZ #14505]
61506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61507         if the family is PF_UNSPEC.
61509 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61511         * Makerules (lib-version): Rename from V.
61512         (install-lib-nosubdir): Change V to lib-version.
61514 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61516         [BZ #14252]
61517         * powerpc32/power6/wcschr.c: New file.
61518         * powerpc32/power6/wcscpy.c: New file.
61519         * powerpc32/power6/wcsrchr.c: New file.
61520         * powerpc64/power6/wcschr.c: New file.
61521         * powerpc64/power6/wcscpy.c: New file.
61522         * powerpc64/power6/wcsrchr.c: New file.
61524 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61526         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61527         (two_way_short_needle): Use it.
61528         * string/strstr.c (AVAILABLE1_USES_J): Define.
61529         * string/strcasestr.c: Likewise.
61531         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61532         array references.
61533         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61535         [BZ #11607]
61536         * NEWS: Add an entry.
61537         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61538         define their defaults.
61539         (two_way_short_needle): Detect end-of-string on-the-fly.
61540         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61541         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61542         * string/bug-strcasestr1.c: New test.
61543         * string/Makefile: Run it.
61545 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61547         [BZ #11607]
61548         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61549         the first character.
61551 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61553         * csu/elf-init.c (__libc_csu_irel): Function removed.
61554         * csu/libc-start.c (apply_irel): New function.
61555         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61557 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61559         * sysdeps/unix/sysv/linux/kernel-features.h
61560         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61561         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61562         <kernel-features.h>.
61563         [__NR_fadvise64_64]: Make code unconditional.
61564         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61565         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61566         !__NR_fadvise64_64)]: Likewise.
61567         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61568         !__NR_fadvise64_64))]: Likewise.
61569         [__NR_fadvise64]: Make code unconditional.
61570         [!__NR_fadvise64]: Remove conditional code.
61571         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61572         <kernel-features.h>.
61573         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61574         unconditional.
61575         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61576         conditional code.
61577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61578         not include <kernel-features.h>.
61579         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61580         unconditional.
61581         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61582         conditional code.
61583         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61584         include <kernel-features.h>.
61585         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61586         unconditional.
61587         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61588         conditional code.
61590 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61592         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61593         slight instruction rearrangements per scrollpipe analysis.
61594         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61596 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61598         * manual/syslog.texi (syslog; vsyslog, closelog):
61599         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61600         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61602         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61603         DSOCAPS to match condition on defining it.
61605 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61607         * sysdeps/unix/sysv/linux/kernel-features.h
61608         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61610         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61611         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61613         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61614         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61616         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61617         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61619         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61620         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61622         * sysdeps/unix/sysv/linux/kernel-features.h
61623         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61624         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61625         unconditional.
61626         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61627         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61628         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61629         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61630         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61631         Make code unconditional.
61632         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61633         (__mmap64) [!__NR_mmap2]: Likewise.
61634         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61635         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61636         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61637         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61638         [__NR_mmap2]: Make code unconditional.
61639         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61640         (__mmap64) [!__NR_mmap2]: Likewise.
61642 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61644         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61646 2012-08-18  Andreas Jaeger  <aj@suse.de>
61648         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61650 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61652         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61653         * include/unistd.h (__have_sock_cloexec): Likewise.
61654         (__have_pipe2): Likewise.
61655         (__have_dup3): Likewise.
61657 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61659         [BZ #9685]
61660         * include/unistd.h (__have_pipe2): Change define into an extern int.
61661         (__have_dup3): Likewise.
61662         * socket/have_sock_cloexec.c: Include fcntl.h.
61663         (__have_pipe2): New variable.
61664         (__have_dup3): Likewise.
61666 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61668         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61670 2012-08-17  Marek Polacek  <polacek@redhat.com>
61672         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61673         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61675 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61677         * configure.in: Add AC_SUBST for sysheaders.
61678         * configure: Regenerated.
61679         * config.make.in (sysheaders): New substituted variable.
61681         * sysdeps/unix/mkfifo.c: Moved ...
61682         * sysdeps/posix/mkfifo.c: ... here.
61683         * sysdeps/unix/mkfifoat.c: Moved ...
61684         * sysdeps/posix/mkfifoat.c: ... here.
61686         * sysdeps/unix/utime.c: Moved ...
61687         * sysdeps/posix/utime.c: ... here.
61689         * sysdeps/unix/time.c: Moved ...
61690         * sysdeps/posix/time.c: ... here.
61691         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61692         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61694         * sysdeps/unix/nice.c: Moved ...
61695         * sysdeps/posix/nice.c: ... here.
61697         * sysdeps/unix/alarm.c: Moved ...
61698         * sysdeps/posix/alarm.c: ... here.
61700         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61702 2012-08-17  Jeff Law <law@redhat.com>
61704         * intl/Makefile (codeset_mo): New variable.
61705         ($(codeset_mo)): New target.
61706         (tst-codeset.out): Depend on that.  Remove explicit rule.
61707         (tst-gettext3.out, tst-gettext5.out): Likewise.
61708         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61709         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61710         * intl/tst-codeset.sh: Remove.
61711         * intl/tst-gettext3.sh: Likewise.
61712         * intl/tst-gettext5.sh: Likewise.
61714 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61716         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61717         * sysdeps/unix/syscalls.list: ... here.
61719         * sysdeps/posix/getaddrinfo.c
61720         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61721         (gaiconf_init, gaiconf_reload): Use them.
61722         [!_STATBUF_ST_NSEC]
61723         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61724         Define using time_t rather than struct timespec.
61726         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61727         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61728         Macros removed.
61729         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61730         [!NO_THREADS].
61731         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61732         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61733         Likewise.
61735         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61736         __libc_cleanup_push argument.
61738         * bits/param.h: New file.
61739         * misc/sys/param.h: New file.
61740         * include/sys/param.h: New file.
61741         * misc/Makefile (headers): Add bits/param.h.
61742         * sysdeps/generic/sys/param.h: File removed.
61743         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61744         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61745         * sysdeps/mach/hurd/bits/param.h: New file.
61746         * sysdeps/mach/hurd/sys/param.h: File removed.
61748         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61749         last change.
61751         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61752         [_IO_MTSAFE_IO].
61753         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61754         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61755         New macros.
61757         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61758         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61759         rather than -D_IO_MTSAFE_IO conditionally.
61760         * stdio-common/Makefile (CPPFLAGS): Likewise.
61761         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61762         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61763         Use $(libio-mtsafe).
61764         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61765         of -D_IO_MTSAFE_IO.
61766         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61767         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61768         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61769         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61770         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61771         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61772         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61773         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61774         (CFLAGS-fread_u_chk.c): Likewise.
61775         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61776         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61777         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61778         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61779         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61780         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61781         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61782         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61783         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61785         * libio/Makefile: Test [$(libc-reentrant) = yes]
61786         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61788         * Makeconfig
61789         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61790         * sysdeps/pthread/configure: File removed.
61791         * sysdeps/pthread/Makeconfig: New file.
61792         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61793         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61795 2012-08-16  Gary Benson  <gbenson@redhat.com>
61797         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61798         unmapping the first object in a namespace.
61800 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61802         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61803         (__internal_setnetgrent): ... this.  Add internal_function to
61804         definition.  Add libc_hidden_def.
61805         (setnetgrent): Update caller.
61806         (internal_endnetgrent): Renamed to ...
61807         (__internal_endnetgrent): ... this.  Add internal_function to
61808         definition.  Add libc_hidden_def.
61809         (endnetgrent): Update caller.
61810         (internal_getnetgrent_r): Renamed to ...
61811         (__internal_getnetgrent_r): ... this.  Add internal_function to
61812         definition.  Add libc_hidden_def.
61813         (__getnetgrent_r): Update caller.
61814         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61816 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61818         * stdlib/longlong.h: Update from GCC.
61820 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61822         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61823         on _QL, which is set by umul_ppmm but never used.
61824         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61825         variables, which are set by GMP macros but never used.
61826         * stdio-common/_itowa.c (_itowa): Likewise.
61827         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61828         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61830 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61832         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61833         struct La_sh_regs is not constant.
61834         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61835         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61836         and struct La_sparc64_regs are not constant.
61838 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61840         * sysdeps/unix/sysv/linux/kernel-features.h
61841         (__ASSUME_POSIX_TIMERS): Remove.
61842         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61843         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61844         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61845         Make code unconditional.
61846         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61847         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61848         Make code unconditional.
61849         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61850         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61851         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61852         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61853         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61854         Make code unconditional.
61855         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61856         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61857         (__libc_missing_posix_timers): Remove.
61859 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61861         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61862         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61864         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61866         * elf/dl-sym.c: Include <stdlib.h>.
61868         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61869         constants, which avoids warnings in 32-bit builds.
61871         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61872         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61874         * misc/lseek.c: File moved to ...
61875         * io/lseek.c: ... here.
61877         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61879         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61880         shifting LEN more than 31 bits at once.
61882 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61884         [BZ #14195]
61885         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61886         segmentation fault for a case of two empty input strings.
61887         * string/test-strncasecmp.c (check1): Renamed to...
61888         (bz12205): ...this.
61889         (bz14195): Add new testcase for two empty input strings and N > 0.
61890         (test_main): Call new testcase, adapt for renamed function.
61892 2012-08-15  Andreas Jaeger  <aj@suse.de>
61894         [BZ #14090]
61895         * crypt/md5test2.c: New test, based on test supplied by Serge
61896         Belyshev <belyshev@depni.sinp.msu.ru>.
61897         * crypt/Makefile (xtests): Add md5test-giant..
61898         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61900 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61902         [BZ #14090]
61903         * crypt/md5.c (md5_process_block): Don't assume the buffer
61904         length is less than 2**32.
61905         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61906         length is less than 2**64.
61908 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61910         * string/str-two-way.h: Include <sys/param.h>.
61911         (MAX): Macro removed.
61913         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61914         Move #define and #undef of memmove to just before and after
61915         including <string.h>.
61917         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61918         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61919         and after including <string.h>.  Move declarations of
61920         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61921         to before #include "string/memmove.c".
61923         * include/dirent.h: Declare __getdirentries.
61925         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61926         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61928 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61930         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61931         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61932         * sysdeps/i386/configure: Regenerated.
61933         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61934         STABS_CURRENT_FILE, and STABS_FUN.
61935         (END): Remove call to STABS_FUN_END.
61936         (STABS_CURRENT_FILE1): Delete.
61937         (STABS_CURRENT_FILE): Likewise.
61938         (STABS_FUN): Likewise.
61939         (STABS_FUN_END): Likewise.
61940         (STABS_FUN2): Likewise.
61941         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61942         * sysdeps/x86_64/configure: Regenerated.
61944 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61946         * elf/dl-open.c: Include <atomic.h>.
61947         * elf/dl-lookup.c: Likewise.
61949 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61951         * sysdeps/unix/sysv/linux/kernel-features.h
61952         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61953         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61954         unconditionally.
61955         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61956         unconditionally.
61957         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61958         condition on __ASSUME_CLONE_THREAD_FLAGS.
61960 2012-08-14  Andreas Jaeger  <aj@suse.de>
61962         * sysdeps/i386/fpu/libm-test-ulps: Update.
61964 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61966         * include/atomic.h (atomic_exchange_and_add): Split into ...
61967         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61968         New atomic macros.
61970 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61972         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61974 2012-08-13  Jeff Law <law@redhat.com>
61976         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61977         null byte in the output string.
61979 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61981         * sysdeps/unix/sysv/linux/kernel-features.h
61982         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61983         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61984         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61985         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61986         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61987         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61988         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61990 2012-08-09  Jeff Law <law@redhat.com>
61992         [BZ #13939]
61993         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61994         When avoid_arena is set, don't retry in the that arena.  Pick the
61995         next one, whatever it might be.
61996         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61997         (arena_lock): Pass in new parameter to arena_get2.
61998         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61999         arena_get2.
62000         (__libc_malloc): Unify retrying after main arena failure with
62001         __libc_memalign version.
62002         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62004 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62006         [BZ #14166]
62007         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62008         to __redirect_strstr.
62009         (__strstr_sse42): Use typeof __redirect_strstr.
62010         (__strstr_ia32): Likewise.
62011         (__libc_strstr): New prototype.
62012         (strstr): Renamed to ...
62013         (__libc_strstr): This.
62014         (strstr): New strong alias of __libc_strstr.
62015         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62016         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62017         __redirect_time.
62018         Include <time.h>.
62019         (__libc_time): New prototype.
62020         (time_ifunc): Replace time with __libc_time.
62021         (time): New strong alias and hidden definition of __libc_time.
62022         (__GI_time): Remove strong alias.
62023         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62024         Include <stddef.h>.
62025         (memmove): Redefined to __redirect_memmove.
62026         (__memmove_sse2): Use typeof __redirect_memmove.
62027         (__memmove_ssse3): Likewise.
62028         (__memmove_ssse3_back): Likewise.
62029         (__libc_memmove): New prototype.
62030         (memmove): Renamed to ...
62031         (__libc_memmove): This.
62032         (memmove): New strong alias of __libc_memmove.
62034 2012-08-08  Mark Salter  <msalter@redhat.com>
62036         * elf/elf.h
62037         (R_MN10300_TLS_GD): Define.
62038         (R_MN10300_TLS_LD): Likewise.
62039         (R_MN10300_TLS_LDO): Likewise.
62040         (R_MN10300_TLS_GOTIE): Likewise.
62041         (R_MN10300_TLS_IE): Likewise.
62042         (R_MN10300_TLS_LE): Likewise.
62043         (R_MN10300_TLS_DTPMOD): Likewise.
62044         (R_MN10300_TLS_DTPOFF): Likewise.
62045         (R_MN10300_TLS_TPOFF): Likewise.
62046         (R_MN10300_SYM_DIFF): Likewise.
62047         (R_MN10300_ALIGN): Likewise.
62048         (R_MN10300_NUM): Update.
62050 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62052         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62053         Remove.
62055 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62057         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62059         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62060         sysdeps/unix -> sysdeps/posix move.
62061         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62063 2012-08-07      Allan McRae     <allan@archlinux.org>
62065         [BZ #14303]
62066         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62067         (SUNOS_CPP): Likewise.
62068         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62069         not found.
62070         (open_input): Call CPP using execvp.
62072 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62074         * sysdeps/unix/sysv/linux/kernel-features.h
62075         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62076         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62077         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62078         (__ASSUME_WAITID_SYSCALL): Likewise.
62079         * sysdeps/unix/sysv/linux/dl-execstack.c
62080         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62081         code unconditional.
62082         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62083         conditional code.
62084         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62085         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62086         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62087         code.
62088         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62089         unconditional.
62090         [__ASSUME_WAITID_SYSCALL]: Likewise.
62091         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62093 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62095         * sysdeps/unix/closedir.c: Renamed to ...
62096         * sysdeps/posix/closedir.c: ... here.
62097         * sysdeps/unix/dirfd.c: Renamed to ...
62098         * sysdeps/posix/dirfd.c: ... here.
62099         * sysdeps/unix/dirstream.h: Renamed to ...
62100         * sysdeps/posix/dirstream.h: ... here.
62101         * sysdeps/unix/fdopendir.c: Renamed to ...
62102         * sysdeps/posix/fdopendir.c: ... here.
62103         * sysdeps/unix/opendir.c: Renamed to ...
62104         * sysdeps/posix/opendir.c: ... here.
62105         * sysdeps/unix/readdir.c: Renamed to ...
62106         * sysdeps/posix/readdir.c: ... here.
62107         * sysdeps/unix/readdir_r.c: Renamed to ...
62108         * sysdeps/posix/readdir_r.c: ... here.
62109         * sysdeps/unix/rewinddir.c: Renamed to ...
62110         * sysdeps/posix/rewinddir.c: ... here.
62111         * sysdeps/unix/seekdir.c: Renamed to ...
62112         * sysdeps/posix/seekdir.c: ... here.
62113         * sysdeps/unix/telldir.c: Renamed to ...
62114         * sysdeps/posix/telldir.c: ... here.
62115         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62116         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62117         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62118         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62120         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62121         * bits/fcntl.h: ... here.
62123         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62124         not 0.
62125         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62126         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62127         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62128         (struct flock): Move l_start, l_len to the beginning.
62129         Use __pid_t for l_pid.
62130         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62131         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62132         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62133         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62134         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62135         [__USE_LARGEFILE64] (struct flock64): New type.
62136         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62138         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62139         * bits/dirent.h: ... here.
62141         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62142         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62144 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62146         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62147         Change from 2.6.0 to 2.6.16.
62148         * sysdeps/unix/sysv/linux/configure: Regenerated.
62149         * sysdeps/unix/sysv/linux/kernel-features.h
62150         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62151         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62152         version.
62153         (__ASSUME_UTIMES): Likewise.
62154         (__ASSUME_CLONE_STOPPED): Remove.
62155         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62156         architectures, not kernel version.
62157         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62158         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62159         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62160         (__ASSUME_WAITID_SYSCALL): Likewise.
62161         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62162         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62163         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62164         refer to older versions.
62166 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62168         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62169         Define alphasort64 as an alias.
62170         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62171         Define versionsort64 as an alias.
62172         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62173         Define scandir64 as an alias.
62174         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62175         Define scandirat64 as an alias.
62176         * dirent/alphasort64.c (alphasort64):
62177         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62178         * dirent/versionsort64.c: Likewise.
62179         * dirent/scandir64.c: Likewise.
62180         * dirent/scandirat64.c: Likewise.
62181         * sysdeps/wordsize-64/alphasort.c: File removed.
62182         * sysdeps/wordsize-64/alphasort64.c: File removed.
62183         * sysdeps/wordsize-64/scandir.c: File removed.
62184         * sysdeps/wordsize-64/scandir64.c: File removed.
62185         * sysdeps/wordsize-64/scandirat.c: File removed.
62186         * sysdeps/wordsize-64/scandirat64.c: File removed.
62187         * sysdeps/wordsize-64/versionsort.c: File removed.
62188         * sysdeps/wordsize-64/versionsort64.c: File removed.
62189         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62190         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62191         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62192         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62193         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62194         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62195         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62196         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62198         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62199         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62200         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62201         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62202         [defined __arch64__ || defined __sparcv9]
62203         (__INO_T_MATCHES_INO64_T): New macro.
62204         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62205         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62206         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62207         * sysdeps/unix/sysv/linux/bits/dirent.h
62208         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62209         (_DIRENT_MATCHES_DIRENT64): New macro.
62211         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62212         Define lockf64 as an alias.
62213         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62214         Define fseeko64 as an alias.
62215         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62216         Define ftello64 as an alias.
62217         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62218         Define _IO_fgetpos64 and fgetpos64 as aliases.
62219         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62220         Define _IO_fsetpos64 and fsetpos64 as aliases.
62221         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62222         Conditionalize body on this.
62223         * libio/fseeko64.c: Likewise.
62224         * libio/ftello64.c: Likewise.
62225         * libio/iofgetpos64.c: Likewise.
62226         * libio/iofsetpos64.c: Likewise.
62227         * sysdeps/wordsize-64/lockf.c: File removed.
62228         * sysdeps/wordsize-64/lockf64.c: File removed.
62229         * sysdeps/wordsize-64/fseeko.c: File removed.
62230         * sysdeps/wordsize-64/fseeko64.c: File removed.
62231         * sysdeps/wordsize-64/ftello.c: File removed.
62232         * sysdeps/wordsize-64/ftello64.c: File removed.
62233         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62234         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62235         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62236         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62237         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62238         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62239         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62240         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62241         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62242         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62243         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62244         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62245         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62246         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62248         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62249         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62250         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62251         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62252         [defined __arch64__ || defined __sparcv9]
62253         (__OFF_T_MATCHES_OFF64_T): New macro.
62254         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62255         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62256         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62257         (__OFF_T_MATCHES_OFF64_T): New macro.
62259 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62261         * stdlib/secure-getenv.c (__secure_getenv): Replace
62262         GLIBC_2_16 with GLIBC_2_17.
62264 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62266         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62267         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62269 2012-08-03  David S. Miller  <davem@davemloft.net>
62271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62273 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62275         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62276         Remove.
62277         (__ASSUME_CORRECT_SI_PID): Likewise.
62278         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62279         (__ASSUME_TMPFS_NAME): Likewise.
62280         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62281         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62282         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62283         (HAVE_AUX_SECURE): Make definition unconditional.
62284         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62285         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62287 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62289         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62290         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62291         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62292         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62293         __eloop_threshold instead of SYMLOOP_MAX.
62295         * sysdeps/generic/eloop-threshold.h: New file.
62296         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62297         of MAXSYMLINKS.
62298         * elf/chroot_canon.c (chroot_canon): Likewise.
62300 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62302         [BZ #13717]
62303         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62304         Change to 2.6.0 everywhere.
62305         * sysdeps/unix/sysv/linux/configure: Regenerated.
62306         * sysdeps/unix/sysv/linux/kernel-features.h
62307         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62308         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62309         kernel versions.
62310         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62311         (__ASSUME_FUTEX_REQUEUE): Remove.
62312         (__ASSUME_STATFS64): Define unconditionally.
62313         (__ASSUME_AT_SECURE): Likewise.
62314         (__ASSUME_CORRECT_SI_PID): Likewise.
62315         (__ASSUME_TGKILL): Define without depending on kernel version for
62316         i386.
62317         (__ASSUME_UTIMES): Likewise.
62318         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62319         kernel version.
62320         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62321         (__ASSUME_TMPFS_NAME): Likewise.
62322         * README: Update reference to Linux kernel versions.
62324 2012-08-02  Marek Polacek  <polacek@redhat.com>
62326         [BZ# 14150]
62327         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62328         libc_cv_asm_type_prefix with %.
62329         * configure: Regenerated.
62330         * include/libc-symbols.h: Remove comment about
62331         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62332         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62333         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62334         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62335         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62336         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62337         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62338         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62339         * elf/tst-unique2mod1.c: Likewise.
62340         * elf/tst-unique1mod2.c: Likewise.
62341         * elf/tst-unique1mod1.c: Likewise.
62342         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62343         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62344         Replace ASM_TYPE_DIRECTIVE with .type.
62345         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62346         * sysdeps/i386/sysdep.h: Likewise.
62347         * sysdeps/x86_64/sysdep.h: Likewise.
62348         * sysdeps/sh/sysdep.h: Likewise.
62349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62350         Do not define ASM_TYPE_DIRECTIVE.
62351         * sysdeps/powerpc/sysdep.h: Likewise.
62352         * sysdeps/powerpc/powerpc32/sysdep.h:
62353         Replace ASM_TYPE_DIRECTIVE with .type.
62354         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62355         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62356         * sysdeps/i386/fpu/e_powf.S: Likewise.
62357         * sysdeps/i386/fpu/e_expl.S: Likewise.
62358         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62359         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62360         * sysdeps/i386/fpu/e_pow.S: Likewise.
62361         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62362         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62363         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62364         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62365         * sysdeps/i386/fpu/e_log2.S: Likewise.
62366         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62367         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62368         * sysdeps/i386/fpu/e_powl.S: Likewise.
62369         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62370         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62371         * sysdeps/i386/fpu/e_logl.S: Likewise.
62372         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62373         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62374         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62375         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62376         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62377         * sysdeps/i386/fpu/e_log.S: Likewise.
62378         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62379         * sysdeps/i386/fpu/e_logf.S: Likewise.
62380         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62381         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62382         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62383         * sysdeps/i386/fpu/e_log10.S: Likewise.
62384         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62385         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62386         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62387         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62388         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62389         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62390         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62391         * sysdeps/i386/i686/strtok.S: Likewise.
62392         * sysdeps/i386/i386-mcount.S: Likewise.
62393         * sysdeps/i386/strtok.S: Likewise.
62394         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62395         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62396         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62397         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62398         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62399         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62400         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62401         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62402         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62403         * sysdeps/x86_64/_mcount.S: Likewise.
62404         * sysdeps/x86_64/strtok.S: Likewise.
62405         * sysdeps/sh/_mcount.S: Likewise.
62407 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62409         * libio/iofopen.c: Include <fcntl.h>.
62410         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62411         (_IO_fopen64, fopen64): Define as aliases.
62412         * libio/iofopen64.c: Include <fcntl.h>.
62413         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62414         Conditionalize body on this.
62415         * sysdeps/wordsize-64/iofopen.c: File removed.
62416         * sysdeps/wordsize-64/iofopen64.c: File removed.
62418 2012-08-01  Marek Polacek  <polacek@redhat.com>
62420         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62421         Use dlfcn directly instead of a variable.
62422         (binfmt-subdir): Do not define.
62423         (dlfcn): Likewise.
62425 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62427         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62428         Remove all definitions.
62429         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62430         <kernel-features.h>.
62431         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62432         (miss_F_GETOWN_EX): Remove all definitions.
62433         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62434         macro definition.
62435         [!__ASSUME_FCNTL64]: Remove conditional code.
62436         [__ASSUME_FCNTL64]: Make code unconditional.
62437         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62438         <kernel-features.h>.
62439         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62440         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62441         (lockf64) [__NR_fcntl64]: Make code unconditional.
62442         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62444         * sysdeps/unix/sysv/linux/kernel-features.h
62445         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62446         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62447         Make code unconditional.
62448         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62449         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62451         [__NR_vfork]: Make code unconditional.
62452         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62453         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62455         [__NR_vfork]: Make code unconditional.
62456         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62457         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62459 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62461         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62462         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62464         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62465         Define mkstemp64 as an alias.
62466         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62467         Define mkstemps64 as an alias.
62468         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62469         Define mkostemp64 as an alias.
62470         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62471         Define mkostemps64 as an alias.
62472         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62473         Conditionalize body on this.
62474         * misc/mkostemp64.c: Likewise.
62475         * misc/mkostemps64.c: Likewise.
62476         * misc/mkstemps64.c: Likewise.
62477         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62478         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62479         * sysdeps/wordsize-64/mkostemp.c: File removed.
62480         * sysdeps/wordsize-64/mkstemp.c: File removed.
62481         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62482         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62483         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62484         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62486         [BZ #14138]
62487         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62488         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62489         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62490         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62492         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62493         compat_symbol macros from <shlib-compat.h> rather than the underlying
62494         default_symbol_version and symbol_version macros, so that DEFAULT
62495         lines in shlib-versions are respected.
62496         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62498 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62500         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62501         Declare with warn_unused_result.
62502         (setgid, setregid, setegid, setresgid): Likewise.
62503         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62504         Likewise.
62505         * WUR-REPORT: Remove set*id functions.
62507 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62509         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62511 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62513         [BZ #10191]
62514         * include/sys/socket.h (__libc_accept, __libc_accept4):
62515         Add attribute_hidden.
62516         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62518         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62519         use of PTR_MANGLE.
62520         * inet/getnetgrent_r.c (setup): Likewise.
62522         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62524 2012-07-31  David S. Miller  <davem@davemloft.net>
62526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62528 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62530         [BZ #13629]
62531         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62532         value between 1.0 and 2.0 and smaller part has absolute value less
62533         than 1.0.
62534         * math/s_clog10.c (__clog10): Likewise.
62535         * math/s_clog10f.c (__clog10f): Likewise.
62536         * math/s_clog10l.c (__clog10l): Likewise.
62537         * math/s_clogf.c (__clogf): Likewise.
62538         * math/s_clogl.c (__clogl): Likewise.
62539         * math/libm-test.inc (clog_test): Add more tests.
62540         (clog10_test): Likewise.
62541         * sysdeps/i386/fpu/libm-test-ulps: Update.
62542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62544 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62546         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62547         Exit with zero in case no suitable GID is found, and write a
62548         message to standard error.
62550 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62552         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62553         rather than to 1.
62554         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62555         (MAXPATHLEN): Removed.
62556         (NOGROUP, NODEV): New macros.
62557         (setbit, clrbit, isset, isclr): New macros.
62558         (howmany, roundup, powerof2): New macros.
62559         (DEV_BSIZE): New macro.
62561         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62562         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62564         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62565         definition on [!__NO_LONG_DOUBLE_MATH].
62567         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62568         PTR_MANGLE and PTR_DEMANGLE.
62570         * socket/accept4.c (accept4): Rename to __libc_accept4.
62571         Define accept4 as a weak alias.
62573         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62574         on [_DIRENT_HAVE_D_TYPE].
62575         * io/ftw.c (ftw_dir): Likewise.
62577         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62579         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62581         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62582         Use the BSD numbers rather than the arbitrary ones we had.
62583         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62584         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62585         (SIGXCPU, SIGXFSZ): New macros.
62586         (_NSIG): Now 32.
62588         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62589         initializer on [_LIBC_REENTRANT].
62591         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62592         definitions inside [_POSIX_MAPPED_FILES].
62594         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62596         * dirent/opendir.c: Include <fcntl.h>.
62598         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62599         (__libc_getspecific): Likewise.
62600         (__libc_key_create): Likewise.
62602         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62603         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62604         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62605         (tmpfile64): Define as alias.
62606         * sysdeps/wordsize-64/tmpfile.c: File removed.
62607         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62608         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62609         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62611         * stdio-common/vfscanf.c: Include <stdbool.h>.
62612         * nss/makedb.c: Likewise.
62613         * stdio-common/_i18n_number.h: Likewise.
62614         * argp/argp-help.c: Likewise.
62615         * posix/wordexp.c: Likewise.
62616         * sysdeps/posix/spawni.c: Likewise.
62617         * nss/nss_files/files-initgroups.c: Likewise.
62618         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62619         * nss/nss_files/files-initgroups.c: Likewise.
62620         * nss/nss_db/db-netgrp.c: Likewise.
62621         * nss/nss_db/db-initgroups.c: Likewise.
62622         * io/fchmodat.c: Include <sys/stat.h>.
62624         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62625         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62627         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62628         [HAVE_MMAP].
62630         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62631         Add multiple inclusion protection.
62633 2012-07-27  David S. Miller  <davem@davemloft.net>
62635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62637 2012-07-27  Gary Benson  <gbenson@redhat.com>
62639         [BZ #14298]
62640         * elf/rtld.c: Include <stap-probe.h>.
62641         (dl_main): Added static probes "init_start" and "init_complete".
62642         * elf/dl-load.c: Include <stap-probe.h>.
62643         (lose): Take new parameter "nsid".
62644         Added static probe "map_failed".
62645         (_dl_map_object_from_fd): Pass namespace id to lose.
62646         Added static probe "map_start".
62647         (open_verify): Pass namespace id to lose.
62648         * elf/dl-open.c: Include <stap-probe.h>.
62649         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62650         and "reloc_complete".
62651         * elf/dl-close.c: Include <stap-probe.h>.
62652         (_dl_close_worker): Added static probes "unmap_start" and
62653         "unmap_complete".
62654         * elf/rtld-debugger-interface.txt: New file documenting the above.
62656 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62658         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62659         rather than a string variable.
62660         * sunrpc/rpc_main.c (h_output): Likewise.
62661         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62663 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62665         * inet/check_native.c: New file.
62667 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62669         [BZ #13629]
62670         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62671         if larger part has absolute value 1.0.
62672         * math/s_clog10.c (__clog10): Likewise.
62673         * math/s_clog10f.c (__clog10f): Likewise.
62674         * math/s_clog10l.c (__clog10l): Likewise.
62675         * math/s_clogf.c (__clogf): Likewise.
62676         * math/s_clogl.c (__clogl): Likewise.
62677         * math/libm-test.inc (clog_test): Add more tests.
62678         (clog10_test): Likewise.
62679         * sysdeps/i386/fpu/libm-test-ulps: Update.
62680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62682         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62683         (pltexit): Likewise.
62684         (La_regs): Likewise.
62685         (La_retval): Likewise.
62686         (int_retval): Likewise.
62687         Update #error for removed macros to refer only to definitions in
62688         tst-audit.h.
62689         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62690         macro.
62691         (pltexit): Likewise.
62692         (La_regs): Likewise.
62693         (La_retval): Likewise.
62694         (int_retval): Likewise.
62695         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62696         macro.
62697         (pltexit): Likewise.
62698         (La_regs): Likewise.
62699         (La_retval): Likewise.
62700         (int_retval): Likewise.
62701         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62702         macro.
62703         (pltexit): Likewise.
62704         (La_regs): Likewise.
62705         (La_retval): Likewise.
62706         (int_retval): Likewise.
62707         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62708         macro.
62709         (pltexit): Likewise.
62710         (La_regs): Likewise.
62711         (La_retval): Likewise.
62712         (int_retval): Likewise.
62713         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62714         macro.
62715         (pltexit): Likewise.
62716         (La_regs): Likewise.
62717         (La_retval): Likewise.
62718         (int_retval): Likewise.
62719         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62720         macro.
62721         (pltexit): Likewise.
62722         (La_regs): Likewise.
62723         (La_retval): Likewise.
62724         (int_retval): Likewise.
62725         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62726         macro definitions in tst-audit.h.
62727         * sysdeps/i386/tst-audit.h: New file.
62728         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62729         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62730         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62731         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62732         * sysdeps/sh/tst-audit.h: Likewise.
62733         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62734         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62735         * sysdeps/x86_64/tst-audit.h: Likewise.
62737 2012-07-26  Andreas Jaeger  <aj@suse.de>
62739         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62740         ptrace.
62742         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62743         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62744         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62745         PTRACE_O_MASK.
62746         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62747         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62748         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62750         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62751         value.
62753         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62754         _sigsys.
62755         (si_call_addr, si_syscall, si_arch): Define new macro.
62756         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62757         _sigsys.
62758         (si_call_addr, si_syscall, si_arch): Define new marcro.
62759         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62760         _sigsys.
62761         (si_call_addr, si_syscall, si_arch): Define new macro.
62762         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62763         _sigsys.
62764         (si_call_addr, si_syscall, si_arch): Define new macro.
62766 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62768         [BZ #13717]
62769         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62770         Change to 2.4.21 where previously 2.4.1.
62771         * sysdeps/unix/sysv/linux/configure: Regenerated.
62772         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62773         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62774         Linux kernel version.
62775         (__ASSUME_STD_AUXV): Remove.
62776         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62777         kernel version.
62778         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62779         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62780         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62781         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62782         (__ASSUME_NETLINK_SUPPORT): Likewise.
62783         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62784         (__no_netlink_support): Remove conditional definition.
62785         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62786         Remove.
62787         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62788         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62789         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62790         (if_nameindex_ioctl): Remove.
62791         (if_nameindex_netlink): Do not handle __no_netlink_support.
62792         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62793         code.
62794         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62795         Remove conditional code.
62796         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62797         code.
62798         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62799         unconditional.
62800         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62801         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62802         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62803         Remove.
62804         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62805         [!__ASSUME_STD_AUXV]: Remove conditional code.
62806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62807         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62808         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62810         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62811         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62812         code.
62813         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62815         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62816         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62817         conditional code.
62818         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62820         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62821         code.
62822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62823         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62824         conditional code.
62825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62826         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62827         code unconditional.
62828         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62829         conditional code.
62830         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62831         unconditional.
62832         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62833         conditional code.
62834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62835         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62836         unconditional.
62837         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62838         conditional code.
62839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62840         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62841         code unconditional.
62842         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62843         conditional code.
62844         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62845         unconditional.
62846         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62847         conditional code.
62848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62849         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62850         code unconditional.
62851         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62852         conditional code.
62853         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62854         unconditional.
62855         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62856         conditional code.
62858 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62860         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62861         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62862         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62863         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62864         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62865         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62866         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62867         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62868         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62869         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62870         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62871         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62872         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62873         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62874         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62875         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62876         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62877         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62878         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62879         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62880         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62881         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62882         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62884 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62886         * Versions.def: Add GLIBC_2.17.
62887         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62888         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62889         Introduce __libc_secure_getenv.
62890         * stdlib/Versions (2.17): Add secure_getenv
62891         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62892         * stdlib/secure-getenv.c: Rename __secure_getenv to
62893         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62894         symbol __secure_getenv for GLIBC_2.0.
62895         * stdlib/tst-secure-getenv.c: New.
62896         * stdlib/Makefile (tests): Add testcase.
62897         * manual/startup.texi (Environment Access): Document
62898         secure_getenv.
62899         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62900         __libc_secure_getenv.
62901         * inet/ruserpass.c (ruserpass): Likewise.
62902         * malloc/mtrace.c (mtrace): Likewise.
62903         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62904         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62905         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62906         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62907         HAVE_SECURE_GETENV.
62908         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62909         __secure_getenv to __libc_secure_getenv.
62910         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62912         Likewise.
62913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62914         Likewise.
62915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62917         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62923 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62925         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62926         (struct La_i86_retval): Likewise.
62927         (struct La_x86_64_regs): Likewise.
62928         (struct La_x86_64_retval): Likewise.
62929         (struct La_x32_regs): Likewise.
62930         (struct La_x32_retval): Likewise.
62931         (struct La_ppc32_regs): Likewise.
62932         (struct La_ppc32_retval): Likewise.
62933         (struct La_ppc64_regs): Likewise.
62934         (struct La_ppc64_retval): Likewise.
62935         (struct La_sh_regs): Likewise.
62936         (struct La_sh_retval): Likewise.
62937         (struct La_s390_32_regs): Likewise.
62938         (struct La_s390_32_retval): Likewise.
62939         (struct La_s390_64_regs): Likewise.
62940         (struct La_s390_64_retval): Likewise.
62941         (struct La_sparc32_regs): Likewise.
62942         (struct La_sparc32_retval): Likewise.
62943         (struct La_sparc64_regs): Likewise.
62944         (struct La_sparc64_retval): Likewise.
62945         (struct audit_ifaces): Remove architecture-specific pltenter and
62946         pltexit members.
62947         * sysdeps/i386/ldsodefs.h: New file.
62948         * sysdeps/powerpc/ldsodefs.h: Likewise.
62949         * sysdeps/s390/ldsodefs.h: Likewise.
62950         * sysdeps/sh/ldsodefs.h: Likewise.
62951         * sysdeps/sparc/ldsodefs.h: Likewise.
62952         * sysdeps/x86_64/ldsodefs.h: Likewise.
62954 2012-07-25  Marek Polacek  <polacek@redhat.com>
62956         [BZ #6808]
62957         * math/libm-test.inc (yn_test): Add another test.
62958         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62959         to ERANGE when the result is +-Inf.
62960         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62961         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62962         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62963         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62965 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62967         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62968         equal to 0.
62969         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62970         clock_t.
62971         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62973 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62975         * configure.in <sysdeps resolving>: Correct printing
62976         Implies_before.
62977         * configure: Regenerate.
62979 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62981         * math/w_ilogb.c: Include <limits.h>.
62982         * math/w_ilogbl.c: Likewise.
62984 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62986         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62987         va_copy.  Document allowing for unavailable va_copy only as
62988         pre-C99 compatibility.
62989         * manual/string.texi (Copying and Concatenation): Use va_copy
62990         instead of __va_copy in concat example.
62992 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62994         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62995         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62996         it if not null.
62998         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62999         with O_NOLINK passed to __file_name_lookup.
63001         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63002         with O_NOLINK passed to __file_name_lookup.
63004         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63005         negative N or less than NGIDS.
63007         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63008         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63009         enough.  Use memcpy instead of strncpy.
63011 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63013         * elf/Makefile (check-data): Remove.
63014         (localplt.data): New vpath directive.
63015         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63016         instead of $(check-data).
63017         * scripts/data/localplt-generic.data: Move to ...
63018         * sysdeps/generic/localplt.data: ... here.
63019         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63020         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63021         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63023         ... here.
63024         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63026         ... here.
63027         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63029         ... here.
63030         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63032         ... here.
63033         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63035         ... here.
63036         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63038         ... here.
63040 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63042         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63043         PPC32 and PPC64 files.
63044         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63045         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63047 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63049         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63050         __makecontext_ret to ...
63051         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63052         ... here and call exit if uc_link is NULL.  New file.
63053         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63054         __makecontext_ret.S.
63055         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63056         __makecontext_ret to ...
63057         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63058         ... here and call exit if uc_link is NULL.  New file.
63059         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63060         __makecontext_ret.S.
63062 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63064         * elf/elf.h (R_390_IRELATIVE): New definition.
63065         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63066         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63067         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63068         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63069         (elf_machine_lazy_rel): Likewise.
63070         * sysdeps/s390/dl-irel.h: New file.
63071         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63072         * sysdeps/s390/s390-64/memset.S: New asm code.
63073         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63074         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63075         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63076         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63077         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63078         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63079         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63080         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63081         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63082         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63083         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63084         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63085         * sysdeps/s390/s390-32/memset.S: New asm code.
63086         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63088 2012-07-17  Marek Polacek  <polacek@redhat.com>
63090         [BZ #14349]
63091         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63092         * sysdeps/s390/s390-64/configure.in: Likewise.
63093         * sysdeps/sparc/configure.in: Likewise.
63094         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63095         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63096         * sysdeps/i386/configure.in: Likewise.
63097         * sysdeps/x86_64/configure.in: Likewise.
63098         * sysdeps/sh/configure.in: Likewise.
63099         * sysdeps/s390/s390-32/configure: Regenerated.
63100         * sysdeps/s390/s390-64/configure: Likewise.
63101         * sysdeps/x86_64/configure: Likewise.
63102         * sysdeps/sh/configure: Likewise.
63103         * sysdeps/powerpc/powerpc64/configure: Likewise.
63104         * sysdeps/powerpc/powerpc32/configure: Likewise.
63105         * sysdeps/sparc/configure: Likwise.
63106         * sysdeps/i386/configure: Likewise.
63108         * elf/dl-open.c: Comment fixes.
63110 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63112         * Makefile [CXX] (check-data): Remove.
63113         [CXX] (c++-types.data): New vpath directive.
63114         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63115         vpath.  Do not allow for C++ type data being missing.
63116         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63117         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63118         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63119         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63120         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63121         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63122         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63124         ... here.
63125         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63127         ... here.
63128         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63130         ... here.
63131         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63133         ... here.
63134         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63136         ... here.
63137         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63139         ... here.
63140         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63142         ... here.
63143         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63146         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63147         definitions to architecture-specific files.
63148         (TLS_IE): Likewise.
63149         (TLS_LD): Likewise.
63150         (TLS_GD): Likewise.
63151         * sysdeps/i386/tls-macros.h: New file.
63152         * sysdeps/powerpc/tls-macros.h: Likewise.
63153         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63154         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63155         * sysdeps/sh/tls-macros.h: Likewise.
63156         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63157         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63158         * sysdeps/x86_64/tls-macros.h: Likewise.
63160 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63162         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63163         zero value for regular exit case.
63165         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63166         (__start_context): Preserve zero value for regular exit case.
63168 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63169             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63171         * manual/setjmp.texi (setcontext): Clarify normal process
63172         termination when uc_link is the null pointer.
63173         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63174         exit call.
63176 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63178         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63179         preprocessor.  Test for each exception mask separately.
63181 2012-07-16  Andreas Jaeger  <aj@suse.de>
63183         * po/ru.po: Update from translation team.
63185 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63187         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63188         equal to 0.
63189         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63190         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63191         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63192         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63193         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63195 2012-07-13  Andreas Jaeger  <aj@suse.de>
63197         * po/fr.po: Update from translation team.
63199 2012-07-12  Marek Polacek  <polacek@redhat.com>
63201         [BZ #14173]
63202         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63203         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63204         loop condition.
63206 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63208         [BZ #13717]
63209         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63210         Change to 2.4.1 where previously 2.4.0.
63211         * sysdeps/unix/sysv/linux/configure: Regenerated.
63212         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63213         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63214         version.
63215         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63216         (__ASSUME_AT_CLKTCK): Remove.
63217         (__ASSUME_AT_PAGESIZE): Likewise.
63218         (__ASSUME_AT_XID): Likewise.
63219         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63220         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63221         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63222         unconditionally.
63223         (HAVE_AUX_PAGESIZE): Likewise.
63224         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63225         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63226         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63228 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63230         [BZ #14307]
63231         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63232         the temporary buffer used to invoke __gethostbyname2_r,
63233         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63234         host_data / struct gaih_addrtuple.
63235         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63236         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63237         header file nss/nsswitch.h.
63238         * nss/nsswitch.h (global scope): Add definition of implementation
63239         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63240         resolv/nss_dns/dns-host.c).
63242 2012-07-11  Andreas Jaeger  <aj@suse.de>
63244         * po/fr.po: Update from translation team.
63246         * po/sv.po: Update from translation team
63247         * po/fr.po: Another update from translation team.
63249 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63251         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63252         for subnormals or multiply small sinh result by itself.
63253         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63256 2012-07-11  David S. Miller  <davem@davemloft.net>
63258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63260 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63262         [BZ #14347]
63263         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63264         (INTERNAL_MARK): Shift it here.
63266 2012-07-10  Marek Polacek  <polacek@redhat.com>
63268         [BZ #14151]
63269         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63270         libc_cv_asm_global_directive with .globl.
63271         * configure: Regenerated.
63272         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63273         with .globl.
63274         * sysdeps/i386/configure: Regenerated.
63275         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63276         with .globl.
63277         * sysdeps/x86_64/configure: Regenerated.
63278         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63279         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63280         * elf/tst-unique2mod2.c: Likewise.
63281         * elf/tst-unique2mod1.c: Likewise.
63282         * elf/tst-unique1mod2.c: Likewise.
63283         * elf/tst-unique1mod1.c: Likewise.
63284         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63285         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63286         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63287         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63288         * sysdeps/mach/sysdep.h: Likewise.
63289         * sysdeps/i386/sysdep.h: Likewise.
63290         * sysdeps/i386/i386-mcount.S: Likewise.
63291         * sysdeps/x86_64/_mcount.S: Likewise.
63292         * sysdeps/x86_64/sysdep.h: Likewise.
63293         * sysdeps/sh/_mcount.S: Likewise.
63294         * sysdeps/sh/sysdep.h: Likewise.
63295         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63296         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63297         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63298         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63299         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63300         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63301         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63302         * locale/localeinfo.h: Likewise.
63303         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63304         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63306 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63308         [BZ #14336]
63309         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63310         system".
63311         * manual/message.texi (The Uniforum approach): Likewise.
63312         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63313         (glibc iconv Implementation): Likewise.
63315 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63317         [BZ #14337]
63318         * math/s_clog.c (__clog): Avoid scaling a value down where that
63319         could result in underflow.
63320         * math/s_clog10.c (__clog10): Likewise.
63321         * math/s_clog10f.c (__clog10f): Likewise.
63322         * math/s_clog10l.c (__clog10l): Likewise.
63323         * math/s_clogf.c (__clogf): Likewise.
63324         * math/s_clogl.c (__clogl): Likewise.
63325         * math/libm-test.inc (clog_test): Add more tests.
63326         (clog10_test): Likewise.
63327         * sysdeps/i386/fpu/libm-test-ulps: Update.
63328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63330 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63332         [BZ #14283]
63333         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63334         by 7 not 8 to examine high bit of fractional part.
63336         [BZ #14042]
63337         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63338         for call to __mcount_internal.
63339         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63340         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63341         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63343 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63345         [BZ #14154]
63346         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63347         approximation for values within 0x1p-13f of an odd multiple of
63348         pi/4.
63349         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63350         exception.  Add more tests.
63351         * sysdeps/i386/fpu/libm-test-ulps: Update.
63353         [BZ #6778]
63354         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63355         inputs and return -1 for them.  Do not check for +Inf in case not
63356         reachable for +Inf.
63357         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63358         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63359         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63360         and return -1 for them.  Do not check for +Inf in case not
63361         reachable for +Inf.
63362         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63363         define.
63364         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63365         and return -1 for them.  Do not check for +Inf in case not
63366         reachable for +Inf.
63367         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63368         spurious underflow.
63369         * sysdeps/i386/fpu/libm-test-ulps: Update.
63370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63372 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63374         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63376 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63378         [BZ #14157]
63379         [BZ #14331]
63380         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63381         could result in spurious underflow.  Scale down values above
63382         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63383         * math/s_csqrtf.c (__csqrtf): Likewise.
63384         * math/s_csqrtl.c (__csqrtl): Likewise.
63385         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63386         spurious underflow.
63387         * sysdeps/i386/fpu/libm-test-ulps: Update.
63388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63390 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63392         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63393         xopen-msg.sed.
63394         * catgets/xopen-msg.awk: New file.
63395         * catgets/xopen-msg.sed: Removed.
63397         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63398         po2text.sed.
63399         * intl/po2test.awk: New file.
63400         * intl/po2test.sed: Removed.
63402 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63404         [BZ #14328]
63405         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63406         or multiply small sinh result by itself.
63407         * math/s_ctanf.c (__ctanf): Likewise.
63408         * math/s_ctanh.c (__ctanh): Likewise.
63409         * math/s_ctanhf.c (__ctanhf): Likewise.
63410         * math/s_ctanhl.c (__ctanhl): Likewise.
63411         * math/s_ctanl.c (__ctanl): Likewise.
63412         * math/libm-test.inc (ctan_test_tonearest): New function.
63413         (ctan_test_towardzero): Likewise.
63414         (ctan_test_downward): Likewise.
63415         (ctan_test_upward): Likewise.
63416         (ctanh_test_tonearest): Likewise.
63417         (ctanh_test_towardzero): Likewise.
63418         (ctanh_test_downward): Likewise.
63419         (ctanh_test_upward): Likewise.
63420         (main): Call these new functions.
63421         * sysdeps/i386/fpu/libm-test-ulps: Update.
63422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63424 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63426         * .gitignore: Delete /ports entry.
63428 2012-07-03  Andreas Jaeger  <aj@suse.de>
63430         * po/bg.po: Update from translation team.
63431         * po/cs.po: Likewise.
63432         * po/de.po: Likewise.
63433         * po/hr.po: Likewise.
63434         * po/nl.pl: Likewise.
63435         * po/pl.po: Likewise.
63436         * po/vi.po: Likewise.
63438 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63440         * Makeconfig [!+link] (+link-before-libc): New variable.
63441         [!+link] (+link-after-libc): Likewise.
63442         [!+link] (+link-tests): Likewise.
63443         [!+link] (+link): Define in terms of $(+link-before-libc) and
63444         $(+link-after-libc).
63445         [!+link-static] (+link-static-before-libc): New variable.
63446         [!+link-static] (+link-static-after-libc): Likewise.
63447         [!+link-static] (+link-static-tests): Likewise.
63448         [!+link-static] (+link-static): Define in terms of
63449         $(+link-static-before-libc) and $(+link-static-after-libc).
63450         [build-shared] (link-libc-before-gnulib): New variable.
63451         [build-shared] (link-libc-tests): Likewise.
63452         [build-shared] (link-libc): Define in terms of
63453         $(link-libc-before-gnulib).
63454         [!build-shared] (link-libc-tests): New variable.
63455         (link-libc-static-tests): New variable.
63456         [!gnulib] (gnulib-arch): New variable.
63457         [!gnulib] (gnulib-tests): Likewise.
63458         [!gnulib] (static-gnulib-arch): Likewise.
63459         [!gnulib] (static-gnulib-tests): Likewise.
63460         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63461         Define with "=" instead of ":=".
63462         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63463         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63464         * Rules (binaries-all-notests): New variable.
63465         (binaries-all-tests): Likewise.
63466         (binaries-static-notests): Likewise.
63467         (binaries-static-tests): Likewise.
63468         (binaries-all): Define using $(binaries-all-notests) and
63469         $(binaries-all-tests).
63470         (binaries-static): Define using $(binaries-static-notests) and
63471         $(binaries-static-tests).
63472         (binaries-shared-tests): New variable.
63473         (binaries-shared-notests): Likewise.
63474         (binaries-shared): Remove variable.
63475         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63476         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63477         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63478         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63479         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63480         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63481         * elf/Makefile (sln-modules): New variable.
63482         (extra-objs): Add $(sln-modules:=.o).
63483         (ldconfig-modules): Add static-stubs.
63484         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63485         * elf/static-stubs.c: New file.
63487         [BZ #14283]
63488         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63489         by 7 not 8 to examine high bit of fractional part.  Use volatile
63490         variables when splitting into final array of floats if
63491         __FLT_EVAL_METHOD__ != 0.
63492         * math/libm-test.inc (cos_test): Add another test.
63493         (sin_test): Likewise.
63494         * sysdeps/i386/fpu/libm-test-ulps: Update.
63496         [BZ #14273]
63497         * math/libm-test.inc (cosh_test): Add more tests.
63499         * version.h (RELEASE): Set to "development".
63500         (VERSION): Set to "2.16.90".
63502 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63504         * NEWS: Update copyright. Remove last-updated date.
63505         Mention math library bug fixes and timezone data changes.
63506         * README: Mention GNU/Hurd, x32, and HPPA support status.
63508 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63510         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63512 2012-06-27  Andreas Jaeger  <aj@suse.de>
63514         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63516 2012-06-25  Andreas Jaeger  <aj@suse.de>
63518         * sysdeps/s390/fpu/libm-test-ulps: Update.
63520 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63521             Thomas Schwinge  <thomas@codesourcery.com>
63523         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63524         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63525         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63526         fanotify_mark.
63528 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63530         * sysdeps/mach/start.c: Remove file.
63531         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63532         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63533         * sysdeps/sh/init-first.c: Likewise.
63535         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63536         registers for frame unwinding purposes, add CFI directives.
63537         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63538         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63539         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63540         Likewise.
63542         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63543         __fortify_fail returning.
63544         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63546         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63547         sysdeps/sh/____longjmp_chk.S.
63548         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63549         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63550         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63551         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63553         * sysdeps/sh/abort-instr.h: New file.
63554         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63555         process in case exit returns.
63557         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63558         initialize the GOT register before use.
63560         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63561         calculation of ARGC > 4.
63563         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63564         meaningful names to some local labels.
63566 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63567             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63569         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63570         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63571         (__arch_compare_and_exchange_val_16_acq): Likewise.
63572         (__arch_compare_and_exchange_val_32_acq): Likewise.
63573         (atomic_exchange_and_add): Fix gUSA sequence.
63574         (atomic_add): Likewise.
63575         (atomic_add_negative): Likewise.
63576         (atomic_add_zero): Likewise.
63577         (atomic_bit_test_set): Likewise.
63579 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63581         [BZ #13579]
63582         * include/link.h (struct link_map): Add l_free_initfini.
63583         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63584         l_initfini.
63585         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63586         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63587         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63588         set.
63590 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63592         * configure.in: Use AC_LANG_SOURCE.
63593         * configure: Regenerate.
63595 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63597         * configure.in (libc_cv_localstatedir): New substituted variable.
63598         * configure: Regenerated.
63599         * config.make.in (localstatedir): New variable, substituted from
63600         libc_cv_localstatedir.
63601         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63602         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63603         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63604         * sysdeps/gnu/configure: Regenerated.
63606 2012-06-21  Jeff Law  <law@redhat.com>
63608         [BZ #14277]
63609         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63610         free.  Simplify list management for _LIBC case.
63612 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63614         [BZ #14273]
63615         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63616         Clear sign bit of 64-bit integer value before comparing against
63617         overflow value.
63619         * sysdeps/mach/configure: Regenerated.
63621 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63623         [BZ #14278]
63624         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63626 2012-06-21  Jeff Law  <law@redhat.com>
63628         [BZ #13882]
63629         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63630         uint16_t for elements in the "seen" array to avoid char overflows.
63631         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63632         * elf/dl-open.c (dl_open_worker): Likewise.
63634 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63636         * scripts/list-sources.sh: Scan PORTS for translations.
63637         * po/libc.pot: Regenerated.
63639 2012-06-21  Andreas Jaeger  <aj@suse.de>
63641         [BZ #12194]
63642         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63643         warning.
63644         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63645         * bits/byteswap-16.h (__bswap_16): Likewise.
63646         * bits/byteswap.h (__bswap_constant_16): Likewise.
63648 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63650         [BZ #14117]
63651         * sysdeps/i386/fpu_control.h: Removed.
63652         * sysdeps/x86_64/fpu_control.h: Moved to ...
63653         * sysdeps/x86/fpu_control.h: Here.
63655         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63656         (_FPU_SETCW): Likewise.
63658 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63660         [BZ #14117]
63661         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63662         * sysdeps/x86/fpu/bits/mathinline.h: This.
63663         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63665         [BZ #14050]
63666         [BZ #14117]
63667         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63668         functions if __x86_64__ is defined.
63670 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63672         * string/endian.h: Add !__ASSEMBLER__ condition for including
63673         conversion interfaces.
63675 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63677         [BZ #14241]
63678         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63679         of ABS(x) in calculating zero to negative powers other than odd
63680         integers.
63681         * math/libm-test.inc (pow_test): Add more tests.
63683 2012-06-15  Andreas Jaeger  <aj@suse.de>
63685         * manual/contrib.texi (Contributors): Update entry of Liubov
63686         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63687         Machado Filho.
63689 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63691         * string/string.h: Add __wur to GNU version of strerror_r.
63693 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63695         [BZ #14229]
63696         * string/Makefile (tests): Add tst-strtok_r.
63697         * string/tst-strtok_r.c: New file.
63698         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63699         RAX_LP/RDX_LP on SAVE_PTR.
63701 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63703         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63705 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63707         * libm_test.inc (csqrt_test): Allow more spurious underflow
63708         exceptions.
63709         (j0_test): Likewise.
63710         (j1_test): Likewise.
63711         (y0_test): Likewise.
63712         (y1_test): Likewise.
63714 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63716         * po/Makefile (libc.pot): Use UTF-8 charset.
63718 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63720         [BZ #14210]
63721         Suppress sign-conversion warning from FD_SET.
63722         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63723         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63724         not unsigned long int.
63725         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63727 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63729         [BZ #14050]
63730         [BZ #14117]
63731         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63732         __extern_always_inline instead of __extern_inline.
63733         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63734         (__signbit): Likewise.
63735         (__signbitl): Support C++ namespace.
63736         (lrintf): New inline function.
63737         (lrint): Likewise.
63738         (llrintf): Likewise.
63739         (llrint): Likewise.
63740         (fmaxf): Likewise.
63741         (fmax): Likewise.
63742         (fminf): Likewise.
63743         (fmin): Likewise.
63744         (rint): Likewise.
63745         (rintf): Likewise.
63746         (ceil): Likewise.
63747         (ceilf): Likewise.
63748         (floor): Likewise.
63749         (floorf): Likewise.
63750         (nearbyint): Likewise.
63751         (nearbyintf): Likewise.
63753 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63755         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63756         non-default versions.
63758 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63760         [BZ #14218]
63761         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63763 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63765         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63766         (FE_UPWARD, FE_DOWNWARD): Don't define.
63767         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63768         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63770         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63771         reading it.
63772         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63773         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63775 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63777         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63778         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63779         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63780         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63782 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63784         [BZ #14117]
63785         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63786         * sysdeps/i386/fpu/Implies: New file.
63787         * sysdeps/x86_64/fpu/Implies: Likewise.
63788         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63789         * sysdeps/x86/fpu/bits/fenv.h: This.
63791         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63792         __SSE_MATH__.
63794 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63796         [BZ #14134]
63797         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63798         character 0xffff that matches the last element of the
63799         conversion table.
63801 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63803         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63804         fmodl commit.
63806 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63808         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63809         values higher than 25.6283.
63811 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63813         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63814         subnormal exponent extraction and add some __builtin_expect.
63815         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63816         Fix for subnormal mantissa calculation.
63818 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63820         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63821         cpu2 is -1 and errno is not ENOSYS.
63823 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63825         [BZ #14117]
63826         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63827         * sysdeps/x86/bits/string.h: This.
63828         * sysdeps/x86_64/bits/string.h: Removed.
63830         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63831         if not compiling for x86-64, but compiling for >= i486.
63833         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63834         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63836         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63837         New macro from Linux kernel 3.4.0.
63838         (FP_XSTATE_MAGIC2): Likewise.
63839         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63840         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63841         (struct _fpx_sw_bytes): New struct.
63842         (struct _xsave_hdr): Likewise.
63843         (struct _ymmh_state): Likewise.
63844         (struct _xstate): Likewise.
63846         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63847         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63848         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63849         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63850         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63851         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63853         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63854         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63855         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63856         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63857         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63858         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63860 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63862         [BZ #13743]
63863         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63864         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63865         (sysdep_headers): Include sys/platform/ppc.h.
63866         * sysdeps/powerpc/test-gettimebase.c: Test for
63867         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63868         * manual/Makefile (appendices): Include platform.texi.
63869         * manual/contrib.texi (Contributors): Update @node pointers.
63870         * manual/maint.texi (Maintenance): Likewise.
63871         (Platform): New node.
63872         * manual/platform.texi: New file.  Document the new features.
63874 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63875             Jakub Jelinek  <jakub@redhat.com>
63877         [BZ #14188]
63878         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63879         where __builtin_expect is unavailable.
63881 2012-06-03  David S. Miller  <davem@davemloft.net>
63883         * stdlib/longlong.h: Updated from GCC.
63885 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63887         [BZ #14042]
63888         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63889         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63890         __mcount_internal.
63891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63892         (GLIBC_2.16): Likewise.
63894 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63896         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63898 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63901         (default-abi): New variable.
63902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63903         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63904         variable.
63905         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63906         Likewise.
63907         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63908         Likewise.
63909         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63910         Likewise.
63912         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63913         definition.  Document in comment.
63915 2012-06-01  David S. Miller  <davem@davemloft.net>
63917         * stdlib/longlong.h: Updated from GCC.
63919 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63921         [BZ #14117]
63922         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63923         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63924         sys/debugreg.h sys/io.h here.
63925         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63926         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63927         sys/io.h.
63928         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63929         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63930         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63931         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63932         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63933         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63935         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63936         Define only if __x86_64__ is defined.
63938 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63940         [BZ #14048]
63941         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63942         Use int64_t for variable i.
63943         * math/libm-test.inc (fmod_test): Add more tests.
63945         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63946         z computation is not scheduled after fetestexcept.
63947         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63948         Use math_force_eval instead of asm to ensure calculation scheduled
63949         before exception test.
63950         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63951         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63953 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63955         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63956         computation is not scheduled after fetestexcept.
63958 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63960         [BZ #14117]
63961         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63962         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63964 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63966         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63967         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63969 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63971         [BZ #14117]
63972         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63973         <bits/wordsize.h>.
63974         (__WCHAR_MIN): Support __WORDSIZE == 64.
63975         (__WCHAR_MAX): Likewise.
63977         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63978         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63980         [BZ #14183]
63981         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63982         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63984         [BZ #14117]
63985         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63986         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63988         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63989         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63991         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63992         Defined to 1 if __x86_64__ isn't defined.
63993         (_STAT_VER_LINUX_OLD): New.
63994         (st_atime): Remove duplicate.
63995         (st_mtime): Likewise.
63996         (st_ctime): Likewise.
63998 2012-05-31  David S. Miller  <davem@davemloft.net>
64000         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64001         entries.
64003 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64005         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64006         gen-libm-test.pl.
64008         [BZ #14132]
64009         * elf/dl-reloc.c: Include <_itoa.h>.
64010         (_dl_reloc_bad_type): Remove use of INTUSE.
64011         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64012         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64013         * stdio-common/psiginfo.c (psiginfo): Likewise.
64014         * stdio-common/psignal.c (psignal): Likewise.
64015         * string/strsignal.c (strsignal): Likewise.
64016         * include/signal.h (_sys_siglist): Declare hidden proto.
64017         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64018         INTVARDEF with libc_hidden_data_def.
64019         * stdio-common/itoa-udigits.c: Likewise.
64020         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64021         (_itoa_lower_digits_internal): Remove declaration.
64022         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64023         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64024         (_sys_sigabbrev_internal): Remove aliases.
64025         (_sys_siglist): Define hidden alias.
64027 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64029         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64030         bits/sysctl.h.
64032 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64034         [BZ #14117]
64035         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64036         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64038         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64039         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64040         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64041         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64042         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64043         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64045         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64046         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64047         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64049         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64050         with __addr.
64051         (insw): Likewise.
64052         (insl): Likewise.
64053         (outsb): Likewise.
64054         (outsw): Likewise.
64055         (outsl): Likewise.
64057         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64058         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64059         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64061         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64062         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64063         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64064         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64065         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64066         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64068         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64069         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64071         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64072         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64074         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64075         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64076         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64078         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64079         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64080         to ...
64081         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64083         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64084         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64085         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64087         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64088         for x86-64.
64089         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64091 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64093         * math/math.h (M_El): Use two more decimal places.
64094         (M_LOG2El): Likewise.
64095         (M_LOG10El): Likewise.
64096         (M_LN2l): Likewise.
64097         (M_LN10l): Likewise.
64098         (M_PIl): Likewise.
64099         (M_PI_2l): Likewise.
64100         (M_PI_4l): Likewise.
64101         (M_1_PIl): Likewise.
64102         (M_2_PIl): Likewise.
64103         (M_2_SQRTPIl): Likewise.
64104         (M_SQRT2l): Likewise.
64105         (M_SQRT1_2l): Likewise.
64107 2012-05-31  David S. Miller  <davem@davemloft.net>
64109         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64110         values between float registers.
64111         * sysdeps/sparc/sparc64/memset.S: Likewise.
64112         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64114 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64116         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64117         -D_FORTIFY_SOURCE=1.
64118         (CPPFLAGS-tst-longjmp_chk.c): Define.
64119         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64120         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64121         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64122         CFLAGS-tst-wchar-h.c.
64124 2012-05-31  Marek Polacek  <polacek@redhat.com>
64126         [BZ #14132]
64127         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64128         __endmntent_internal): Remove declaration.
64129         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64130         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64131         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64133 2012-05-30  David S. Miller  <davem@davemloft.net>
64135         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64136         (___Q_simulate_exceptions): Use real FP ops rather than writing
64137         into the %fsr.
64138         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64139         Likewise.
64141 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64143         [BZ #14117]
64144         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64145         * sysdeps/x86/bits/xtitypes.h: This.
64147         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64148         * sysdeps/x86/bits/wordsize.h: This.
64150         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64151         * sysdeps/x86/bits/huge_vall.h: This.
64153         * sysdeps/i386/bits/select.h: Removed.
64154         * sysdeps/x86_64/bits/select.h: Renamed to ...
64155         * sysdeps/x86/bits/select.h: This.
64157         * sysdeps/i386/bits/setjmp.h: Removed.
64158         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64159         * sysdeps/x86/bits/setjmp.h: This.
64161         * sysdeps/i386/bits/mathdef.h: Removed.
64162         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64163         * sysdeps/x86/bits/mathdef.h: This.
64165 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64167         [BZ #14132]
64168         * include/sys/socket.h (__connect_internal)
64169         (__libc_sa_len_internal): Remove declaration.
64170         (__connect, __libc_sa_len): Declare hidden_proto.
64171         (SA_LEN): Remove use of INTUSE.
64172         * socket/connect.c: Add libc_hidden_def.
64173         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64174         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64175         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64176         alias.
64177         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64178         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64179         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64180         of adding _internal alias.
64182 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64184         [BZ #14117]
64185         * sysdeps/i386/bits/link.h: Removed.
64186         * sysdeps/i386/bits/linkmap.h: Likewise.
64187         * sysdeps/x86_64/bits/link.h: Renamed to ...
64188         * sysdeps/x86/bits/link.h: This.
64189         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64190         * sysdeps/x86/bits/linkmap.h: This.
64192         * sysdeps/i386/bits/endian.h: Removed.
64193         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64194         * sysdeps/x86/bits/endian.h: This.
64196         * sysdeps/i386/bits/byteswap.h: Removed.
64197         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64198         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64199         * sysdeps/x86/bits/byteswap.h: This.
64200         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64201         * sysdeps/x86/bits/byteswap-16.h: This.
64202         * sysdeps/i386/Implies: Add x86.
64203         * sysdeps/x86_64/Implies: Likewise.
64205 2012-05-30  David S. Miller  <davem@davemloft.net>
64207         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64208         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64209         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64210         (FP_TRAPPING_EXCEPTIONS): Define.
64211         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64212         (FP_TRAPPING_EXCEPTIONS): Define.
64213         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64214         subnormals only when inexact has been signalled or underflow
64215         exceptions are enabled.
64216         (_FP_PACK_CANONICAL): Likewise.
64218 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64220         [BZ #14183]
64221         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64222         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64224 2012-05-30  Richard Henderson  <rth@twiddle.net>
64226         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64227         with #ifndef NOT_IN_libc.
64229         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64230         marked to avoid plt entry.
64232 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64234         [BZ #14112]
64235         * Makeconfig (default-abi): New macro.
64236         (abi-includes): Likewise.
64237         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64238         $(abi-$(default-abi)-lib-soname) for soname if defined.
64239         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64240         abi-variants.
64241         * Makefile (installed-stubs): Likewise.
64242         * include/stubs-biarch.h: Removed.
64243         * scripts/lib-names.awk: Only handle one library at a time.
64244         * scripts/soversions.awk: Remove WORDSIZE support.
64245         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64246         entries.
64247         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64248         Removed.
64249         (syscall-list-default-condition): Likewise.
64250         (syscall-list-default-condition): Likewise.
64251         (syscall-list-includes): Likewise.
64252         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64253         syscall-list-* with abi-*.  Handle undefined abi-variants.
64254         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64255         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64256         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64257         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64258         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64259         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64260         Removed.
64261         (syscall-list-32-options): Likewise.
64262         (syscall-list-32-condition): Likewise.
64263         (syscall-list-64-options): Likewise.
64264         (syscall-list-64-condition): Likewise.
64265         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64266         macro.
64267         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64268         Renamed to ...
64269         (abi-*): This.
64270         (abi-64-ld-soname): New macro.
64271         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64272         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64273         Renamed to ...
64274         (abi-*): This.
64275         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64276         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64278 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64280         * sysdeps/unix/sysv/linux/kernel-features.h
64281         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64282         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64283         include <kernel-features.h>.
64284         [!__NR_ftruncate64]: Remove conditional code.
64285         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64286         [__NR_ftruncate64]: Make code unconditional.
64287         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64288         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64289         include <kernel-features.h>.
64290         [!__NR_ftruncate64]: Remove conditional code.
64291         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64292         [__NR_ftruncate64]: Make code unconditional.
64293         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64295         include <kernel-features.h>.
64296         [!__NR_ftruncate64]: Remove conditional code.
64297         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64298         [__NR_ftruncate64]: Make code unconditional.
64299         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64301         include <kernel-features.h>.
64302         [!__NR_ftruncate64]: Remove conditional code.
64303         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64304         [__NR_ftruncate64]: Make code unconditional.
64305         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64307         * configure.in (libc_cv_fpie): Weaken to a compile test using
64308         LIBC_TRY_CC_OPTION.
64309         * configure: Regenerated.
64311 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64317         Refreshed.
64318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64324         Refreshed.
64326 2012-05-27  David S. Miller  <davem@davemloft.net>
64328         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64329         (___Q_zero): New.
64330         (__Q_simulate_exceptions): Return void.  Change to simulate
64331         exceptions by writing into the %fsr.
64332         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64333         (__Qp_handle_exceptions): Likewise.
64334         (numbers): Delete.
64335         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64336         __Qp_handle_exceptions.
64337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64338         __Qp_handle_exceptions.
64339         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64340         as unused and give dummy FP_RND_NEAREST initializer.
64341         (FP_INHIBIT_RESULTS): Define.
64342         (___Q_simulate_exceptions): Update declaration.
64343         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64344         formatting.
64345         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64346         as unused and give dummy FP_RND_NEAREST initializer.
64347         (__Qp_handle_exceptions): Update declaration.
64348         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64349         formatting.
64351 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64353         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64354         the temporary FPU control word.
64355         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64356         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64357         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64358         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64359         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64360         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64361         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64362         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64363         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64364         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64365         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64367 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64369         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64370         fields.
64372 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64374         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64375         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64376         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64377         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64378         Likewise.
64379         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64380         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64381         Likewise.
64383 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64385         * po/h.po: Update from translation team.
64387 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64389         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64391         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64392         handling of denormals.
64393         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64394         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64395         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64396         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64397         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64398         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64399         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64400         Likewise.
64402 2012-05-26  Marek Polacek  <polacek@redhat.com>
64404         [BZ #14152]
64405         * math/libm-test.inc (fma_test): Don't always expect underflow
64406         exception.
64408 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64410         [BZ #12416]
64411         * elf/tst-execstack.c: Include stackinfo.h.
64412         (do_test): Adjust test case to ensure that pthread_getattr_np
64413         behaviour remains the same after marking stack executable.
64415 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64417         * sysdeps/unix/sysv/linux/kernel-features.h
64418         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64419         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64420         kernel-features.h.
64421         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64422         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64423         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64424         kernel-features.h.
64425         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64426         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64428 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64430         * configure.in: Define the default includes to being none.
64431         * configure: Regenerated.
64433 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64435         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64436         * sysdeps/x86_64/setjmp.S: Likewise.
64437         * sysdeps/i386/bsd-setjmp.S: Likewise.
64438         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64439         * sysdeps/i386/setjmp.S: Likewise.
64440         * sysdeps/i386/__longjmp.S: Likewise.
64441         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64442         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64444         * include/stap-probe.h: New file.
64445         * configure.in: Handle --enable-systemtap.
64446         * configure: Regenerated.
64447         * config.h.in (USE_STAP_PROBE): New #undef.
64448         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64449         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64450         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64452 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64454         [BZ #13717]
64455         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64456         to 2.4.0 where earlier.
64457         * sysdeps/unix/sysv/linux/configure: Regenerated.
64458         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64459         <kernel-features.h>.
64460         [__ASSUME_32BITUIDS]: Make code unconditional.
64461         [!__ASSUME_32BITUIDS]: Remove conditional code.
64462         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64463         <kernel-features.h>.
64464         [__ASSUME_32BITUIDS]: Make code unconditional.
64465         [!__ASSUME_32BITUIDS]: Remove conditional code.
64466         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64467         [__ASSUME_32BITUIDS]: Make code unconditional.
64468         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64469         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/i386/getgid.c: Do not include
64478         <kernel-features.h>.
64479         [__ASSUME_32BITUIDS]: Make code unconditional.
64480         [!__ASSUME_32BITUIDS]: Remove conditional code.
64481         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64482         <kernel-features.h>.
64483         [__ASSUME_32BITUIDS]: Make code unconditional.
64484         [!__ASSUME_32BITUIDS]: Remove conditional code.
64485         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64486         <kernel-features.h>.
64487         [__ASSUME_32BITUIDS]: Make code unconditional.
64488         [!__ASSUME_32BITUIDS]: Remove conditional code.
64489         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64490         <kernel-features.h>.
64491         [__ASSUME_32BITUIDS]: Make code unconditional.
64492         [!__ASSUME_32BITUIDS]: Remove conditional code.
64493         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64494         <kernel-features.h>.
64495         [__ASSUME_32BITUIDS]: Make code unconditional.
64496         [!__ASSUME_32BITUIDS]: Remove conditional code.
64497         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64498         <kernel-features.h>.
64499         [__ASSUME_32BITUIDS]: Make code unconditional.
64500         [!__ASSUME_32BITUIDS]: Remove conditional code.
64501         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64502         <kernel-features.h>.
64503         [__ASSUME_32BITUIDS]: Make code unconditional.
64504         [!__ASSUME_32BITUIDS]: Remove conditional code.
64505         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64506         <kernel-features.h>.
64507         [__ASSUME_32BITUIDS]: Make code unconditional.
64508         [!__ASSUME_32BITUIDS]: Remove conditional code.
64509         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64510         <kernel-features.h>.
64511         [__NR_setresgid] (__setresgid): Do not declare.
64512         [__ASSUME_32BITUIDS]: Make code unconditional.
64513         [!__ASSUME_32BITUIDS]: Remove conditional code.
64514         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64515         <kernel-features.h>.
64516         [__NR_setresuid] (__setresuid): Do not declare.
64517         [__ASSUME_32BITUIDS]: Make code unconditional.
64518         [!__ASSUME_32BITUIDS]: Remove conditional code.
64519         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64520         <kernel-features.h>.
64521         [__ASSUME_32BITUIDS]: Make code unconditional.
64522         [!__ASSUME_32BITUIDS]: Remove conditional code.
64523         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64524         <kernel-features.h>.
64525         [__ASSUME_32BITUIDS]: Make code unconditional.
64526         [!__ASSUME_32BITUIDS]: Remove conditional code.
64527         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64528         <kernel-features.h>.
64529         [__ASSUME_32BITUIDS]: Make code unconditional.
64530         [!__ASSUME_32BITUIDS]: Remove conditional code.
64531         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
64532         <kernel-features.h>.
64533         [__ASSUME_32BITUIDS]: Make code unconditional.
64534         [!__ASSUME_32BITUIDS]: Remove conditional code.
64535         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64536         <kernel-features.h>.
64537         [__ASSUME_32BITUIDS]: Make code unconditional.
64538         [!__ASSUME_32BITUIDS]: Remove conditional code.
64539         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64540         <kernel-features.h>.
64541         [__ASSUME_32BITUIDS]: Make code unconditional.
64542         [!__ASSUME_32BITUIDS]: Remove conditional code.
64543         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64544         <kernel-features.h>.
64545         [__ASSUME_32BITUIDS]: Make code unconditional.
64546         [!__ASSUME_32BITUIDS]: Remove conditional code.
64547         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64548         <kernel-features.h>.
64549         [__ASSUME_32BITUIDS]: Make code unconditional.
64550         [!__ASSUME_32BITUIDS]: Remove conditional code.
64551         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64552         <kernel-features.h>.
64553         [__ASSUME_32BITUIDS]: Make code unconditional.
64554         [!__ASSUME_32BITUIDS]: Remove conditional code.
64555         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64556         <kernel-features.h>.
64557         [__ASSUME_32BITUIDS]: Make code unconditional.
64558         [!__ASSUME_32BITUIDS]: Remove conditional code.
64559         * sysdeps/unix/sysv/linux/kernel-features.h
64560         (__ASSUME_SETRESUID_SYSCALL): Remove.
64561         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64562         (__ASSUME_32BITUIDS): Likewise.
64563         (__ASSUME_LDT_WORKS): Likewise.
64564         (__ASSUME_O_DIRECTORY): Likewise.
64565         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64566         architecture but not kernel version.
64567         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64568         (__ASSUME_MMAP2_SYSCALL): Likewise.
64569         (__ASSUME_STAT64_SYSCALL): Likewise.
64570         (__ASSUME_IPC64): Likewise.
64571         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64572         <kernel-features.h>.
64573         [__ASSUME_32BITUIDS]: Make code unconditional.
64574         [!__ASSUME_32BITUIDS]: Remove conditional code.
64575         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64576         <kernel-features.h>.
64577         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64578         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64579         132096]: Remove conditional code.
64580         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64581         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64582         <kernel-features.h>.
64583         [__ASSUME_32BITUIDS]: Make code unconditional.
64584         [!__ASSUME_32BITUIDS]: Remove conditional code.
64585         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64586         <kernel-features.h>.
64587         [__ASSUME_32BITUIDS]: Make code unconditional.
64588         [!__ASSUME_32BITUIDS]: Remove conditional code.
64589         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64590         <kernel-features.h>.
64591         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64592         unconditional.
64593         (__setresgid): Do not declare.
64594         [__ASSUME_32BITUIDS]: Make code unconditional.
64595         [!__ASSUME_32BITUIDS]: Remove conditional code.
64596         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64597         <kernel-features.h>.
64598         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64599         unconditional.
64600         (__setresuid): Do not declare.
64601         [__ASSUME_32BITUIDS]: Make code unconditional.
64602         [!__ASSUME_32BITUIDS]: Remove conditional code.
64603         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64604         <kernel-features.h>.
64605         [__ASSUME_32BITUIDS]: Make code unconditional.
64606         [!__ASSUME_32BITUIDS]: Remove conditional code.
64607         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64608         <kernel-features.h>.
64609         [__ASSUME_32BITUIDS]: Make code unconditional.
64610         [!__ASSUME_32BITUIDS]: Remove conditional code.
64612 2012-05-25  Richard Henderson  <rth@twiddle.net>
64614         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64615         dl_hwcap to ifunc resolver.
64616         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64617         elf_ifunc_invoke.
64618         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64619         dl_hwcap to ifunc resolver.
64620         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64622 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64624         [BZ #14153]
64625         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64626         for |x| <= 2**-26, not 2**-57.
64627         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64628         exception.
64630 2012-05-24  Jeff Law  <law@redhat.com>
64632         * stdio-common/Makefile (tests): Add bug25.
64633         * stdio-common/bug25.c: New test.
64635 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64637         [BZ #13576]
64638         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64639         multiple of MALLOC_ALIGNMENT in size.
64640         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64642 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64644         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64645         Require >= 256.
64646         (FILENAME_MAX): Use macro-int-constant.
64647         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64648         (_IOFBF): Use macro-int-constant.
64649         (_IOLBF): Likewise.
64650         (_IONBF): Likewise.
64651         (SEEK_CUR): Likewise.
64652         (SEEK_END): Likewise.
64653         (SEEK_SET): Likewise.
64654         (TMP_MAX): Likewise.
64655         (EOF): Use macro-int-constant.  Require < 0.
64656         (NULL): Use macro-constant.  Require == 0.
64657         (stdin): Require type to be FILE *.
64658         (stdout): Likewise.
64659         (stderr): Likewise.
64660         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64661         macro-int-constant.
64662         (EXIT_SUCCESS): Likewise.
64663         (NULL): Use macro-constant.  Require == 0.
64664         (RAND_MAX): Use macro-int-constant.
64665         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64666         [C99-based standards] (strtof): Require function.
64667         [C99-based standards] (strtold): Likewise.
64668         [C99-based standards] (strtoll): Likewise.
64669         [C99-based standards] (strtoull): Likewise.
64670         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64671         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64672         [ISO || ISO99 || ISO11] (math.h): Likewise.
64673         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64674         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64675         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64677 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64679         [BZ #14132]
64680         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64681         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64682         * intl/dgettext.c (DCGETTEXT): Likewise.
64683         * intl/gettext.c (DCGETTEXT): Likewise.
64684         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64685         * posix/regex_internal.h (gettext): Likewise.
64686         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64687         Remove declaration.
64688         * include/argz.h (__argz_count_internal)
64689         (__argz_stringify_internal): Remove declaration.
64690         (__argz_count, __argz_stringify): Declare hidden proto.
64691         * intl/dcgettext.c: Remove use of INTDEF.
64692         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64693         * string/argz-stringify.c: Likewise.
64694         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64695         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64696         Declare hidden proto.
64697         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64698         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64699         Declare hidden proto.
64700         * include/stdio.h (__asprintf_internal): Don't declare.
64701         (__asprintf): Don't define as macro.  Declare hidden proto.
64702         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64703         (__fsetlocking): Declare hidden proto.
64704         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64705         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64706         hidden proto.
64707         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64708         (_IO_setlinebuf): Remove use of INTUSE.
64709         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64710         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64711         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64712         Remove declaration.
64713         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64714         (_IO_do_flush): Remove use of INTUSE.
64715         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64716         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64717         (_IO_adjust_column, _IO_least_wmarker)
64718         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64719         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64720         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64721         (_IO_default_doallocate, _IO_wdefault_doallocate)
64722         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64723         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64724         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64725         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64726         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64727         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64728         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64729         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64730         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64731         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64732         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64733         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64734         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64735         proto.
64736         (_IO_flush_all_internal, _IO_adjust_column_internal)
64737         (_IO_default_uflow_internal, _IO_default_finish_internal)
64738         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64739         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64740         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64741         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64742         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64743         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64744         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64745         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64746         (_IO_file_close_internal, _IO_file_close_it_internal)
64747         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64748         (_IO_file_init_internal, _IO_file_attach_internal)
64749         (_IO_file_fopen_internal, _IO_file_read_internal)
64750         (_IO_file_sync_internal, _IO_file_seek_internal)
64751         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64752         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64753         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64754         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64755         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64756         (_IO_list_all_internal, _IO_link_in_internal)
64757         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64758         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64759         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64760         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64761         (_IO_do_write_internal, _IO_padn_internal)
64762         (_IO_getline_info_internal, _IO_getline_internal)
64763         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64764         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64765         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64766         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64767         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64768         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64769         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64770         with libc_hidden_ver, remove use of INTUSE.
64771         * libio/genops.c: Likewise.
64772         * libio/freopen.c: Likewise.
64773         * libio/freopen64.c: Likewise.
64774         * libio/iofclose.c: Likewise.
64775         * libio/iofdopen.c: Likewise.
64776         * libio/iofflush.c: Likewise.
64777         * libio/iofflush_u.c: Likewise.
64778         * libio/iofgets.c: Likewise.
64779         * libio/iofgets_u.c: Likewise.
64780         * libio/iofopen.c: Likewise.
64781         * libio/iofopncook.c: Likewise.
64782         * libio/iofread.c: Likewise.
64783         * libio/iofread_u.c: Likewise.
64784         * libio/ioftell.c: Likewise.
64785         * libio/iofwrite.c: Likewise.
64786         * libio/iogetline.c: Likewise.
64787         * libio/iogets.c: Likewise.
64788         * libio/iogetwline.c: Likewise.
64789         * libio/iopadn.c: Likewise.
64790         * libio/iopopen.c: Likewise.
64791         * libio/ioseekoff.c: Likewise.
64792         * libio/ioseekpos.c: Likewise.
64793         * libio/iosetbuffer.c: Likewise.
64794         * libio/iosetvbuf.c: Likewise.
64795         * libio/ioungetc.c: Likewise.
64796         * libio/ioungetwc.c: Likewise.
64797         * libio/iovdprintf.c: Likewise.
64798         * libio/iovsprintf.c: Likewise.
64799         * libio/iovsscanf.c: Likewise.
64800         * libio/memstream.c: Likewise.
64801         * libio/obprintf.c: Likewise.
64802         * libio/oldfileops.c: Likewise.
64803         * libio/oldiofclose.c: Likewise.
64804         * libio/oldiofdopen.c: Likewise.
64805         * libio/oldiofopen.c: Likewise.
64806         * libio/oldiopopen.c: Likewise.
64807         * libio/oldstdfiles.c: Likewise.
64808         * libio/putc.c: Likewise.
64809         * libio/setbuf.c: Likewise.
64810         * libio/setlinebuf.c: Likewise.
64811         * libio/stdfiles.c: Likewise.
64812         * libio/strops.c: Likewise.
64813         * libio/vasprintf.c: Likewise.
64814         * libio/vscanf.c: Likewise.
64815         * libio/vsnprintf.c: Likewise.
64816         * libio/vswprintf.c: Likewise.
64817         * libio/wfiledoalloc.c: Likewise.
64818         * libio/wfileops.c: Likewise.
64819         * libio/wgenops.c: Likewise.
64820         * libio/wmemstream.c: Likewise.
64821         * libio/wstrops.c: Likewise.
64822         * libio/__fpurge.c: Likewise.
64823         * libio/__fsetlocking.c: Likewise.
64824         * assert/assert.c: Likewise.
64825         * debug/fgets_chk.c: Likewise.
64826         * debug/fgets_u_chk.c: Likewise.
64827         * debug/fread_chk.c: Likewise.
64828         * debug/fread_u_chk.c: Likewise.
64829         * debug/gets_chk.c: Likewise.
64830         * debug/obprintf_chk.c: Likewise.
64831         * debug/vasprintf_chk.c: Likewise.
64832         * debug/vdprintf_chk.c: Likewise.
64833         * debug/vsnprintf_chk.c: Likewise.
64834         * debug/vsprintf_chk.c: Likewise.
64835         * malloc/mtrace.c: Likewise.
64836         * misc/error.c: Likewise.
64837         * misc/syslog.c: Likewise.
64838         * stdio-common/asprintf.c: Likewise.
64839         * stdio-common/fxprintf.c: Likewise.
64840         * stdio-common/getw.c: Likewise.
64841         * stdio-common/isoc99_fscanf.c: Likewise.
64842         * stdio-common/isoc99_scanf.c: Likewise.
64843         * stdio-common/isoc99_vfscanf.c: Likewise.
64844         * stdio-common/isoc99_vscanf.c: Likewise.
64845         * stdio-common/isoc99_vsscanf.c: Likewise.
64846         * stdio-common/printf-prs.c: Likewise.
64847         * stdio-common/printf_fp.c: Likewise.
64848         * stdio-common/printf_fphex.c: Likewise.
64849         * stdio-common/printf_size.c: Likewise.
64850         * stdio-common/putw.c: Likewise.
64851         * stdio-common/scanf.c: Likewise.
64852         * stdio-common/sprintf.c: Likewise.
64853         * stdio-common/tmpfile.c: Likewise.
64854         * stdio-common/vfprintf.c: Likewise.
64855         * stdio-common/vfscanf.c: Likewise.
64856         * stdlib/strfmon_l.c: Likewise.
64857         * sunrpc/openchild.c: Likewise.
64858         * sunrpc/xdr_stdio.c: Likewise.
64859         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64860         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64862 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64864         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64866         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64867         in the third column, to generate for the shared library an IFUNC
64868         that uses _dl_vdso_vsym.
64869         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64870         * Makeconfig (object-suffixes-noshared): New variable.
64872         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64873         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64874         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64875         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64877         [BZ #14132]
64878         * include/sys/time.h (__gettimeofday): Remove macro.
64879         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64880         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64881         Remove INTDEF.
64882         (__gettimeofday): Add libc_hidden_def.
64883         (gettimeofday): Add libc_hidden_weak.
64884         * sysdeps/mach/gettimeofday.c: Likewise.
64885         * sysdeps/posix/gettimeofday.c: Likewise.
64886         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64887         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64888         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64889         (__gettimeofday_internal): Remove strong_alias.
64890         (__gettimeofday): Add libc_hidden_def.
64891         (gettimeofday): Add libc_hidden_weak.
64892         * sysdeps/unix/syscalls.list (gettimeofday):
64893         Remove __gettimeofday_internal alias.
64895 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64896             H.J. Lu  <hongjiu.lu@intel.com>
64898         [BZ #12495]
64899         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64900         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64901         (largebin_index_32_big): New.
64902         (largebin_index): Use it for 16-byte alignment.
64903         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64904         correction with front_misalign.
64906 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64910         Likewise.
64911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64912         Likewise.
64913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64914         Likewise.
64915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64916         Likewise.
64917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64918         Likewise.
64919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64920         Likewise.
64921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64922         Likewise.
64923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64924         Likewise.
64925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64926         Likewise.
64927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64928         Likewise.
64929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64930         Likewise.
64931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64932         Likewise.
64934         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64935         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64937 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64939         [BZ #10846]
64940         [BZ #14036]
64941         * math/libm-test.inc (exp_test): Add test from bug 14036.
64942         (pow_test): Add test from bug 10846.
64944         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64945         and other flags.
64946         (special_function): Do not include flags in test name.
64947         (parse_args): Likewise.
64948         * sysdeps/i386/fpu/libm-test-ulps: Update.
64949         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64950         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64951         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64954         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64955         exceptions.
64956         * math/libm-test.inc ("Philosophy"): Update comment about
64957         exception testing.
64958         (UNDERFLOW_EXCEPTION): New macro.
64959         (UNDERFLOW_EXCEPTION_OK): Likewise.
64960         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64961         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64962         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64963         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64964         (INVALID_EXCEPTION_OK): Update value.
64965         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64966         (OVERFLOW_EXCEPTION_OK): Likewise.
64967         (IGNORE_ZERO_INF_SIGN): Likewise.
64968         (test_exceptions): Handle underflow exceptions.
64969         (acos_test): Update for underflow exception expectations.
64970         (cexp_test): Likewise.
64971         (clog_test): Likewise.
64972         (clog10_test): Likewise.
64973         (csqrt_test): Likewise.
64974         (ctan_test): Likewise.
64975         (ctanh_test): Likewise.
64976         (exp_test): Likewise.
64977         (exp10_test): Likewise.
64978         (exp2_test): Likewise.
64979         (expm1_test): Likewise.
64980         (fma_test): Likewise.
64981         (j0_test): Likewise.
64982         (jn_test): Likewise.
64983         (nexttoward_test): Likewise.
64984         (pow_test): Likewise.
64985         (scalbn_test): Likewise.
64986         (scalbln_test): Likewise.
64987         (tan_test): Likewise.
64988         (y1_test): Likewise.
64989         * sysdeps/i386/fpu/libm-test-ulps: Update.
64990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64992 2012-05-23  David S. Miller  <davem@davemloft.net>
64994         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64995         (__libc_sigaction): Remove unused local variables.
64997 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64999         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65001 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65003         mktime: avoid signed integer overflow
65004         * time/mktime.c (__mktime_internal): Do not mishandle the case
65005         where diff == INT_MIN.
65007         mktime: simplify computation of average
65008         * time/mktime.c (ranged_convert): Use new time_t_avg function
65009         instead of rolling our own (probably-slower) code.
65011         mktime: do not assume signed right shift propagates sign bit
65012         * time/mktime.c (isdst_differ): New static function.
65013         (__mktime_internal): No need to normalize tm_isdst now.
65014         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65015         tm_isdst values.
65017         mktime: merge another wrapv change from gnulib
65018         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65019         from some compilers.
65021         mktime: remove incorrect attempt at unusual arithmetics
65022         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65023         The code didn't really work on such machines anyway.
65024         (TYPE_MINIMUM): Assume two's complement.
65025         (twos_complement_arithmetic): Verify that long_int and time_t
65026         are two's complement (or unsigned, in the latter case).
65028         mktime: check signed shifts on long_int and time_t, too
65029         * time/mktime.c (SHR): Check that shifts work as desired
65030         on the types long_int and time_t too, as SHR is used on
65031         such types.
65033         mktime: do not assume 'long' is wide enough
65034         * time/mktime.c (verify): Move decl up.
65035         (long_int): New type.
65036         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65037         to remove assumption in the code that 'long' is wide enough to
65038         store year values.  This assumption is not true on x32 and on
65039         some non-glibc platforms.
65041         mktime: merge wrapv change from gnulib
65042         * time/mktime.c (WRAPV): New macro.
65043         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65044         (guess_time_tm, __mktime_internal): Do not assume that signed
65045         integer overflow wraps around; modern compilers generate code
65046         where this assumption is no longer valid.
65048 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65050         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65051         Replace "jmp L(pseudo_end)" with "ret".
65052         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65053         Likewise.
65055 2012-05-23  Andreas Jaeger  <aj@suse.de>
65057         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65058         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65060 2012-05-23  Andreas Jaeger  <aj@suse.de>
65061             Maximilian Attems  <max@stro.at>
65063         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65064         New macros.
65066 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65068         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65069         code so that pseudo_end is just ret and the stack pointer is
65070         correct also for static library in error case.
65072 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65074         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65075         move to syscalls.list.
65076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65081         * manual/install.texi (Running make install): Do not mention Linux
65082         kernel version for which pt_chown is not needed.
65083         (Linux): Do not mention problems with nscd with 2.0 kernels.
65084         * INSTALL: Regenerated.
65086 2012-05-23  Andreas Jaeger  <aj@suse.de>
65088         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65089         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65090         macro.
65091         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65092         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65093         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65094         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65095         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65096         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65097         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65098         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65099         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65100         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65101         * sysdeps/unix/sysv/linux/bits/in.h
65102         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65104 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65106         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65107         (PREPARE_VERSION): Just use assert instead, it will be elided
65108         under [NDEBUG] anyway.
65110 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65112         * sysdeps/unix/sysv/linux/Makefile: Include
65113         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65114         (sysdep_routines): Remove sysctl.
65115         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65116         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65117         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65118         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65119         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65121 2012-05-22  Andreas Jaeger  <aj@suse.de>
65123         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65124         that pseudo_end is just ret and the stack pointer is correct also
65125         for static library in error case.
65127 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65129         [BZ #14122]
65130         * nss/nsswitch.c (defconfig_entries): New variable.
65131         (__nss_database_lookup): Don't leak defconfig entries.
65132         (nss_parse_service_list): Don't leak on error paths.
65133         (free_database_entries): New function.
65134         (free_defconfig): New function.
65135         (free_mem): Move common code to free_database_entries.
65137 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65139         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65140         Add arch_prctl.
65141         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65143         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65144         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65145         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65146         New macro.
65147         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65148         (INTERNAL_SYSCALL_TYPES): Likewise.
65149         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65150         (LOAD_REGS_TYPES_[1-6]): Likewise.
65151         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65152         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65154 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65156         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65157         copysignl for GLIBC_2_0.
65158         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65159         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65160         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65161         logbl for GLIBC_2_0.
65162         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65163         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65165 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65167         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65168         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65170         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65171         Use "neg %eax".
65173         * time/mktime.c: Update copyright years.
65175 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65177         mktime: merge comment-quoting-style change from gnulib
65178         * time/mktime.c: Quote 'like this' in comments.
65179         The GNU coding standards suggest that we no longer quote `like this',
65180         as "`" and "'" are typically rendered asymmetrically nowadays.
65181         The typical gnulib style is to quote 'like this' when quoting
65182         code, and "like this" when quoting English.
65184         * time/mktime.c (compile-command): Add "-I.".
65186         mktime: merge mktime-internal.h change from gnulib
65187         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65189         mktime: merge time_r change from gnulib
65190         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65192         mktime: merge DEBUG change from gnulib
65193         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65194         case system <time.h> has a #define.
65196         mktime: merge <sys/types.h> change from gnulib
65197         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65198         since <time.t> is now guaranteed to define time_t.
65200         mktime: merge HAVE_CONFIG_H change from gnulib
65201         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65203 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65206         Use "neg %eax".
65208         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65209         __rlim_t cast.
65210         (struct rusage): Use anonymous union to pad each field to
65211         __syscall_slong_t.
65213 2012-05-21  David S. Miller  <davem@davemloft.net>
65215         * Makefules (o-iterator): Remove .s cases.
65216         (compile-command.s): Delete.
65217         (COMPILE.s): Delete.
65218         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65220 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65222         * configure.in (libc_cv_predef_stack_protector): Only consider
65223         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65224         * configure: Regenerated.
65226 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65228         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65229         New macro.  Use R*LP on int and pointer.
65230         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65231         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65232         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65233         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65235         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65236         [__WORDSIZE_TIME64_COMPAT32] instead of
65237         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65238         (struct utmp): Likewise.
65239         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65240         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65241         Renamed to ...
65242         (__WORDSIZE_TIME64_COMPAT32): This.
65243         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65244         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65245         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65246         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65247         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65248         (__WORDSIZE_TIME64_COMPAT32): New macro.
65250 2012-05-21  Andreas Jaeger  <aj@suse.de>
65252         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65253         only if [SHARED]. Add prototype for __wcschr_ia32.
65255 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65257         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65258         of %rbp unmolested in the jmp_buf while mangling the low bits.
65259         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65260         unmolested high bits of %rbp while demangling the low bits.
65261         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65263 2012-05-21  Andreas Jaeger  <aj@suse.de>
65265         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65266         * sunrpc/svc_simple.c: Use it for registerrpc.
65267         * sunrpc/xcrypt.c: Use it for passwd2des.
65269         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65271 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65273         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65274         Don't define if [__SYSCALL_WORDSIZE != 32].
65275         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65276         New macro.
65278 2012-05-21  Bruno Haible  <bruno@clisp.org>
65279             Andreas Jaeger  <aj@suse.de>
65281         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65282         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65283         inptr and inend for must_buffer_ch.
65284         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65285         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65286         * stdio-common/Makefile (tests): Remove bug15.
65287         (bug15-ENV): Remove macro.
65288         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65289         anymore.
65291 2012-05-19  Andreas Jaeger  <aj@suse.de>
65292             Roland McGrath  <roland@hack.frob.com>
65294         * manual/contrib.texi: Completely rewritten. It contains now an
65295         alphabetical list of contributors and their contributions.
65297 2012-05-21  Richard Henderson  <rth@twiddle.net>
65299         * misc/getauxval.c (__getauxval): Use unsigned long int.
65300         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65301         (getauxval): Use unsigned long int.
65303 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65305         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65307 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65309         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65310         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65311         __alignof__ (long double).
65313 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65317 2012-05-20  Richard Henderson  <rth@twiddle.net>
65319         * misc/getauxval.c: New file.
65320         * misc/sys/auxv.h: New file.
65321         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65322         (routines): Add getauxval.
65323         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65324         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65325         * elf/dl-sysdep.c (_dl_auxv): Remove.
65326         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65327         * elf/dl-support.c (_dl_auxv): New variable.
65328         (_dl_aux_init): Initialize it.
65329         * manual/startup.texi (Auxiliary Vector): New node.
65330         * sysdeps/generic/bits/hwcap.h: New file.
65331         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65332         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65333         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65334         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65335         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65336         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65338         Update.
65339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65342         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65348 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65352 2012-05-19  David S. Miller  <davem@davemloft.net>
65354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65356 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65358         [BZ #14123]
65359         * math/s_ccosh.c: Include <float.h>
65360         (__ccosh): Avoid internal overflow calculating sinh and cosh
65361         values before multiplying by sin and cos values.
65362         * math/s_ccoshf.c: Likewise.
65363         * math/s_ccoshl.c: Likewise.
65364         * math/s_csin.c: Likewise.
65365         * math/s_csinf.c: Likewise.
65366         * math/s_csinl.c: Likewise.
65367         * math/s_csinh.c: Likewise.
65368         * math/s_csinhf.c: Likewise.
65369         * math/s_csinhl.c: Likewise.
65370         * math/libm-test.inc (ccos_test): Add more tests.
65371         (ccosh_test): Likewise.
65372         (csin_test): Likewise.
65373         (csinh_test): Likewise.
65374         * sysdeps/i386/fpu/libm-test-ulps: Update.
65375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65377 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65379         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65380         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65382         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65384 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65386         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65387         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65388         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65389         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65390         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65391         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65392         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65393         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65394         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65395         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65396         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65397         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65398         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65399         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65400         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65401         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65402         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65403         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65404         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65405         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65406         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65407         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65408         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65409         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65410         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65411         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65412         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65413         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65414         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65415         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65416         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65418 2012-05-18  Andreas Jaeger  <aj@suse.de>
65420         * csu/.gitignore: Delete.
65422 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65424         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65425         (timex): Use __syscall_slong_t.
65427 2012-05-18  Andreas Jaeger  <aj@suse.de>
65428             Carlos O'Donell  <carlos_odonell@mentor.com>
65430         * manual/install.texi (Configuring and compiling): Update
65431         description about files modified in the source directory.
65432         * INSTALL: Regenerated.
65434 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65436         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65437         value.  Use "or" to set return value to -1.
65438         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65439         negate return value.
65441 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65443         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65444         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65445         failure if the compiler has Graphite support disabled.
65446         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65447         Likewise.
65448         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65449         (CFLAGS-memmove.c): Likewise.
65450         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65451         Likewise.
65453 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65455         * sysdeps/x86_64/x32/_itoa.h: New file.
65457         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65458         getdents system call only if kernel and user dirents have the
65459         same d_ino and d_off.
65461         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65462         LLONG_MAX != LONG_MAX.
65463         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65464         (_fitoa_word): Likewise.
65466         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65467         years.
65468         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65469         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65470         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65472         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65473         include <bits/wordsize.h>.  Check __x86_64__ instead of
65474         __WORDSIZE.
65475         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65476         if __x86_64__ is defined.  Use anonymous union on fpstate.
65478         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65479         anonymous union.
65481 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65483         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65484         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65485         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65486         Refer to _rtld_local_ro instead of _rtld_global_ro.
65487         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65488         Likewise.
65489         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65490         Likewise.
65491         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65492         Likewise.
65493         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65494         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65495         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65497         [BZ #10882]
65498         * sysdeps/powerpc/powerpc32/dl-machine.c
65499         (__elf_machine_runtime_setup) [PROF]: Don't reference
65500         _dl_prof_resolve.
65502 2012-05-18  Andreas Jaeger  <aj@suse.de>
65504         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65505         function only available for GCCs before 3.4 since GCC 3.4
65506         introduced a builtin.
65507         (lrint): Likewise.
65508         (llrintf): Likewise.
65509         (llrint): Likewise.
65510         (fmaxf): Likewise.
65511         (fmax): Likewise.
65512         (fminf): Likewise.
65513         (fmin): Likewise.
65514         (rint): Likewise.
65515         (rintf): Likewise.
65516         (nearbyint): Likewise.
65517         (nearbyintf): Likewise.
65518         (ceil): Likewise.
65519         (ceilf): Likewise.
65520         (floor): Likewise.
65521         (floorf): Likewise.
65523 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65525         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65526         on both fields and cast pointer to __syscall_ulong_t.
65528         * bits/types.h (__fsword_t): New type.
65529         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65530         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65531         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65532         (__FSWORD_T_TYPE): Likewise.
65533         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65534         (__FSWORD_T_TYPE): Likewise.
65535         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65536         (__FSWORD_T_TYPE): Likewise.
65537         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65538         (__FSWORD_T_TYPE): Likewise.
65539         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65540         __SWORD_TYPE with __fsword_t.
65541         (statfs64): Likewise.
65543 2012-05-17  David S. Miller  <davem@davemloft.net>
65545         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65547 2012-05-17  Andreas Jaeger  <aj@suse.de>
65549         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65550         warning.
65552 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65554         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65556 2012-05-17  Andreas Jaeger  <aj@suse.de>
65558         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65559         when it is used.
65561 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65563         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65565 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65567         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65568         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65570 2012-05-17  Andreas Jaeger  <aj@suse.de>
65571             Carlos O'Donell  <carlos_odonell@mentor.com>
65573         [BZ #14059]
65574         * sysdeps/x86_64/multiarch/init-arch.h
65575         (bit_YMM_Usable): Rename to...
65576         (bit_AVX_Usable): ... this.
65577         (bit_FMA4_Usable): New macro.
65578         (bit_XMM_state): New macro.
65579         (bit_YMM_state): New macro.
65580         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65581         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65582         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65583         (CPUID_OSXSAVE): New macro.
65584         (CPUID_AVX): New macro.
65585         (CPUID_FMA4): New macro.
65586         (index_YMM_Usable): Rename to...
65587         (index_AVX_Usable): ... this.
65588         (HAS_AVX): Use HAS_ARCH_FEATURE.
65589         (HAS_FMA4): Likewise.
65590         (HAS_YMM_USABLE): Remove.
65591         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65592         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65593         are present.
65594         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65595         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65596         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65597         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65598         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65600 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65602         * math/libm-test.c: Support platforms without multiple rounding modes.
65603         * math/bug-nextafter.c: Support platforms without FP exceptions.
65604         * math/bug-nexttoward.c: Likewise.
65605         * math/test-fenv.c: Likewise.
65606         * math/test-misc.c: Likewise.
65607         * stdlib/bug-getcontext.c: Likewise.
65609 2012-05-17  Andreas Jaeger  <aj@suse.de>
65611         * manual/examples/search.c (critter_cmp): Change signature to
65612         avoid warnings.
65613         * manual/string.texi (Collation Functions): Likewise.
65615 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65617         * bits/types.h: Fold copyright years.
65618         * bits/typesizes.h: Likewise.
65619         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65620         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65621         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65622         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65623         * time/time.h: Likewise.
65625 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65627         [BZ #208]
65628         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65629         in instead of returning them.  Return void.
65630         (__libc_mallinfo): Accumulate over all arenas.
65631         (__malloc_stats): Adjust for change in int_mallinfo interface.
65633 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65635         [BZ #10375]
65636         * configure.in (NM): Add AC_CHECK_TOOL for it.
65637         (libc_extra_cflags): New substituted variable.
65638         Check for -fstack-protector being used implicitly.
65639         * configure: Regenerated.
65640         * config.make.in (config-extra-cflags): New variable,
65641         gets @libc_extra_cflags@.
65642         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65644         [BZ #10375]
65645         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65646         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65647         * configure: Regenerated.
65648         * config.make.in (CPPUNDEFS): New substituted variable.
65649         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65650         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65651         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65653 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65655         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65656         (mq_attr): Use __syscall_slong_t.
65658 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65660         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65661         Check __x86_64__ instead of __WORDSIZE.
65662         (_STAT_VER_LINUX): Likewise.
65663         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65664         __syscall_ulong_t and __syscall_slong_t.
65665         (stat64): Likewise.
65667 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65669         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65671 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65673         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65675 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65677         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65678         __syscall_ulong_t.
65680         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65681         include <bits/wordsize.h>.  Check __x86_64__ instead of
65682         __WORDSIZE.
65683         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65684         defined.
65685         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65687         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65688         include <bits/wordsize.h>.  Check __x86_64__ instead of
65689         __WORDSIZE.
65690         (user_regs_struct): Use "__extension__ unsigned long long"
65691         instead of "unsigned long" if __x86_64__ is defined.
65692         (user): Likewise.  Pad after pointer field if __ILP32__ is
65693         defined.
65695 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65697         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65698         versions 5 to 9.
65699         * configure: Regenerated.
65700         * manual/install.texi (texinfo): Increase version requirement to
65701         4.5 or later.
65702         * INSTALL: Regenerated.
65704         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65706 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65708         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65710         * sysdeps/x86_64/x32/ffs.c: New file.
65712         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65713         __syscall_ulong_t.
65714         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65715         defined.  Use __syscall_ulong_t.
65716         (shminfo): Use __syscall_ulong_t.
65717         (shm_info): Likewise.
65719         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65720         __syscall_ulong_t.
65722         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65723         <bits/wordsize.h>.
65724         (msgqnum_t): Use __syscall_ulong_t.
65725         (msglen_t): Likewise.
65726         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65727         __syscall_ulong_t.
65729         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65730         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65732         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65734         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65735         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65737         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65738         __syscall_slong_t.
65740         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65741         include <bits/wordsize.h>.  Check __x86_64__ instead of
65742         __WORDSIZE.
65744         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65745         "unsigned long long int" if __x86_64__ is defined.
65746         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65748         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65749         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65750         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65752         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65753         <stdint.h>.
65754         (GET_PC): Cast to uintptr_t first.
65755         (GET_FRAME): Likewise.
65756         (GET_STACK): Likewise.
65758         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65759         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65760         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65761         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65762         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65763         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65764         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65765         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65766         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65767         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65768         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65769         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65770         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65771         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65772         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65773         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65774         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65775         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65776         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65777         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65778         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65779         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65780         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65781         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65782         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65783         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65784         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65785         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65786         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65788 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65790         * Makerules (+depfiles): Also collect depfiles from .oS in
65791         $(extra-objs).
65792         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65793         .oS, $(libnldbl-routines)).
65795         * Makerules (native-compile-mkdep-flags): Define.
65796         * sunrpc/Makefile (extra-objs): Add $(addprefix
65797         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65798         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65799         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65800         calling $(make-target-directory).
65802 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65804         * bits/types.h (__snseconds_t): Removed.
65805         * time/time.h (struct timespec): Replace __snseconds_t with
65806         __syscall_slong_t.
65807         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65808         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65809         Likewise.
65810         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65811         (__SNSECONDS_T_TYPE): Likewise.
65812         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65813         (__SNSECONDS_T_TYPE): Likewise.
65814         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65815         (__SNSECONDS_T_TYPE): Likewise.
65817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65819         * sysdeps/mach/hurd/bits/typesizes.h
65820         (__SYSCALL_SLONG_TYPE): New macro.
65821         (__SYSCALL_ULONG_TYPE): Likewise.
65823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65825         * bits/types.h (__syscall_slong_t): New type.
65826         (__syscall_ulong_t): Likewise.
65828         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65829         (__SYSCALL_ULONG_TYPE): Likewise.
65830         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65831         (__SYSCALL_SLONG_TYPE): Likewise.
65832         (__SYSCALL_ULONG_TYPE): Likewise.
65833         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65834         (__SYSCALL_SLONG_TYPE): Likewise.
65835         (__SYSCALL_ULONG_TYPE): Likewise.
65836         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65837         (__SYSCALL_SLONG_TYPE): Likewise.
65838         (__SYSCALL_ULONG_TYPE): Likewise.
65840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65842         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65843         Add sigaltstack-offsets.sym.
65844         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65845         <sigaltstack-offsets.h>.
65846         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65847         longjmp_msg pointer.
65848         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65849         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65850         signal stack.
65851         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65853 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65855         * elf/stackguard-macros.h: Remove file.
65856         * sysdeps/generic/stackguard-macros.h: New file.
65857         * sysdeps/i386/stackguard-macros.h: Likewise.
65858         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65859         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65860         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65861         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65862         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65863         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65864         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65865         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65866         <elf/stackguard-macros.h>.
65868         [BZ #14109]
65869         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65870         __aligned__ in attribute.
65871         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65872         (gregset_t): Likewise.
65874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65876         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65877         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65878         * sysdeps/x86_64/x32/Implies-after: New file.
65880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65882         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65883         and access return value for _dl_profile_fixup.  Use R10_LP to
65884         load frame size.
65886 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65888         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65892         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65893         * sysdeps/x86_64/x32/sysdep.h: New file.
65895 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65897         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65898         * sysdeps/x86_64/setjmp.S: Likewise.
65900 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65902         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65903         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65904         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65905         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65906         remove unused global constant.
65908 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65910         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65911         include of <not-cancel.h>.
65913 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65915         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65917 2012-05-15  Jeff Law  <law@redhat.com>
65918             Andreas Jaeger  <aj@suse.de>
65920         [BZ #13594]
65921         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65922         out from...
65923         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65924         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65925         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65926         code changing __hst_map_handle.map.
65928 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65930         * configure.in (sysnames): Look for Implies-before and Implies-after
65931         files.
65932         * configure: Regenerated.
65934 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65936         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65937         8-byte data alignment with LP_SIZE alignment.
65939 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65941         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65942         into R10_LP.
65944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65946         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65948 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65950         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65951         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65952         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65953         Likewise.
65954         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65958         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65959         (stackinfo_sub_sp): Likewise.
65961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65963         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65964         RAX_LP.
65966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65968         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65969         into R*_LP.
65971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65973         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65974         sizes into R*_LP.
65976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65978         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65980 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65982         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65983         into R11_LP and load __x86_64_shared_cache_size_half into
65984         R8_LP.
65986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65988         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65989         R8_LP.
65991 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65993         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65994         logb for POWER7.
65995         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65996         logbf for POWER7.
65997         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65998         logbl for POWER7.
65999         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66000         powerpc32/power7/fpu/s_logb.c via #include.
66001         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66002         powerpc32/power7/fpu/s_logbf.c via #include.
66003         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66004         powerpc32/power7/fpu/s_logbl.c via #include.
66006 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66008         * README.libm: Remove file.
66010 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66012         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66013         count for x32.  Use R*_LP and omit operand-size suffix.
66015 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66017         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66018         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66019         * sysdeps/x86_64/x32/shlib-versions: New file.
66021 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66023         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66024         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66025         Use _dl_fatal_printf instead.
66027 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66029         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66030         set if not set by the user.  Do not allow for being unset.
66031         * sysdeps/unix/sysv/linux/configure: Regenerated.
66033 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66035         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66036         the `q' suffix from lea and replace .quad with ASM_ADDR.
66038 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66040         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66041         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66042         instead of $17.
66043         (PTR_DEMANGLE): Likewise.
66045 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66047         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66048         (LP_OP): Likewise.
66049         (ASM_ADDR): Likewise.
66050         (RAX_LP): Likewise.
66051         (RBP_LP): Likewise.
66052         (RBX_LP): Likewise.
66053         (RCX_LP): Likewise.
66054         (RDI_LP): Likewise.
66055         (RSI_LP): Likewise.
66056         (RSP_LP): Likewise.
66057         (R8_LP): Likewise.
66058         (R9_LP): Likewise.
66059         (R10_LP): Likewise.
66060         (R10_LP): Likewise.
66061         (R11_LP): Likewise.
66062         (R12_LP): Likewise.
66063         (R13_LP): Likewise.
66064         (R14_LP): Likewise.
66065         (R15_LP): Likewise.
66067 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66069         * sysdeps/x86_64/x32/dl-machine.h: New file.
66071 2012-05-14  Andreas Jaeger  <aj@suse.de>
66073         * manual/Makefile (subdir): Remove export of subdir.
66074         (all): Remove target.
66075         (.PHONY): Remove all from list.
66076         (mkinstalldirs): Remove.
66077         (.PHONY): Remove installdirs from list.
66078         ($(inst_infodir)/libc.info): Use make-target-directory.
66079         (installdirs): Remove.
66080         (subdir_%): Remove.
66081         (glibc-targets): Remove.
66082         (lib): Remove.
66083         (stubs): Remove.
66084         ($(objpfx)stubs ../po/manual.pot): Remove.
66085         ($(objpfx)stamp%): Remove.
66086         (make-target-directory): Remove.
66087         (subdir_install): Remove.
66088         (routines): Remove.
66089         (aux): Remove.
66090         (sources): Remove.
66091         (objects): Remove.
66092         (headers): Remove.
66094         [BZ #13750]
66095         * manual/.gitignore: Remove, it's not needed anymore.
66096         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66097         all files in it.
66098         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66099         directory.
66100         (texis): Renamed to $(objpfx)texis.
66101         (texis-path): New, contains path to generated files.
66102         (chapters.%): Use texis-path for complete path, add extra argument
66103         libc-texinfo.sh.
66104         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66105         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66106         (summary,texi, stamp-summary): Use complete path of
66107         files. Generate files in build dir.
66108         (dir-add.texi): Build in build dir.
66109         (libm-err.texi,stamp-libm-err): Likewise.
66110         (version.texi, stamp-version): Likewise.
66111         (.%c.texi): Likewise.
66112         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66113         (mostlyclean): Remove target.
66114         (realclean): Remove target.
66115         (generated): Add new variable with contents from mostlyclean and
66116         realclean, remove entries duplicated in common-mostlyclean, add
66117         stamp-libm-err and stamp-version.
66118         (generated-dirs): Add libc directory.
66119         ($(inst_infodir)/libc.info): Install files from build dir.
66121         * manual/install.texi (Configuring and compiling): Adjust since
66122         the info files are not part of the tar ball anymore.
66124 2012-05-14  Andreas Jaeger  <aj@suse.de>
66126         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66127         variable.
66129 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66131         [BZ #13717]
66132         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66133         to 2.2.0 where earlier.
66134         * sysdeps/unix/sysv/linux/configure: Regenerated.
66135         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66136         Remove conditional code.
66137         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66138         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66139         Remove conditional code.
66140         [!__NR_lchown]: Likewise.
66141         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66142         [__NR_lchown]: Likewise.
66143         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66144         comment referencing __ASSUME_LCHOWN_SYSCALL.
66145         * sysdeps/unix/sysv/linux/i386/sigaction.c
66146         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66147         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66148         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66149         Remove conditional code.
66150         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66151         (__protocol_available): Remove #if 0 code.
66152         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66153         conditional code.
66154         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66155         * sysdeps/unix/sysv/linux/kernel-features.h
66156         (__ASSUME_GETCWD_SYSCALL): Don't define.
66157         (__ASSUME_REALTIME_SIGNALS): Likewise.
66158         (__ASSUME_PREAD_SYSCALL): Likewise.
66159         (__ASSUME_PWRITE_SYSCALL): Likewise.
66160         (__ASSUME_POLL_SYSCALL): Likewise.
66161         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66162         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66163         non-SPARC.
66164         (__ASSUME_SIOCGIFNAME): Don't define.
66165         (__ASSUME_MSG_NOSIGNAL): Likewise.
66166         (__ASSUME_SENDFILE): Define unconditionally.
66167         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66168         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66169         conditional code.
66170         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66171         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66172         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66173         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66174         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66175         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66176         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66178         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66179         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66181         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66182         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66184         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66185         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66187         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66188         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66190         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66191         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66193         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66194         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66196         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66197         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66199         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66200         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66201         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66202         Remove conditional code.
66203         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66204         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66205         Remove conditional code.
66206         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66207         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66208         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66209         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66210         Remove conditional code.
66211         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66212         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66213         Remove conditional code.
66214         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66215         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66216         Remove conditional code.
66217         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66218         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66219         Remove conditional code.
66220         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66221         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66222         Remove conditional code.
66223         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66224         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66225         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66226         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66227         * sysdeps/unix/sysv/linux/sigaction.c
66228         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66229         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66230         * sysdeps/unix/sysv/linux/sigpending.c
66231         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66232         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66233         * sysdeps/unix/sysv/linux/sigprocmask.c
66234         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66235         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66236         * sysdeps/unix/sysv/linux/sigsuspend.c
66237         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66238         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66239         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66240         (__libc_missing_rt_sigs): Remove.
66241         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66242         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66243         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66244         Remove conditional code.
66245         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66246         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66247         return 1.
66248         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66249         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66250         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66251         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66253 2012-05-14  Andreas Jaeger  <aj@suse.de>
66255         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66256         it's not used in glibc.
66257         (__coshm1): Likewise.
66258         (__acosh1p): Likewise.
66259         (__sgn): Likewise.
66261         * manual/string.texi (Copying and Concatenation): Add missing
66262         variable in concat example.
66263         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66265 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66267         [BZ #14103]
66268         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66269         __builtin_clzl with __builtin_clzll.
66271 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66273         [BZ #14104]
66274         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66275         libc_freeres_ptr.
66277 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66279         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66280         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66281         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66282         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66284 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66286         * NEWS: Update ia64 info.
66288 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66290         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66291         used as bcopy.
66293 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66295         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66296         * sysdeps/unix/syscalls.list (dup3): Likewise.
66297         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66298         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66300 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66302         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66303         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66305 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66307         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66308         thread pointer.
66309         (TLS_IE): Use mov/add instead of movq/addq to load thread
66310         pointer.
66311         (TLS_GD_PREFIX): New.
66312         (TLS_GD): Use it.
66314 2012-05-11  David S. Miller  <davem@davemloft.net>
66316         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66317         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66318         (_FPU_SETCW): Likewise.
66320 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66322         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66323         is 32-byte aligned.
66325 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66327         [BZ #11837]
66328         * iconvdata/gb18030.c: Update tables.
66329         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66330         characters specially.
66331         (BODY for TO_LOOP): Add encoding of missing ranges.
66333 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66335         [BZ #13673]
66336         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66337         * sysdeps/mach/hurd/dup3.c: Likewise.
66338         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66339         * sysdeps/powerpc/memmove.c:: Likewise.
66341 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66343         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66344         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66346 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66348         * elf/elf.h (R_X86_64_RELATIVE64): New.
66349         (R_X86_64_NUM): Updated.
66350         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66351         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66352         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66353         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66354         tst-quad1pie tst-quad2pie
66355         (modules-names): Add tst-quadmod1 tst-quadmod2.
66356         ($(objpfx)tst-quad1): New dependency.
66357         ($(objpfx)tst-quad2): Likewise.
66358         ($(objpfx)tst-quad1pie): Likewise.
66359         ($(objpfx)tst-quad2pie): Likewise.
66360         * sysdeps/x86_64/tst-quad1.c: New file.
66361         * sysdeps/x86_64/tst-quad1pie.c: New file.
66362         * sysdeps/x86_64/tst-quad2.c: Likewise.
66363         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66364         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66365         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66366         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66367         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66369 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66371         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66372         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66373         * streams/stropts.h (t_scalar_t): Define type.
66375         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66376         (_PATH_PRESERVE): Set to "/var/lib".
66377         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66379         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66380         instead of int.
66382         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66383         if __dir_mkfile succeeded.
66385         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66386         checking for _hurd_dtablesize.  Unlock it right after having
66387         finished _hurd_dtable allocation.
66389 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66391         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66392         * sysdeps/mach/hurd/configure: Regenerated.
66393         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66394         special-casing to...
66395         * sysdeps/gnu/configure.in: ... this new file.
66396         * sysdeps/unix/sysv/linux/configure: Regenerated.
66397         * sysdeps/gnu/configure: New generated file.
66399         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66400         for Linux: use nsec instead of usec, as well as:
66401         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66402         members of type struct timespec.
66403         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66404         New macros.
66405         (struct stat64): Likewise.
66406         (_STATBUF_ST_NSEC): New macro.
66407         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66409         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66410         __strtoul_internal rather than strtoul.
66412 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66414         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66415         and reject them.
66417 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66419         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66420         which preserves existing values.
66421         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66423 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66425         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66426         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66427         greater than FD_SETSIZE.
66429 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66431         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66432         allocated, call __vm_protect to finish enabling the existing space, and
66433         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66434         allocate the remainder.
66436 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66438         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66439         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66441 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66443         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66444         sysdeps/mach/hurd/readlink.c.
66446         * posix/tst-sysconf.c (posix_options): Only use
66447         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66448         _POSIX_SYNCHRONIZED_IO when they are defined
66449         * sysdeps/mach/hurd/bits/posix_opt.h:
66450         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66451         (_XOPEN_REALTIME): Undefine macro.
66452         (_XOPEN_REALTIME_THREADS): Undefine macro.
66453         (_XOPEN_SHM): Undefine macro.
66454         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66455         macro to -1.
66456         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66457         macro to -1.
66458         (_POSIX_ASYNC_IO): Undefine macro.
66459         (_POSIX_PRIORITIZED_IO): Undefine macro.
66460         (_POSIX_SPIN_LOCKS): Define macro to -1.
66462         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66463         SA_NODEFER, SA_RESETHAND.
66464         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66465         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66466         F_DUPFD_CLOEXEC.
66468 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66470         * elf/Makefile (pldd-modules): Define unconditionally.
66472 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66474         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66476 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66478         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66479         Return ENOENT when name is empty.
66480         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66482 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66484         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66486         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66488 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66490         Fix mlock in all cases except non-readable pages.
66491         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66492         instead of VM_PROT_ALL as parameter to __vm_wire function.
66494         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66495         (__mkdir): When path is `/', just fail with EEXIST.
66496         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66498 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66500         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66501         <sys/uio.h> (for writev).
66502         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66503         and <sys/param.h> (for MIN).
66505 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66507         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66508         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66509         if interrupted.
66511 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66513         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66514         Depend on against $(link-rpcuserlibs).
66516 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66518         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66519         (__libc_stack_end): Do not use attribute_relro.
66520         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66521         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66522         to libthread-provided value.
66523         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66524         attribute_relro.
66526 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66528         [BZ #3748]
66529         * bits/libc-lock.h (__libc_once_get): New macro.
66530         * sysdeps/mach/bits/libc-lock.h: Likewise.
66531         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66532         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66533         instead of using implementation details.
66535         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66536         * libio/freopen.c: Likewise.
66537         * libio/freopen64.c: Likewise.
66538         * misc/syslog.c: Likewise.
66539         * nscd/connections.c: Likewise.
66540         * nscd/netgroupcache.c: Likewise.
66541         * sysdeps/posix/getcwd.c: Likewise.
66543 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66545         * math/w_ilogbf.c: Add #include <limits.h>.
66547 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66549         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66550         path instead of returning without unlocking.
66552         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66553         immediate-write ioctls.
66554         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66556 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66558         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66559         __builtin_frame_address instead of making assumptions about the
66560         location of the return address relative to DATA.  Force early load of
66561         the return address.
66562         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66563         __builtin_frame_address.
66565         dup3 for GNU Hurd.
66566         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66567         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66568         implement dup3 and do some further code clean-ups.
66569         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66570         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66572 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66574         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66576         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66577         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66578         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66579         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66580         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66581         d->port.lock.
66583         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66584         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66585         when handler == SIG_ERR, not when handler != SIG_ERR.
66587 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66589         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66590         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66591         definitions.
66593         accept4 for GNU Hurd.
66594         * include/sys/socket.h (__libc_accept4): New prototype.
66595         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66596         to implement __libc_accept4.
66597         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66598         __libc_accept4.
66599         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66601         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66602         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66603         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66604         signal-defines.sym.
66606 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66608         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66610 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66612         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66613         assertion on O_CLOEXEC flag.
66614         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66615         * hurd/intern-fd.c: Likewise.
66616         * hurd/port2fd.c: Likewise.
66618 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66620         [BZ #3906]
66621         * bits/in.h (IPV6_PKTINFO): Define new macro.
66622         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66624 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66626         [BZ #13954]
66627         [BZ #13955]
66628         [BZ #13956]
66629         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66630         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66631         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66632         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66633         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66634         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66635         * math/libm-test.inc (logb_test) : Additional logb tests.
66637 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66638             Andreas Jaeger  <aj@suse.de>
66640         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66641         * configure: Regenerated.
66642         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66643         * config.make.in (link-obsolete-rpc): New substituted variable.
66644         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66645         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66646         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66647         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66648         so that libc.a contains the symbols.
66649         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66650         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66651         * sunrpc/auth_none.c: Likewise.
66652         * sunrpc/auth_unix.c: Likewise.
66653         * sunrpc/authdes_prot.c: Likewise.
66654         * sunrpc/authuxprot.c: Likewise.
66655         * sunrpc/clnt_gen.c: Likewise.
66656         * sunrpc/clnt_perr.c: Likewise.
66657         * sunrpc/clnt_raw.c: Likewise.
66658         * sunrpc/clnt_simp.c: Likewise.
66659         * sunrpc/clnt_tcp.c: Likewise.
66660         * sunrpc/clnt_udp.c: Likewise.
66661         * sunrpc/clnt_unix.c: Likewise.
66662         * sunrpc/des_crypt.c: Likewise.
66663         * sunrpc/des_soft.c: Likewise.
66664         * sunrpc/get_myaddr.c: Likewise.
66665         * sunrpc/key_call.c: Likewise.
66666         * sunrpc/key_prot.c: Likewise.
66667         * sunrpc/netname.c: Likewise.
66668         * sunrpc/pm_getmaps.c: Likewise.
66669         * sunrpc/pm_getport.c: Likewise.
66670         * sunrpc/pmap_clnt.c: Likewise.
66671         * sunrpc/pmap_prot.c: Likewise.
66672         * sunrpc/pmap_prot2.c: Likewise.
66673         * sunrpc/pmap_rmt.c: Likewise.
66674         * sunrpc/publickey.c: Likewise.
66675         * sunrpc/rpc_cmsg.c: Likewise.
66676         * sunrpc/rpc_common.c: Likewise.
66677         * sunrpc/rpc_dtable.c: Likewise.
66678         * sunrpc/rpc_prot.c: Likewise.
66679         * sunrpc/rpc_thread.c: Likewise.
66680         * sunrpc/rtime.c: Likewise.
66681         * sunrpc/svc.c: Likewise.
66682         * sunrpc/svc_auth.c: Likewise.
66683         * sunrpc/svc_raw.c: Likewise.
66684         * sunrpc/svc_run.c: Likewise.
66685         * sunrpc/svc_tcp.c: Likewise.
66686         * sunrpc/svc_udp.c: Likewise.
66687         * sunrpc/svc_unix.c: Likewise.
66688         * sunrpc/svcauth_des.c: Likewise.
66689         * sunrpc/xcrypt.c: Likewise.
66690         * sunrpc/xdr.c: Likewise.
66691         * sunrpc/xdr_array.c: Likewise.
66692         * sunrpc/xdr_float.c: Likewise.
66693         * sunrpc/xdr_intXX_t.c: Likewise.
66694         * sunrpc/xdr_mem.c: Likewise.
66695         * sunrpc/xdr_rec.c: Likewise.
66696         * sunrpc/xdr_ref.c: Likewise.
66697         * sunrpc/xdr_sizeof.c: Likewise.
66698         * sunrpc/xdr_stdio.c: Likewise.
66700 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66702         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66703         change.  Update copyright years.
66705 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66707         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66709 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66710             Joseph Myers  <joseph@codesourcery.com>
66711             Paul Pluzhnikov  <ppluzhnikov@google.com>
66713         [BZ #14012]
66714         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66715         requiring rpcgen.
66716         [cross-compiling] (extra-libs): Likewise.
66717         [cross-compiling] (extra-libs-others): Likewise.
66718         [cross-compiling] (librpcsvc-routines): Likewise.
66719         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66720         [cross-compiling] (omit-deps): Likewise.
66721         (sunrpc-CPPFLAGS): New variable.
66722         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66723         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66724         (cross-rpcgen-objs): New variable.
66725         (extra-objs): Append $(cross-rpcgen-objs).
66726         ($(cross-rpcgen-objs)): New rule.
66727         ($(objpfx)cross-rpcgen): Likewise.
66728         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66729         comment.
66730         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66731         ($(objpfx)x%.stmp): Likewise.
66732         * sunrpc/proto.h [IS_IN_build] (_): Define.
66733         [IS_IN_build] (_libc_intl_domainname): Likewise.
66735 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66737         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66738         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66739         and R_X86_64_TPOFF64.
66741 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66743         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66744         sysdeps/unix/sysv/syscalls.list.
66745         (stime): Likewise.
66746         (utime): Likewise.
66747         * sysdeps/unix/sysv/syscalls.list: Remove file.
66749 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66751         [BZ #3440]
66752         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66753         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66754         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66755         (__LC_IDENTIFICATION): Make these macros useful in #if
66756         expressions, as required by C99.
66758 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66760         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66761         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66762         after this.
66764 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66766         * stdlib/longlong.h: Updated from GCC.
66768 2012-05-09  Andreas Jaeger  <aj@suse.de>
66770         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66771         default is first entry.
66772         (run_mode): Set type.
66773         (main): Remove informal message about syslog.
66774         (options): Fix typo.
66776         [BZ #14053]
66777         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66778         to asm.
66779         (lrint): Likewise.
66780         (llrintf): Likewise.
66781         (llrint): Likewise.
66782         (rint): Likewise.
66783         (rintf): Likewise.
66784         (nearbyint): Likewise.
66785         (nearbyintf): Likewise.
66787 2012-05-09  Andreas Jaeger  <aj@suse.de>
66788             Pedro Alves  <palves@redhat.com>
66790         * nscd/nscd.c (run_mode): Use enum.
66791         (main): Cleanup coding style issue.
66793 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66794             Andreas Jaeger  <aj@suse.de>
66796         * nscd/nscd.c (go_background): Replaced with...
66797         (run_mode): ... this.
66798         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66799         (options): Add -F --foreground.
66800         (main): Implement it.
66801         (parse_opt): Parse it.
66803 2012-05-09  Andreas Jaeger  <aj@suse.de>
66805         [BZ #14083]
66806         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66807         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66808         -Wconversion warning.
66809         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66810         Likewise.
66812 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66814         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66815         == 0.
66816         (LC_ALL): Use macro-int-constant.
66817         (LC_COLLATE): Likewise.
66818         (LC_CTYPE): Likewise.
66819         (LC_MESSAGES): Likewise.
66820         (LC_MONETARY): Likewise.
66821         (LC_NUMERIC): Likewise.
66822         (LC_TIME): Likewise.
66823         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66824         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66825         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66826         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66827         Specify type.
66828         [C99-based standards] (float_t): Expect type.
66829         [C99-based standards] (double_t): Expect type.
66830         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66831         type.
66832         [C99-based standards] (HUGE_VALL): Likewise.
66833         [C99-based standards] (INFINITY): Likewise.
66834         [C99-based standards] (NAN): Likewise.
66835         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66836         [C99-based standards] (FP_NAN): Likewise.
66837         [C99-based standards] (FP_NORMAL): Likewise.
66838         [C99-based standards] (FP_SUBNORMAL): Likewise.
66839         [C99-based standards] (FP_ZERO): Likewise.
66840         [C99-based standards] (FP_FAST_FMA): Use
66841         optional-macro-int-constant.  Specify type.  Require == 1.
66842         [C99-based standards] (FP_FAST_FMAF): Likewise.
66843         [C99-based standards] (FP_FAST_FMAL): Likewise.
66844         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66845         [C99-based standards] (FP_ILOGBNAN): Likewise.
66846         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66847         Specify type.
66848         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66849         [C99-based standards] (math_errhandling): Specify type.
66850         [ISO99 || ISO11] (signgam): Do not allow.
66851         [non-C99-based standards] (copysignf): Do not allow.
66852         [non-C99-based standards] (exp2f): Likewise.
66853         [non-C99-based standards] (log2f): Likewise.
66854         [non-C99-based standards] (modff): Allow.
66855         [non-C99-based standards] (erff): Do not allow.
66856         [non-C99-based standards] (erfcf): Likewise.
66857         [non-C99-based standards] (gammaf): Likewise.
66858         [non-C99-based standards] (hypotf): Likewise.
66859         [non-C99-based standards] (j0f): Likewise.
66860         [non-C99-based standards] (j1f): Likewise.
66861         [non-C99-based standards] (jnf): Likewise.
66862         [non-C99-based standards] (lgammaf): Likewise.
66863         [non-C99-based standards] (tgammaf): Likewise.
66864         [non-C99-based standards] (y0f): Likewise.
66865         [non-C99-based standards] (y1f): Likewise.
66866         [non-C99-based standards] (ynf): Likewise.
66867         [non-C99-based standards] (isnanf): Likewise.
66868         [non-C99-based standards] (acoshf): Likewise.
66869         [non-C99-based standards] (asinhf): Likewise.
66870         [non-C99-based standards] (atanhf): Likewise.
66871         [non-C99-based standards] (cbrtf): Likewise.
66872         [non-C99-based standards] (expm1f): Likewise.
66873         [non-C99-based standards] (ilogbf): Likewise.
66874         [non-C99-based standards] (log1pf): Likewise.
66875         [non-C99-based standards] (logbf): Likewise.
66876         [non-C99-based standards] (nextafterf): Likewise.
66877         [non-C99-based standards] (remainderf): Likewise.
66878         [non-C99-based standards] (rintf): Likewise.
66879         [non-C99-based standards] (scalbf): Likewise.
66880         [non-C99-based standards] (copysignl): Likewise.
66881         [non-C99-based standards] (exp2l): Likewise.
66882         [non-C99-based standards] (log2l): Likewise.
66883         [non-C99-based standards] (modfl): Allow.
66884         [non-C99-based standards] (erfl): Do not allow.
66885         [non-C99-based standards] (erfcl): Likewise.
66886         [non-C99-based standards] (gammal): Likewise.
66887         [non-C99-based standards] (hypotl): Likewise.
66888         [non-C99-based standards] (j0l): Likewise.
66889         [non-C99-based standards] (j1l): Likewise.
66890         [non-C99-based standards] (jnl): Likewise.
66891         [non-C99-based standards] (lgammal): Likewise.
66892         [non-C99-based standards] (tgammal): Likewise.
66893         [non-C99-based standards] (y0l): Likewise.
66894         [non-C99-based standards] (y1l): Likewise.
66895         [non-C99-based standards] (ynl): Likewise.
66896         [non-C99-based standards] (isnanl): Likewise.
66897         [non-C99-based standards] (acoshl): Likewise.
66898         [non-C99-based standards] (asinhl): Likewise.
66899         [non-C99-based standards] (atanhl): Likewise.
66900         [non-C99-based standards] (cbrtl): Likewise.
66901         [non-C99-based standards] (expm1l): Likewise.
66902         [non-C99-based standards] (ilogbl): Likewise.
66903         [non-C99-based standards] (log1pl): Likewise.
66904         [non-C99-based standards] (logbl): Likewise.
66905         [non-C99-based standards] (nextafterl): Likewise.
66906         [non-C99-based standards] (remainderl): Likewise.
66907         [non-C99-based standards] (rintl): Likewise.
66908         [non-C99-based standards] (scalbl): Likewise.
66909         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66910         [non-C99-based standards] (FP_*): Do not allow.
66911         [C99-based standards] (FP_*): Change to
66912         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66913         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66914         allow.
66915         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66916         (SIG_ERR): Likewise.
66917         [X/Open-based standards] (SIG_HOLD): Likewise.
66918         (SIG_IGN): Likewise.
66919         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66920         positive value.
66921         (SIGFPE): Likewise.
66922         (SIGILL): Likewise.
66923         (SIGINT): Likewise.
66924         (SIGSEGV): Likewise.
66925         (SIGTER): Likewise.
66926         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66927         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66928         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66929         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66930         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66931         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66932         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66933         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66934         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66935         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66936         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66937         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66938         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66939         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66940         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66941         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66942         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66943         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66944         [X/Open-based standards] (SIGTRAP): Likewise.
66945         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66946         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66947         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66948         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66949         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66950         allow.
66952 2012-05-08  Ian Wienand  <ianw@vmware.com>
66954         [BZ #14080]
66955         * time/tzset.c (__tzset_parse_tz): Update default rules for
66956         daylight time changes in the Energy Policy Act of 2005.
66958 2012-05-09  Andreas Jaeger  <aj@suse.de>
66960         [BZ #13983]
66961         * elf/ldconfig.c (parse_conf): Change string to make clear that
66962         ldconfig only issued a warning if ld.so.conf does not exist.
66964 2012-05-08  David S. Miller  <davem@davemloft.net>
66966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66967         movxtod instead of popping the value on the stack.
66969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66971 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66973         * config.h.in: Add HAVE_ARM_PCS_VFP.
66975 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66977         [BZ #13979]
66978         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66979         checking but the checks are disabled for any reason.
66981 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66983         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66984         and ELF64_R_TYPE with ELFW(R_TYPE).
66986 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66988         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66989         (ulimit): Likewise.
66991         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66992         (settimeofday): Likewise.
66994 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66996         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66997         a struct th_u2 inside the union, and move tu_block/tu_code into
66998         a new th_u3 union of tu_block/tu_code inside of that.  Move
66999         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67000         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67001         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67002         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67003         (th_stuff): Change to th_u1.tu_stuff.
67004         (th_data): Define.
67005         (th_msg): Change to th_u1.th_u2.tu_data.
67007 2012-05-07  David S. Miller  <davem@davemloft.net>
67009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67011         [BZ #14074]
67012         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67013         (SETUP_PIC_REG): Use it.
67014         (SETUP_PIC_REG_LEAF): Use it.
67016 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67018         [BZ #13885]
67019         [BZ #13923]
67020         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67021         USE_AS_EXPM1L.
67022         (EXPL_FINITE): Likewise.
67023         (FLDLOG): Likewise.
67024         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67025         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67026         e_expl.S.
67027         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67028         USE_AS_EXPM1L.
67029         (EXPL_FINITE): Likewise.
67030         (FLDLOG): Likewise.
67031         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67032         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67033         e_expl.S.
67034         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67035         test of -max_value argument for long double.
67036         * sysdeps/i386/fpu/libm-test-ulps: Update.
67037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67039 2012-05-06  David S. Miller  <davem@davemloft.net>
67041         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67042         quad soft-float symbols whose references which are compiler
67043         generated.
67044         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67046 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67048         [BZ #13884]
67049         [BZ #13914]
67050         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67051         USE_AS_EXP10L.
67052         (EXPL_FINITE): Likewise.
67053         (FLDLOG): Likewise.
67054         (c0): Likewise.
67055         (c1): Likewise.
67056         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67057         Adjust comments for base varying.
67058         (__expl_finite): Change alias to EXPL_FINITE.
67059         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67060         e_expl.S.
67061         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67062         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67063         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67064         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67065         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67066         USE_AS_EXP10L.
67067         (EXPL_FINITE): Likewise.
67068         (FLDLOG): Likewise.
67069         (c0): Likewise.
67070         (c1): Likewise.
67071         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67072         Adjust comments for base varying.
67073         (__expl_finite): Change alias to EXPL_FINITE.
67074         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67075         tests for bugs.
67076         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67078         [BZ #14064]
67079         * math/libm-test.inc (check_float_internal): Correct ulp
67080         calculation for subnormal expected results.
67082 2012-05-06  Andreas Jaeger  <aj@suse.de>
67084         * Makeconfig (+math-flags): New, set to -frounding-math.
67085         (+cflags): Add +math-flags so that all of glibc gets compiled with
67086         it.
67088         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67090 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67092         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67093         Disable one test.
67095         [BZ #13787]
67096         [BZ #13922]
67097         [BZ #14036]
67098         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67099         (__ieee754_expl): Allow for and saturate large arguments.
67100         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67101         (u_threshold): Likewise.
67102         (__exp): Call __ieee754_exp before checking for overflow and
67103         underflow.
67104         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67105         (u_threshold): Likewise.
67106         (__expf): Call __ieee754_expf before checking for overflow and
67107         underflow.
67108         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67109         (u_threshold): Likewise.
67110         (__expl): Call __ieee754_expl before checking for overflow and
67111         underflow.
67112         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67113         (__ieee754_expl): Allow for and saturate large arguments.
67114         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67115         missing overflow exception on overflow.
67116         (expm1_test): Do not allow missing overflow exception on overflow.
67118         * sysdeps/i386/fpu/e_expl.c: Move to ...
67119         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67120         rather than using inline asm.
67121         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67122         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67123         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67125         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67126         (nice): Likewise.
67127         (poll): Likewise.
67128         (signal): Likewise.
67129         (time): Likewise.
67130         (times): Likewise.
67132 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67134         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67135         sysdeps/unix/common/syscalls.list.
67136         (fchmod): Likewise.
67137         (fchown): Likewise.
67138         (ftruncate): Likewise.
67139         (getrusage): Likewise.
67140         (gettimeofday): Likewise.
67141         (setpgid): Likewise.
67142         (setregid): Likewise.
67143         (setreuid): Likewise.
67144         (sigaction): Likewise.
67145         (truncate): Likewise.
67146         (vhangup): Likewise.
67147         * sysdeps/unix/common/syscalls.list: Remove file.
67148         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67149         * sysdeps/unix/sysv/linux/Implies: Likewise.
67151 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67153         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67155         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67156         Moved to ...
67157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67158         Here.
67159         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67160         to ...
67161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67162         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67163         to ...
67164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67165         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67166         to ...
67167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67168         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67169         to ...
67170         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67171         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67172         to ...
67173         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67174         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67175         to ...
67176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67177         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67178         to ...
67179         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67180         Here.
67181         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67182         to ...
67183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67184         Here.
67185         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67186         to ...
67187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67188         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67189         Moved to ...
67190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67191         Here.
67192         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67193         to ...
67194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67196 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67198         * sysdeps/unix/common/bits/dirent.h: Remove file.
67199         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67201         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67202         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67203         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67204         * sysdeps/unix/bsd/isatty.c: Likewise.
67205         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67206         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67207         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67209 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67211         [BZ #13563]
67212         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67213         long double comparison inaccuracies.
67214         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67217 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67219         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67220         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67222 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67224         [BZ #14049]
67225         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67226         nonzero digits before rounding a hex value.
67227         * stdlib/tst-strtod.c (tests): Add another test.
67229 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67231         * sysdeps/s390/fpu/libm-test-ulps: Update.
67233 2012-05-03  Andreas Jaeger  <aj@suse.de>
67235         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67236         does not get optimized out.
67237         (malloc_opt_barrier): New.
67239 2012-05-03  Andreas Jaeger  <aj@suse.de>
67240             Roland McGrath  <roland@hack.frob.com>
67242         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67243         intermediate file deletion.
67244         (generated): Add .symlist files.
67246 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67248         [BZ #13775]
67249         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67250         Redirect under this condition.
67251         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67252         [__USE_GNU] (__dprintf_chk): Not under this condition.
67253         [__USE_GNU] (__vdprintf_chk): Likewise.
67254         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67255         under this condition.
67256         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67257         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67258         [__USE_XOPEN2K8] (vdprintf): Likewise.
67259         [__USE_GNU] (__dprintf_chk): Not under this condition.
67260         [__USE_GNU] (__vdprintf_chk): Likewise.
67261         [__USE_GNU] (dprintf): Likewise.
67262         [__USE_GNU] (vdprintf): Likewise.
67264 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67266         * elf/Makefile (common-generated): Set this instead of generated for
67267         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67268         $(all-built-dso)-derived lists.
67270 2012-05-03  Andreas Jaeger  <aj@suse.de>
67272         * sysdeps/i386/fpu/libm-test-ulps: Update.
67274         * FAQ: Removed.
67275         * FAQ.in: Likewise.
67276         * scripts/gen-FAQ.pl: Likewise.
67277         * manual/install.texi (Installation): Point to online location of
67278         FAQ.
67279         * Makefile (files-for-dist): Remove FAQ.
67280         (FAQ): Remove.
67282 2012-05-02  Allan McRae  <allan@archlinux.org>
67284         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67285         (LDFLAGS-reldepmod5.so): Likewise.
67286         (LDFLAGS-reldep6mod1.so): Likewise.
67287         (LDFLAGS-reldep6mod4.so): Likewise.
67288         (LDFLAGS-reldep8mod3.so): Likewise.
67289         (LDFLAGS-unload4mod1.so): Likewise.
67290         (LDFLAGS-unload4mod2.so): Likewise.
67291         (LDFLAGS-tst-initorder): Likewise.
67292         (LDFLAGS-tst-initordera2.so): Likewise.
67293         (LDFLAGS-tst-initordera3.so): Likewise.
67294         (LDFLAGS-tst-initordera4.so): Likewise.
67295         (LDFLAGS-tst-initorderb2.so): Likewise.
67296         (LDFLAGS-noload): Likewise.
67297         (LDFLAGS-next): Likewise.
67298         (LDFLAGS-order2mod1.so): Likewise.
67299         (LDFLAGS-order2mod2.so): Likewise.
67300         (LDFLAGS-tst-initorder2): Likewise.
67301         (LDFLAGS-tst-initorder2a.so): Likewise.
67302         (LDFLAGS-tst-initorder2b.so): Likewise.
67303         (LDFLAGS-tst-initorder2c.so): Likewise.
67304         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67306 2012-05-02  David S. Miller  <davem@davemloft.net>
67308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67310 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67312         [BZ #14055]
67313         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67315 2012-05-02  Andreas Jaeger  <aj@suse.de>
67317         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67318         since we manipulate rounding mode.
67319         (CPPFLAGS-test-idouble.c): Likewise.
67320         (CPPFLAGS-test-ifloat.c): Likewise.
67321         (CFLAGS-test-ldouble.c): Likewise.
67322         (CFLAGS-test-double.c): Likewise.
67323         (CFLAGS-test-float.c): Likewise.
67324         (CFLAGS-test-misc.c): Likewise.
67325         (CFLAGS-test-test-fenv.c): Likewise.
67327 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67329         [BZ #2550]
67330         [BZ #2570]
67331         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67332         comparisons to determine direction to adjust input.
67334 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67336         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67337         output to the target.
67339         * scripts/localplt.awk: New file.
67340         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67341         (check-localplt-CFLAGS): Variable removed.
67342         ($(all-built-dso:=.jmprel)): New static pattern rule.
67343         (generated): Add those targets.
67344         (localplt-built-dso): New variable.
67345         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67347         * elf/check-localplt.c: File removed.
67349         * scripts/check-execstack.awk: New file.
67350         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67351         (check-execstack-CFLAGS): Variable removed.
67352         ($(objpfx)check-execstack.h): Target removed.
67353         ($(objpfx)execstack-default): New target.
67354         (generated): Add that instead of check-execstack.h.
67355         ($(all-built-dso:=.phdr)): New static pattern rule.
67356         (generated): Add those targets.
67357         * elf/check-execstack.c: File removed.
67359         * scripts/check-textrel.awk: New file.
67360         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67361         (check-textrel-CFLAGS): Variable removed.
67362         (all-built-dso): Use := to define.o
67363         ($(all-built-dso:=.dyn)): New static pattern rule.
67364         (generated): Add those targets.
67365         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67366         * config.make.in (READELF): New substituted variable.
67367         * elf/check-textrel.c: File removed.
67369 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67371         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67372         allow.
67373         * conform/data/ctype.h-data [C99-based standards] (isblank):
67374         Expect function.
67375         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67376         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67377         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67378         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67379         Specify type.  Require positive value.
67380         (EILSEQ): Likewise.
67381         (ERANGE): Likewise.
67382         [ISO || POSIX] (EILSEQ): Do not expect.
67383         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67384         Specify type.  Require positive value.
67385         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67386         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67387         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67388         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67389         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67390         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67391         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67392         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67393         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67394         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67395         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67396         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67397         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67398         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67399         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67400         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67401         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67402         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67403         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67404         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67405         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67406         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67407         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67408         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67409         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67410         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67411         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67412         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67413         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67414         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67415         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67416         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67417         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67418         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67419         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67420         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67421         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67422         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67423         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67424         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67425         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67426         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67427         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67428         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67429         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67430         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67431         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67432         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67433         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67434         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67435         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67436         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67437         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67438         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67439         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67440         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67441         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67442         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67443         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67444         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67445         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67446         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67447         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67448         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67449         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67450         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67451         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67452         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67453         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67454         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67455         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67456         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67457         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67458         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67459         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67460         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67461         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67462         Require >= 2.
67463         (FLT_ROUNDS): Expect as macro, not constant.
67464         (FLT_MANT_DIG): Use macro-int-constant.
67465         (DBL_MANT_DIG): Likewise.
67466         (LDBL_MANT_DIG): Likewise.
67467         (FLT_DIG): Likewise.
67468         (DBL_DIG): Likewise.
67469         (LDBL_DIG): Likewise.
67470         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67471         (DBL_MIN_EXP): Likewise.
67472         (LDBL_MIN_EXP): Likewise.
67473         (FLT_MAX_EXP): Use macro-int-constant.
67474         (DBL_MAX_EXP): Likewise.
67475         (LDBL_MAX_EXP): Likewise.
67476         (FLT_MAX_10_EXP): Likewise.
67477         (DBL_MAX_10_EXP): Likewise.
67478         (LDBL_MAX_10_EXP): Likewise.
67479         (FLT_MAX): Use macro-constant.
67480         (DBL_MAX): Likewise.
67481         (LDBL_MAX): Likewise.
67482         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67483         (DBL_EPSILON): Likewise.
67484         (LDBL_EPSILON): Likewise.
67485         (FLT_MIN): Likewise.
67486         (DBL_MIN): Likewise.
67487         (LDBL_MIN): Likewise.
67488         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67489         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67490         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67491         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67492         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67493         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67494         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67495         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67496         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67497         [ISO11] (FLT_TRUE_MIN): Likewise.
67498         [ISO11] (LDBL_TRUE_MIN): Likewise.
67499         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67500         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67501         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67502         (SCHAR_MAX): Likewise.
67503         (UCHAR_MAX): Likewise.
67504         (CHAR_MIN): Likewise.
67505         (CHAR_MAX): Likewise.
67506         (MB_LEN_MAX): Use macro-int-constant.
67507         (SHRT_MIN): Use macro-int-constant.  Specify type.
67508         (SHRT_MAX): Likewise.
67509         (USHRT_MAX): Likewise.
67510         (INT_MAX): Likewise.
67511         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67512         bound negative.
67513         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67514         bound with "U".
67515         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67516         bound with "L".
67517         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67518         bound negative.  Suffix upper bound with "L".
67519         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67520         bound with "UL".
67521         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67522         Specify type.
67523         [C99-based standards] (LLONG_MAX): Likewise.
67524         [C99-based standards] (ULLONG_MAX): Likewise.
67525         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67526         == 0.
67527         [ISO11] (max_align_t): Require type.
67528         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67530         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67531         from $CFLAGS, without defining away __attribute__ calls.
67532         (checknamespace): Use $CFLAGS_namespace.
67534         * conform/conformtest.pl (@keywords): Only include C99 keywords
67535         for standards based on C99 or C11.
67537         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67538         Disable tests.
67539         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67540         UNIX98]: Likewise.
67542         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67543         usability of symbols in #if.
67545         * conform/conformtest.pl: If macro or constant types start
67546         "promoted:", expect the symbol to be of the following type
67547         promoted by the integer promotions.
67549         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67550         in one place.  Also handle "macro-constant".
67552         * conform/conformtest.pl: Only accept expected macro values with
67553         "==".  Parse all "macro" lines in one place.
67554         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67556         * conform/conformtest.pl: Handle braced types on "constant" lines
67557         instead of handling "typed-constant".
67558         * conform/data/signal.h-data: Use "constant" instead of
67559         "typed-constant".
67561         * conform/conformtest.pl: Handle "optional-" at start of lines in
67562         one place rather than duplicating several cases.  Handle each
67563         format of "macro" line with initial "optional-".
67565         * conform/conformtest.pl: Only accept expected constant or
67566         optional-constant values with "==".  Parse all "constant" lines in
67567         one place.  Parse all "optional-constant" lines in one place.
67568         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67569         * conform/data/fmtmsg.h-data: Likewise.
67570         * conform/data/netinet/in.h-data: Likewise.
67571         * conform/data/tar.h-data: Likewise.
67572         * conform/data/limits.h-data: Use "==" form on "constant" and
67573         "optional-constant" lines.
67575         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67576         Use -std=c99 for XOPEN2K.
67577         (@knownproblems): Remove.
67578         (newtoken): Don't check %isknown.
67580         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67581         Do not expect macro.
67582         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67583         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67584         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67585         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67586         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67587         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67588         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67589         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67590         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67591         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67592         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67593         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67594         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67595         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67596         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67597         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67598         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67599         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67600         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67601         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67602         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67603         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67604         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67605         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67606         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67607         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67608         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67609         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67610         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67611         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67612         [XPG3] (acosh): Likewise.
67613         [XPG3] (asinh): Likewise.
67614         [XPG3] (atanh): Likewise.
67615         [XPG3] (cbrt): Likewise.
67616         [XPG3] (expm1): Likewise.
67617         [XPG3] (ilogb): Likewise.
67618         [XPG3] (log1p): Likewise.
67619         [XPG3] (logb): Likewise.
67620         [XPG3] (nextafter): Likewise.
67621         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67622         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67623         [XPG3] (remainder): Likewise.
67624         [XPG3] (rint): Likewise.
67625         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67626         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67627         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67628         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67629         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67630         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67631         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67632         [UNIX98 || XOPEN2K] (scalb): Expect.
67633         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67634         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67635         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67636         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67637         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67638         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67639         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67640         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67641         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67642         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67643         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67644         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67645         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67646         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67647         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67648         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67649         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67650         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67651         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67652         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67653         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67654         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67655         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67656         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67657         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67658         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67659         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67660         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67661         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67662         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67663         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67664         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67665         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67666         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67667         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67668         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67669         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67670         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67671         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67672         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67673         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67674         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67675         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67676         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67677         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67678         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67679         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67680         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67681         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67682         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67683         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67684         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67685         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67686         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67687         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67688         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67689         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67690         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67691         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67692         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67693         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67694         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67695         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67696         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67697         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67698         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67699         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67700         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67701         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67702         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67703         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67704         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67705         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67706         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67707         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67708         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67709         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67710         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67711         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67712         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67713         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67714         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67715         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67716         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67717         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67718         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67719         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67720         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67721         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67722         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67723         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67724         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67725         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67726         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67727         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67728         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67729         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67730         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67731         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67732         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67733         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67734         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67735         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67736         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67737         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67738         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67739         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67740         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67741         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67742         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67743         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67744         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67745         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67746         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67747         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67748         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67749         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67750         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67751         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67752         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67753         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67754         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67755         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67756         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67757         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67758         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67759         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67760         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67761         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67762         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67763         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67764         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67765         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67766         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67767         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67768         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67769         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67771         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67772         _XOPEN_SOURCE_EXTENDED for XPG4.
67774         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67776         * Makeconfig (localtime): Remove variable.
67777         (inst_localtime-file): Likewise.
67779 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67782         Update.
67783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67784         Update.
67785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67786         Update.
67787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67788         Update.
67789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67790         Update.
67791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67792         Update.
67793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67794         Update.
67795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67796         Update.
67797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67798         Update.
67800 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67802         [BZ #2550]
67803         [BZ #2570]
67804         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67805         comparisons to determine direction to adjust input.
67806         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67807         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67808         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67809         Likewise.
67810         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67811         Likewise.
67812         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67813         Likewise.
67814         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67815         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67816         Likewise.
67817         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67818         Likewise.
67819         * math/libm-test.inc (nexttoward_test): Add more tests.
67821 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67823         [BZ #14040]
67824         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67825         in version GLIBC_2.1, not GLIBC_2.0.
67826         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67827         Likewise.
67829 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67831         [BZ #13942]
67832         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67833         (1 - x) * (1 + x).
67834         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67835         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67836         * math/libm-test.inc (acos_test): Add more tests.
67837         (asin_test): Likewise.
67838         * sysdeps/i386/fpu/libm-test-ulps: Update.
67839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67841         [BZ #14034]
67842         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67843         of square root.
67844         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67845         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67846         * math/libm-test.inc (acos_test_tonearest): New function.
67847         (acos_test_towardzero): Likewise.
67848         (acos_test_downward): Likewise.
67849         (acos_test_upward): Likewise.
67850         (asin_test_tonearest): Likewise.
67851         (asin_test_towardzero): Likewise.
67852         (asin_test_downward): Likewise.
67853         (asin_test_upward): Likewise.
67854         (main): Call the new functions.
67855         * sysdeps/i386/fpu/libm-test-ulps: Update.
67856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67858         [BZ #13884]
67859         [BZ #13924]
67860         * math/e_exp10.c: Include <float.h>.
67861         (__ieee754_exp10): Handle underflow here rather than multiplying
67862         large negative argument by M_LN10.
67863         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67864         of __ieee754_expf.
67865         * math/e_exp10l.c: Include <float.h>.
67866         (__ieee754_exp10l): Handle underflow here rather than multiplying
67867         large negative argument by M_LN10l.
67868         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67869         spurious overflow exception on underflow.
67871 2012-04-29  Marek Polacek  <polacek@redhat.com>
67873         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67874         (__fortify_function): New macro.
67875         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67876         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67877         __extern_always_inline.
67878         * libio/bits/stdio2.h: Likewise.
67879         * libio/bits/stdio.h: Likewise.
67880         * string/string.h: Likewise.
67881         * string/bits/string3.h: Likewise.
67882         * include/stdio.h: Likewise.
67883         * stdlib/bits/stdlib.h: Likewise.
67884         * stdlib/stdlib.h: Likewise.
67885         * rt/bits/mqueue2.h: Likewise.
67886         * rt/mqueue.h: Likewise.
67887         * posix/bits/unistd.h: Likewise.
67888         * posix/unistd.h: Likewise.
67889         * io/bits/poll2.h: Likewise.
67890         * io/bits/fcntl2.h: Likewise.
67891         * io/fcntl.h: Likewise.
67892         * io/sys/poll.h: Likewise.
67893         * misc/bits/syslog.h: Likewise.
67894         * misc/bits/syslog-ldbl.h: Likewise.
67895         * misc/sys/syslog.h: Likewise.
67896         * socket/bits/socket2.h: Likewise.
67897         * socket/sys/socket.h: Likewise.
67898         * debug/tst-chk1.c: Likewise.
67899         * wcsmbs/bits/wchar2.h: Likewise.
67900         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67901         * wcsmbs/wchar.h: Likewise.
67903 2012-04-29  Andreas Jaeger  <aj@suse.de>
67905         * Makerules (tests): Remove enable-check-abi protection.
67906         (check-abi-warn): Remove.
67907         (check-abi-%): Remove check-abi-warn usage.
67909         * configure.in: Remove check-abi configure option.
67910         * configure: Regenerated.
67911         * config.make.in (enable-check-abi): Remove.
67913 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67915         [BZ #14033]
67916         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67917         double functions to double *_finite functions.
67919         [BZ #13941]
67920         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67921         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67922         LDBL_MIN_EXP.
67923         * stdio-common/Makefile (tests): Add tst-sprintf3.
67924         * stdio-common/tst-sprintf3.c: New file.
67926         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67927         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67929 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67931         * conform/conformtest.pl: Remove duplicate typed-constant
67932         handling.
67934 2012-04-28  David S. Miller  <davem@davemloft.net>
67936         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67937         (check-abi-%): Remove AWK script prerequisite and explicit
67938         abilist directory.
67939         (check-abi): Rewrite to just diff the symlist with the abilist.
67940         (config-tls, config-abi-config): Delete, no longer used.
67941         (update-abi-%): Remove AWK script and explicit abilist directory.
67942         (update-abi): Rewrite to simply compare and conditionally copy the
67943         symlist and the sysdep abilist file.  Remove update-abi-config
67944         checks.
67945         * abilist/ld.abilist: Remove.
67946         * abilist/libBrokenLocale.abilist: Remove.
67947         * abilist/libanl.abilist: Remove.
67948         * abilist/libcrypt.abilist: Remove.
67949         * abilist/libdl.abilist: Remove.
67950         * abilist/librt.abilist: Remove.
67951         * abilist/libthread_db.abilist: Remove.
67952         * abilist/libutil.abilist: Remove.
67953         * scripts/extract-abilist.awk: Remove.
67954         * scripts/merge-abilist.awk: Remove.
67955         * sysdeps/generic/libcidn.abilist: New file.
67956         * sysdeps/generic/libnss_compat.abilist: New file.
67957         * sysdeps/generic/libnss_db.abilist: New file.
67958         * sysdeps/generic/libnss_dns.abilist: New file.
67959         * sysdeps/generic/libnss_files.abilist: New file.
67960         * sysdeps/generic/libnss_hesiod.abilist: New file.
67961         * sysdeps/generic/libnss_nis.abilist: New file.
67962         * sysdeps/generic/libnss_nisplus.abilist: New file.
67963         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67964         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67965         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67966         file.
67967         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67968         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67969         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67970         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67971         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67972         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67973         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67974         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67975         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67976         file.
67977         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67978         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67979         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67980         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67981         file.
67982         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67983         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67984         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67985         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67986         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67987         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67988         file.
67989         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67990         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67991         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67992         file.
67993         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67994         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67995         New file.
67996         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67997         New file.
67998         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67999         New file.
68000         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68001         New file.
68002         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68003         New file.
68004         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68005         New file.
68006         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68007         New file.
68008         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68009         New file.
68010         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68011         New file.
68012         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68013         New file.
68014         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68015         New file.
68016         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68017         New file.
68018         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68019         New file.
68020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68021         file.
68022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68023         New file.
68024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68025         New file.
68026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68027         file.
68028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68029         New file.
68030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68031         New file.
68032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68033         file.
68034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68035         New file.
68036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68037         New file.
68038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68039         New file.
68040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68041         New file.
68042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68043         New file.
68044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68045         New file.
68046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68048         file.
68049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68050         New file.
68051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68052         file.
68053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68054         file.
68055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68056         file.
68057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68058         file.
68059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68060         file.
68061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68062         New file.
68063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68064         file.
68065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68066         file.
68067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68068         New file.
68069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68070         file.
68071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68073         file.
68074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68075         New file.
68076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68077         file.
68078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68079         file.
68080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68081         file.
68082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68083         file.
68084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68085         file.
68086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68087         New file.
68088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68089         file.
68090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68091         file.
68092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68093         New file.
68094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68095         file.
68096         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68097         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68098         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68099         file.
68100         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68101         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68102         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68103         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68104         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68105         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68106         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68107         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68108         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68109         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68110         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68112         file.
68113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68114         New file.
68115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68116         file.
68117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68118         file.
68119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68120         file.
68121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68122         file.
68123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68124         file.
68125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68126         New file.
68127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68128         New file.
68129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68130         file.
68131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68132         New file.
68133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68134         file.
68135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68137         file.
68138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68139         New file.
68140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68141         file.
68142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68143         file.
68144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68145         file.
68146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68147         file.
68148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68149         file.
68150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68151         New file.
68152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68153         New file.
68154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68155         file.
68156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68157         New file.
68158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68159         file.
68161 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68163         * conform/conformtest.pl: Fix typo in handling typed-constant from
68164         allow-header.
68166 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68168         * README: Cut down references to pre-2.6 Linux kernels and
68169         Linuxthreads.  Update lists of configurations in libc and ports
68170         and sort alphabetically.  Say "or newer" with Linux kernel version
68171         requirements.
68173         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68175 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68177         [BZ #887]
68178         * math/libm-test.inc (logb_test_downward): New test to expose
68179         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68180         rounding mode.
68182 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68184         [BZ #14027]
68185         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68186         to be done.
68187         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68188         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68190 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68192         * sysdeps/unix/i386/brk.S: Remove file.
68193         * sysdeps/unix/i386/dl-brk.S: Likewise.
68194         * sysdeps/unix/i386/pipe.S: Likewise.
68195         * sysdeps/unix/i386/sigreturn.S: Likewise.
68196         * sysdeps/unix/i386/syscall.S: Likewise.
68197         * sysdeps/unix/i386/vfork.S: Likewise.
68198         * sysdeps/unix/i386/wait.S: Likewise.
68200         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68201         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68203         * configure.in (arm*-none*): Do not allow without
68204         --enable-hacker-mode.
68205         (netbsd*): Remove case setting base_os.
68206         (386bsd*): Likewise.
68207         (freebsd*): Likewise.
68208         (bsdi*): Likewise.
68209         (osf*): Likewise.
68210         (sunos*): Likewise.
68211         (ultrix*): Likewise.
68212         (newsos*): Likewise.
68213         (dynix*): Likewise.
68214         (*bsd*): Likewise.
68215         (sysv*): Likewise.
68216         (isc*): Likewise.
68217         (esix*): Likewise.
68218         (sco*): Likewise.
68219         (minix*): Likewise.
68220         (irix4*): Likewise.
68221         (irix6*): Likewise.
68222         (solaris[2-9]*): Likewise.
68223         (none): Likewise.
68224         * configure: Regenerated.
68226 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68228         [BZ #11521]
68229         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68230         overflow or cancellation in calculating denominator.
68231         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68232         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68233         down expression to avoid unexpected rounding in newer GCCs.
68234         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68236 2012-04-26  David S. Miller  <davem@davemloft.net>
68238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68239         long-double compat symbols.
68240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68254 2012-04-25  David S. Miller  <davem@davemloft.net>
68256         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68257         HWCAP_* values only after the memory barriers have been defined.
68258         (atomic_full_barrier): Define.
68259         (atomic_read_barrier): Define.
68260         (atomic_write_barrier): Define.
68262 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68264         * shlib-versions: Add libgcc_s version information.
68265         * sysdeps/generic/libgcc_s.h: Remove.
68266         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68267         libgcc_s.h.
68268         * sysdeps/gnu/unwind-resume.c: Likewise.
68269         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68271 2012-04-25  David S. Miller  <davem@davemloft.net>
68273         * sysdeps/unix/sparc/brk.S: Delete.
68274         * sysdeps/unix/sparc/dl-brk.S: Delete.
68275         * sysdeps/unix/sparc/pipe.S: Delete.
68276         * sysdeps/unix/sparc/sysdep.S: Delete.
68277         * sysdeps/unix/sparc/sysdep.h: Delete.
68278         * sysdeps/unix/sparc/vfork.S: Delete.
68279         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68280         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68281         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68282         (ret_ERRVAL, r0, r1, MOVE): Define.
68283         (JUMPTARGET): Remove.
68284         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68285         sysdeps/unix/sparc/sysdep.h
68286         (ENTRY, END): Remove.
68287         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68289 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68291         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68292         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68293         -DIS_IN_build.
68295         * timezone/README: Update upstream location and email address for
68296         tzcode and tzdata.
68297         * timezone/zdump.c: Update from tzcode 2012b.
68298         * timezone/zic.c: Likewise.
68300         * configure.in (libc_cv_as_needed): Remove test.
68301         * configure: Regenerated.
68302         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68303         conditional definition.
68304         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68305         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68306         * config.make.in (have-as-needed): Remove variable.
68308 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68309             Paul Pluzhnikov  <ppluzhnikov@google.com>
68311         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68312         strings correctly.
68314 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68316         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68317         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68318         * sysdeps/sh/strlen.S: Likewise.
68320 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68322         * sysdeps/unix/fork.S: Remove file.
68323         * sysdeps/unix/i386/fork.S: Likewise.
68324         * sysdeps/unix/sparc/fork.S: Likewise.
68326         * sysdeps/unix/system.c: Remove file.
68327         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68329         * sysdeps/unix/getegid.S: Remove file.
68330         * sysdeps/unix/geteuid.S: Likewise.
68332 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68334         * scripts/check-localplt.awk: New file.
68335         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68336         of diff.
68337         * scripts/data/localplt-generic.data: Add a comment.
68339         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68340         NODE when __dir_mkfile failed.
68341         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68342         Reported by Ludovic Courtès <ludo@gnu.org>.
68344 2012-04-24  Andreas Jaeger  <aj@suse.de>
68346         * Makerules (common-clean): Also remove gen-as-const-headers
68347         files.
68349 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68351         * Makerules (native-compile): Do not change working directory for
68352         build.  Use $(OUTPUT_OPTION) in command.
68353         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68355 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68357         [BZ #13886]
68358         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68359         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68360         * math/libm-test.inc (floor_test): Add more tests.
68361         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68363 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68365         * sysdeps/unix/getdents.c: Remove file.
68366         * sysdeps/unix/sysv/getdents.c: Likewise.
68367         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68369         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68370         sysdeps/unix/mman/syscalls.list.
68371         (mmap): Likewise.
68372         (mprotect): Likewise.
68373         (msync): Likewise.
68374         (munmap): Likewise.
68375         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68376         * sysdeps/unix/mman/syscalls.list: Remove.
68377         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68379         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68380         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68381         * configure: Regenerated.
68382         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68383         $(libgcc_s_suffix).
68384         * config.make.in (libgcc_s_suffix): Remove variable.
68386 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68388         * sysdeps/unix/sysv/gethostname.c: Move to ...
68389         * sysdeps/posix/gethostname.c: ... here.
68391         * sysdeps/unix/execve.S: Remove file.
68393         * sysdeps/unix/_exit.S: Remove file.
68395 2012-04-23  Andreas Jaeger  <aj@suse.de>
68397         [BZ #13739]
68398         * manual/Makefile: Remove make dist support, there's no
68399         need for a stand-alone documentation tar ball.
68400         (TEXI2DVI): Define always, it's not in Makeconfig.
68401         (dist): Removed.
68402         (tar-it): Removed.
68403         (edition): Removed.
68404         (glibc-doc-$(edition).tar): Removed
68405         (%.Z): Removed.
68406         (%.gz): Removed.
68407         (%.uu): Removed.
68408         (ETAGS): Remove, it's in Makeconfig.
68409         (move-if-change): Remove, it's in Makeconfig.
68411 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68413         [BZ #13970]
68414         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68415         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68416         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68417         (strtod_l, strtof_l, strtold_l): Remove __wur.
68418         It is not necessarily an error to ignore strtol's return value.
68419         One can reliably look at the stored endptr to decide whether
68420         the number had valid syntax.
68422 2012-04-21  Andreas Jaeger  <aj@suse.de>
68424         [BZ #13739]
68425         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68427 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68429         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68430         * sysdeps/unix/sysv/Versions: Remove file.
68432 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68434         [BZ #13927]
68435         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68437 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68439         [BZ #7064]
68440         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68441         version from __vm86.
68443 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68445         * sysdeps/unix/common/lxstat.c: Remove file.
68446         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68448         * sysdeps/unix/sysv/Makefile: Remove file.
68450         * sysdeps/unix/sysv/direct.h: Remove file.
68452         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68453         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68454         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68455         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68456         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68457         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68458         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68460         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68462         * sysdeps/unix/xmknod.c: Remove file.
68463         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68465         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68467         * sysdeps/unix/sysv/i386/time.S: Remove file.
68469         * sysdeps/unix/fxstat.c: Remove file.
68470         * sysdeps/unix/xstat.c: Likewise.
68471         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68473         * sysdeps/unix/sysv/sigaction.c: Remove file.
68475         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68476         (sysdep_headers): Remove variable.
68477         [termio.h not in sysdep_headers] (generated): Likewise.
68478         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68479         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68480         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68481         * sysdeps/unix/sysv/tcflow.c: Likewise.
68482         * sysdeps/unix/sysv/tcflush.c: Likewise.
68483         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68484         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68485         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68486         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68487         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68489         * sysdeps/unix/siglist.c: Remove file.
68491         * sysdeps/unix/getppid.S: Remove file.
68493         * sysdeps/unix/mkdir.c: Remove file.
68494         * sysdeps/unix/rmdir.c: Likewise.
68496 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68498         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68499         ERR_MAX value.
68500         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68501         errlist-compat value.
68503 2012-04-18  David S. Miller  <davem@davemloft.net>
68505         * sysdeps/generic/memcopy.h (reg_char): Delete.
68506         * debug/strcat_chk.c: Use char, not reg_char.
68507         * debug/strcpy_chk.c: Likewise.
68508         * debug/strncat_chk.c: Likewise.
68509         * debug/strncpy_chk.c: Likewise.
68510         * string/memchr.c: Likewise.
68511         * string/memrchr.c: Likewise.
68512         * string/rawmemchr.c: Likewise.
68513         * string/strcat.c: Likewise.
68514         * string/strchr.c: Likewise.
68515         * string/strchrnul.c: Likewise.
68516         * string/strcmp.c: Likewise.
68517         * string/strcpy.c: Likewise.
68518         * string/strncat.c: Likewise.
68519         * string/strncmp.c: Likewise.
68520         * string/strncpy.c: Likewise.
68522 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68524         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68525         __builtin_memcopy is called when src and dest ranges are known to not
68526         overlap.
68528 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68530         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68531         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68532         fwd_align_merge macro call.
68533         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68534         bwd_align_merge macro call.
68535         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68537 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68539         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68540         bwd_align_merge macros.
68541         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68542         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68543         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68545 2012-04-18  David S. Miller  <davem@davemloft.net>
68547         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68549 2012-04-18  Andreas Jaeger  <aj@suse.de>
68551         [BZ# 6794]
68552         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68553         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68554         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68556         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68557         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68558         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68560         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68561         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68562         Adjust for changed ldbl-128 files.
68564         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68565         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68566         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68568 2012-04-17  David S. Miller  <davem@davemloft.net>
68570         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68572 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68574         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68575         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68576         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68577         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68578         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68579         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68581 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68583         [BZ #6794]
68584         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68585         * math/libm-test.inc: Add ilogb errno and exception tests.
68586         * math/w_ilogb.c: New file: ilogb wrapper.
68587         * math/w_ilogbf.c: New file: ilogbf wrapper.
68588         * math/w_ilogbl.c: New file: ilogbl wrapper.
68589         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68590         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68591         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68592         exception being thrown with 0.0 as argument.
68593         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68594         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68595         exception being thrown with 0.0 as argument.
68596         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68597         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68598         exception being thrown with 0.0 as argument.
68599         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68600         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68601         exception being thrown with 0.0 as argument.
68602         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68603         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68604         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68605         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68606         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68607         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68608         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68609         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68610         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68612 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68614         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68615         with altivec.
68617 2012-04-16  Marek Polacek  <polacek@redhat.com>
68619         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68621 2012-04-16  Marek Polacek  <polacek@redhat.com>
68623         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68624         operands of fdivp instruction.
68626 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68628         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68629         * elf/tst-auditmod3b.c: Likewise.
68630         * elf/tst-auditmod4b.c: Likewise.
68631         * elf/tst-auditmod5b.c: Likewise.
68632         * elf/tst-auditmod6b.c: Likewise.
68633         * elf/tst-auditmod6c.c: Likewise.
68634         * elf/tst-auditmod7b.c: Likewise.
68635         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68636         * sysdeps/x86_64/preconfigure.in: Likewise.
68637         * sysdeps/x86_64/preconfigure: Regenerated.
68639 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68641         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68642         __ILP32__.
68644 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68646         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68647         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68649 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68651         [BZ #13973]
68652         * locale/iso-639.def: Fix gl language name. Spotted by
68653         Yaron Shahrabani.
68655 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68657         [BZ #2074]
68658         * libio/libio.h (__io_write_fn): Update comment.
68660 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68662         [BZ #2074]
68663         * stdio.texi (Hook Functions): The user provided writer function
68664         is not allowed to return -1.
68666 2012-04-11  David S. Miller  <davem@davemloft.net>
68668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68670 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68672         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68673         Add a leading slash to rtkaio.
68675 2012-04-11  Jim Meyering  <meyering@redhat.com>
68677         [BZ #11959]
68678         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68679         It is not necessarily an error to ignore fwrite's return
68680         value.  One can reliably use ferror to test for errors after
68681         the fact.
68683 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68685         * bits/types.h (__snseconds_t): New type.
68686         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68688         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68689         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68690         (__SNSECONDS_T_TYPE): Likewise.
68691         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68692         (__SNSECONDS_T_TYPE): Likewise.
68693         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68694         (__SNSECONDS_T_TYPE): Likewise.
68696 2012-04-10  Andreas Jaeger  <aj@suse.de>
68698         [BZ #2636]
68699         * manual/time.texi (Processor Time): Return type of times is
68700         elapsed real time since an arbitrary point in the past.
68701         (CPU Time): Move CLK_TCK from here...
68702         (Processor Time): ...to here.  Correct description.
68703         * manual/conf.texi (Constants for Sysconf): Correct description of
68704         _SC_CLK_TCK.
68706 2012-04-10  David S. Miller  <davem@davemloft.net>
68708         [BZ #13967]
68709         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68710         where the is a gap between DT_REL(A) and DT_JMPREL.
68712 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68714         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68715         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68716         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68718 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68720         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68721         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68722         (dl_main): Handle --inhibit-cache.
68723         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68724         _dl_inhibit_cache.
68725         * elf/dl-load.c (_dl_map_object): Use it.
68726         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68728 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68730         [BZ #13872]
68731         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68732         (__ieee754_powl): Saturate large exponents rather than testing for
68733         overflow of y*log2(x).
68734         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68735         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68736         exceptions.
68738         [BZ #11521]
68739         * math/s_ctan.c: Include <float.h>.
68740         (__ctan): Avoid internal overflow or cancellation in calculating
68741         denominator.
68742         * math/s_ctanf.c: Likewise.
68743         * math/s_ctanl.c: Likewise.
68744         * math/s_ctanh.c: Likewise.
68745         * math/s_ctanhf.c: Likewise.
68746         * math/s_ctanhl.c: Likewise.
68747         * math/libm-test.inc (ctan_test): Add more tests.
68748         (ctanh_test): Likewise.
68749         * sysdeps/i386/fpu/libm-test-ulps: Update.
68750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68752 2012-04-09  Andreas Jaeger  <aj@suse.de>
68754         [BZ #6894]
68755         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68756         is an optional BSD extension.
68758         [BZ #10254]
68759         * manual/stdio.texi (Opening Streams): Document additional fopen
68760         parameters.
68762 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68764         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68765         %eax without telling the compiler.
68767 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68769         [BZ # 13963]
68770         * manual/install.texi: Use sourceware.org.
68772 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68774         [BZ #13873]
68775         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68776         (__ieee754_pow): Generate overflow and underflow using huge*huge
68777         and tiny*tiny rather than just returning constant infinity or zero
68778         for large exponents.
68779         * math/libm-test.inc (pow_test): Require overflow exceptions for
68780         applicable cases of large exponents.
68782         [BZ #706]
68783         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68784         (__ieee754_pow): Use iterative multiplication algorithm only for
68785         integer exponents with absolute value below 1024.  Check for odd
68786         integer exponents when using algorithm for real exponents.
68787         * math/libm-test.inc (pow_test): Add more tests.
68788         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68790 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68792         [BZ #13705]
68793         * math/libm-test.inc (exp_test): Do not allow overflow exception
68794         on underflow test.
68796 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68798         [BZ #13705]
68799         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68800         instead of __kernel_standard_f.
68802 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68804         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68805         * sysdeps/x86_64/memset_chk.S: Likewise.
68807 2012-04-08  Andreas Jaeger  <aj@suse.de>
68809         [BZ #10153]
68810         * manual/startup.texi (Environment Access): Describe return value
68811         for putenv and setenv.
68813         [BZ #6895]
68814         * manual/filesys.texi (Directory Entries): Add description for
68815         DT_LNK.
68817         [BZ #6890]
68818         * manual/filesys.texi (Directory Entries): Clarify that it's file
68819         system not operating system in the description of DT_UNKNOWN.
68821         [BZ #6578]
68822         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68824 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68826         [BZ #6649]
68827         * manual/llio.texi (Opening and Closing Files): Add cross
68828         reference to explain mode argument.
68830 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68832         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68833         * sysdeps/x86_64/memset_chk.S: Likewise.
68835 2012-04-07  David S. Miller  <davem@davemloft.net>
68837         * elf/elf.h (R_SPARC_WDISP10): Define.
68838         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68839         R_SPARC_SIZE32.
68840         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68841         R_SPARC_SIZE64 and R_SPARC_H34.
68843 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68845         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68846         conditions and remove no longer applicable assertion.
68848 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68850         * bits/byteswap.h: Include <features.h>.
68851         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68852         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68854 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68856         * bits/byteswap.h (__bswap_16): Removed.
68857         Include <bits/byteswap-16.h> to get __bswap_16.
68858         * sysdeps/i386/bits/byteswap.h: Likewise.
68859         * sysdeps/s390/bits/byteswap.h: Likewise.
68860         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68861         * bits/byteswap-16.h: New file.
68862         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68863         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68864         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68865         * string/Makefile (headers): Add bits/byteswap-16.h.
68867 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68869         [BZ #13895]
68870         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68871         extra indirection.
68872         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68873         * nss/tst-nss-static.c: New.
68875 2012-04-06  Robert Millan  <rmh@gnu.org>
68877         [BZ #6486]
68878         * manual/llio.texi (File Position Primitive): lseek
68879         refers to WHENCE when it really means OFFSET.
68881 2012-04-06  Andreas Jaeger  <aj@suse.de>
68883         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68884         strncmp declarations.
68886         * abilist/libc.abilist: Add __poll and __ppoll.
68888 2012-04-05  David S. Miller  <davem@davemloft.net>
68890         * scripts/check-local-headers.sh: Accept a host triplet in the
68891         path matched by the exclude regexp.
68893         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68894         definition.
68895         * sysdeps/powerpc/powerpc32/dl-machine.h
68896         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68897         * sysdeps/s390/s390-32/dl-machine.h
68898         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68899         * sysdeps/sparc/sparc32/dl-machine.h
68900         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68901         * sysdeps/sparc/sparc64/dl-machine.h
68902         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68904         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68905         lazy binding.
68906         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68907         undefined symbol errors.
68909         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68910         DT_NEEDED entries.
68912 2012-04-05  Michael Matz  <matz@suse.de>
68914         [BZ #13592]
68915         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68917 2012-04-05  Andreas Jaeger  <aj@suse.de>
68919         [BZ #13908]
68920         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68921         comment.
68923 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68925         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68926         which ROUND is no valid rounding mode.
68928 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68930         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68931         read again.
68932         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68934 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68936         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68937         an exception using FPU order intentionally.
68939 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68941         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68942         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68943         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68944         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68946 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68948         [BZ #12340]
68949         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68950         EINVAL when BUFLEN is too smal.
68952 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68954         [BZ #13553]
68955         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68956         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68958 2012-04-03  Andreas Jaeger  <aj@suse.de>
68960         [BZ #13938]
68961         * manual/setjmp.texi (System V contexts): Fix sentence.
68963         [BZ #13926]
68964         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68965         New macro for this case.
68966         [!__GNUC__] (__bswap_64): New inline function for this case.
68967         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68968         * bits/byteswap.h: Likewise.
68969         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68970         ull, guard with __GLIBC_HAVE_LONG_LONG.
68972         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68973         __GLIBC_HAVE_LONG_LONG.
68975         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68976         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68978 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68980         [BZ #13691]
68981         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68982         inptr and inend, rather than using last_ch.
68984 2012-04-02  David S. Miller  <davem@davemloft.net>
68986         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68987         * stdio-common/printf-parse.h (read_int): Change return type to
68988         'int', return -1 on INT_MAX overflow.
68989         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68990         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68991         overflows INT_MAX.  Check for overflow of in-format-string precision
68992         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68993         SIZE_MAX not INT_MAX for integer overflow test.
68994         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68995         skip the construct in the format string but do not record anything.
68996         * stdio-common/bug22.c: Adjust to test both width/prevision
68997         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68998         explicitly for proper errno values.
69000 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69002         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69003         CHAR_MAX.
69004         * string/test-strcmp.c [! WIDE]: Likewise.
69005         * time/tst-mktime2.c: Likewise for INT_MAX.
69006         * string/test-string.h: #include <sys/param.h> for MIN.
69008         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69009         * sysdeps/i386/init-first.c (init): Likewise.
69010         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69011         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69012         * sysdeps/sh/init-first.c (init): Likewise.
69014 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69016         * po/ru.po: Update from translation team.
69017         * po/vi.po: Likewise.
69019 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69021         * resolv/nss_dns/dns-host.c: Merge copyright years.
69023 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69025         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69026         Optimize memcpy with prefetch if
69027         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69028         src, dst pointers have unequal 16 byte alignments.
69030 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69032         [BZ #13928]
69033         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69034         from a CNAME entry and return the minimum ttl for the query.
69035         (gaih_getanswer_slice): Likewise.
69037 2012-03-30  Jeff Law  <law@redhat.com>
69039         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69040         due to long keys.
69041         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69042         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69044         * resolv/nss_dns/dns-host.c: Update copyright year.
69046 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69048         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69049         requests to save a system call.  Fix check that all bytes are sent.
69051         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69052         comments for sendmmsg.
69054 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69056         [BZ #13691]
69057         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69058         with only 1 character between 0x0041 and 0x01b0.
69059         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69060         * wcsmbs/tst-mbsnrtowcs.c: New file.
69062 2012-03-29  David S. Miller  <davem@davemloft.net>
69064         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69065         small copies by hand.
69067 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69069         [BZ #13761]
69070         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69071         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69072         group memberships.
69074 2012-03-28  David S. Miller  <davem@davemloft.net>
69076         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69077         that branches into memcpy.
69078         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69079         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69080         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69081         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69082         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69083         bits.
69084         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69085         implementation too.
69086         * sysdeps/sparc/mempcpy.S: New file.
69088         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69089         the IFUNC routine in the libc case.
69090         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69092         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69093         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69094         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69095         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69096         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69097         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69098         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69099         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69101         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69102         loop to 256 bytes instead of 64 bytes and fix test signedness.
69104         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69105         * sysdeps/sparc/sparc32/Makefile: rather than here...
69106         * sysdeps/sparc/sparc64/Makefile: and here.
69108 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69110         * malloc/mallocbug.c: Avoid warnings about unused variables.
69112 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69114         [BZ #13760]
69115         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69116         in the right place. Discard and retry query if response is
69117         larger than input buffer size.
69119 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69121         [BZ #369]
69122         [BZ #2678]
69123         [BZ #3866]
69124         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69125         x for large integer exponent.
69126         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69127         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69128         sign of result as needed afterwards.
69129         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69130         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69131         result for underflowing pow the same as for overflow.
69132         (__kernel_standard_l): Handle powl overflow and underflow here
69133         rather than calling __kernel_standard.
69134         * math/libm-test.inc (pow_test): Add more tests.
69136         [BZ #3868]
69137         [BZ #13879]
69138         [BZ #13910]
69139         [BZ #13911]
69140         [BZ #13912]
69141         [BZ #13913]
69142         [BZ #13915]
69143         [BZ #13916]
69144         [BZ #13917]
69145         [BZ #13918]
69146         [BZ #13919]
69147         [BZ #13920]
69148         [BZ #13921]
69149         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69150         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69151         (__kernel_standard_l): New function.
69152         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69153         __kernel_standard.
69154         * math/w_acosl.c (__acosl): Likewise.
69155         * math/w_asinl.c (__asinl): Likewise.
69156         * math/w_atan2l.c (__atan2l): Likewise.
69157         * math/w_atanhl.c (__atanhl): Likewise.
69158         * math/w_coshl.c (__coshl): Likewise.
69159         * math/w_exp10l.c (__exp10l): Likewise.
69160         * math/w_exp2l.c (__exp2l): Likewise.
69161         * math/w_fmodl.c (__fmodl): Likewise.
69162         * math/w_hypotl.c (__hypotl): Likewise.
69163         * math/w_j0l.c (__j0l, __y0l): Likewise.
69164         * math/w_j1l.c (__j1l, __y1l): Likewise.
69165         * math/w_jnl.c (__jnl, __ynl): Likewise.
69166         * math/w_lgammal.c (__lgammal): Likewise.
69167         * math/w_log10l.c (__log10l): Likewise.
69168         * math/w_log2l.c (__log2l): Likewise.
69169         * math/w_logl.c (__logl): Likewise.
69170         * math/w_powl.c (__powl): Likewise.
69171         * math/w_remainderl.c (__remainderl): Likewise.
69172         * math/w_scalbl.c (sysv_scalbl): Likewise.
69173         * math/w_sinhl.c (__sinhl): Likewise.
69174         * math/w_sqrtl.c (__sqrtl): Likewise.
69175         * math/w_tgammal.c (__tgammal): Likewise.
69176         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69177         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69178         * math/libm-test.inc (acos_test): Add more tests.
69179         (acosh_test): Likewise.
69180         (asin_test): Likewise.
69181         (atanh_test): Likewise.
69182         (exp_test): Likewise.
69183         (exp10_test): Likewise.
69184         (exp2_test): Likewise.
69185         (expm1_test): Likewise.
69186         (lgamma_test): Likewise.
69187         (log_test): Likewise.
69188         (log10_test): Likewise.
69189         (log1p_test): Likewise.
69190         (log2_test): Likewise.
69191         (pow_test): Do not allow some spurious overflow exceptions.
69192         (sqrt_test): Add more tests.
69193         (tgamma_test): Likewise.
69194         (y0_test): Likewise.
69195         (y1_test): Likewise.
69196         (yn_test): Likewise.
69198 2012-03-27  Anton Blanchard  <anton@samba.org>
69200         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69201         MAP_HUGETLB.
69202         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69203         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69204         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69206 2012-03-27  David S. Miller  <davem@davemloft.net>
69208         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69210         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69211         have-as-vis3 check.
69213 2012-03-27  Andreas Jaeger  <aj@suse.de>
69215         * sysdeps/x86_64/elf/configure.in: Moved to ...
69216         * sysdeps/x86_64/configure.in: ... here.
69217         * sysdeps/x86_64/elf/start.S: Moved to ...
69218         * sysdeps/x86_64/start.S: ... here.
69219         * sysdeps/x86_64/elf/configure: Delete.
69221         * sysdeps/x86_64/configure.in: Merge contents from
69222         sysdeps/i386/configure.in (without i686 check).
69224         * sysdeps/i386/elf/Versions: Merge into ...
69225         * sysdeps/i386/Versions: ... this.
69226         * sysdeps/i386/elf/Versions: Delete file.
69227         * sysdeps/i386/elf/start.S: Moved to ...
69228         * sysdeps/i386/start.S: ...here.
69229         * sysdeps/i386/elf/configure.in: Merge into...
69230         * sysdeps/i386/configure.in: ...here.
69231         * sysdeps/i386/elf/configure.in: Delete file.
69232         * sysdeps/i386/elf/configure: Delete file.
69234         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69235         * debug/backtracesyms.c: ... here.
69236         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69237         * debug/backtracesymsfd.c: ... here.
69238         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69239         * sysdeps/generic/ifunc-sel.h: ... here.
69241         * sysdeps/unix/i386/start.c: Delete file.
69242         * sysdeps/unix/sparc/start.c: Delete file.
69243         * sysdeps/unix/start.c: Delete file.
69245         * sysdeps/sh/elf/configure.in: Moved to ...
69246         * sysdeps/sh/configure.in: ... here.
69247         * sysdeps/sh/elf/start.S: Moved to ...
69248         * sysdeps/sh/start.S: ... here.
69249         * sysdeps/sh/elf/configure: Delete file.
69251         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69252         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69253         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69254         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69255         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69256         * sysdeps/powerpc/powerpc64/start.S: here.
69257         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69258         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69259         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69260         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69261         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69263         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69264         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69265         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69266         * sysdeps/powerpc/powerpc32/start.S: ... here.
69267         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69268         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69269         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69271         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69272         * sysdeps/powerpc/ifunc-sel.h: ... here.
69273         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69274         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69276         * sysdeps/sparc/elf/configure.in: Moved to ...
69277         * sysdeps/sparc/configure.in: ... here.
69278         * sysdeps/sparc/elf/configure: Delete file.
69279         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69280         * sysdeps/sparc/sparc32/start.S: ... here.
69281         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69282         * sysdeps/sparc/sparc64/start.S: ... here.
69283         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69284         * sysdeps/sparc/sparc32/Makefile: ... this.
69285         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69286         * sysdeps/sparc/sparc64/Makefile: ... this.
69288         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69289         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69290         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69291         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69292         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69293         * sysdeps/s390/s390-32/setjmp.S: ... here.
69294         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69295         * sysdeps/s390/s390-32/configure.in: ... here.
69296         * sysdeps/s390/s390-32/elf/configure: Delete file.
69297         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69298         * sysdeps/s390/s390-32/start.S: ... here.
69300         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69301         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69302         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69303         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69304         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69305         * sysdeps/s390/s390-64/setjmp.S: ... here.
69306         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69307         * sysdeps/s390/s390-64/configure.in: ... here
69308         * sysdeps/s390/s390-64/elf/configure: Delete file.
69309         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69310         * sysdeps/s390/s390-64/start.S: ... here.
69311         * sysdeps/s390/s390-64/elf/configure: Delete.
69313         * configure.in: Remove support for elf directories in sysdeps.
69315         * configure: Regenerated.
69316         * sysdeps/i386/configure: Regenerated.
69317         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69318         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69319         * sysdeps/s390/s390-32/configure: Regenerated.
69320         * sysdeps/s390/s390-64/configure: Regenerated.
69321         * sysdeps/sh/configure: Regenerated.
69322         * sysdeps/sparc/configure: Regenerated.
69323         * sysdeps/x86_64/configure: Regenerated.
69325 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69329         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69330         denormal result into account.
69332 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69334         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69335         Reported by Allan McRae <allan@archlinux.org>.
69337 2012-03-23  Jeff Law  <law@redhat.com>
69339         * nss/getnssent.c (__nss_getent): Fix typo.
69341 2012-03-23  David S. Miller  <davem@davemloft.net>
69343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69345 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69347         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69348         to pad to uint64_t for each field.
69349         (dl_tls_index): Replace unsigned long with uint64_t.
69351 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69352         Paul Pluzhnikov  <ppluzhnikov@google.com>
69354         [BZ #6528]
69355         * grp/Makefile (otherlibs): Don't set it.
69356         * inet/Makefile (otherlibs): Likewise.
69357         * login/Makefile (otherlibs): Likewise.
69358         * nscd/Makefile (otherlibs): Likewise.
69359         * posix/Makefile (otherlibs): Likewise.
69360         * pwd/Makefile (otherlibs): Likewise.
69361         * rt/Makefile (otherlibs): Likewise.
69362         * sunrpc/Makefile (otherlibs): Likewise.
69363         * nss/Makefile (otherlibs): Likewise.
69364         Add libnss_files to routines and static-only-routines.
69365         ($(objpfx)getent): Remove rule.
69366         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69367         static-only-routines.
69369 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69371         [BZ #13892]
69372         * math/s_cexp.c: Include <float.h>.
69373         (__cexp): Handle exp result overflowing not necessarily
69374         overflowing both real and imaginary parts of result.
69375         * math/s_cexpf.c: Likewise.
69376         * math/s_cexpl.c: Likewise.
69377         * math/libm-test.inc (cexp_test): Add more tests.
69378         * sysdeps/i386/fpu/libm-test-ulps: Update.
69379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69381 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69383         * include/link.h (ELFW): New macro.
69384         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69385         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69387 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69389         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69390         with uint64_t.
69392 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69394         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69395         declaration.
69396         (struct La_x32_retval): Likewise.
69398 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69400         * sysdeps/x86_64/preconfigure.in: New file.
69401         * sysdeps/x86_64/preconfigure: New generated file.
69403 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69405         [BZ #13824]
69406         * math/e_exp2l.c: Include <float.h>.
69407         (__ieee754_exp2l): Handle overflow and underflow cases
69408         separately.  Only pass fractional part of argument to
69409         __ieee754_expl.
69410         * math/libm-test.inc (exp2_test): Add more tests.
69412         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69413         negating x to take absolute value.
69414         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69415         Likewise.
69416         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69417         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69418         Likewise.
69419         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69420         computing low part if x was negated.
69421         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69423 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69425         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69426         la_x32_gnu_pltexit.
69427         (pltexit): Cast int_retval to ptrdiff_t.
69428         * elf/tst-auditmod3b.c: Likewise.
69429         * elf/tst-auditmod4b.c: Likewise.
69430         * elf/tst-auditmod5b.c: Likewise.
69431         * elf/tst-auditmod6b.c: Likewise.
69432         * elf/tst-auditmod6c.c: Likewise.
69433         * elf/tst-auditmod7b.c: Likewise.
69435         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69436         and x32_gnu_pltexit.
69438         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69439         __ELF_NATIVE_CLASS.
69440         (La_x32_regs): New macro.
69441         (La_x32_retval): Likewise.
69442         (la_x32_gnu_pltenter): New function prototype.
69443         (la_x32_gnu_pltexit): Likewise.
69445 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69447         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69448         exponent.
69450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69452         * configure.in (libc_cv_cc_nofma): Check for option to disable
69453         generation of FMA instructions.
69454         * configure: Regenerate.
69455         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69456         * sysdeps/ieee754/dbl-64/Makefile: New file.
69457         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69458         Remove brandred-fma4.
69459         (CFLAGS-brandred-fma4.c): Remove.
69460         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69461         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69462         define.
69463         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69464         define.
69466 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69468         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69469         LLONG_MAX != LONG_MAX.
69470         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69471         (_fitoa_word): Likewise.
69472         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69473         LLONG_MAX != LONG_MAX.
69474         * stdio-common/_itowa.h: Include <_itoa.h>.
69475         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69476         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69477         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69478         only if not defined.
69479         (_ITOA_WORD_TYPE): Likewise.
69480         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69481         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69483 2012-03-21  David S. Miller  <davem@davemloft.net>
69485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69487 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69489         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69490         of x86_64 when setting libc_cv_slibdir, libdir and
69491         libc_cv_localedir.
69492         * sysdeps/unix/sysv/linux/configure: Regenerated.
69494 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69496         * manual/lang.texi (Old Varargs): Remove section.
69497         (How Variadic): Update menu.
69498         (va_start): Do not mention varargs.h.
69500 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69501             Joseph Myers  <joseph@codesourcery.com>
69503         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69504         link test.
69505         * configure: Regenerated.
69507 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69509         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69510         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69511         conformtest.pl
69513 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69515         * NOTES: Remove.
69516         * Makefile (files-for-dist): Remove NOTES.
69517         (NOTES): Remove rule.
69518         * README: Don't refer to NOTES.
69519         * manual/creature.texi: Don't include macros.texi.
69520         * manual/intro.texi (creature.texi): Remove comment referring to
69521         NOTES.
69523         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69524         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69525         * configure: Regenerated.
69526         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69527         LIBC_TRY_CC_OPTION.
69528         (libc_cv_as_i686): Likewise.
69529         (libc_cv_cc_avx): Likewise.
69530         (libc_cv_cc_sse2avx): Likewise.
69531         (libc_cv_cc_fma4): Likewise.
69532         (libc_cv_cc_novzeroupper): Likewise.
69533         * sysdeps/i386/configure: Regenerated.
69535         [BZ #13883]
69536         * sysdeps/i386/fpu/s_cexp.S: Remove.
69537         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69538         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69539         * math/libm-test.inc (cexp_test): Add more tests.
69540         * sysdeps/i386/fpu/libm-test-ulps: Update.
69541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69543 2012-03-21  Allan McRae  <allan@archlinux.org>
69545         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69547 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69549         [BZ #13871]
69550         * math/w_exp2.c: Do not include <float.h>.
69551         (o_threshold, u_threshold): Remove.
69552         (__exp2): Calculate result before checking finiteness and calling
69553         __kernel_standard.
69554         * math/w_exp2f.c: Likewise.
69555         * math/w_exp2l.c: Likewise.
69556         * math/libm-test.inc (exp2_test): Require overflow exception for
69557         1e6 input.
69559         [BZ #3866]
69560         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69561         range of signed 64-bit integers before using fistpll.  Remove
69562         checks for whether integers fit in mantissa bits.
69563         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69564         the range of signed 32-bit integers before using fistpl.  Remove
69565         checks for whether integers fit in mantissa bits.
69566         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69567         (__ieee754_powl): Test for y outside the range of signed 64-bit
69568         integers before using fistpll.  Reduce 64-bit values to 63-bit
69569         ones as needed.
69570         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69571         divide-by-zero is raised for zero to large negative powers.
69572         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69573         (__ieee754_powl): Test for y outside the range of signed 64-bit
69574         integers before using fistpll.  Reduce 64-bit values to 63-bit
69575         ones as needed.
69576         * math/libm-test.inc (pow_test): Add more tests.
69578 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69580         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69581         <stdio-common/_itoa.h>.
69582         * debug/segfault.c: Likewise.
69583         * elf/dl-cache.c: Likewise.
69584         * elf/dl-minimal.c: Likewise.
69585         * elf/dl-misc.c: Likewise.
69586         * elf/dl-sysdep.c: Likewise.
69587         * elf/dl-version.c: Likewise.
69588         * elf/rtld.c: Likewise.
69589         * hurd/hurdsock.c: Likewise.
69590         * hurd/lookup-retry.c: Likewise.
69591         * malloc/malloc.c: Likewise.
69592         * malloc/mtrace.c: Likewise.
69593         * nscd/nscd_getgr_r.c: Likewise.
69594         * nscd/nscd_getpw_r.c: Likewise.
69595         * nscd/nscd_getserv_r.c: Likewise.
69596         * posix/getopt_init.c: Likewise.
69597         * posix/wordexp.c: Likewise.
69598         * stdio-common/_itoa.c: Likewise.
69599         * stdio-common/printf_fphex.c: Likewise.
69600         * stdio-common/vfprintf.c: Likewise.
69601         * string/_strerror.c: Likewise.
69602         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69603         * sysdeps/i386/i686/hp-timing.h: Likewise.
69604         * sysdeps/mach/_strerror.c: Likewise.
69605         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69606         * sysdeps/mach/hurd/sethostid.c: Likewise.
69607         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69608         * sysdeps/mach/xpg-strerror.c: Likewise.
69609         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69610         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69611         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69612         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69613         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69614         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69615         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69616         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69617         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69618         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69619         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69620         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69621         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69622         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69623         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69624         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69625         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69626         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69627         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69628         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69629         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69631         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69633         * stdio-common/_itoa.h: Moved to ...
69634         * sysdeps/generic/_itoa.h: Here.
69636         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69638         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69639         instead of "_itoa.h" and "_itowa.h".
69640         * stdio-common/vfprintf.: Likewise.
69642 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69644         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69645         <bits/wordsize.h>.
69646         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69647         (__signbit): Likwise.
69648         (llrintf): Likwise.
69649         (llrint): Likwise.
69651 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69653         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69654         __WORDSIZE != 64.
69656 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69658         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69659         OVERFLOW_EXCEPTION_OK.
69660         * math/libm-test.inc ("Philosophy"): Update comment about
69661         exception testing.
69662         (OVERFLOW_EXCEPTION): Define.
69663         (OVERFLOW_EXCEPTION_OK): Likewise.
69664         (INVALID_EXCEPTION_OK): Renumber.
69665         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69666         (IGNORE_ZERO_INF_SIGN): Likewise.
69667         (test_exceptions): Handle FE_OVERFLOW.
69668         (exp10_test): Expect overflow exceptions.
69669         (exp2_test): Likewise.
69670         (expm1_test): Likewise.
69671         (nextafter_test): Likewise.
69672         (pow_test): Likewise.
69673         (scalbn_test): Likewise.
69674         (scalbln_test): Likewise.
69676 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69678         * sysdeps/x86_64/bits/atomic.h
69679         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69680         64bit integer.
69681         (atomic_exchange_acq): Likewise.
69682         (__arch_exchange_and_add_body): Likewise.
69683         (__arch_add_body): Likewise.
69684         (atomic_add_negative): Likewise.
69685         (atomic_add_zero): Likewise.
69687 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69689         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69690         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69692 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69694         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69695         Check __x86_64__ instead of __WORDSIZE.
69697 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69699         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69701 2012-03-19  David S. Miller  <davem@davemloft.net>
69703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69705         * sysdeps/sparc/fpu/fenv_private.h: New file.
69706         * sysdeps/sparc/fpu/math_private.h: Use it.
69707         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69708         Remove.
69709         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69710         (libc_feholdexcept_setroundl): Remove.
69711         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69712         Remove.
69713         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69714         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69716 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69718         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69719         int64_t instead of long int.
69720         (INSERT_WORDS64): Likwise.
69722 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69724         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69725         _Unwind_GetCFA return to _Unwind_Ptr first.
69727 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69729         [BZ #13629]
69730         * math/s_clog.c: Include <float.h>.
69731         (__clog): Scale large or subnormal inputs.
69732         * math/s_clogf.c: Likewise.
69733         * math/s_clogl.c: Likewise.
69734         * math/s_clog10.c: Include <float.h>.
69735         (M_LOG10_2): Define.
69736         (__clog10): Scale large or subnormal inputs.
69737         * math/s_clog10f.c: Likewise.
69738         * math/s_clog10l.c: Likewise.
69739         * math/libm-test.inc (clog_test): Add more tests.
69740         (clog10_test): Likewise.
69741         * sysdeps/i386/fpu/libm-test-ulps: Update.
69742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69744         [BZ #11451]
69745         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69746         x and y.
69747         * math/libm-test.inc (atan2_test): Add another test.
69749         * Makerules (common-objdir-compile): Remove.
69750         * sysdeps/unix/Makefile (config-generated): Do not add
69751         $(unix-generated) to variable.
69752         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69753         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69754         Remove rule.
69755         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69756         Likewise.
69757         [generic bits/local_lim.h] (before-compile): Do not append to
69758         variable.
69759         [generic bits/local_lim.h] (common-generated): Likewise.
69760         [generic sys/param.h] (before-compile): Do not append to variable.
69761         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69762         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69763         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69764         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69765         include.
69766         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69767         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69768         [generic sys/param.h] ($(addprefix
69769         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69770         [generic sys/param.h] (common-generated): Do not append to
69771         variable.
69772         [generic sys/param.h] (sysdep_headers): Likewise.
69773         [generic bits/errno.h] (before-compile): Do not append to
69774         variable.
69775         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69776         rule.
69777         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69778         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69779         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69780         [generic bits/errno.h] (common-generated): Do not append to
69781         variable.
69782         [generic bits/ioctls.h] (before-compile): Do not append to
69783         variable.
69784         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69785         rule.
69786         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69787         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69788         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69789         rule.
69790         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69791         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69792         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69793         [generic bits/ioctls.h] (common-generated): Do not append to
69794         variable.
69795         [generic sys/syscall.h] (syscall.h): Remove variable.
69796         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69797         rule.
69798         [generic sys/syscall.h] (before-compile): Do not append to
69799         variable.
69800         [generic sys/syscall.h] (common-generated): Likewise.
69801         * sysdeps/unix/errnos-tmpl.c: Remove file.
69802         * sysdeps/unix/errnos.awk: Likewise.
69803         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69804         * sysdeps/unix/ioctls.awk: Likewise.
69805         * sysdeps/unix/mk-local_lim.c: Likewise.
69806         * sysdeps/unix/snarf-ioctls: Likewise.
69808 2012-03-19  Richard Henderson  <rth@twiddle.net>
69810         * sysdeps/i386/fpu/fenv_private.h: New file.
69811         * sysdeps/i386/fpu/math_private.h: Use it.
69812         (math_opt_barrier, math_force_eval): Remove.
69813         (libc_feholdexcept_setround_53bit): Remove.
69814         (libc_feupdateenv_53bit): Remove.
69815         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69816         (math_opt_barrier, math_force_eval): Remove.
69817         (libc_feholdexcept): Remove.
69818         (libc_feholdexcept_setround): Remove.
69819         (libc_fetestexcept, libc_fesetenv): Remove.
69820         (libc_feupdateenv_test): Remove.
69821         (libc_feupdateenv, libc_feholdsetround): Remove.
69822         (libc_feresetround): Remove.
69824         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69825         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69827         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69828         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69829         (libc_feupdateenv_testl): New.
69830         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69831         (libc_feupdateenv_testf): New.
69832         (libc_feupdateenv): Use libc_feupdateenv_test.
69833         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69834         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69836         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69837         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69838         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69839         (libc_feresetround_noex): New.
69840         (libc_feresetround_noexf): New.
69841         (libc_feresetround_noexl): New.
69842         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69843         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69844         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69845         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69846         SET_RESTORE_ROUND.
69847         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69848         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69849         (__cos): Likewise.
69850         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69851         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69852         SET_RESTORE_ROUND_NOEX.
69853         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69854         SET_RESTORE_ROUND_NOEXF.
69855         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69856         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69857         (libc_feholdsetroundf): New.
69858         (libc_feresetround, libc_feresetroundf): New.
69860         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69861         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69862         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69864         * sysdeps/generic/math_private.h: Include <fenv.h>.
69865         (default_libc_feholdexcept): New.
69866         (default_libc_feholdexcept_setround): New.
69867         (default_libc_fesetenv, default_libc_feupdateenv): New.
69868         (libc_feholdexcept): Only define if undefined.
69869         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69870         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69871         (libc_feholdexcept_setroundl): Likewise.
69872         (libc_feholdexcept_setround_53bit): Likewise.
69873         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69874         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69875         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69876         (libc_feupdateenv_53bit): Likewise.
69877         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69878         (libc_feholdexcept): Convert from macro to inline function.
69879         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69880         (libc_fesetenv, libc_feupdateenv): Likewise.
69882         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69883         not previously defined.
69884         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69885         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69886         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69887         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69888         * sysdeps/ieee754/flt-32/math_private.h: New file.
69889         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69890         math_private.h below SET_FLOAT_WORD.
69891         (__isnan, __isinf_ns, __finite): Remove.
69892         (__isnanf, __isinf_nsf, __finitef): Remove.
69894 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69898 2012-03-17  David S. Miller  <davem@davemloft.net>
69900         [BZ #6471]
69901         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69902         for 2.16.
69904 2012-03-16  David S. Miller  <davem@davemloft.net>
69906         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69907         warnings.
69909         [BZ #6471]
69910         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69911         properly.
69912         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69913         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69914         sysdep_routines when subdir is sysvipc.
69915         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69916         __getshmlba helper.
69918         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69920 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69922         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69923         [__LP64__].
69925 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69927         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69928         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69929         (__lround): Renamed to ...
69930         (__llround): This.  Replace long int with long long int.
69931         Define lround functions as aliases of llround functions.
69932         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69934 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69936         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69937         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69938         adresses to uintptr_t.  Replace "long int" and "unsigned long
69939         int" with "greg_t" on va_arg.
69941 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69943         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69944         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69946         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69947         Move e_machine check before EI_CLASS check.  Handle x32
69948         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69949         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69950         SKIP_EM_IA_64 and include
69951         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69953         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69954         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69955         (add_system_dir): New macro.
69957         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69958         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69960 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69962         [BZ #2551]
69963         [BZ #2552]
69964         [BZ #2553]
69965         [BZ #2554]
69966         [BZ #2562]
69967         [BZ #2563]
69968         [BZ #2565]
69969         [BZ #2566]
69970         [BZ #2576]
69971         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69972         (y0): Likewise.
69973         * math/w_j0f.c (j0f): Likewise.
69974         (y0f): Likewise.
69975         * math/w_j0l.c (__j0l): Likewise.
69976         (__y0l): Likewise.
69977         * math/w_j1.c (j1): Likewise.
69978         (y1): Likewise.
69979         * math/w_j1f.c (j1f): Likewise.
69980         (y1f): Likewise.
69981         * math/w_j1l.c (__j1l): Likewise.
69982         (__y1l): Likewise.
69983         * math/w_jn.c (jn): Likewise.
69984         (yn): Likewise.
69985         * math/w_jnf.c (jnf): Likewise.
69986         (ynf): Likewise.
69987         * math/w_jnl.c (__jnl): Likewise.
69988         (__ynl): Likewise.
69989         * math/libm-test.inc (j0_test): Add more tests.
69990         (j1_test): Likewise.
69991         (jn_test): Likewise.  Add trailing semicolon to existing test.
69992         (y0_test): Likewise.
69993         (y1_test): Likewise.
69994         * sysdeps/i386/fpu/libm-test-ulps: Update.
69995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69997         [BZ #13851]
69998         [BZ #13854]
69999         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70000         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70001         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70002         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70003         (__tanl): Set errno for infinite argument.
70004         * sysdeps/i386/fpu/mptan.c: Remove.
70005         * sysdeps/i386/fpu/s_tan.S: Likewise.
70006         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70007         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70008         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70009         * math/libm-test.inc (tan_test): Add more tests and enable more
70010         tests for double and long double.
70011         * sysdeps/i386/fpu/libm-test-ulps: Update.
70012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70014 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70016         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70017         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70019 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70021         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70022         * configure.in: Use it for both main tree and add-ons.
70023         * configure: Regenerated.
70025 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70027         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70029 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70031         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70032         in comment.
70034         [BZ #13851]
70035         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70036         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70037         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70038         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70039         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70040         infinite argument.
70041         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70042         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70043         != 0 for prec == 2.
70044         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70045         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70046         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70047         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70048         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70049         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70050         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70051         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70052         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70053         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70054         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70055         * math/libm-test.inc (cos_test): Add more tests and enable more
70056         tests for long double.
70057         (sin_test): Likewise.
70058         (sincos_test): Likewise.
70059         * sysdeps/i386/fpu/libm-test-ulps: Update.
70060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70062 2012-03-16  David S. Miller  <davem@davemloft.net>
70064         * sysdeps/sparc/fpu/math_private.h: New file.
70066 2012-03-15  David S. Miller  <davem@davemloft.net>
70068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70069         file.
70070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70072         file.
70073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70074         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70075         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70076         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70077         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70078         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70079         sysdep routines.
70080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70082         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70083         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70085         * sysdeps/sparc/sparc-ifunc.h: New file.
70086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70087         sparc-ifunc.h
70088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70090         Likewise.
70091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70092         Likewise.
70093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70097         Likewise.
70098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70103         Likewise.
70104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70105         Likewise.
70106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70110         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70111         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70112         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70113         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70114         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70115         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70118         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70119         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70120         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70121         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70122         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70123         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70124         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70125         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70126         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70127         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70128         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70129         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70131 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70133         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70134         scaling.
70135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70137 2012-03-15  Andreas Jaeger  <aj@suse.de>
70139         [BZ #13852]
70140         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70141         ieee754/flt-32 implementation for sin, cos and sincos.
70142         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70143         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70144         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70145         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70146         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70147         ieee754/flt-32 implementation for tan.
70149         * math/libm-test.inc (cos_test): Enable some large input tests for
70150         float as well
70151         (sin_test): Likewise.
70152         (sincos_test): Likewise.
70153         (tan_test): Add tests for large input.
70155         * sysdeps/i386/fpu/libm-test-ulps: Update.
70157 2012-03-15  Andreas Jaeger  <aj@suse.de>
70159         [BZ #13658]
70160         * math/libm-test.inc (cos_test): Add more test cases.
70161         (sin_test): Likewise.
70162         (sincos_test): Likewise.
70164 2012-03-15  Andreas Jaeger  <aj@suse.de>
70166         [BZ #13837]
70167         * math/libm-test.inc (cos_test): Add a test case for large input
70168         value.
70169         (sin_test): Likewise.
70170         (sincos_test): Likewise.
70172 2012-03-15  Andreas Jaeger  <aj@suse.de>
70173             Joseph Myers  <joseph@codesourcery.com>
70175         [BZ #13658]
70176         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70177         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70178         * sysdeps/i386/fpu/branred.c: Likewise.
70179         * sysdeps/i386/fpu/dosincos.c: Likewise.
70180         * sysdeps/i386/fpu/mpa.c: Likewise.
70181         * sysdeps/i386/fpu/s_cos.S: Likewise.
70182         * sysdeps/i386/fpu/s_sin.S: Likewise.
70183         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70184         * sysdeps/i386/fpu/sincos32.c: Likewise.
70186         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70187         Define.
70188         (libc_feupdateenv_53bit): Define.
70189         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70190         Define.
70191         (libc_feupdateenv_53bit): Define.
70193         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70194         53 bit (without extend i386 double precision).
70196         * math/libm-test.inc (sincos_test): Add tests for large input.
70197         (sin): Likewise.
70198         (cos): Likewise.
70200         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70202 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70206 2012-03-15  David S. Miller  <davem@davemloft.net>
70208         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70209         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70210         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70211         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70216         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70217         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70218         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70219         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70220         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70221         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70222         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70224         file.
70225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70227         file.
70228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70230         file.
70231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70233         file.
70234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70235         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70236         fmin/fmax sysdep routines.
70237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70239 2012-03-14  David S. Miller  <davem@davemloft.net>
70241         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70242         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70244         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70245         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70246         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70247         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70248         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70249         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70250         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70251         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70252         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70253         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70254         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70255         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70256         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70257         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70258         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70259         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70260         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70261         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70262         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70263         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70264         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70265         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70266         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70267         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70268         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70269         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70270         routines.
70271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70272         file.
70273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70275         file.
70276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70278         file.
70279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70281         file.
70282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70284         file.
70285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70287         file.
70288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70289         file.
70290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70291         file.
70292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70293         file.
70294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70295         New file.
70296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70297         file.
70298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70299         file.
70300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70302         file.
70303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70305         file.
70306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70308         file.
70309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70311         VIS3 routines.
70313         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70314         New file.
70316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70318         * sysdeps/sparc/configure.in: New file.
70319         * sysdeps/sparc/configure: Generate.
70320         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70321         * configure: Regenerate.
70322         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70323         * config.make.in (have-as-vis3): New.
70324         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70325         available use -Av9d instead of -Av9a.
70326         * sysdeps/sparc/sparc64/Makefile: Likewise.
70327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70329         New file.
70330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70331         file.
70332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70333         New file.
70334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70335         file.
70336         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70337         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70338         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70339         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70340         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70342         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70343         fzeros/fnegs to load 0x80000000 into a float register instead of
70344         using the stack.
70345         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70347 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70350         bits/syscall.h.
70351         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70352         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70353         ($(inst_includedir)/bits/syscall.h): Remove rule.
70354         ($(objpfx)bits/syscall.d): Include instead of
70355         $(objpfx)syscall-list.d.
70356         (generated): Change syscall-list.h and syscall-list.d to
70357         bits/syscall.h and bits/syscall.d.
70359 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70361         [BZ #13846]
70362         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70364 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70366         [BZ #13841]
70367         * math/s_csqrt.c: Include <float.h>.
70368         (__csqrt): Scale large or subnormal inputs.
70369         * math/s_csqrtf.c: Likewise.
70370         * math/s_csqrtl.c: Likewise.
70371         * math/libm-test.inc (csqrt_test): Add more tests.
70372         * sysdeps/i386/fpu/libm-test-ulps: Update.
70373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70375         [BZ #13840]
70376         * math/libm-test.inc (hypot_test): Add more tests.
70378 2012-03-13  David S. Miller  <davem@davemloft.net>
70380         [BZ #13840]
70381         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70382         double-precision for the calculation instead of scaling.
70384 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70386         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70387         manipulate bits before adding and subtracting TWO52[sx].
70388         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70389         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70390         Likewise.
70391         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70393 2012-03-13  David S. Miller  <davem@davemloft.net>
70395         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70396         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70397         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70398         rtld-global-offsets.h
70399         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70401         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70402         large parameters.
70404         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70406         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70407         'err' in the ifdef scope in which it is actually used.
70409         * nss/nss_db/db-init.c: Include string.h
70411 2012-03-12  David S. Miller  <davem@davemloft.net>
70413         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70414         masking out of the most significant byte of random value used.
70415         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70416         Fix coding style in previous change.
70418         * sysdeps/unix/sysv/linux/kernel-features.h
70419         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70420         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70421         expression.
70422         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70423         later.
70425 2012-03-11  David S. Miller  <davem@davemloft.net>
70427         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70428         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70429         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70430         for 'resultvar' otherwise things get truncated on 64-bit.
70432         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70433         Fix masking out of the most significant byte of random value used.
70435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70437 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70441 2012-03-09  David S. Miller  <davem@davemloft.net>
70443         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70444         variables with appropriate CPP guards.
70445         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70446         from the frame pointer, not the stack pointer.  Correct layout
70447         comments.  Fix test on resulting framesize and the management of
70448         the outregs buffer for pltexit.  Preserve floating point return
70449         values across _dl_call_pltexit call.
70450         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70451         framesize and the management of the outregs buffer for pltexit.
70452         Preserve floating point return values across _dl_call_pltexit
70453         call.
70454         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70455         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70456         (la_sparc64_gnu_pltexit): New functions.
70457         (print_exit): Fix format string for return register value.
70459 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70461         * sunrpc/Makefile (others): Add rpcgen.
70462         ($(objpfx)rpcgen): Remove special build rule and dependency on
70463         libc.
70464         * sunrpc/rpcgen.c: New file.
70466 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70468         [BZ #13673]
70469         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70470         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70471         * sysdeps/i386/crti.S: Likewise.
70472         * sysdeps/i386/crtn.S: Likewise.
70473         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70474         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70475         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70476         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70477         * sysdeps/sh/crti.S: Likewise.
70478         * sysdeps/sh/crtn.S: Likewise.
70479         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70481         [BZ #13673]
70482         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70483         with URL.
70484         * locale/programs/locfile-kw.gperf: Likewise.
70485         * locale/programs/charmap-kw.h: Regenerated.
70486         * locale/programs/locfile-kw.h: Likewise.
70488         [BZ #13673]
70489         * intl/plural.y: Replace FSF snail mail address with URL.
70490         * intl/plural.c: Regenerated.
70492 2012-03-09  Richard Henderson  <rth@twiddle.net>
70494         * include/math_private.h: Remove file.
70495         * math/math_private.h: Move file ...
70496         * sysdeps/generic/math_private.h: ... here.
70498         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70499         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70500         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70502         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70503         and <math_private.h>.
70504         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70505         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70506         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70507         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70508         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70509         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70510         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70511         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70512         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70513         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70514         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70515         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70516         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70517         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70518         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70519         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70520         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70521         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70522         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70523         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70524         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70525         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70526         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70527         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70528         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70529         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70530         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70531         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70532         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70533         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70534         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70535         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70536         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70537         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70538         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70539         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70540         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70541         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70542         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70543         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70544         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70545         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70546         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70547         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70548         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70549         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70550         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70551         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70552         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70553         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70554         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70555         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70556         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70557         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70558         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70559         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70560         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70561         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70562         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70563         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70564         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70565         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70566         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70567         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70568         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70569         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70570         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70571         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70572         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70573         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70574         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70575         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70576         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70577         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70578         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70579         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70580         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70581         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70582         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70583         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70584         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70585         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70586         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70587         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70588         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70589         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70590         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70591         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70592         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70593         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70594         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70595         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70596         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70597         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70598         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70599         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70600         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70601         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70602         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70603         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70604         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70605         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70606         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70607         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70608         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70609         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70610         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70611         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70612         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70613         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70614         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70615         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70616         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70617         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70618         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70619         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70620         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70621         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70622         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70623         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70624         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70625         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70626         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70627         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70628         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70629         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70630         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70631         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70632         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70633         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70634         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70635         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70636         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70637         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70638         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70639         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70640         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70641         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70642         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70643         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70644         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70645         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70646         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70647         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70648         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70649         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70650         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70651         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70652         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70653         * sysdeps/ieee754/k_standard.c: Likewise.
70654         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70655         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70656         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70657         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70658         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70659         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70660         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70661         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70662         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70663         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70664         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70665         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70666         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70667         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70668         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70669         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70670         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70671         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70672         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70673         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70674         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70675         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70676         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70677         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70678         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70679         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70680         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70681         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70682         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70683         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70684         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70685         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70686         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70687         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70688         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70689         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70690         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70691         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70692         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70693         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70694         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70695         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70696         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70697         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70698         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70699         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70700         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70701         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70702         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70703         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70704         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70705         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70706         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70707         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70708         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70709         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70710         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70711         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70712         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70713         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70714         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70715         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70716         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70717         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70718         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70719         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70720         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70721         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70722         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70723         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70724         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70725         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70726         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70727         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70728         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70729         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70730         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70731         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70732         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70733         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70734         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70735         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70736         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70737         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70738         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70739         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70740         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70741         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70742         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70743         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70744         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70745         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70746         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70747         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70748         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70749         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70750         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70751         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70752         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70753         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70754         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70755         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70756         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70757         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70758         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70759         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70760         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70761         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70762         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70763         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70764         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70765         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70766         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70767         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70768         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70769         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70770         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70771         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70772         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70773         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70774         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70775         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70776         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70777         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70778         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70779         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70780         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70781         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70782         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70783         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70784         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70785         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70786         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70787         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70788         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70789         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70790         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70791         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70792         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70793         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70794         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70795         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70796         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70797         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70798         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70799         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70800         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70801         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70802         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70803         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70804         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70805         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70806         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70807         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70808         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70809         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70810         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70811         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70812         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70813         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70814         * sysdeps/ieee754/s_lib_version.c: Likewise.
70815         * sysdeps/ieee754/s_matherr.c: Likewise.
70816         * sysdeps/ieee754/s_signgam.c: Likewise.
70817         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70818         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70819         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70820         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70821         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70822         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70823         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70824         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70825         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70826         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70827         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70828         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70829         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70830         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70831         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70832         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70833         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70834         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70835         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70836         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70837         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70839 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70841         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70842         * sunrpc/rpc_main.c: Likewise.
70843         * sunrpc/rpc_svcout.c: Likewise.
70845 2012-03-09  David S. Miller  <davem@davemloft.net>
70847         * include/math_private.h: New file.
70849 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70851         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70852         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70853         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70854         from <bits/socket_type.h>.
70855         (enum __socket_type): Don't define here.
70856         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70857         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70858         bits/socket_type.h.
70860         [BZ #13566]
70861         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70862         checking __USE_GNU.
70864         * Makerules ($(inst_includedir)/%.h): New rule.
70865         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70866         (install-others): Remove variable setting.
70867         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70869 2012-03-08  Richard Henderson  <rth@twiddle.net>
70871         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70872         from macro to inline function; merge with the
70873         !__LIBC_INTERNAL_MATH_INLINES version.
70874         (__ieee754_sqrtf): Likewise.
70876         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70877         to inline function.
70878         (__rintf, __floor, __floorf): Likewise.
70880         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70881         macro to inline function.
70882         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70884         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70885         not <math/math_private.h>.
70887 2012-03-08  David S. Miller  <davem@davemloft.net>
70889         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70890         copyright year.
70891         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70893 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70895         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70896         normalization.
70897         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70898         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70900 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70902         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70903         be defined individually, they must be defined as a block.  Define
70904         S for printing a string instead of hidint the different by using a
70905         macro for adding the 'l'.
70906         * stdio-common/tst-fphex-wide.c: Adjust.
70908 2012-03-07  Marek Polacek  <polacek@redhat.com>
70910         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70912 2012-03-08  Marek Polacek  <polacek@redhat.com>
70914         [BZ #13806]
70915         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70916         * stdio-common/tst-fphex.c: Define a few macros to make the
70917         test reusable.  Use them.
70918         * stdio-common/tst-fphex-wide.c: New file.
70920 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70922         [BZ #6911]
70923         * manual/macros.texi (gnusystems): New macro.
70924         (nongnusystems): Likewise.
70925         (gnulinuxhurdsystems): Likewise.
70926         (gnuhurdsystems): Likewise..
70927         (gnulinuxsystems): Likewise.
70928         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70929         variants of the GNU system, not "GNU system".
70930         * manual/conf.texi: Likewise.
70931         * manual/errno.texi: Likewise.  Update example of errno macro
70932         expansion.
70933         * manual/filesys.texi: Likewise.
70934         (getumask): Document as specific to GNU/Hurd.
70935         * manual/install.texi: Likewise.  Reword some references to
70936         GNU/Linux.
70937         * manual/intro.texi: Likewise.
70938         * manual/io.texi: Likewise.
70939         (File Name Portability): Detail which constraints are inapplicable
70940         to all GNU systems and which are only inapplicable to GNU/Hurd.
70941         * manual/job.texi: Likewise.
70942         * manual/llio.texi: Likewise.
70943         (O_NOCTTY): Document as present on GNU/Linux.
70944         * manual/maint.texi: Likewise.
70945         * manual/memory.texi: Likewise.
70946         * manual/pattern.texi: Likewise.
70947         * manual/pipe.texi: Likewise.
70948         * manual/process.texi: Likewise.
70949         * manual/resource.texi: Likewise.
70950         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70951         child on GNU/Hurd.
70952         * manual/setjmp.texi: Likewise.
70953         * manual/signal.texi: Likewise.
70954         * manual/startup.texi: Likewise.
70955         * manual/stdio.texi: Likewise.
70956         * manual/terminal.texi: Likewise.
70957         (ONLCR): Document as POSIX.
70958         (OXTABS): Document availability on GNU/Linux as XTABS.
70959         (ONOEOT): Document availability separately from other bits.
70960         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70961         * manual/time.texi: Likewise.
70962         * manual/users.texi: Likewise.
70963         * INSTALL: Regenerated.
70964         * sysdeps/gnu/errlist.c: Regenerated.
70966         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70967         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70968         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70969         puts.
70970         * configure: Regenerated.
70972 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70974         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70975         default includes instead of AC_HEADER_CHECK.
70976         * sysdeps/i386/configure: Regenerated.
70978         [BZ #10716]
70979         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70980         * math/s_cacoshf.c (__cacoshf): Likewise.
70981         * math/s_cacoshl.c (__cacoshl): Likewise.
70982         * math/s_casinh.c (__casinh): Set signs of result from argument.
70983         * math/s_casinhf.c (__casinhf): Likewise.
70984         * math/s_casinhl.c (__casinhl): Likewise.
70985         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70986         (casinh_test): Add more tests.
70987         * sysdeps/i386/fpu/libm-test-ulps: Update.
70988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70990 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70992         * po/zh_TW.po: Update from translation team.
70994         * login/Makefile (distribute): Remove variable.
70995         * catgets/Makefile: Likewise.
70996         * mach/Makefile: Likewise.
70997         * malloc/Makefile: Likewise.
70998         * misc/Makefile: Likewise.
70999         * iconv/Makefile: Likewise.
71000         * nscd/Makefile: Likewise.
71001         * hurd/Makefile: Likewise.
71002         * manual/Makefile: Likewise.
71003         * locale/Makefile: Likewise.
71004         * intl/Makefile: Likewise.
71005         * conform/Makefile: Likewise.
71006         * nss/Makefile: Likewise.
71007         * time/Makefile: Likewise.
71008         * soft-fp/Makefile: Likewise.
71009         * dirent/Makefile: Likewise.
71010         * gmon/Makefile: Likewise.
71011         * po/Makefile: Likewise.
71012         * rt/Makefile: Likewise.
71013         * socket/Makefile: Likewise.
71014         * math/Makefile: Likewise.
71015         * signal/Makefile: Likewise.
71016         * debug/Makefile: Likewise.
71017         * elf/Makefile: Likewise.
71018         * timezone/Makefile: Likewise.
71019         * stdlib/Makefile: Likewise.
71020         * iconvdata/Makefile: Likewise.
71021         * sunrpc/Makefile: Likewise.
71022         * io/Makefile: Likewise.
71023         * argp/Makefile: Likewise.
71024         * inet/Makefile: Likewise.
71025         * hesiod/Makefile: Likewise.
71026         * grp/Makefile: Likewise.
71027         * csu/Makefile: Likewise.
71028         * wctype/Makefile: Likewise.
71029         * crypt/Makefile: Likewise.
71030         * libio/Makefile: Likewise.
71031         * string/Makefile: Likewise.
71032         * nis/Makefile: Likewise.
71033         * resolv/Makefile: Likewise.
71034         * stdio-common/Makefile: Likewise.
71035         * wcsmbs/Makefile: Likewise.
71036         * dlfcn/Makefile: Likewise.
71037         * posix/Makefile: Likewise.
71039         [BZ #6959]
71040         * timezone/Makefile: Don't install timezone files, just the programs
71041         and scripts.
71043 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71045         * nss/databases.def: Add missing gshadow entry.
71047         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71049 2012-03-06  Marek Polacek  <polacek@redhat.com>
71051         [BZ #13726]
71052         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71053         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71054         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71055         * stdio-common/tst-long-dbl-fphex.c: New file.
71057 2012-03-06  David S. Miller  <davem@davemloft.net>
71059         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71060         (set_obp_int): New function.
71061         (get_obp_int): New function.
71062         (__get_clockfreq_via_dev_openprom): Likewise.
71063         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71064         Avoid unused variable warnings on 'val' and use builtin_expect.
71065         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71066         __builtin_expect.
71067         (INLINE_CLONE_SYSCALL): Likewise.
71069 2012-03-05  David S. Miller  <davem@davemloft.net>
71071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71073 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71077         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71078         only for |x| >= 40.
71079         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71081 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71083         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71084         Replace gettimeofday with __vdso_gettimeofday.
71086         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71087         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71088         __vdso_clock_gettime and __vdso_getcpu.
71090         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71091         time with __vdso_time.
71093 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71095         * manual/lang.texi (size_t): Note types to which size_t may be
71096         equivalent with the GNU C Library, but do not describe when
71097         differences between them are significant.
71099 2012-03-05  Andreas Jaeger  <aj@suse.de>
71101         * sysdeps/i386/fpu/libm-test-ulps: Update.
71103 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71105         [BZ #3976]
71106         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71107         (__ieee754_pow): Save and restore rounding mode and use
71108         round-to-nearest for main computations.
71109         * math/libm-test.inc (pow_test_tonearest): New function.
71110         (pow_test_towardzero): Likewise.
71111         (pow_test_downward): Likewise.
71112         (pow_test_upward): Likewise.
71113         (main): Call the new functions.
71114         * sysdeps/i386/fpu/libm-test-ulps: Update.
71115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71117         [BZ #3976]
71118         * math/libm-test.inc (cosh_test_tonearest): New function.
71119         (cosh_test_towardzero): Likewise.
71120         (cosh_test_downward): Likewise.
71121         (cosh_test_upward): Likewise.
71122         (sinh_test_tonearest): Likewise.
71123         (sinh_test_towardzero): Likewise.
71124         (sinh_test_downward): Likewise.
71125         (sinh_test_upward): Likewise.
71126         (main): Call the new functions.
71127         * sysdeps/i386/fpu/libm-test-ulps: Update.
71128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71130 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71132         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71133         default stack guard is set in last bytes.
71134         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71136 2012-03-05  Kees Cook  <keescook@chromium.org>
71138         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71140         [BZ #13656]
71141         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71142         possibly allocate from heap instead of stack.
71143         * stdio-common/bug-vfprintf-nargs.c: New file.
71144         * stdio-common/Makefile (tests): Add nargs overflow test.
71146 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71150 2012-03-03  Marek Polacek  <polacek@redhat.com>
71152         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71153         * math/math_private.h: Likewise.
71154         * stdlib/tst-strtod.c: Likewise.
71155         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71156         * sysdeps/x86_64/bits/atomic.h: Likewise.
71158 2012-03-02  David S. Miller  <davem@davemloft.net>
71160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71164         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71165         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71166         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71167         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71169 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71171         [BZ #13792]
71172         * manual/examples/README: New file, says the example source files
71173         can be used under GPL>=2.
71174         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71175         line containing just "*/".
71176         * manual/examples/add.c: Add copyright header (GPL>=2).
71177         * manual/examples/argp-ex1.c: Likewise.
71178         * manual/examples/argp-ex2.c: Likewise.
71179         * manual/examples/argp-ex3.c: Likewise.
71180         * manual/examples/argp-ex4.c: Likewise.
71181         * manual/examples/atexit.c: Likewise.
71182         * manual/examples/db.c: Likewise.
71183         * manual/examples/dir.c: Likewise.
71184         * manual/examples/dir2.c: Likewise.
71185         * manual/examples/execinfo.c: Likewise.
71186         * manual/examples/filecli.c: Likewise.
71187         * manual/examples/filesrv.c: Likewise.
71188         * manual/examples/fmtmsgexpl.c: Likewise.
71189         * manual/examples/genpass.c: Likewise.
71190         * manual/examples/inetcli.c: Likewise.
71191         * manual/examples/inetsrv.c: Likewise.
71192         * manual/examples/isockad.c: Likewise.
71193         * manual/examples/longopt.c: Likewise.
71194         * manual/examples/memopen.c: Likewise.
71195         * manual/examples/memstrm.c: Likewise.
71196         * manual/examples/mkfsock.c: Likewise.
71197         * manual/examples/mkisock.c: Likewise.
71198         * manual/examples/mygetpass.c: Likewise.
71199         * manual/examples/pipe.c: Likewise.
71200         * manual/examples/popen.c: Likewise.
71201         * manual/examples/rprintf.c: Likewise.
71202         * manual/examples/search.c: Likewise.
71203         * manual/examples/select.c: Likewise.
71204         * manual/examples/setjmp.c: Likewise.
71205         * manual/examples/sigh1.c: Likewise.
71206         * manual/examples/sigusr.c: Likewise.
71207         * manual/examples/stpcpy.c: Likewise.
71208         * manual/examples/strdupa.c: Likewise.
71209         * manual/examples/strftim.c: Likewise.
71210         * manual/examples/strncat.c: Likewise.
71211         * manual/examples/subopt.c: Likewise.
71212         * manual/examples/swapcontext.c: Likewise.
71213         * manual/examples/termios.c: Likewise.
71214         * manual/examples/testopt.c: Likewise.
71215         * manual/examples/testpass.c: Likewise.
71216         * manual/examples/timeval_subtract.c: Likewise.
71218         [BZ #13792]
71219         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71220         function to ...
71221         * manual/timeval_subtract.c.texi: ... here, new file.
71223 2012-03-02  David S. Miller  <davem@davemloft.net>
71225         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71227 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71229         [BZ #3976]
71230         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71231         (__sin): Save and restore rounding mode and use round-to-nearest
71232         for all computations.
71233         (__cos): Save and restore rounding mode and use round-to-nearest
71234         for all computations.
71235         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71236         <fenv.h>.
71237         (tan): Save and restore rounding mode and use round-to-nearest for
71238         all computations.
71239         * math/libm-test.inc (cos_test_tonearest): New function.
71240         (cos_test_towardzero): Likewise.
71241         (cos_test_downward): Likewise.
71242         (cos_test_upward): Likewise.
71243         (sin_test_tonearest): Likewise.
71244         (sin_test_towardzero): Likewise.
71245         (sin_test_downward): Likewise.
71246         (sin_test_upward): Likewise.
71247         (tan_test_tonearest): Likewise.
71248         (tan_test_towardzero): Likewise.
71249         (tan_test_downward): Likewise.
71250         (tan_test_upward): Likewise.
71251         (main): Call the new functions.
71252         * sysdeps/i386/fpu/libm-test-ulps: Update.
71253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71255         [BZ #10135]
71256         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71257         small n, then large n, before computing and testing k+n.
71258         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71259         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71260         Likewise.
71261         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71262         Likewise.
71263         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71264         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71265         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71266         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71267         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71268         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71269         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71270         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71271         * math/libm-test.inc (scalbn_test): Add more tests.
71272         (scalbln_test): Likewise.
71274         * manual/filesys.texi (mode_t): Describe constraints on size and
71275         signedness, not exact equivalence to a particular type.
71276         (ino_t): Likewise.
71277         (ino64_t): Likewise.
71278         (dev_t): Likewise.
71279         (nlink_t): Likewise.
71280         (blkcnt_t): Likewise.
71281         (blkcnt64_t): Likewise.
71282         * manual/llio.texi (off_t): Likewise.
71284         [BZ #3976]
71285         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71286         (__ieee754_exp): Save and restore rounding mode and use
71287         round-to-nearest for all computations.
71288         * math/libm-test.inc (exp_test_tonearest): New function.
71289         (exp_test_towardzero): Likewise.
71290         (exp_test_downward): Likewise.
71291         (exp_test_upward): Likewise.
71292         (main): Call the new functions.
71293         * sysdeps/i386/fpu/libm-test-ulps: Update.
71294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71296 2012-03-01  Chris Demetriou  <cgd@google.com>
71298         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71299         have predictable order.
71301 2012-03-01  David S. Miller  <davem@davemloft.net>
71303         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71305         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71306         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71307         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71308         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71310         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71311         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71312         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71314         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71315         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71316         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71317         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71318         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71322         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71323         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71324         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71326         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71327         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71328         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71329         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71330         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71331         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71332         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71333         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71334         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71335         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71336         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71337         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71338         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71339         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71340         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71341         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71342         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71343         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71344         * sysdeps/sparc/elf/configure: Regenerated.
71346 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71348         * configure.in (AS, LD): Require binutils 2.20 or later.
71349         * configure: Regenerated.
71350         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71351         as required minimum version.
71352         * INSTALL: Regenerated.
71354         [BZ #2541]
71355         [BZ #4108]
71356         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71357         before squaring exponent.
71358         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71359         bottom long double and 27 bits of top long double before squaring
71360         exponent.
71361         * math/libm-test.inc (erfc_test): Add more tests.
71362         * sysdeps/i386/fpu/libm-test-ulps: Update.
71363         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71366 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71368         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71369         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71370         containing bit-fields.
71371         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71372         * soft-fp/single.h (_FP_UNION_S): Likewise.
71373         * soft-fp/double.h (_FP_UNION_D): Likewise.
71375 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71377         [BZ #13786]
71378         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71379         not include ../strcmp.S.
71380         [USE_AS_STRNCASECMP_L]: Likewise.
71381         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71382         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71383         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71384         (__strncasecmp_l_ia32): Define as alias to
71385         __strncasecmp_l_nonascii.
71387         [BZ #5794]
71388         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71389         * sysdeps/i386/fpu/libm-test-ulps: Update.
71390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71392         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71395 2012-02-29  Jeff Law  <law@redhat.com>
71397         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71398         out of bounds read.
71400 2012-02-29  Marek Polacek  <polacek@redhat.com>
71402         [BZ #13706]
71403         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71404         * elf/Makefile: Add rules to run tst-unused-dep.out.
71406 2012-02-28  David S. Miller  <davem@davemloft.net>
71408         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71409         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71410         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71411         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71412         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71413         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71415 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71417         * math/libm-test.inc (llround_test): Move one test from
71418         lround_test.  Use TEST_f_L in moved test.
71419         (lround_test): Move misplaced test to llround_test.  Add testcase
71420         from bug 2561.
71422 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71424         * sysdeps/x86_64/fpu/e_expf.S: New file.
71425         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71427 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71429         [BZ #13637]
71430         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71431         of remain_len that may cause incomplete multi-byte character and
71432         false match.
71433         * posix/bug-regex33.c: New file.
71434         * posix/Makefile (tests): Add bug-regex33.
71436 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71438         * manual/macros.texi: New file.
71439         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71440         * manual/libc.texinfo: Include macros.texi.
71441         * manual/creatute.texi: Likewise.
71442         * manual/install.texi: Likewise.
71443         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71444         @glibcadj{} in references to the GNU C Library.
71445         * manual/charset.texi: Likewise.
71446         * manual/conf.texi: Likewise.
71447         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71448         when not using those macros.
71449         * manual/creature.texi: Likewise.
71450         * manual/crypt.texi: Likewise.
71451         * manual/errno.texi: Likewise.
71452         * manual/filesys.texi: Likewise.
71453         * manual/header.texi: Likewise.
71454         * manual/install.texi: Likewise.
71455         * manual/intro.texi: Likewise.
71456         * manual/io.texi: Likewise.
71457         * manual/job.texi: Likewise.
71458         * manual/lang.texi: Likewise.
71459         * manual/libc.texiinfo: Likewise.
71460         * manual/llio.texi: Likewise.
71461         * manual/locale.texi: Likewise.
71462         * manual/maint.texi: Likewise.
71463         * manual/math.texi: Likewise.
71464         * manual/memory.texi: Likewise.
71465         * manual/message.texi: Likewise.
71466         * manual/nss.texi: Likewise.
71467         * manual/pattern.texi: Likewise.
71468         * manual/process.texi: Likewise.
71469         * manual/resource.texi: Likewise.
71470         * manual/search.texi: Likewise.
71471         * manual/setjmp.texi: Likewise.
71472         * manual/signal.texi: Likewise.
71473         * manual/socket.texi: Likewise.
71474         * manual/startup.texi: Likewise.
71475         * manual/stdio.texi: Likewise.
71476         * manual/string.texi: Likewise.
71477         * manual/sysinfo.texi: Likewise.
71478         * manual/syslog.texi: Likewise.
71479         * manual/terminal.texi: Likewise.
71480         * manual/time.texi: Likewise.
71481         * manual/users.texi: Likewise.
71482         * INSTALL: Regenerated.
71483         * NOTES: Regenerated.
71484         * sysdeps/gnu/errlist.c: Regenerated.
71486 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71488         * include/dirent.h: Include <dirstream.h> before
71489         <dirent/dirent.h>.
71491 2012-02-28  David S. Miller  <davem@davemloft.net>
71493         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71494         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71495         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71496         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71498 2012-02-27  David S. Miller  <davem@davemloft.net>
71500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71502         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71503         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71506         frame pointer instead of stack pointer relative arg slot.
71507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71508         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71509         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71511 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71513         [BZ #3992]
71514         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71516 2012-02-27  David S. Miller  <davem@davemloft.net>
71518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71522         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71523         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71524         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71525         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71527 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71529         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71530         later.  Allow versions 5-9.
71531         * configure: Regenerated.
71532         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71533         required minimum version and 4.6 as recommended version.  Do not
71534         mention bugs in GCC 2.7 and 2.8.
71535         * INSTALL: Regenerated.
71537 2012-02-27  David S. Miller  <davem@davemloft.net>
71539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71543         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71544         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71545         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71546         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71548         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71549         manipulate bits before adding and subtracting TWO112[sx].
71550         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71552 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71554         [BZ #13775]
71555         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71556         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71557         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71558         being in POSIX, because they are in 1003.1-2008.
71560         * rt/tst-aio.c: Include <fcntl.h>.
71561         * rt/tst-aio7.c: Likewise.
71562         * rt/tst-aio64.c: Likewise.
71564         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71566 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71568         * manual/install.texi (--with-headers): Describe headers as
71569         interface headers, not private headers.
71570         (Specific advice for GNU/Linux systems): Describe use of headers
71571         from "make headers_install", not private headers from older
71572         kernels.
71573         * INSTALL: Regenerated.
71574         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71575         Change to 2.6.19.
71576         * sysdeps/unix/sysv/linux/configure: Regenerated.
71578         * manual/llio.texi (fclean): Remove documentation.
71580         * manual/Makefile (libc-texi-generated): New variable.  Include
71581         version.texi.
71582         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71583         $(libc-texi-generated), not duplicated list of files.
71584         (version.texi, stamp-version): New rules.
71585         (realclean): Remove $(libc-texi-generated), not individual files
71586         from that list.  Do not remove dir-add.texinfo.
71587         * manual/libc.texinfo: Comment out uses of edition numbers and
71588         references to printed manual.  Remove last-updated dates.
71589         (EDITION): Comment out.
71590         (ISBN): Likewise.
71591         (VERSION, UPDATED): Remove.
71592         (version.texi): Include.
71594 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71596         * sysdeps/posix/spawni.c: Include <signal.h>.
71597         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71598         * sysdeps/pthread/aio_fsync.c: Likewise.
71600 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71602         * conform/Makefile (tests): Run only when not cross-compiling and
71603         when fast-check is not defined.
71605         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71606         * conform/data/limits.h-data: Fixes for POSIX2008.
71607         * conform/run-conformtest.sh: Run all tests.
71608         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71609         headers.
71610         * include/bits/dlfcn.h: Likewise.
71611         * include/langinfo.h: Likewise.
71612         * include/monetary.h: Likewise.
71613         * include/sys/poll.h: Likewise.
71615         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71616         for __USE_GNU.
71617         * posix/spawn.h: Define __need_sigset_t.
71618         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71619         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71620         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71621         to get sigevent_t only.
71622         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71623         only for __USE_GNU.
71624         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71625         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71626         process_vm_writev only for __USE_GNU.
71627         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71629         * conform/Makefile: For now ignore errors from run-conformtest.
71630         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71631         POSIX to avoid namespace pollution.  Don't prepend headers.
71632         * conform/data/aio.h-data: Fixes for POSIX testing.
71633         * conform/data/fcntl.h-data: Likewise.
71634         * conform/data/glob.h-data: Likewise.
71635         * conform/data/grp.h-data: Likewise.
71636         * conform/data/pthread.h-data: Likewise.
71637         * conform/data/pwd.h-data: Likewise.
71638         * conform/data/signal.h-data: Likewise.
71639         * conform/data/spawn.h-data: Likewise.
71640         * conform/data/stdio.h-data: Likewise.
71641         * conform/data/stdlib.h-data: Likewise.
71642         * conform/data/stropts.h-data: Likewise.
71643         * conform/data/sys/mman.h-data: Likewise.
71644         * conform/data/sys/stat.h-data: Likewise.
71645         * conform/data/sys/types.h-data: Likewise.
71646         * conform/data/sys/wait.h-data: Likewise.
71647         * conform/data/time.h-data: Likewise.
71648         * conform/data/unistd.h-data: Likewise.
71649         * conform/data/utime.h-data: Likewise.
71651         * io/sys/stat.h: fchmod was always in POSIX.
71652         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71653         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71654         * rt/aio.h: Define __need_timespec before including <time.h>.
71655         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71656         struct.  Add forward declaration of pthread_attr_t and use it in
71657         sigevent.
71658         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71659         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71660         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71661         always remove CLK_TCK definition.
71663 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71665         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71667 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71669         * conform/run-conformtest.sh: New file.
71670         * conform/Makefile: Run run-conformtest for tests.
71671         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71672         support.
71674         * conform/data/uchar.h-data: New file.
71675         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71676         * conform/data/arpa/inet.h-data: Likewise.
71677         * conform/data/assert.h-data: Likewise.
71678         * conform/data/complex.h-data: Likewise.
71679         * conform/data/cpio.h-data: Likewise.
71680         * conform/data/ctype.h-data: Likewise.
71681         * conform/data/dirent.h-data: Likewise.
71682         * conform/data/dlfcn.h-data: Likewise.
71683         * conform/data/errno.h-data: Likewise.
71684         * conform/data/fcntl.h-data: Likewise.
71685         * conform/data/float.h-data: Likewise.
71686         * conform/data/fmtmsg.h-data: Likewise.
71687         * conform/data/fnmatch.h-data: Likewise.
71688         * conform/data/ftw.h-data: Likewise.
71689         * conform/data/glob.h-data: Likewise.
71690         * conform/data/grp.h-data: Likewise.
71691         * conform/data/iconv.h-data: Likewise.
71692         * conform/data/inttypes.h-data: Likewise.
71693         * conform/data/langinfo.h-data: Likewise.
71694         * conform/data/libgen.h-data: Likewise.
71695         * conform/data/limits.h-data: Likewise.
71696         * conform/data/locale.h-data: Likewise.
71697         * conform/data/math.h-data: Likewise.
71698         * conform/data/monetary.h-data: Likewise.
71699         * conform/data/mqueue.h-data: Likewise.
71700         * conform/data/ndbm.h-data: Likewise.
71701         * conform/data/net/if.h-data: Likewise.
71702         * conform/data/netdb.h-data: Likewise.
71703         * conform/data/netinet/in.h-data: Likewise.
71704         * conform/data/nl_types.h-data: Likewise.
71705         * conform/data/poll.h-data: Likewise.
71706         * conform/data/pthread.h-data: Likewise.
71707         * conform/data/pwd.h-data: Likewise.
71708         * conform/data/regex.h-data: Likewise.
71709         * conform/data/sched.h-data: Likewise.
71710         * conform/data/search.h-data: Likewise.
71711         * conform/data/semaphore.h-data: Likewise.
71712         * conform/data/setjmp.h-data: Likewise.
71713         * conform/data/signal.h-data: Likewise.
71714         * conform/data/spawn.h-data: Likewise.
71715         * conform/data/stdarg.h-data: Likewise.
71716         * conform/data/stdio.h-data: Likewise.
71717         * conform/data/stdlib.h-data: Likewise.
71718         * conform/data/string.h-data: Likewise.
71719         * conform/data/strings.h-data: Likewise.
71720         * conform/data/stropts.h-data: Likewise.
71721         * conform/data/sys/ipc.h-data: Likewise.
71722         * conform/data/sys/mman.h-data: Likewise.
71723         * conform/data/sys/msg.h-data: Likewise.
71724         * conform/data/sys/resource.h-data: Likewise.
71725         * conform/data/sys/select.h-data: Likewise.
71726         * conform/data/sys/sem.h-data: Likewise.
71727         * conform/data/sys/shm.h-data: Likewise.
71728         * conform/data/sys/socket.h-data: Likewise.
71729         * conform/data/sys/stat.h-data: Likewise.
71730         * conform/data/sys/statvfs.h-data: Likewise.
71731         * conform/data/sys/time.h-data: Likewise.
71732         * conform/data/sys/timeb.h-data: Likewise.
71733         * conform/data/sys/times.h-data: Likewise.
71734         * conform/data/sys/types.h-data: Likewise.
71735         * conform/data/sys/uio.h-data: Likewise.
71736         * conform/data/sys/un.h-data: Likewise.
71737         * conform/data/sys/utsname.h-data: Likewise.
71738         * conform/data/sys/wait.h-data: Likewise.
71739         * conform/data/syslog.h-data: Likewise.
71740         * conform/data/tar.h-data: Likewise.
71741         * conform/data/termios.h-data: Likewise.
71742         * conform/data/utime.h-data: Likewise.
71743         * conform/data/utmpx.h-data: Likewise.
71744         * conform/data/varargs.h-data: Likewise.
71745         * conform/data/wchar.h-data: Likewise.
71746         * conform/data/wctype.h-data: Likewise.
71747         * conform/data/wordexp.h-data: Likewise.
71749         * include/stropts.h: New file.
71750         * include/uchar.h: New file.
71751         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71752         * include/assert.h: Likewise.
71753         * include/ctype.h: Likewise.
71754         * include/dirent.h: Likewise.
71755         * include/dlfcn.h: Likewise.
71756         * include/fcntl.h: Likewise.
71757         * include/fnmatch.h: Likewise.
71758         * include/glob.h: Likewise.
71759         * include/grp.h: Likewise.
71760         * include/libio.h: Likewise.
71761         * include/locale.h: Likewise.
71762         * include/math.h: Likewise.
71763         * include/net/if.h: Likewise.
71764         * include/netdb.h: Likewise.
71765         * include/netinet/in.h: Likewise.
71766         * include/pthread.h: Likewise.
71767         * include/pwd.h: Likewise.
71768         * include/regex.h: Likewise.
71769         * include/sched.h: Likewise.
71770         * include/search.h: Likewise.
71771         * include/setjmp.h: Likewise.
71772         * include/signal.h: Likewise.
71773         * include/stdio.h: Likewise.
71774         * include/stdlib.h: Likewise.
71775         * include/string.h: Likewise.
71776         * include/sys/cdefs.h: Likewise.
71777         * include/sys/mman.h: Likewise.
71778         * include/sys/msg.h: Likewise.
71779         * include/sys/resource.h: Likewise.
71780         * include/sys/select.h: Likewise.
71781         * include/sys/socket.h: Likewise.
71782         * include/sys/stat.h: Likewise.
71783         * include/sys/statvfs.h: Likewise.
71784         * include/sys/time.h: Likewise.
71785         * include/sys/times.h: Likewise.
71786         * include/sys/uio.h: Likewise.
71787         * include/sys/utsname.h: Likewise.
71788         * include/sys/wait.h: Likewise.
71789         * include/termios.h: Likewise.
71790         * include/time.h: Likewise.
71791         * include/ulimit.h: Likewise.
71792         * include/unistd.h: Likewise.
71793         * include/utime.h: Likewise.
71794         * include/wchar.h: Likewise.
71795         * include/wctype.h: Likewise.
71796         * include/wordexp.h: Likewise.
71798         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71800         * time/time.h: TIME_UTC must be a macro.
71801         Make timespec_get available for ISO C11 only as well.
71803 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71805         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71806         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71808 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71810         * configure.in: Use -o not -a in test for unsupported multi-arch.
71812 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71814         * manual/texinfo.tex: Update to version 2012-01-19.16.
71816 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71818         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71820 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71822         [BZ #13738]
71823         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71824         * manual/fdl-1.3.texi: New file.
71825         * manual/fdl-1.1.texi: File removed.
71827         [BZ #13738]
71828         * manual/libc.texinfo (FDL_VERSION): New @set.
71829         Use it for mention of FDL in cover text.
71830         (Documentation License): Use it in @include file name.
71832 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71833             Roland McGrath  <roland@hack.frob.com>
71835         [BZ #5461]
71836         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71837         (not LONG_LONG_MAX and LONG_LONG_MIN.
71838         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71839         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71840         name.
71841         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71843 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71845         [BZ #2547]
71846         [BZ #11365]
71847         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71848         manipulate bits before adding and subtracting TWO23[sx].
71849         * math/libm-test.inc (nearbyint_test): Add more tests.
71851 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71853         [BZ #2548]
71854         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71855         bits before adding and subtracting TWO23[sx].
71856         * math/libm-test.inc (rint_test): Add more tests.
71857         (rint_test_tonearest): Likewise.
71858         (rint_test_towardzero): Likewise.
71859         (rint_test_downward): Likewise.
71860         (rint_test_upward: Likewise.
71862 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71864         [BZ #10110]
71865         * include/stdc-predef.h: New file.  Extracted from features.h.
71866         * include/features.h: Include stdc-predef.h.
71867         * Makefile (headers): Add stdc-predef.h.
71868         * CONFORMANCE (Compiler limitations): Update.
71870 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71872         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71874 2012-02-21  David S. Miller  <davem@davemloft.net>
71876         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71877         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71879 2012-02-20  David S. Miller  <davem@davemloft.net>
71881         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71882         using a normal save/restore sequence, rather than allocating a
71883         dummy stack frame just to store a frame pointer and restore.
71884         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71886 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71888         * manual/install.texi: Fix stray word in line-wrapped comment.
71890 2012-02-20  David S. Miller  <davem@davemloft.net>
71892         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71893         both binutils and gcc support GOTDATA.
71895         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71896         "rd %pc" in the PIC register setup sequences.
71898         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71899         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71900         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71901         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71902         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71903         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71904         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71905         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71906         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71907         (SYSCALL_ERROR_HANDLER): Likewise.
71908         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71909         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71910         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71911         (SYSCALL_ERROR_HANDLER): Likewise.
71913         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71914         (HAVE_GCC_GOTDATA): New.
71915         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71916         relocation support in both binutils and gcc.
71917         * sysdeps/sparc/elf/configure: Regenerate.
71919         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71920         * sysdeps/sparc/sparc32/elf/configure: Delete.
71921         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71922         * sysdeps/sparc/sparc64/elf/configure: Delete.
71923         * sysdeps/sparc/elf/configure.in: New file.
71924         * sysdeps/sparc/elf/configure: Generate.
71926         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71927         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71928         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71929         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71930         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71932 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71934         * manual/install.texi: Do not mention specific glibc version
71935         numbers.
71936         * manual/libc.texinfo (VERSION, UPDATED): Update.
71937         (@copying): Use @copyright{} and range of years.
71939 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71941         [BZ #13695]
71942         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71943         [crti.S not in sysdirs] (generated): Do not append.
71944         [crti.S not in sysdirs] (omit-deps): Likewise.
71945         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71946         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71947         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71948         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71949         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71950         Likewise.
71951         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71952         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71953         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71954         * csu/defs.awk: Remove file.
71955         * sysdeps/generic/initfini.c: Likewise.
71956         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71957         variable.
71958         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71959         Likewise.
71961 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71963         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71964         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71965         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71966         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71967         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71968         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71969         <bits/epoll.h>.
71970         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71971         (__EPOLL_PACKED): Define to empty if not defined by
71972         <bits/epoll.h>.
71973         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71974         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71975         bits/epoll.h.
71977 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71979         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71980         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71981         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71982         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71983         <bits/timerfd.h>.
71984         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71985         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71986         bits/timerfd.h.
71988 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71990         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71991         in C locale.
71992         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71993         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71994         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71997 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71999         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72000         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72002 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72004         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72005         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72006         defined.
72007         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72008         Likewise.
72009         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72010         entry for 2.16.
72012 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72014         * math/w_acos.c: Use non-signaling floating-point comparisons.
72015         * math/w_acosf.c: Likewise.
72016         * math/w_acosh.c: Likewise.
72017         * math/w_acoshf.c: Likewise.
72018         * math/w_acoshl.c: Likewise.
72019         * math/w_acosl.c: Likewise.
72020         * math/w_asin.c: Likewise.
72021         * math/w_asinf.c: Likewise.
72022         * math/w_asinl.c: Likewise.
72023         * math/w_atanh.c: Likewise.
72024         * math/w_atanhf.c: Likewise.
72025         * math/w_atanhl.c: Likewise.
72026         * math/w_exp2.c: Likewise.
72027         * math/w_exp2f.c: Likewise.
72028         * math/w_exp2l.c: Likewise.
72029         * math/w_j0.c: Likewise.
72030         * math/w_j0f.c: Likewise.
72031         * math/w_j0l.c: Likewise.
72032         * math/w_j1.c: Likewise.
72033         * math/w_j1f.c: Likewise.
72034         * math/w_j1l.c: Likewise.
72035         * math/w_jn.c: Likewise.
72036         * math/w_jnf.c: Likewise.
72037         * math/w_log.c: Likewise.
72038         * math/w_log10.c: Likewise.
72039         * math/w_log10f.c: Likewise.
72040         * math/w_log10l.c: Likewise.
72041         * math/w_log2.c: Likewise.
72042         * math/w_log2f.c: Likewise.
72043         * math/w_log2l.c: Likewise.
72044         * math/w_logf.c: Likewise.
72045         * math/w_logl.c: Likewise.
72046         * math/w_sqrt.c: Likewise.
72047         * math/w_sqrtf.c: Likewise.
72048         * math/w_sqrtl.c: Likewise.
72049         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72050         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72051         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72052         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72053         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72055 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72057         [BZ #9739]
72058         * manual/string.texi (strnlen): Use correct parameter name in
72059         equivalent expression.
72061 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72063         [BZ #11174]
72064         * manual/users.texi (seteuid): Consistently use neweuid for
72065         argument name.
72067 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72069         [BZ #13704]
72070         * manual/nss.texi (Services in the NSS configuration): Correct
72071         list of services in example configuration file.
72073 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72075         [BZ #11322]
72076         * manual/arith.texi: Remove statements about negative zero
72077         behaving identically to zero.
72079 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72081         [BZ #5993]
72082         * manual/install.texi: Do not document upgrading from libc5.
72084 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72086         [BZ #4596]
72087         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72089 2012-02-18  David S. Miller  <davem@davemloft.net>
72091         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72092         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72093         %o7 across the call.
72094         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72095         instead.
72096         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72097         SETUP_PIC_REG_LEAF.
72098         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72099         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72100         * sysdeps/sparc/crtn.S: Likewise.
72102 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72104         * aout/Makefile: Remove.
72106 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72108         [BZ #13058]
72109         * manual/examples/argp-ex1.c (main): Format definition in GNU
72110         style.
72111         * manual/examples/argp-ex2.c (main): Likewise.
72112         * manual/examples/argp-ex3.c (main): Likewise.
72113         * manual/examples/argp-ex4.c (main): Likewise.
72114         * manual/examples/longopt.c (main): Use new-style prototype
72115         definition.
72116         * manual/examples/strncat.c (main): Specify return type and use
72117         (void) for arguments.
72118         * manual/examples/subopt.c (main): Use char **argv argument.
72120 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72122         [BZ #5077]
72123         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72124         rounding modes.
72126 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72128         [BZ #6907]
72129         * manual/string.texi (strchr): Change when strchrnul is
72130         recommended.
72132 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72134         [BZ #174]
72135         * manual/locale.texi (setlocale): Document LOCPATH.
72137 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72139         [BZ #10210]
72140         * manual/process.texi (execle): Move @dots{} before last argument.
72142 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72144         [BZ #12047]
72145         * manual/charset.texi (Generic Charset Conversion): Fix typo
72146         (LC_TYPE -> LC_CTYPE).
72148 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72150         [BZ #5805]
72151         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72152         (scalbnf): Likewise.
72153         (scalbnl): Likewise.
72154         (scalbln): Likewise.
72155         (scalblnf): Likewise.
72156         (scalblnl): Likewise.
72157         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72158         (vwarnx): Likewise.
72159         (verr): Likewise.
72160         (verrx): Likewise.
72161         * manual/filesys.texi (telldir): Use braces around return type.
72162         * manual/llio.texi (mmap): Add space after comma.
72163         (mmap64): Likewise.
72164         * manual/math.texi (jn): Use @var{} on parameter names.
72165         (jnf): Likewise.
72166         (jnl): Likewise.
72167         (yn): Likewise.
72168         (ynf): Likewise.
72169         (ynl): Likewise.
72170         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72171         line.
72172         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72173         "...".
72174         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72175         (sched_get_priority_max): Likewise.
72176         * manual/signal.texi (sigvec): Add space after comma.
72177         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72178         names.
72179         (if_indextoname): Likewise.
72180         (if_freenameindex): Likewise.
72181         (sendto): Use ',' instead of '.' in prototype.
72182         * manual/startup.texi (syscall): Use @dots{} instead of literal
72183         "...".
72184         * manual/stdio.texi (__fpending): Separate initial words of
72185         paragraph from @deftypefun line.
72186         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72187         "...".
72188         (vsyslog): Use @var{} on parameter names.
72189         * manual/terminal.texi (stty): Use @var{} on parameter names.
72190         * manual/users.texi (getutmp): Use @var{} on parameter names.
72191         (getutmpx): Likewise.
72193 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72195         [BZ #6884]
72196         * manual/stdio.texi (fopen): Fix typos in description of
72197         ",ccs=STRING".
72199 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72201         [BZ #4026]
72202         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72203         get clock_id definition.
72205 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72207         [BZ #4822]
72208         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72209         (madvise): Cast every argument to void on its own.
72211 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72213         [BZ #9902]
72214         * manual/startup.texi (Exit Status): Fix typo.
72216 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72218         [BZ #10140]
72219         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72220         * manual/examples/argp-ex2.c: Likewise.
72221         * manual/examples/argp-ex3.c: Likewise.
72223 2012-02-16  Richard Henderson  <rth@redhat.com>
72225         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72226         * sysdeps/s390/s390-32/initfini.c: Remove.
72227         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72228         * sysdeps/s390/s390-64/initfini.c: Remove.
72230 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72232         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72233         compiler output for sysdeps/generic/initfini.c.
72234         * sysdeps/sh/elf/initfini.c: Remove file.
72236 2012-02-16  David S. Miller  <davem@davemloft.net>
72238         [BZ #11494]
72239         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72241         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72242         * sysdeps/sparc/crti.S: New file.
72243         * sysdeps/sparc/crtn.S: New file.
72244         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72245         * sysdeps/sparc/sparc64/Makefile: Likewise.
72247 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72249         [BZ #3335]
72250         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72252 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72254         [BZ #4822]
72255         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72257         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72258         (write, read, close): Likewise.
72259         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72261 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72263         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72264         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72265         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72266         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72267         <bits/signalfd.h>.
72268         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72269         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72270         bits/signalfd.h.
72272 2012-02-14  Marek Polacek  <polacek@redhat.com>
72274         * sysdeps/x86_64/crti.S: New file.
72275         * sysdeps/x86_64/crtn.S: New file.
72276         * sysdeps/x86_64/elf/initfini.c: Remove file.
72278 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72280         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72281         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72282         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72283         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72284         <bits/inotify.h>.
72285         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72286         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72287         bits/inotify.h.
72289 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72291         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72292         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72293         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72294         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72295         <bits/eventfd.h>.
72296         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72297         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72298         bits/eventfd.h.
72300 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72302         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72303         __feraiseexcept instead of feraiseexcept.
72305         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72306         nanosleep invocations.
72307         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72308         strings, and add error checking for a nanosleep invocations.
72310 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72312         Replace FSF snail mail address with URLs, as per GNU coding standards.
72313         Most of the snail mail addresses were wrong anyway, and omitting
72314         them makes the source code easier to maintain.  Almost all of the
72315         changes are to license notices and to locale LC_IDENTIFICATION
72316         addresses, except for this one:
72317         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72318         not its snail mail address.
72320 2012-02-09  Richard Henderson  <rth@twiddle.net>
72322         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72323         of kernel-features.h.
72325         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72327 2012-02-08  Marek Polacek  <polacek@redhat.com>
72329         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72330         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72331         * sysdeps/gnu/_G_config.h: Likewise.
72332         * sysdeps/generic/_G_config.h: Likewise.
72334 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72336         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72337         tests.
72338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72340         * sysdeps/powerpc/powerpc32/crti.S: New file.
72341         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72342         * sysdeps/powerpc/powerpc64/crti.S: New file.
72343         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72345         * Makeconfig (have-initfini): Don't set.
72346         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72347         * configure.in (nopic_initfini): Don't substitute.
72348         * config.h.in (HAVE_INITFINI): Don't #undef.
72349         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72350         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72352 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72354         Support crti.S and crtn.S provided directly by architectures.
72355         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72356         [crti.S in sysdirs] (omit-deps): Likewise.
72357         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72358         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72359         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72360         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72361         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72362         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72363         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72364         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72365         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72366         compiler output for sysdeps/generic/initfini.c.
72367         * sysdeps/i386/elf/Makefile: Remove file.
72368         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72370 2012-02-07  Marek Polacek  <polacek@redhat.com>
72372         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72373         * sysdeps/gnu/_G_config.h: Likewise.
72374         * sysdeps/mach/hurd/_G_config.h: Likewise.
72376 2012-02-07  Marek Polacek  <polacek@redhat.com>
72378         * math/Makefile (tests): Add tst-CMPLX2.
72379         * math/tst-CMPLX2.c: New file.
72381 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72383         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72385         * math/libm-test.inc (jn_test): Add missing L suffix.
72387 2012-02-06  Marek Polacek  <polacek@redhat.com>
72389         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72390         * sysdeps/i386/fpu/e_powf.S: Likewise.
72391         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72392         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72393         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72394         * sysdeps/i386/fpu/e_pow.S: Likewise.
72395         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72396         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72397         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72398         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72399         * sysdeps/i386/fpu/e_log2.S: Likewise.
72400         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72401         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72402         * sysdeps/i386/fpu/e_powl.S: Likewise.
72403         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72404         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72405         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72406         * sysdeps/i386/fpu/e_logl.S: Likewise.
72407         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72408         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72409         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72410         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72411         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72412         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72413         * sysdeps/i386/fpu/e_log.S: Likewise.
72414         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72415         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72416         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72417         * sysdeps/i386/fpu/e_logf.S: Likewise.
72418         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72419         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72420         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72421         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72422         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72423         * sysdeps/i386/fpu/e_log10.S: Likewise.
72424         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72425         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72426         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72427         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72428         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72429         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72430         * sysdeps/i386/asm-syntax.h: Likewise.
72431         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72432         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72433         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72434         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72435         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72436         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72437         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72438         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72439         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72440         * sysdeps/powerpc/sysdep.h: Likewise.
72441         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72442         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72444 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72446         [BZ #411]
72447         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72449 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72451         * sysdeps/i386/sysdep.h: Include <features.h>.
72452         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72453         version.
72455 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72457         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72458         Define.
72459         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72460         LOAD_PIC_REG_STR.
72462 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72464         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72465         (SETUP_PIC_REG): Use GET_PC_THUNK.
72466         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72467         macro.
72469 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72471         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72472         for non-PIC compilation.
72473         (SETUP_PIC_REG): Add .p2align directive.
72474         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72475         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72476         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72477         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72478         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72479         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72480         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72481         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72482         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72483         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72484         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72485         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72486         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72487         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72488         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72489         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72490         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72491         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72492         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72493         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72494         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72495         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72496         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72497         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72498         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72499         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72500         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72501         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72502         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72503         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72504         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72505         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72506         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72507         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72508         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72509         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72510         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72511         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72512         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72513         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72514         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72516 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72518         * math/tst-CMPLX.c: Include <stdio.h>.
72520 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72522         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72523         float.
72524         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72525         * sysdeps/sparc/bits/mathdef.h: Likewise.
72527 2012-01-31  Marek Polacek  <polacek@redhat.com>
72529         * libio/libio.h: Don't define _PARAMS.
72530         * locale/programs/config.h: Don't define PARAMS.
72531         * stdlib/strtol_l.c: Likewise.
72532         (__strtol_l): Remove PARAMS from the prototype.
72534 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72536         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72537         names.  Just use the correct names.  Remove unnecessary wrapper
72538         functions.
72539         * malloc/arena.c: Likewise.
72540         * malloc/hooks.c: Likewise.
72542         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72543         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72544         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72546 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72548         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72549         into tail calls.
72550         (update_get_addr): New function.
72551         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72552         GET_ADDR_MODULE parameter.
72554 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72556         * crypt/cert.c: Remove __STDC__ conditionals.
72557         * crypt/crypt-entry.c: Likewise.
72558         * crypt/crypt_util.c: Likewise.
72559         * libio/filedoalloc.c: Likewise.
72560         * libio/fileops.c: Likewise.
72561         * libio/genops.c: Likewise.
72562         * libio/iofclose.c: Likewise.
72563         * libio/iofdopen.c: Likewise.
72564         * libio/iofopen.c: Likewise.
72565         * libio/iofopen64.c: Likewise.
72566         * libio/iogetdelim.c: Likewise.
72567         * libio/iopopen.c: Likewise.
72568         * libio/obprintf.c: Likewise.
72569         * libio/oldfileops.c: Likewise.
72570         * libio/oldiofclose.c: Likewise.
72571         * libio/oldiofdopen.c: Likewise.
72572         * libio/oldiofopen.c: Likewise.
72573         * libio/oldiopopen.c: Likewise.
72574         * libio/wfiledoalloc.c: Likewise.
72575         * libio/wgenops.c: Likewise.
72576         * locale/programs/xmalloc.c: Likewise.
72577         * misc/syslog.c: Likewise.
72578         * stdio-common/xbug.c: Likewise.
72579         * string/memchr.c: Likewise.
72580         * string/memcmp.c: Likewise.
72581         * string/memrchr.c: Likewise.
72582         * string/rawmemchr.c: Likewise.
72583         * sysdeps/posix/getcwd.c: Likewise.
72584         * time/strftime_l.c: Likewise.
72586 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72588         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72589         * config.make.in (config-cflags-sse2avx): Define.
72590         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72591         Fix typo.
72593 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72595         * scripts/config.guess: Update from upstream config git repository.
72596         * scripts/config.sub: Likewise.
72598 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72600         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72601         (EM_NUM): Update.
72602         (R_TILEPRO_*, R_TILEGX_*): New macros.
72604         * scripts/firstversions.awk: Fix bug in version range handling.
72606         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72608         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72610         * include/sys/epoll.h: New file.
72611         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72612         libc_hidden_def.
72614 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72616         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72617         Avoid unnecessary __WORDSIZE == 64 test.
72618         (fmaxf): Use VEX format if possible.
72619         (fmax): Likewise.
72620         (fminf): Likewise.
72621         (fmin): Likewise.
72623         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72624         * math/math_private.h: Remove libc_fegetround* and
72625         libc_fesetround*.
72626         * sysdeps/i386/configure.in: Check for -msse2avx.
72627         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72628         also if SSE2AVX is defined.
72629         Remove libc_fegetround* and libc_fesetround*.
72630         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72631         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72632         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72633         of HAS_YMM_USABLE.
72634         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72635         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72636         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72637         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72638         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72640         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72642 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72644         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72645         size is not set.
72646         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72648 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72650         [BZ #13618]
72651         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72652         relocation.
72653         * Makeconfig (libm): Define.
72654         * elf/Makefile: Add rules to build and run tst-relsort1.
72655         * elf/tst-relsort1.c: New file.
72656         * elf/tst-relsort1mod1.c: New file.
72657         * elf/tst-relsort1mod2.c: New file.
72659 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72661         * math/s_ldexp.c: Remove __STDC__ conditionals.
72662         * math/s_ldexpf.c: Likewise.
72663         * math/s_ldexpl.c: Likewise.
72664         * math/s_nextafter.c: Likewise.
72665         * math/s_nexttowardf.c: Likewise.
72666         * math/s_significand.c: Likewise.
72667         * math/s_significandf.c: Likewise.
72668         * math/s_significandl.c: Likewise.
72669         * math/w_jnl.c: Likewise.
72670         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72671         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72672         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72673         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72674         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72675         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72676         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72677         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72678         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72679         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72680         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72681         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72682         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72683         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72684         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72685         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72686         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72687         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72688         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72689         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72690         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72691         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72692         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72693         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72694         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72695         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72696         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72697         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72698         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72699         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72700         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72701         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72702         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72703         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72704         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72705         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72706         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72707         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72708         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72709         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72710         * sysdeps/ieee754/k_standard.c: Likewise.
72711         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72712         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72713         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72714         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72715         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72716         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72717         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72718         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72719         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72720         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72721         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72722         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72723         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72724         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72725         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72726         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72727         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72728         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72729         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72730         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72731         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72732         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72733         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72734         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72735         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72736         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72737         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72738         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72739         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72740         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72741         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72742         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72743         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72744         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72745         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72746         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72747         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72748         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72749         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72750         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72751         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72752         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72753         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72754         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72755         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72756         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72757         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72758         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72759         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72760         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72761         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72762         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72763         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72764         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72765         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72766         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72767         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72768         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72769         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72770         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72771         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72772         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72773         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72774         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72775         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72776         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72777         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72778         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72779         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72780         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72781         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72782         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72783         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72784         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72785         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72786         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72787         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72788         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72789         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72790         * sysdeps/ieee754/s_matherr.c: Likewise.
72791         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72792         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72793         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72794         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72796 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72798         * crypt/md5.h: Remove __STDC__ conditionals.
72799         * libio/libioP.h: Likewise.
72800         * locale/programs/config.h: Likewise.
72801         * sysdeps/generic/sysdep.h: Likewise.
72802         * sysdeps/i386/asm-syntax.h: Likewise.
72803         * sysdeps/s390/asm-syntax.h: Likewise.
72804         * sysdeps/unix/sysdep.h: Likewise.
72805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72808 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72810         * libio/libio.h: Remove __STDC__ conditionals.
72811         * malloc/obstack.h: Likewise.
72812         * math/complex.h: Likewise.
72813         * math/math.h: Likewise.
72814         * sysdeps/generic/_G_config.h: Likewise.
72815         * sysdeps/gnu/_G_config.h: Likewise.
72816         * sysdeps/mach/hurd/_G_config.h: Likewise.
72817         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72818         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72819         * sysdeps/sparc/bits/mathdef.h: Likewise.
72821 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72823         [BZ #13583]
72824         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72825         Clean up HAS_* macros.
72826         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72827         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72828         possible.
72829         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72830         HAS_AVX.
72831         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72832         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72833         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72834         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72835         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72837 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72839         * elf/tst-unique3.cc (gets): Remove declaration.
72840         * elf/tst-unique3lib.cc (gets): Likewise.
72841         * elf/tst-unique3lib2.cc (gets): Likewise.
72842         * elf/tst-unique4.cc (gets): Likewise.
72844 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72846         * include/stdio.h: Add C++ protection.  Add gets declarations and
72847         definitions.
72848         * debug/tst-chk1.c: Don't declare gets here.
72849         * stdio-common/tst-gets.c: Likewise.
72851 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72853         * posix/glob: Remove directory.
72855 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72857         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72859 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72861         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72862         of the non-standard EPFNOSUPPORT.
72864 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72866         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72867         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72868         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72870 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72872         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72874 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72876         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72877         transient errors.
72878         * nscd/grpcache.c (cache_addgr): Likewise.
72879         * nscd/hstcache.c (cache_addhst): Likewise.
72880         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72881         * nscd/pwdcache.c (cache_addpw): Likewise.
72882         * nscd/servicescache.c (cache_addserv): Likewise.
72884 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72886         * malloc/malloc.c: Various cleanups.
72887         * malloc/hooks.c: Likewise.
72889         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72890         * stdlib/bug-fmtmsg1.c: New file.
72892         * stdlib/fmtmsg.c (init): Add missing unlock.
72893         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72895 2012-01-12  Marek Polacek  <polacek@redhat.com>
72897         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72898         and _GNU_SOURCE.
72900 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72902         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72903         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72904         macro to ensure uniqueness of label name.
72905         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72906         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72908 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72910         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72912         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72913         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72914         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72915         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72917 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72919         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72921         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72922         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72923         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72925         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72927         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72928         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72929         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72930         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72932         * math/bits/math-finite.h: Add ldexp support.
72934 2012-01-10  Marek Polacek  <polacek@redhat.com>
72936         * locale/programs/localedef.h (show_archive_content): Add noreturn
72937         attribute.
72939 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72941         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72943 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72945         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72947         * io/Makefile (headers): Add bits/poll2.h.
72949 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72952         typo #include statement.
72954 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72956         * include/sys/cdefs.h: Define __attribute_alloc_size.
72957         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72958         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72959         * elf/pldd.c: Likewise.
72960         * iconv/iconv_charmap.c: Likewise.
72961         * iconv/iconvconfig.c: Likewise.
72962         * iconv/strtab.c: Likewise.
72963         * locale/programs/locale.c: Likewise.
72964         * locale/programs/localedef.h: Likewise.
72965         * locale/programs/simple-hash.c: Likewise.
72966         * nscd/nscd.h: Likewise.
72967         * nss/makedb.c: Likewise.
72968         * sysdeps/generic/ldconfig.h: Likewise.
72969         * locale/programs/localedef.c: Remove xmalloc prototype.
72970         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72972 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72974         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72975         appropriate.
72977 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72979         * math/Makefile (tests): Add tst-CMPLX.
72980         * math/tst-CMPLX.c: New file.
72982         * math/complex.h (CMPLXL): Fix typo.
72984         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72985         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72986         GLIBC_2.16.
72987         * debug/tst-chk1.c: Add poll and ppoll tests.
72988         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72989         * include/sys/poll.h: Add hidden proto for ppoll.
72990         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72991         * sysdeps/mach/hurd/ppoll.c: Likewise.
72992         * io/ppoll.c: Likewise.
72993         * debug/poll_chk.c: New file.
72994         * debug/ppoll_chk.c: New file.
72995         * include/bits/poll2.h: New file.
72996         * io/bits/poll2.h: New file.
72998         [BZ #1350]
72999         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73001         * configure.in: static is always set to yes.  Remove.
73002         * config.make.in: Don't set build-static.
73003         * Makeconfig: Remove use of build-static.
73004         * dlfcn/Makefile: Likewise.
73005         * elf/Makefile: Likewise.
73006         * math/Makefile: Likewise.
73007         * misc/Makefile: Likewise.
73008         * nptl/Makefile: Likewise.
73009         * sysdeps/mach/hurd/Makefile: Likewise.
73011         * configure.in: PWD_P is not used anymore.
73012         * config.make.in: Remove PWD_P entry.
73014         * configure.in: Remove last remnants of RANLIB.
73015         No need to check for signed size_t anymore.
73016         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73017         and IA-64.
73018         Remove __builtin_expect test because we require at least gcc 3.4.
73019         * aclocal.m4: Likewise.
73021         * wcsmbs/mbrtoc16.c: Implement using towc function.
73022         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73023         * wcsmbs/wcsmbsload.c: Likewise.
73024         * iconv/gconv_simple.c: Likewise.
73025         * iconv/gconv_int.h: Likewise.
73026         * iconv/gconv_builtin.h: Likewise.
73027         * iconv/iconv_prog.c: Remove CHAR16 handling.
73029         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73031         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73033         * configure.in: Remove --with-elf and --enable-bounded options.
73034         Dont set base_machine for ia64.  More non-ELF conditions removed.
73035         Remove testing and setting of leading underscore information.
73036         * config.make.in (build-bounded): Set to no.
73037         * config.h.in: Remove NO_UNDERSCORES entry.
73038         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73039         them.
73040         * csu/start.c: Remove !NO_UNDERSCORE code.
73041         * locale/localeinfo.h: Likewise.
73042         * sysdeps/generic/machine-gmon.h: Likewise.
73043         * sysdeps/generic/sysdep.h: Likewise.
73044         * sysdeps/i386/sysdep.h: Likewise.
73045         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73046         * sysdeps/mach/sysdep.h: Likewise.
73047         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73048         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73049         * sysdeps/sh/sysdep.h: Likewise.
73050         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73051         * sysdeps/unix/i386/sysdep.S: Likewise.
73052         * sysdeps/unix/sparc/start.c: Likewise.
73053         * sysdeps/unix/sparc/sysdep.S: Likewise.
73054         * sysdeps/unix/sparc/sysdep.h: Likewise.
73055         * sysdeps/unix/start.c: Likewise.
73056         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73057         * sysdeps/x86_64/sysdep.h: Likewise.
73059 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73061         [BZ #13553]
73062         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73063         for non-gcc.
73064         * argp/argp-fmtstream.h: Use const instead __const.
73065         * argp/argp.h: Likewise.
73066         * assert/assert.h: Likewise.
73067         * bits/fenv.h: Likewise.
73068         * bits/sched.h: Likewise.
73069         * bits/sigset.h: Likewise.
73070         * bits/sigthread.h: Likewise.
73071         * catgets/nl_types.h: Likewise.
73072         * conform/data/pthread.h-data: Likewise.
73073         * crypt/crypt-private.h: Likewise.
73074         * crypt/crypt.h: Likewise.
73075         * crypt/crypt_util.c: Likewise.
73076         * ctype/ctype.h: Likewise.
73077         * debug/execinfo.h: Likewise.
73078         * debug/mbsnrtowcs_chk.c: Likewise.
73079         * debug/mbsrtowcs_chk.c: Likewise.
73080         * debug/wcsnrtombs_chk.c: Likewise.
73081         * debug/wcsrtombs_chk.c: Likewise.
73082         * debug/wcstombs_chk.c: Likewise.
73083         * dirent/dirent.h: Likewise.
73084         * dlfcn/dlfcn.h: Likewise.
73085         * elf/neededtest4.c: Likewise.
73086         * grp/grp.h: Likewise.
73087         * gshadow/gshadow.h: Likewise.
73088         * iconv/gconv.h: Likewise.
73089         * iconv/gconv_int.h: Likewise.
73090         * iconv/gconv_simple.c: Likewise.
73091         * iconv/iconv.h: Likewise.
73092         * iconv/loop.c: Likewise.
73093         * iconv/skeleton.c: Likewise.
73094         * include/aio.h: Likewise.
73095         * include/aliases.h: Likewise.
73096         * include/argz.h: Likewise.
73097         * include/arpa/inet.h: Likewise.
73098         * include/assert.h: Likewise.
73099         * include/dirent.h: Likewise.
73100         * include/dlfcn.h: Likewise.
73101         * include/execinfo.h: Likewise.
73102         * include/fcntl.h: Likewise.
73103         * include/fenv.h: Likewise.
73104         * include/glob.h: Likewise.
73105         * include/grp.h: Likewise.
73106         * include/libintl.h: Likewise.
73107         * include/mntent.h: Likewise.
73108         * include/netdb.h: Likewise.
73109         * include/pwd.h: Likewise.
73110         * include/rpc/netdb.h: Likewise.
73111         * include/sched.h: Likewise.
73112         * include/search.h: Likewise.
73113         * include/shadow.h: Likewise.
73114         * include/signal.h: Likewise.
73115         * include/stdio.h: Likewise.
73116         * include/stdlib.h: Likewise.
73117         * include/string.h: Likewise.
73118         * include/sys/socket.h: Likewise.
73119         * include/sys/stat.h: Likewise.
73120         * include/sys/statfs.h: Likewise.
73121         * include/sys/statvfs.h: Likewise.
73122         * include/sys/syslog.h: Likewise.
73123         * include/sys/time.h: Likewise.
73124         * include/sys/uio.h: Likewise.
73125         * include/time.h: Likewise.
73126         * include/unistd.h: Likewise.
73127         * include/utmp.h: Likewise.
73128         * include/wchar.h: Likewise.
73129         * include/wctype.h: Likewise.
73130         * inet/aliases.h: Likewise.
73131         * inet/arpa/inet.h: Likewise.
73132         * inet/netinet/ether.h: Likewise.
73133         * inet/netinet/in.h: Likewise.
73134         * intl/libintl.h: Likewise.
73135         * io/bits/fcntl2.h: Likewise.
73136         * io/fcntl.h: Likewise.
73137         * io/ftw.h: Likewise.
73138         * io/sys/poll.h: Likewise.
73139         * io/sys/stat.h: Likewise.
73140         * io/sys/statfs.h: Likewise.
73141         * io/sys/statvfs.h: Likewise.
73142         * io/utime.h: Likewise.
73143         * libio/bits/stdio.h: Likewise.
73144         * libio/bits/stdio2.h: Likewise.
73145         * libio/libio.h: Likewise.
73146         * libio/libioP.h: Likewise.
73147         * libio/stdio.h: Likewise.
73148         * locale/lc-ctype.c: Likewise.
73149         * locale/locale.h: Likewise.
73150         * login/utmp.h: Likewise.
73151         * malloc/arena.c: Likewise.
73152         * malloc/malloc.c: Likewise.
73153         * malloc/malloc.h: Likewise.
73154         * malloc/mcheck.c: Likewise.
73155         * malloc/mtrace.c: Likewise.
73156         * math/bits/mathcalls.h: Likewise.
73157         * math/fenv.h: Likewise.
73158         * math/math_private.h: Likewise.
73159         * misc/bits/error.h: Likewise.
73160         * misc/bits/syslog.h: Likewise.
73161         * misc/err.h: Likewise.
73162         * misc/error.h: Likewise.
73163         * misc/fstab.h: Likewise.
73164         * misc/mntent.h: Likewise.
73165         * misc/regexp.h: Likewise.
73166         * misc/search.h: Likewise.
73167         * misc/sgtty.h: Likewise.
73168         * misc/sys/mman.h: Likewise.
73169         * misc/sys/syslog.h: Likewise.
73170         * misc/sys/uio.h: Likewise.
73171         * misc/sys/xattr.h: Likewise.
73172         * misc/ttyent.h: Likewise.
73173         * nis/rpcsvc/ypclnt.h: Likewise.
73174         * nss/nss.h: Likewise.
73175         * posix/bits/unistd.h: Likewise.
73176         * posix/fnmatch.h: Likewise.
73177         * posix/glob.h: Likewise.
73178         * posix/sched.h: Likewise.
73179         * posix/spawn.h: Likewise.
73180         * posix/sys/wait.h: Likewise.
73181         * posix/unistd.h: Likewise.
73182         * posix/wordexp.h: Likewise.
73183         * pwd/pwd.h: Likewise.
73184         * resolv/netdb.h: Likewise.
73185         * resource/sys/resource.h: Likewise.
73186         * rt/aio.h: Likewise.
73187         * rt/bits/mqueue2.h: Likewise.
73188         * rt/mqueue.h: Likewise.
73189         * shadow/shadow.h: Likewise.
73190         * signal/signal.h: Likewise.
73191         * socket/send.c: Likewise.
73192         * socket/sendto.c: Likewise.
73193         * socket/sys/socket.h: Likewise.
73194         * stdio-common/printf.h: Likewise.
73195         * stdlib/bits/stdlib.h: Likewise.
73196         * stdlib/fmtmsg.h: Likewise.
73197         * stdlib/monetary.h: Likewise.
73198         * stdlib/stdlib.h: Likewise.
73199         * stdlib/ucontext.h: Likewise.
73200         * streams/stropts.h: Likewise.
73201         * string/argz.h: Likewise.
73202         * string/bits/string2.h: Likewise.
73203         * string/string.h: Likewise.
73204         * string/strings.h: Likewise.
73205         * sunrpc/rpc/auth.h: Likewise.
73206         * sunrpc/rpc/auth_des.h: Likewise.
73207         * sunrpc/rpc/clnt.h: Likewise.
73208         * sunrpc/rpc/netdb.h: Likewise.
73209         * sunrpc/rpc/pmap_clnt.h: Likewise.
73210         * sunrpc/rpc/xdr.h: Likewise.
73211         * sysdeps/generic/inttypes.h: Likewise.
73212         * sysdeps/generic/net/if.h: Likewise.
73213         * sysdeps/generic/sys/swap.h: Likewise.
73214         * sysdeps/gnu/net/if.h: Likewise.
73215         * sysdeps/gnu/utmpx.h: Likewise.
73216         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73217         * sysdeps/i386/i486/bits/string.h: Likewise.
73218         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73219         * sysdeps/s390/bits/string.h: Likewise.
73220         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73221         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73222         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73223         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73224         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73225         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73226         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73227         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73228         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73229         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73230         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73231         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73232         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73233         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73234         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73235         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73236         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73237         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73238         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73239         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73240         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73241         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73242         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73243         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73244         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73245         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73246         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73247         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73248         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73249         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73250         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73251         * sysvipc/sys/ipc.h: Likewise.
73252         * sysvipc/sys/msg.h: Likewise.
73253         * sysvipc/sys/sem.h: Likewise.
73254         * sysvipc/sys/shm.h: Likewise.
73255         * termios/termios.h: Likewise.
73256         * time/sys/time.h: Likewise.
73257         * time/time.h: Likewise.
73258         * wcsmbs/bits/wchar2.h: Likewise.
73259         * wcsmbs/uchar.h: Likewise.
73260         * wcsmbs/wchar.h: Likewise.
73261         * wctype/wctype.h: Likewise.
73263         [BZ #13551]
73264         * Makeconfig: Remove all but ELF support including AIX support.
73265         * Makerules: Likewise.
73266         * config.h.in: Likewise.
73267         * config.make.in: Likewise.
73268         * configure: Likewise.
73269         * configure.in: Likewise.
73270         * csu/Makefile: Likewise.
73271         * csu/version.c: Likewise.
73272         * debug/Makefile: Likewise.
73273         * dlfcn/Makefile: Likewise.
73274         * elf/Makefile: Likewise.
73275         * extra-lib.mk: Likewise.
73276         * iconv/Makefile: Likewise.
73277         * include/libc-symbols.h: Likewise.
73278         * include/shlib-compat.h: Likewise.
73279         * resolv/Makefile: Likewise.
73280         * resolv/res_libc.c: Likewise.
73281         * rt/Makefile: Likewise.
73282         * sysdeps/i386/asm-syntax.h: Likewise.
73283         * sysdeps/i386/sysdep.h: Likewise.
73284         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73285         * sysdeps/mach/sysdep.h: Likewise.
73286         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73287         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73288         * sysdeps/s390/asm-syntax.h: Likewise.
73289         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73290         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73291         * sysdeps/sh/sysdep.h: Likewise.
73292         * sysdeps/unix/sparc/sysdep.h: Likewise.
73293         * sysdeps/wordsize-32/divdi3.c: Likewise.
73294         * sysdeps/x86_64/sysdep.h: Likewise.
73296         * argp/Versions: Remove _argp_unlock_xxx.
73298         [BZ #13559]
73299         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73300         * abilist/libBrokenLocale.abilist: Likewise.
73301         * abilist/libanl.abilist: Likewise.
73302         * abilist/libc.abilist: Likewise.
73303         * abilist/libcrypt.abilist: Likewise.
73304         * abilist/libdl.abilist: Likewise.
73305         * abilist/libm.abilist: Likewise.
73306         * abilist/libnsl.abilist: Likewise.
73307         * abilist/libpthread.abilist: Likewise.
73308         * abilist/libresolv.abilist: Likewise.
73309         * abilist/librt.abilist: Likewise.
73310         * abilist/libthread_db.abilist: Likewise.
73311         * abilist/libutil.abilist: Likewise.
73312         * abilist/libnss_db.abilist: New file.
73314         * scripts/abilist.awk: Add support for indirect functions.
73316         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73318         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73320         * shlib-versions: Remove entries for ports architectures.
73322         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73323         files in ports.
73324         * elf/stackguard-macros.h: Remove support for IA-64.
73325         * elf/tst-auditmod1.c: Likewise.
73326         * sysdeps/generic/ldsodefs.h: Likewise.
73328         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73329         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73330         configure files.
73332         [BZ #13552]
73333         * configure.in: Remove --enable-omitfp support.
73334         * FAQ.in: Adjust.
73335         * config.make.in: Likewise.
73336         * Makeconfig: Likewise.
73337         * manual/install.texi: Likewise.
73339         In case anyone cares, the IA-64 architecture could move to ports.
73340         * sysdeps/ia64/*: Removed.
73341         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73342         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73344         [BZ #13555]
73345         * configure.in: Remove entries for unsupported architectures.
73347         [BZ #13533]
73348         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73349         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73350         routines.
73351         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73352         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73353         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73354         fall back to using wcrtomb.
73355         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73356         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73357         renaming.
73358         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73359         * wcsmbs/tst-c16c32-1.c: New file.
73361         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73362         local variable.
73364         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73366         * elf/tst-unique3.cc: Add explicit declaration of gets.
73367         * elf/tst-unique3lib.cc: Likewise.
73368         * elf/tst-unique3lib2.cc: Likewise.
73369         * elf/tst-unique4.cc: Likewise.
73371         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73373 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73375         [BZ #13566]
73376         * assert/assert.h (static_assert): Don't define for C++.
73377         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73378         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73380 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73382         * iconv/loop.c (single loop): Fix assertion in storing of
73383         remaining bytes.
73385         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73387 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73389         * posix/getconf.c: Update copyright year.
73390         * nss/getent.c: Likewise.
73391         * nss/makedb.c: Likewise.
73392         * iconv/iconvconfig.c: Likewise.
73393         * iconv/iconv_prog.c: Likewise.
73394         * elf/ldconfig.c: Likewise.
73395         * elf/pldd.c: Likewise.
73396         * elf/sotruss.ksh: Likewise.
73397         * catgets/gencat.c: Likewise.
73398         * csu/version.c: Likewise.
73399         * elf/ldd.bash.in: Likewise.
73400         * elf/sprof.c (print_version): Likewise.
73401         * locale/programs/locale.c: Likewise.
73402         * locale/programs/localedef.c: Likewise.
73403         * login/programs/pt_chown.c: Likewise.
73404         * nscd/nscd.c (print_version): Likewise.
73405         * debug/xtrace.sh: Likewise.
73406         * malloc/memusage.sh: Likewise.
73407         * malloc/mtrace.pl: Likewise.
73408         * debug/catchsegv.sh: Likewise.
73410 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73412         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73413         pure attribute.
73415 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73417         [BZ #13533]
73418         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73419         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73420         transformations.
73421         * iconv/gconv_int.h: Likewise.
73422         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73423         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73424         from libc for GLIBC_2.16.
73425         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73426         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73427         * wcsmbs/uchar.h: Really define mbstate_t.
73428         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73429         * wcsmbs/c16rtomb.c: New file.
73430         * wcsmbs/mbrtoc16.c: New file.
73431         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73432         for C/POSIX locale.
73433         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73434         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73436         * wcsmbs/wchar.h: Add missing __restrict.
73438 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73440         [BZ #13532]
73441         * time/Makefile (routines): Add timespec_get.
73442         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73443         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73444         timespec for ISO C11.
73445         * time/timespec_get.c: New file.
73446         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73447         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73449         [BZ #13531]
73450         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73451         * stdlib/stdlib.h: Declare aligned_alloc.
73452         * Versions.def: Add GLIBC_2.16 for libc.
73453         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73455         [BZ 13527]
73456         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73457         ISO C11.
73459         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73460         code.
73462         [BZ #13528]
73463         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73465         [BZ #13529]
73466         * assert/assert.h (static_assert): Define.
73468         * version.h: Update for 2.16 development version.
73470         [BZ #13526]
73471         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73472         _ISOC11_SOURCE.
73474         * version.h (RELEASE): Bump for 2.15 release.
73475         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73477         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73478         Patch by Marek Polacek <mpolacek@redhat.com>.
73480         * bits/byteswap.h: Protect long long constants with __extension__.
73481         * sysdeps/i386/bits/byteswap.h: Likewise.
73482         * sysdeps/ia64/bits/byteswap.h: Likewise.
73483         * sysdeps/s390/bits/byteswap.h: Likewise.
73484         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73486 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73488         [BZ #13540]
73489         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73490         destination buffer.
73491         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73493 2011-12-23  Marek Polacek  <polacek@redhat.com>
73495         * elf/dl-addr.c (determine_info): Add inline keyword.
73496         * elf/tst-auditmod4b.c (check_avx): Likewise.
73497         * elf/tst-auditmod6b.c (check_avx): Likewise.
73498         * elf/tst-auditmod6c.c (check_avx): Likewise.
73499         * elf/tst-auditmod7b.c (check_avx): Likewise.
73501 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73503         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73504         !__SSE_MATH__.
73506 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73508         [BZ #13540]
73509         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73510         processing for last bytes.
73512 2011-08-06  Bruno Haible  <bruno@clisp.org>
73514         [BZ #13061]
73515         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73516         U+0385, not to U+1FEE.
73518         [BZ #13062]
73519         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73520         entry for U+00A5 U+0301.
73522 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73524         [BZ #13166]
73525         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73526         buffer for the output is too small.
73528         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73529         optimization.
73531         [BZ #13185]
73532         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73533         SSE flags if possible.
73535 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73537         [BZ #13540]
73538         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73539         processing for last bytes.
73541 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73543         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73544         (syscall-list-default-options, syscall-list-default-condition)
73545         (syscall-list-includes): Define.
73546         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73547         list of ABIs and options and #if conditions for each ABI.  Do not
73548         handle common syscalls between ABIs specially.
73549         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73550         Remove.
73551         (syscall-list-variants, syscall-list-32bit-options)
73552         (syscall-list-32bit-condition, syscall-list-64bit-options)
73553         (syscall-list-64bit-condition): Define.
73554         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73555         (syscall-list-variants, syscall-list-32bit-options)
73556         (syscall-list-32bit-condition, syscall-list-64bit-options)
73557         (syscall-list-64bit-condition): Define.
73558         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73559         Remove.
73560         (syscall-list-variants, syscall-list-32bit-options)
73561         (syscall-list-32bit-condition, syscall-list-64bit-options)
73562         (syscall-list-64bit-condition): Define.
73563         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73564         Remove.
73565         (syscall-list-variants, syscall-list-32bit-options)
73566         (syscall-list-32bit-condition, syscall-list-64bit-options)
73567         (syscall-list-64bit-condition): Define.
73569 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73571         * locale/iso-639.def: Add brx entry.
73573         [BZ #13328]
73574         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73575         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73577         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73578         __feraiseexcept_renamed.
73580 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73582         [BZ #13538]
73583         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73584         EPOLLET with unsigned values.
73585         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73586         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73588         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73589         to large cancellation.
73590         * math/s_cacoshf.c: Likewise.
73591         * math/s_cacoshl.c: Likewise.
73593 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73595         [BZ #13305]
73596         [BZ #12786]
73597         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73598         * math/s_cacoshf.c: Likewise.
73599         * math/s_cacoshl.c: Likewise.
73601 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73603         [BZ #13439]
73604         * iconv/gconv.h: Define __GCONV_SWAP.
73605         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73606         * iconvdata/utf-16.c: Likewise.
73607         * iconvdata/utf-32.c: Likewise.
73609 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73611         [BZ #13524]
73612         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73613         numerator after shifting it by one limb.
73615 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73617         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73618         under [__USE_EXTERN_INLINES].
73620 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73622         [BZ #13446]
73623         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73625 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73627         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73628         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73629         optimized code.
73630         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73631         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73632         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73633         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73634         for strncasecmp/strncasecmp_l compilation.
73635         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73636         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73638 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73640         [BZ #13484]
73641         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73642         of __asm__.
73644 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73646         [BZ #13506]
73647         * time/tzfile.c (__tzfile_read): Check values from file header.
73649 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73651         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73652         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73653         * powerpc/powerpc32/dl-start.S: Likewise.
73654         * powerpc/powerpc32/elf/start.S: Likewise.
73655         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73656         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73657         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73658         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73659         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73660         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73661         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73662         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73663         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73664         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73665         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73666         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73667         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73668         * powerpc/powerpc32/memset.S: Likewise.
73669         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73670         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73671         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73672         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73673         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73674         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73675         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73676         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73677         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73678         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73679         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73680         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73681         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73683 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73685         * math/libm-test.inc: Added more nearbyint tests.
73686         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73687         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73688         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73689         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73691 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73693         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73694         FD_CLOEXEC.
73696 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73698         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73699         Add wcscpy-ssse3 wcscpy-c.
73700         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73701         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73702         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73703         * sysdeps/x86_64/wcschr.S: New file.
73704         * sysdeps/x86_64/wcsrchr.S: New file.
73705         * string/test-strcmp.c: Remove checking of wcscmp function for
73706         wrong alignments.
73707         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73708         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73709         wcsrchr-sse2 wcsrchr-c.
73710         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73711         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73712         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73713         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73714         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73715         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73716         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73717         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73718         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73719         * wcsmbc/wcschr.c (WCSCHR): New macro.
73721 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73723         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73724         * wcsmbs/test-wcsrchr.c: New file.
73725         * string/test-strrchr.c: Add wcsrchr support.
73726         (WIDE): New macro.
73727         * wcsmbs/test-wcscpy.c: New file.
73728         * string/test-strcpy.c: Add wcscpy support.
73729         (WIDE): New macro.
73731 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73733         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73734         the inner loop.
73736 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73738         [BZ #13472]
73739         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73741 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73743         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73744         Minor optimizations.
73746         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73747         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73748         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73750 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73752         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73753         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73754         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73755         for gcc to avoid warnings.
73756         * inet/Makefile (tests): Add tst-checks.
73757         * inet/tst-checks.c: New file.
73759         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73760         warning.
73762         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73763         __wmemcmp_sse2.
73765         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73766         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73768         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73770 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73772         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73773         problem.
73775         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73777 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73779         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73780         conditional on GCC version.
73781         (__arch_compare_and_exchange_val_8_acq)
73782         (__arch_compare_and_exchange_val_16_acq)
73783         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73784         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73785         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73787 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73789         * sysdeps/sh/backtrace.c: New file.
73791 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73793         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73794         parenthesis.
73796 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73798         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73799         falling back to utime.
73801 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73803         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73804         expectations for float.
73806 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73808         * locale/weight.h (findidx): Add parameter len.
73809         * locale/weightwc.h (findidx): Likewise.
73810         * posix/fnmatch_loop.c (FCT): Adjust caller.
73811         * posix/regcomp.c (build_equiv_class): Likewise.
73812         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73813         * posix/regexec.c (check_node_accept_bytes): Likewise.
73814         * string/strcoll_l.c (STRCOLL): Likewise.
73815         * string/strxfrm_l.c (STRXFRM): Likewise.
73817 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73819         * Makefile.in: Remove CVSOPT handling.
73820         * configure.in: Remove use of AC_REVISION.
73821         * iconvdata/Makefile (distribute): No need to filter out CVS.
73822         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73823         handling.
73825 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73827         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73828         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73829         [USE_AS_STRNCASECMP_L]: Likewise.
73830         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73831         NO_TLS_DIRECT_SEG_REFS.
73832         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73833         Fix argument offsets for non-PIC.
73834         [USE_AS_STRNCASECMP_L]: Likewise.
73835         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73836         NO_TLS_DIRECT_SEG_REFS.
73838 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73840         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73841         O_CLOEXEC.
73842         * locale/loadlocale.c (_nl_load_locale): Likewise.
73844 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73846         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73847         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73848         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73849         (SYSCALL_GETTIME): Set errno on error.
73851         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73852         count references to noai6ai_cached.
73854 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73856         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73858         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73859         FD_CLOEXEC for /proc/self/maps.
73861         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73862         FD_CLOEXEC for /proc/meminfo.
73864         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73865         gai.conf.
73867         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73868         FD_CLOEXEC for given file.
73870         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73872         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73873         FD_CLOEXEC for /etc/hosts.
73874         (_gethtent): Likewise.
73876         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73878         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73879         cancellation and set FD_CLOEXEC for /etc/netgroup.
73881         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73882         reading /etc/publickey.
73884         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73885         allow cancellation when reading /etc/group.
73887         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73888         cancellation.
73889         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73891         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73892         when using data file.
73894         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73896         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73897         (write_nis_obj): Use "c" and "e" in fopen.
73899         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73901         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73903         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73905         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73907         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73908         locale.alias.
73910         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73912         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73914         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73916         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73917         file parsing and set FD_CLOEXEC.
73919 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73921         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73923 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73925         * malloc/arena.c (arena_get2): Don't call reused_arena when
73926         _int_new_arena failed.
73928 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73930         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73931         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73932         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73933         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73934         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73935         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73936         to compile strcasecmp and strncasecmp.
73937         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73938         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73940         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73942 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73944         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73945         locale-defines.sym to gen-as-const-headers.
73946         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73947         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73948         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73949         to compile strcasecmp and strncasecmp.
73950         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73951         strcasecmp_l and strncasecmp_l.
73952         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73953         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73954         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73955         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73956         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73957         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73958         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73959         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73960         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73961         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73962         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73964 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73966         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73967         result of SYSDEP_GETTIME_CPU to retval.
73968         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73969         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73971         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73972         variable.
73974         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73975         mantissa words.
73976         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73978         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73979         from unused variable.
73981         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73982         DWARF definitions.
73983         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73984         for assembling.
73986         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73987         over namespaces.
73989         * sunrpc/rpc_prot.c (rejected): Fix case value.
73991         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73992         unsigned long long int to avoid warnings in shift.
73994         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73995         of use of trans.
73996         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73997         variable tmp.
73999         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74000         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74001         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74003         * nis/nis_table.c (nis_list): Use variable of correct type for
74004         result of __follow_path call.
74006 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74008         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74009         of math functions ceil, trunc, floor, round, and sqrt, when
74010         avaliable on the platform.
74011         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74012         name clash.
74013         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74014         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74015         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74017 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74019         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74020         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74022 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74024         * include/unistd.h: Fix __readlink return type.
74025         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74027 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74029         * stdlib/ucontext.h: Undo last change for makecontext.
74031 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74033         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74035         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74036         * setjmp/setjmp.h: Mark functions as non-leaf.
74037         * setjmp/bits/setjmp2.h: Likewise.
74038         * stdlib/ucontext.h: Likewise.
74040 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74042         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74043         (reused_arena): Don't check arena limit.
74044         (arena_get2): Atomically check arena limit.
74046 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74048         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74049         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74051         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74052         instructions.
74054 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74056         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74057         handler when locking.
74059         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74060         Fix size of allocated buffer.
74062 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74064         [BZ #10103]
74065         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74066         declarations for long double functions.
74067         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74069         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74071 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74073         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74074         installed.
74076         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74077         is disabled.
74079 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74081         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74083 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74085         * include/alloca.h (stackinfo_alloca_round): Define.
74086         (extend_alloca): Use it.
74087         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74088         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74089         here.
74091         * scripts/check-local-headers.sh: Ignore libaudit.h.
74093         * nscd/Makefile (extra-objs): Make recursively expanded.
74095 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74097         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74098         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74100         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74101         * posix/tst-rfc3484-2.c: Likewise.
74102         * posix/tst-rfc3484-3.c: Likewise.
74104         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74105         process_vm_writev.
74106         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74107         process_vm_writev.
74108         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74109         process_vm_writev from libc using GLIBC_2.15 version.
74111         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74113 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74115         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74116         stack usage.
74118 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74120         [BZ #13367]
74121         * nss/getent.c (initgroups_keys): Show error message in case no group
74122         names are given.
74124         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74125         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74126         __bump_nl_timestamp.
74127         * nscd/connections (nscd_init): When host database is served open
74128         netlink socket and request notification about configuration changes.
74129         (main_loop_poll): Track netlink file descriptor and bump timestamp
74130         in case data becomes available.
74131         (main_loop_epoll): Likewise.
74132         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74133         (database_pers_head): Add extra_data fileds.
74134         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74135         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74136         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74137         Adjust caller.
74138         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74139         in6ai data, call __free_in6ai.
74140         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74141         Add -DHAVE_NETLINK.
74142         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74143         interface information.  Reuse previous data if netlink timestamp
74144         is not changed.
74145         (__bump_nl_timestamp): New function.
74146         (__free_in6ai): New function.
74148 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74150         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74151         close_not_cancel_no_status here.
74152         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74154 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74156         [BZ #13276]
74157         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74158         return value.
74160         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74161         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74162         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74164 2011-07-03  Andreas Jaeger  <aj@suse.de>
74166         [BZ #10709]
74167         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74168         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74169         * math/libm-test.inc (sin_test): Add test case.
74171 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74173         [BZ #13337]
74174         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74175         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74177         * elf/chroot_canon.c (chroot_canon): Cleanups.
74179         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74181         [BZ #13335]
74182         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74183         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74185         * string/test-strchr.c: Make usable for strchrnul testing.
74186         * string/test-strchrnul.c: New file.
74187         * string/Makefile (strop-tests): Add strchrnul.
74189         * po/it.po: Update from translation team.
74190         * po/es.po: Likewise.
74192 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74194         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74195         the three constants needed as parameters.  Drop the others.
74196         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74197         __m128i_strloadu_tolower.
74198         Create and initialize variable zero and use it in all the places
74199         where _mm_setzero_si128 was used.
74201         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74202         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74203         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74204         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74205         anymore.
74206         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74207         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74208         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74209         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74210         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74211         __mpranred, __mptan.
74212         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74213         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74214         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74215         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74216         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74217         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74218         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74219         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74220         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74222 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74224         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74225         redefine if SHARED.
74226         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74228         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74229         wide char related routines to wcsmbs subdir.
74231 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74233         [BZ #13344]
74234         * misc/sys/cdefs.h (__THROWNL): Define.
74235         * posix/unistd.h: Use __THREADNL instead of __THREAD
74236         for memory synchronization functions.
74238 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74240         [BZ #13349]
74241         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74242         doesn't exist.
74243         * manual/stdio.texi (Obstack Streams): Node removed.
74245 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74247         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74248         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74249         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74251         * math/math_private.h (math_force_eval): Allow non-addressable
74252         arguments.
74253         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74255 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74257         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74258         file is not needed.
74260         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74261         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74262         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74263         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74264         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74265         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74266         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74267         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74268         Add AVX variants.
74269         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74270         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74271         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74272         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74273         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74274         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74275         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74276         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74277         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74278         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74279         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74280         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74281         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74282         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74283         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74284         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74285         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74286         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74287         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74289         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74290         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74292         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74293         place.  Use VEX encoding when compiling for AVX.
74295 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74297         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74298         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74300         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74302 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74304         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74305         useless if() expression.
74306         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74307         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74308         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74309         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74310         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74311         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74312         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74313         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74314         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74315         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74316         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74317         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74318         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74319         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74320         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74321         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74322         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74323         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74324         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74326         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74328 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74330         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74331         condition.
74332         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74334 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74336         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74337         .text section.  Avoid duplicate constants.
74338         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74339         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74340         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74341         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74342         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74343         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74344         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74345         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74346         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74347         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74348         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74349         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74350         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74351         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74352         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74353         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74354         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74355         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74356         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74357         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74358         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74359         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74360         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74361         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74362         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74363         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74364         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74365         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74366         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74367         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74368         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74369         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74370         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74371         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74372         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74373         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74374         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74375         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74376         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74377         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74378         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74379         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74380         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74381         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74382         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74384 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74386         * sysdeps/x86_64/dla.h: Move to ...
74387         * sysdeps/x86_64/fpu/dla.h: ...here.
74388         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74389         situations.  Use __builtin_fma only for gcc 4.6 and up.
74391         * config.make.in: Add have-mfma4 entry.
74392         * configure.in: Substitute libc_cv_cc_fma4.
74393         * math/Makefile (dbl-only-routines): Add sincostab.
74394         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74395         Use __sincostab not sincos.
74396         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74397         name is a macro.
74398         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74399         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74400         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74401         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74402         using __copysign.
74403         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74404         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74405         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74406         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74407         and __inv.
74408         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74409         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74410         __copysign.
74411         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74412         define aliases when function name is a macro.
74413         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74414         sysdeps/ieee754/dbl-64/sincos.tbl.
74415         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74416         fma4-enabled routines.
74417         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74418         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74419         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74420         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74421         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74422         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74423         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74424         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74425         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74426         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74427         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74428         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74429         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74430         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74431         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74432         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74433         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74434         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74435         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74436         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74437         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74438         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74439         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74440         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74441         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74442         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74443         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74444         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74445         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74446         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74448         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74449         rename.
74450         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74451         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74452         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74453         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74454         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74455         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74456         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74457         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74459 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74461         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74463 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74465         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74467         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74468         prediction.
74469         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74471         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74472         Remove unused variable magic_bits.
74473         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74475         * string/strnlen.c: Define and use STRNLEN macro.
74476         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74477         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74478         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74479         * wcsmbs/wcslen.c: Define and use WCSLEN.
74480         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74481         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74482         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74483         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74484         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74485         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74486         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74488 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74491         strnlen-sse2-no-bsf.
74492         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74493         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74494         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74495         Add strnlen support.
74496         (USE_AS_STRNLEN): New macro.
74497         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74498         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74499         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74500         * sysdeps/x86_64/wcslen.S: New file.
74502 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74504         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74505         XMM-moves are used for copying on small sizes.
74507 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74509         * wcsmbs/Makefile (strop-tests): Add wcschr.
74510         * wcsmbs/test-wcschr.c: New file.
74511         * string/test-strchr.c: Update.
74512         Add wcschr support.
74513         (WIDE): New macro.
74515 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74517         * wcsmbs/Makefile (strop-tests): Add wcslen.
74518         * wcsmbs/test-wcslen.c: New file.
74519         * string/test-strlen.c: Update.
74520         Add wcslen support.
74521         (WIDE): New macro.
74523 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74525         * po/it.po: Update from translation team.
74527 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74529         * sysdeps/x86_64/wcscmp.S: Update.
74530         Fix wrong comparison semantics.
74531         wcscmp shall use signed comparison not unsigned.
74532         Don't use substraction to avoid overflow bug.
74533         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74534         * wcsmbc/wcscmp.c: Likewise.
74535         * string/test-strcmp.c: Likewise.
74536         Add new tests to check cases with negative values.
74538 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74540         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74541         * sysdeps/x86_64/dla.h: ...here.  New file.
74542         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74543         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74544         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74545         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74546         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74547         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74548         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74549         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74550         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74552 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74554         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74555         __ynl_finite aliases.
74557 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74561         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74562         define DLA_FMA.
74563         [DLA_FMA] (EMULV): Use DLA_FMA.
74564         [DLA_FMA] (MUL12): Use EMULV.
74565         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74566         that are not needed.
74567         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74568         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74569         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74570         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74571         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74572         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74573         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74575 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74577         * math/s_nan.c: Undef __nan.
74578         * math/s_nanf.c: Undef __nanf.
74579         * math/s_nanl.c: Undef __nanl.
74580         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74581         "math_private.h".
74583 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74585         * math/s_catan.c: Add branch predictions.
74586         * math/s_catanf.c: Likewise.
74587         * math/s_catanh.c: Likewise.
74588         * math/s_catanhf.c: Likewise.
74589         * math/s_catanhl.c: Likewise.
74590         * math/s_catanl.c: Likewise.
74591         * math/s_cexp.c: Likewise.
74592         * math/s_cexpf.c: Likewise.
74593         * math/s_cexpl.c: Likewise.
74594         * math/s_clog.c: Likewise.
74595         * math/s_clog10.c: Likewise.
74596         * math/s_clog10f.c: Likewise.
74597         * math/s_clog10l.c: Likewise.
74598         * math/s_clogf.c: Likewise.
74599         * math/s_clogl.c: Likewise.
74600         * math/s_csqrt.c: Likewise.
74601         * math/s_csqrtf.c: Likewise.
74602         * math/s_csqrtl.c: Likewise.
74603         * math/s_ctanf.c: Likewise.
74604         * math/s_ctanh.c: Likewise.
74605         * math/s_ctanhf.c: Likewise.
74606         * math/s_ctanhl.c: Likewise.
74607         * math/s_ctanl.c: Likewise.
74609         * math/math_private.h: Define __nan, __nanf, __nanl.
74610         * math/s_cacosh.c: Include <math_private.h>.
74611         * math/s_cacoshl.c: Likewise.
74612         * math/s_casinh.c: Likewise.
74613         * math/s_casinhf.c: Likewise.
74614         * math/s_casinhl.c: Likewise.
74615         * math/s_ccos.c: Rely entire on ccosh.
74616         * math/s_ccosf.c: Rely entire on ccoshf.
74617         * math/s_ccosl.c: Rely entirely on ccoshl.
74618         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74619         Remove tests for FE_INVALID.
74620         * math/s_ccoshf.c: Likewise.
74621         * math/s_ccoshl.c: Likewise.
74622         * math/s_csin.c: Likewise.
74623         * math/s_csinf.c: Likewise.
74624         * math/s_csinh.c Likewise.
74625         * math/s_csinhf.c: Likewise.
74626         * math/s_csinhl.c: Likewise.
74627         * math/s_csinl.c: Likewise.
74628         * math/s_ctan.c: Likewise.
74629         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74630         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74631         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74633 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74635         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74636         compilation problems.
74638         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74639         __builtin_expect.
74641 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74643         * sysdeps/i386/configure.in: Test for -mfma4 option.
74644         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74645         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74646         COMMON_CPUID_INDEX_80000001.
74647         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74648         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74649         use it if FMA3 is not supported.
74650         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74652         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74653         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74655 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74657         [BZ #12892]
74658         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74659         it would create a cycle with a link time dependency.
74661 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74663         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74664         instruction.
74665         * string/Makefile (strop-tests): Add rawmemchr.
74666         * string/test-rawmemchr.c: New file.
74668         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74669         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74670         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74671         when compiling str{,n}casecmp and when AVX is available.  Hook up
74672         new optimized code in initializers.
74674 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74676         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74677         __feraiseexcept instead of feraiseexcept.
74679 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74681         * math/math_private.h: Define defaults for libc_fetestexcept and
74682         libc_feupdateenv.
74683         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74684         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74685         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74686         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74687         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74688         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74689         libc_fetestexcept and libc_feupdateenv.
74691         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74692         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74693         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74694         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74695         libc_feholdexcept_setround.
74697         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74698         Add s_nearbyint-c and s_nearbyintf-c.
74699         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74700         nearbyintf inlines.
74701         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74702         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74703         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74704         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74706         * math/math_private.h: Define defaults for libc_fegetround,
74707         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74708         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74709         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74710         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74711         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74712         standard functions.
74713         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74714         Remove comments and hacks for old compiler versions.
74715         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74716         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74717         libc_feholdexceptl.
74719 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74721         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74722         (__feraiseexcept_renamed): Add __NTH.
74723         (feraiseexcept): Add __NTH.  Rename local variables to fix
74724         namespace violations.
74726 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74728         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74730         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74732         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74733         recently added interfaces.
74734         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74736         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74737         about macro parameter expansion.
74739         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74740         __NO_MATH_INLINES is defined.  Cleanups.
74742         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74743         and __floorf is target has SSE4.1.
74744         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74745         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74746         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74747         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74749         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74750         name.
74751         (floorf): Likewise.
74753         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74755 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74757         * misc/sys/cdefs.h: Fix last change.
74759         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74760         database lookup.
74762 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74764         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74766         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74767         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74768         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74769         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74770         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74771         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74772         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74773         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74774         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74775         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74776         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74777         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74778         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74779         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74780         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74781         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74782         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74783         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74784         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74785         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74786         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74787         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74789         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74790         ceil, ceilf, floor, floorf.
74792         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74793         Perform IRELATIVE relocations last.
74795         * elf/do-rel.h: Add another parameter nrelative, replacing the
74796         local variable with the same name.  Change name of the function
74797         to end in Rel or Rela (uppercase).
74798         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74799         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74800         elf_dynamic_do_##reloc function.
74802 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74804         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74805         is sufficient, at least on modern CPUs.
74807         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74809         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74810         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74812         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74813         __expl_finite.
74814         * math/bits/math-finite.h: Add entries for exp.
74815         * math/e_expl.c: Add __*_finite alias.
74816         * sysdeps/i386/fpu/e_exp.S: Likewise.
74817         * sysdeps/i386/fpu/e_expf.S: Likewise.
74818         * sysdeps/i386/fpu/e_expl.c: Likewise.
74819         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74820         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74821         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74822         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74823         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74824         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74825         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74827         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74828         is sufficient, at least on modern CPUs.
74830         * ctype/ctype-info.c (__ctype_init): Define.
74831         * include/ctype.h (__ctype_init): Declare.
74832         (__ctype_b_loc): The variable is always initialized.
74833         (__ctype_toupper_loc): Likewise.
74834         (__ctype_tolower_loc): Likewise.
74835         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74836         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74838 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74840         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74842         * configure.in: Also look in $cxxmachine/include for C++ system
74843         headers.
74845 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74847         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74848         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74849         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74850         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74851         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74852         (USE_AS_WMEMCMP): New macro.
74853         Fixing indents.
74854         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74855         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74856         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74857         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74858         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74859         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74860         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74861         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74862         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74863         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74864         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74865         (USE_AS_WMEMCMP): New macro.
74866         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74867         * sysdeps/string/test-memcmp.c: Update.
74868         Fix simple_wmemcmp.
74869         Add new tests.
74870         * wcsmbs/wmemcmp.c: Update.
74871         (WMEMCMP): New macro.
74872         Fix overflow bug.
74874 2011-10-12  Andreas Jaeger  <aj@suse.de>
74876         [BZ #13268]
74877         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74879 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74881         * libio/iofwide.c (do_length): Avoid warning.
74883         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74885 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74887         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74889         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74890         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74891         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74892         * sysdeps/i386/i686/fpu/e_log.S: New file.
74893         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74894         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74896         * ctype/ctype.h: Add support for inlined isXXX functions when
74897         compiling C++ code.
74899 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74901         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74903         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74905 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74907         [BZ #13291]
74908         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74910 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74912         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74913         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74914         feraiseexcept.
74916         * sysdeps/x86_64/memrchr.S: Check for zero size.
74918         * string/stratcliff.c: Add memrchr tests.
74920 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74922         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74923         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74924         rawmemchr-sse2 rawmemchr-sse2-bsf.
74925         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74926         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74927         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74928         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74929         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74930         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74931         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74932         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74933         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74934         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74935         * string/memrchr.c (MEMRCHR): New macro.
74937 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74939         Add integration with gcc's -ffinite-math-only and optimize wrapper
74940         functions in libm.
74941         * Versions.def: Define GLIBC_2.15 version for libm.
74942         * math/Makefile (headers): Add bits/math-finite.h.
74943         * math/bits/math-finite.h: New file.
74944         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74945         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74946         * math/e_acoshl.c: Add __*_finite alias.
74947         * math/e_acosl.c: Likewise.
74948         * math/e_asinl.c: Likewise.
74949         * math/e_atan2l.c: Likewise.
74950         * math/e_atanhl.c: Likewise.
74951         * math/e_coshl.c: Likewise.
74952         * math/e_exp10.c: Likewise.
74953         * math/e_exp10f.c: Likewise.
74954         * math/e_exp10l.c: Likewise.
74955         * math/e_exp2l.c: Likewise.
74956         * math/e_fmodl.c: Likewise.
74957         * math/e_gammal_r.c: Likewise.
74958         * math/e_hypotl.c: Likewise.
74959         * math/e_j0l.c: Likewise.
74960         * math/e_j1l.c: Likewise.
74961         * math/e_jnl.c: Likewise.
74962         * math/e_lgammal_r.c: Likewise.
74963         * math/e_log10l.c: Likewise.
74964         * math/e_log2l.c: Likewise.
74965         * math/e_logl.c: Likewise.
74966         * math/e_powl.c: Likewise.
74967         * math/e_sinhl.c: Likewise.
74968         * math/e_sqrtl.c: Likewise.
74969         * math/e_scalb.c: Completely rewritten and optimized.
74970         * math/e_scalbf.c: Likewise.
74971         * math/e_scalbl.c: Likewise.
74972         * math/w_acos.c: Likewise.
74973         * math/w_acosf.c: Likewise.
74974         * math/w_acosl.c: Likewise.
74975         * math/w_acosh.c: Likewise.
74976         * math/w_acoshf.c: Likewise.
74977         * math/w_acoshl.c: Likewise.
74978         * math/w_asin.c: Likewise.
74979         * math/w_asinf.c: Likewise.
74980         * math/w_asinl.c: Likewise.
74981         * math/w_atan2.c: Likewise.
74982         * math/w_atan2f.c: Likewise.
74983         * math/w_atan2l.c: Likewise.
74984         * math/w_atanh.c: Likewise.
74985         * math/w_atanhf.c: Likewise.
74986         * math/w_atanhl.c: Likewise.
74987         * math/w_exp10.c: Likewise.
74988         * math/w_exp10f.c: Likewise.
74989         * math/w_exp10l.c: Likewise.
74990         * math/w_fmod.c: Likewise.
74991         * math/w_fmodf.c: Likewise.
74992         * math/w_fmodl.c: Likewise.
74993         * math/w_j0.c: Likewise.
74994         * math/w_j0f.c: Likewise.
74995         * math/w_j0l.c: Likewise.
74996         * math/w_j1.c: Likewise.
74997         * math/w_j1f.c: Likewise.
74998         * math/w_j1l.c: Likewise.
74999         * math/w_jn.c: Likewise.
75000         * math/w_jnf.c: Likewise.
75001         * math/w_log.c: Likewise.
75002         * math/w_logf.c: Likewise.
75003         * math/w_logl.c: Likewise.
75004         * math/w_log10.c: Likewise.
75005         * math/w_log10f.c: Likewise.
75006         * math/w_log10l.c: Likewise.
75007         * math/w_log2.c: Likewise.
75008         * math/w_log2f.c: Likewise.
75009         * math/w_log2l.c: Likewise.
75010         * math/w_pow.c: Likewise.
75011         * math/w_powf.c: Likewise.
75012         * math/w_powl.c: Likewise.
75013         * math/w_remainder.c: Likewise.
75014         * math/w_remainderf.c: Likewise.
75015         * math/w_remainderl.c: Likewise.
75016         * math/w_scalb.c: Likewise.
75017         * math/w_scalbf.c: Likewise.
75018         * math/w_scalbl.c: Likewise.
75019         * math/w_sqrt.c: Likewise.
75020         * math/w_sqrtf.c: Likewise.
75021         * math/w_sqrtl.c: Likewise.
75022         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75023         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75024         used.
75025         * math/math_private.h: Declare __kernel_standard_f.
75026         * math/w_cosh.c: Remove cruft and optimize a bit.
75027         * math/w_coshf.c: Likewise.
75028         * math/w_coshl.c: Likewise.
75029         * math/w_exp2.c: Likewise.
75030         * math/w_exp2f.c: Likewise.
75031         * math/w_exp2l.c: Likewise.
75032         * math/w_hypot.c: Likewise.
75033         * math/w_hypotf.c: Likewise.
75034         * math/w_hypotl.c: Likewise.
75035         * math/w_lgamma.c: Likewise.
75036         * math/w_lgamma_r.c: Likewise.
75037         * math/w_lgammaf.c: Likewise.
75038         * math/w_lgammaf_r.c: Likewise.
75039         * math/w_lgammal.c: Likewise.
75040         * math/w_lgammal_r.c: Likewise.
75041         * math/w_sinh.c: Likewise.
75042         * math/w_sinhf.c: Likewise.
75043         * math/w_sinhl.c: Likewise.
75044         * math/w_tgamma.c: Likewise.
75045         * math/w_tgammaf.c: Likewise.
75046         * math/w_tgammal.c: Likewise.
75047         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75048         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75049         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75050         Minor optimizations.  Pretty printing.  Remove cruft.
75051         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75052         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75053         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75054         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75055         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75056         * sysdeps/i386/fpu/e_asin.S: Likewise.
75057         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75058         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75059         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75060         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75061         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75062         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75063         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75064         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75065         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75066         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75067         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75068         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75069         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75070         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75071         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75072         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75073         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75074         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75075         * sysdeps/i386/fpu/e_log.S: Likewise.
75076         * sysdeps/i386/fpu/e_log10.S: Likewise.
75077         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75078         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75079         * sysdeps/i386/fpu/e_log2.S: Likewise.
75080         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75081         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75082         * sysdeps/i386/fpu/e_logf.S: Likewise.
75083         * sysdeps/i386/fpu/e_logl.S: Likewise.
75084         * sysdeps/i386/fpu/e_pow.S: Likewise.
75085         * sysdeps/i386/fpu/e_powf.S: Likewise.
75086         * sysdeps/i386/fpu/e_powl.S: Likewise.
75087         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75088         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75089         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75090         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75091         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75092         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75093         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75094         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75095         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75096         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75097         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75098         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75099         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75100         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75101         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75102         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75103         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75104         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75105         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75106         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75107         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75108         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75109         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75110         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75111         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75112         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75113         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75114         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75115         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75116         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75117         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75118         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75119         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75120         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75121         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75122         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75123         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75124         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75125         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75126         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75127         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75128         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75129         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75130         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75131         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75132         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75133         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75134         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75135         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75136         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75137         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75138         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75139         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75140         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75141         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75142         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75143         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75144         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75145         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75146         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75147         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75148         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75149         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75150         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75151         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75152         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75153         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75154         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75155         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75156         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75157         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75158         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75159         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75160         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75161         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75162         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75163         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75164         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75165         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75166         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75167         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75168         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75169         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75170         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75171         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75172         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75173         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75174         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75175         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75176         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75177         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75178         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75179         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75180         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75181         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75182         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75183         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75184         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75185         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75186         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75187         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75188         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75189         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75190         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75191         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75192         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75193         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75194         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75195         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75196         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75197         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75198         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75199         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75200         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75201         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75202         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75203         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75204         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75205         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75206         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75207         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75208         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75209         (__isnanf): Likewise.
75210         (__isinf_ns): Likewise.
75211         (__isinf_nsf): Likewise.
75212         (__finite): Likewise.
75213         (__finitef): Likewise.
75214         (__ieee754_sqrt): Define as macro.
75215         (__ieee754_sqrtf): Define as macro.
75216         (__ieee754_sqrtl): Define as macro.
75217         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75218         inlined copy.
75219         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75220         __FINITE_MATH_ONLY__ consistent.
75221         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75223 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75225         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75226         of rawmemchr.
75228         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75230 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75232         * po/ja.po: Update from translation team.
75234 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75236         * locale/programs/locarchive.c (prepare_address_space): New function.
75237         (create_archive, enlarge_archive, open_archive): Use it.
75239         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75240         inside [SHARED], where it is used.
75242         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75244         * nss/getent.c (netgroup_keys): Remove unused variable.
75245         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75247 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75249         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75250         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75251         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75252         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75253         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75254         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75255         * math/Makefile (libm-calls): Add s_isinf_ns.
75256         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75257         * math/multc3.c: Likewise.
75258         * math/s_casin.c: Likewise.
75259         * math/s_casinf.c: Likewise.
75260         * math/s_casinl.c: Likewise.
75261         * math/s_ccos.c: Likewise.
75262         * math/s_ccosf.c: Likewise.
75263         * math/s_ccosl.c: Likewise.
75264         * math/s_ctan.c: Likewise.
75265         * math/s_ctanf.c: Likewise.
75266         * math/s_ctanh.c: Likewise.
75267         * math/s_ctanhf.c: Likewise.
75268         * math/s_ctanhl.c: Likewise.
75269         * math/s_ctanl.c: Likewise.
75270         * math/w_fmod.c: Likewise.
75271         * math/w_fmodf.c: Likewise.
75272         * math/w_fmodl.c: Likewise.
75273         * math/w_remainder.c: Likewise.
75274         * math/w_remainderf.c: Likewise.
75275         * math/w_remainderl.c: Likewise.
75276         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75277         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75278         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75279         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75280         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75281         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75282         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75283         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75285         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75286         of the number.
75287         * stdio-common/printf_fphex.c: Likewise.
75288         * stdio-common/printf_size.c: Likewise.
75290         * math/e_exp10.c: Include math_private.h using <...> not "...".
75291         * math/e_exp10f.c: Likewise.
75292         * math/e_exp10l.c: Likewise.
75293         * math/e_exp2l.c: Likewise.
75294         * math/e_j0l.c: Likewise.
75295         * math/e_j1l.c: Likewise.
75296         * math/e_jnl.c: Likewise.
75297         * math/e_lgammal_r.c: Likewise.
75298         * math/e_rem_pio2l.c: Likewise.
75299         * math/e_scalb.c: Likewise.
75300         * math/e_scalbf.c: Likewise.
75301         * math/e_scalbl.c: Likewise.
75302         * math/k_cosl.c: Likewise.
75303         * math/k_sinl.c: Likewise.
75304         * math/k_tanl.c: Likewise.
75305         * math/s_cacoshf.c: Likewise.
75306         * math/s_catan.c: Likewise.
75307         * math/s_catanf.c: Likewise.
75308         * math/s_catanh.c: Likewise.
75309         * math/s_catanhf.c: Likewise.
75310         * math/s_catanhl.c: Likewise.
75311         * math/s_catanl.c: Likewise.
75312         * math/s_ccosh.c: Likewise.
75313         * math/s_ccoshf.c: Likewise.
75314         * math/s_ccoshl.c: Likewise.
75315         * math/s_cexp.c: Likewise.
75316         * math/s_cexpf.c: Likewise.
75317         * math/s_cexpl.c: Likewise.
75318         * math/s_clog.c: Likewise.
75319         * math/s_clog10.c: Likewise.
75320         * math/s_clog10f.c: Likewise.
75321         * math/s_clog10l.c: Likewise.
75322         * math/s_clogf.c: Likewise.
75323         * math/s_clogl.c: Likewise.
75324         * math/s_csin.c: Likewise.
75325         * math/s_csinf.c: Likewise.
75326         * math/s_csinh.c: Likewise.
75327         * math/s_csinhf.c: Likewise.
75328         * math/s_csinhl.c: Likewise.
75329         * math/s_csinl.c: Likewise.
75330         * math/s_csqrt.c: Likewise.
75331         * math/s_csqrtf.c: Likewise.
75332         * math/s_csqrtl.c: Likewise.
75333         * math/s_ctan.c: Likewise.
75334         * math/s_ctanf.c: Likewise.
75335         * math/s_ctanh.c: Likewise.
75336         * math/s_ctanhf.c: Likewise.
75337         * math/s_ctanhl.c: Likewise.
75338         * math/s_ctanl.c: Likewise.
75339         * math/s_ldexp.c: Likewise.
75340         * math/s_ldexpf.c: Likewise.
75341         * math/s_ldexpl.c: Likewise.
75342         * math/s_significand.c: Likewise.
75343         * math/s_significandf.c: Likewise.
75344         * math/s_significandl.c: Likewise.
75345         * math/w_acos.c: Likewise.
75346         * math/w_acosf.c: Likewise.
75347         * math/w_acosh.c: Likewise.
75348         * math/w_acoshf.c: Likewise.
75349         * math/w_acoshl.c: Likewise.
75350         * math/w_acosl.c: Likewise.
75351         * math/w_asin.c: Likewise.
75352         * math/w_asinf.c: Likewise.
75353         * math/w_asinl.c: Likewise.
75354         * math/w_atan2.c: Likewise.
75355         * math/w_atan2f.c: Likewise.
75356         * math/w_atan2l.c: Likewise.
75357         * math/w_atanh.c: Likewise.
75358         * math/w_atanhf.c: Likewise.
75359         * math/w_atanhl.c: Likewise.
75360         * math/w_cosh.c: Likewise.
75361         * math/w_coshf.c: Likewise.
75362         * math/w_coshl.c: Likewise.
75363         * math/w_dremf.c: Likewise.
75364         * math/w_exp10.c: Likewise.
75365         * math/w_exp10f.c: Likewise.
75366         * math/w_exp10l.c: Likewise.
75367         * math/w_exp2.c: Likewise.
75368         * math/w_exp2f.c: Likewise.
75369         * math/w_fmod.c: Likewise.
75370         * math/w_fmodf.c: Likewise.
75371         * math/w_fmodl.c: Likewise.
75372         * math/w_hypot.c: Likewise.
75373         * math/w_hypotf.c: Likewise.
75374         * math/w_hypotl.c: Likewise.
75375         * math/w_j0.c: Likewise.
75376         * math/w_j0f.c: Likewise.
75377         * math/w_j0l.c: Likewise.
75378         * math/w_j1.c: Likewise.
75379         * math/w_j1f.c: Likewise.
75380         * math/w_j1l.c: Likewise.
75381         * math/w_jn.c: Likewise.
75382         * math/w_jnf.c: Likewise.
75383         * math/w_jnl.c: Likewise.
75384         * math/w_lgamma.c: Likewise.
75385         * math/w_lgamma_r.c: Likewise.
75386         * math/w_lgammaf.c: Likewise.
75387         * math/w_lgammaf_r.c: Likewise.
75388         * math/w_lgammal.c: Likewise.
75389         * math/w_lgammal_r.c: Likewise.
75390         * math/w_log.c: Likewise.
75391         * math/w_log10.c: Likewise.
75392         * math/w_log10f.c: Likewise.
75393         * math/w_log10l.c: Likewise.
75394         * math/w_log2.c: Likewise.
75395         * math/w_log2f.c: Likewise.
75396         * math/w_log2l.c: Likewise.
75397         * math/w_logf.c: Likewise.
75398         * math/w_logl.c: Likewise.
75399         * math/w_pow.c: Likewise.
75400         * math/w_powf.c: Likewise.
75401         * math/w_powl.c: Likewise.
75402         * math/w_remainder.c: Likewise.
75403         * math/w_remainderf.c: Likewise.
75404         * math/w_remainderl.c: Likewise.
75405         * math/w_scalb.c: Likewise.
75406         * math/w_scalbf.c: Likewise.
75407         * math/w_scalbl.c: Likewise.
75408         * math/w_sinh.c: Likewise.
75409         * math/w_sinhf.c: Likewise.
75410         * math/w_sinhl.c: Likewise.
75411         * math/w_sqrt.c: Likewise.
75412         * math/w_sqrtf.c: Likewise.
75413         * math/w_sqrtl.c: Likewise.
75414         * math/w_tgamma.c: Likewise.
75415         * math/w_tgammaf.c: Likewise.
75416         * math/w_tgammal.c: Likewise.
75418         * po/ja.po: Update from translation team.
75420 2011-09-29  Andreas Jaeger  <aj@suse.de>
75422         [BZ #13179]
75423         * sunrpc/netname.c (netname2host): Fix logic.
75425         [BZ #6779]
75426         [BZ #6783]
75427         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75428         correctly.
75429         * math/w_remainder.c (__remainder): Likewise.
75430         * math/w_remainderf.c (__remainderf): Likewise.
75431         * math/libm-test.inc (remainder_test): Add test cases.
75433 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75435         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75436         sdiv_qrnnd.
75438 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75440         * string/test-memcmp.c: Avoid unncessary #defines.
75441         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75443 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75445         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75446         Use new sse2 version for core i3 - i7 as it's faster
75447         than sse42 version.
75448         (bit_Prefer_PMINUB_for_stringop): New.
75449         * sysdeps/x86_64/rawmemchr.S: Update.
75450         Replace with faster SSE2 version.
75451         * sysdeps/x86_64/memrchr.S: New file.
75452         * sysdeps/x86_64/memchr.S: Update.
75453         Replace with faster SSE2 version.
75455 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75457         * elf/dl-load.c (lose): Add cast to avoid warning.
75459 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75461         * po/ca.po: Update from translation team.
75463         * inet/getnetgrent_r.c: Hook up nscd.
75464         * nscd/Makefile (routines): Add nscd_netgroup.
75465         (nscd-modules): Add netgroupcache.
75466         (CFLAGS-netgroupcache.c): Define.
75467         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75468         (cache_search): Add const to second parameter.
75469         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75470         INNETGR.
75471         (dbs): Add netgrdb entry.
75472         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75473         (verify_persistent_db): Handle netgrdb.
75474         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75475         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75476         GETFDNETGR.
75477         (netgroup_response_header): Define.
75478         (innetgroup_response_header): Define.
75479         (datahead): Add netgroup_response_header and innetgroup_response_header
75480         elements.
75481         * nscd/nscd.conf: Add entries for netgroup cache.
75482         * nscd/nscd.h (dbtype): Add netgrdb.
75483         (_PATH_NSCD_NETGROUP_DB): Define.
75484         (netgroup_iov_disabled): Declare.
75485         (xmalloc, xcalloc, xrealloc): Move declarations here.
75486         (cache_search): Adjust prototype.
75487         Add netgroup-related prototypes.
75488         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75489         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75490         (__nscd_innetgr): Declare.
75491         * nscd/selinux.c (perms): Use access_vector_t as element type and
75492         add netgroup-related initializers.
75493         * nscd/netgroupcache.c: New file.
75494         * nscd/nscd_netgroup.c: New file.
75495         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75496         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75497         For four parameters use innetgr.
75498         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75499         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75500         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75501         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75503         * nscd/connections.c (register_traced_file): Don't register file
75504         for disabled databases.
75506 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75508         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75510         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75511         from tree and freeing node.
75513 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75515         * nss/nsswitch.c (__nss_database_lookup): Handle
75516         nss_parse_service_list out of memory case.
75518 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75520         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75521         out of memory case.
75523 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75525         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75526         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75527         pass it down.
75528         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75529         elf_machine_rela, elf_machine_lazy_rel.
75530         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75531         (ELF_DYNAMIC_DO_REL): Likewise.
75532         (ELF_DYNAMIC_DO_RELA): Likewise.
75533         (ELF_DYNAMIC_RELOCATE): Likewise.
75534         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75535         to ELF_DYNAMIC_DO_REL.
75536         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75537         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75538         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75539         elf_machine_rela.
75540         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75541         skip_ifunc, don't call ifunc function if non-zero.
75542         (elf_machine_rela): Likewise.
75543         (elf_machine_lazy_rel): Likewise.
75544         (elf_machine_lazy_rela): Likewise.
75545         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75546         (elf_machine_lazy_rel): Likewise.
75547         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75548         Likewise.
75549         (elf_machine_lazy_rel): Likewise.
75550         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75551         Likewise.
75552         (elf_machine_lazy_rel): Likewise.
75553         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75554         (elf_machine_lazy_rel): Likewise.
75555         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75556         (elf_machine_lazy_rel): Likewise.
75557         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75558         (elf_machine_lazy_rel): Likewise.
75559         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75560         (elf_machine_lazy_rel): Likewise.
75561         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75562         (elf_machine_lazy_rel): Likewise.
75563         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75564         (elf_machine_lazy_rel): Likewise.
75566 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75568         * nss/nss_files/files-init.c (_nss_files_init): Use static
75569         initialization for all the *_traced_file variables.
75571 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75573         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75575 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75577         [BZ #13226]
75578         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75580 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75582         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75583         Reread the line before reparsing it.
75585 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75587         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75589 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75590             Maxim Kuvyrkov  <maxim@codesourcery.com>
75591             Joseph Myers  <joseph@codesourcery.com>
75593         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75594         if needed for __stack_chk_guard.
75596 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75598         * sysdeps/posix/spawni.c (script_execute): Always define it.
75599         It will be optimized away if unused.
75600         (maybe_script_execute): New function.
75601         (__spawni): Call it.
75603         * Makerules: Don't include tls.make.
75604         (config-tls): Always set to thread.
75605         * tls.make.c: File removed.
75607 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75609         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75610         * config.make.in (CPPFLAGS-config): New substituted variable.
75612 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75614         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75616         [BZ #13192]
75617         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75618         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75620 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75622         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75623         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75624         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75625         (CALL_FAIL): Likewise.
75626         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75627         (CALL_FAIL): Macro removed.
75628         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75630 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75632         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75633         for __FINITE_MATH_ONLY__ == 1.
75635 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75637         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75638         __ieee754_sqrt instead of sqrt.
75639         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75640         __ieee754_sqrtf instead of sqrtf.
75641         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75642         __floorf instead of floorf.
75643         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75644         __floorf, __truncf instead of floorf, truncf.
75646 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75648         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75650         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75651         __extern_always_inline.
75652         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75653         32-bit.
75655 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75657         * elf/rtld.c (dl_main): Also relocate in dependency order when
75658         doing symbol dependency testing.
75660 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75662         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75663         Always define `refsym'.
75665 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75667         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75668         (__FD_ELT): Renamed from __FDELT.
75669         * misc/bits/select2.h (__FD_ELT): Likewise.
75670         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75671         __FD_MASK instead of __FDELT, __FDMASK.
75672         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75673         Likewise.
75674         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75675         Likewise.
75677         * elf/Makefile (gen-ldd): Fix pattern.
75679         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75680         (init_tls): Likewise.
75682 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75684         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75686 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75688         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75689         `struct cmsghdr *' instead of `void *'.
75690         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75691         Likewise.
75693 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75695         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75696         if non-absolute.
75697         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75698         ldd_rewrite_script.
75700 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75702         * configure.in: Remove --with-tls option.
75703         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75704         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75705         out in case it is missing.
75706         * sysdeps/ia64/elf/configure.in: Likewise.
75707         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75708         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75709         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75710         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75711         * sysdeps/sh/elf/configure.in: Likewise.
75712         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75713         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75714         * sysdeps/x86_64/elf/configure.in: Likewise.
75715         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75716         * sysdeps/mach/hurd/tls.h: Likewise.
75718         [BZ #13067]
75719         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75721         [BZ #13090]
75722         * configure.in: Fix use of AC_INIT.
75724         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75726 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75728         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75729         __set_errno.
75730         * malloc/hooks.c: Likewise.
75732         [BZ #11929]
75733         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75734         variables statically.
75735         (narenas): Initialize.
75736         (list_lock): Initialize.
75737         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75738         initializtion of main_arena and list_lock.  Small cleanups.
75739         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75740         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75741         Add initializers to main_arena and mp_.
75742         (malloc_state): Remove pagesize member.  Change all users to use
75743         GLRO(dl_pagesize).
75745         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75746         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75747         is always initialized.
75749         * malloc/malloc.c: Removed unused configurations and dead code.
75750         * malloc/arena.c: Likewise.
75751         * malloc/hooks.c: Likewise.
75752         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75754         * include/tls.h: Removed.  USE___THREAD must always be defined.
75755         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75756         * elf/dl-libc.c: Likewise.
75757         * elf/dl-tsd.c: Likewise.
75758         * include/errno.h: Likewise.
75759         * include/netdb.h: Likewise.
75760         * include/resolv.h: Likewise.
75761         * inet/herrno-loc.c: Likewise.
75762         * inet/herrno.c: Likewise.
75763         * malloc/arena.c: Likewise.
75764         * malloc/hooks.c: Likewise.
75765         * malloc/malloc.c: Likewise.
75766         * resolv/res-state.c: Likewise.
75767         * resolv/res_libc.c: Likewise.
75768         * sysdeps/i386/dl-machine.h: Likewise.
75769         * sysdeps/ia64/dl-machine.h: Likewise.
75770         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75771         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75772         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75773         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75774         * sysdeps/sh/dl-machine.h: Likewise.
75775         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75776         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75777         * sysdeps/unix/i386/sysdep.S: Likewise.
75778         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75779         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75780         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75781         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75782         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75783         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75784         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75785         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75786         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75787         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75788         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75789         * sysdeps/x86_64/dl-machine.h: Likewise.
75790         * tls.make.c: Likewise.
75792         * configure.in: Remove --with-__thread option.  Make tests for
75793         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75794         tls_model attribute fail if no support is available.  Remove
75795         USE_IN_LIBIO.
75796         * Makeconfig: Adjust for dropped configure option.  All features are
75797         now mandatory.
75798         * Makerules: Likewise.
75799         * Versions.def: Likewise.
75800         * argp/argp-fmtstream.c: Likewise.
75801         * argp/argp-fmtstream.h: Likewise.
75802         * argp/argp-help.c: Likewise.
75803         * assert/assert.c: Likewise.
75804         * config.h.in: Likewise.
75805         * config.make.in: Likewise.
75806         * configure: Likewise.
75807         * configure.in: Likewise.
75808         * csu/Versions: Likewise.
75809         * csu/init.c: Likewise.
75810         * elf/tst-audit2.c: Likewise.
75811         * elf/tst-tls10.c: Likewise.
75812         * elf/tst-tls10.h: Likewise.
75813         * elf/tst-tls11.c: Likewise.
75814         * elf/tst-tls12.c: Likewise.
75815         * elf/tst-tls14.c: Likewise.
75816         * elf/tst-tlsmod11.c: Likewise.
75817         * elf/tst-tlsmod12.c: Likewise.
75818         * elf/tst-tlsmod13.c: Likewise.
75819         * elf/tst-tlsmod13a.c: Likewise.
75820         * elf/tst-tlsmod14a.c: Likewise.
75821         * elf/tst-tlsmod15b.c: Likewise.
75822         * elf/tst-tlsmod16a.c: Likewise.
75823         * elf/tst-tlsmod16b.c: Likewise.
75824         * elf/tst-tlsmod7.c: Likewise.
75825         * elf/tst-tlsmod8.c: Likewise.
75826         * elf/tst-tlsmod9.c: Likewise.
75827         * gmon/gmon.c: Likewise.
75828         * grp/fgetgrent_r.c: Likewise.
75829         * grp/putgrent.c: Likewise.
75830         * hurd/fopenport.c: Likewise.
75831         * include/libc-symbols.h: Likewise.
75832         * include/tls.h: Likewise.
75833         * intl/gettextP.h: Likewise.
75834         * intl/loadinfo.h: Likewise.
75835         * locale/global-locale.c: Likewise.
75836         * locale/localeinfo.h: Likewise.
75837         * mach/devstream.c: Likewise.
75838         * malloc/arena.c: Likewise.
75839         * malloc/set-freeres.c: Likewise.
75840         * misc/err.c: Likewise.
75841         * misc/getttyent.c: Likewise.
75842         * misc/mntent_r.c: Likewise.
75843         * posix/getopt.c: Likewise.
75844         * posix/wordexp.c: Likewise.
75845         * pwd/fgetpwent_r.c: Likewise.
75846         * resolv/Versions: Likewise.
75847         * resolv/res_hconf.c: Likewise.
75848         * shadow/fgetspent_r.c: Likewise.
75849         * shadow/putspent.c: Likewise.
75850         * stdio-common/printf_fphex.c: Likewise.
75851         * stdio-common/tmpfile.c: Likewise.
75852         * stdlib/abort.c: Likewise.
75853         * stdlib/fmtmsg.c: Likewise.
75854         * sunrpc/auth_unix.c: Likewise.
75855         * sunrpc/clnt_perr.c: Likewise.
75856         * sunrpc/clnt_tcp.c: Likewise.
75857         * sunrpc/clnt_udp.c: Likewise.
75858         * sunrpc/clnt_unix.c: Likewise.
75859         * sunrpc/openchild.c: Likewise.
75860         * sunrpc/svc_simple.c: Likewise.
75861         * sunrpc/svc_tcp.c: Likewise.
75862         * sunrpc/svc_udp.c: Likewise.
75863         * sunrpc/svc_unix.c: Likewise.
75864         * sunrpc/xdr.c: Likewise.
75865         * sunrpc/xdr_array.c: Likewise.
75866         * sunrpc/xdr_rec.c: Likewise.
75867         * sunrpc/xdr_ref.c: Likewise.
75868         * sunrpc/xdr_stdio.c: Likewise.
75870 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75872         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75874 2011-07-03  Andreas Jaeger  <aj@suse.de>
75876         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75877         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75878         regenerate with gen-libm-tests.pl.
75880 2010-05-12  Petr Baudis  <pasky@suse.cz>
75882         [BZ #11589]
75883         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75884         around j0() zero points by switching to j1().
75885         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75886         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75887         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75888         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75890 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75892         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75893         instead of 0.
75894         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75895         instead of 0.
75896         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75897         Patch in part by Pavel Roskin <proski@gnu.org>.
75899         [BZ #13138]
75900         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75901         realloc.
75902         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75903         Free memory block if necessary.
75905         [BZ #12847]
75906         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75907         be NULL.  Don't lock in this case.
75909 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75911         * elf/elf.h (ELFOSABI_GNU): New macro.
75912         (ELFOSABI_LINUX): Define to that.
75914 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75916         * string/strncat.c (strncat): Undef the symbol in case it has been
75917         defined in bits/string.h.
75919 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75921         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75923         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75924         link map.
75926 2011-08-17  Andreas Jaeger  <aj@suse.de>
75928         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75930 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75931             Ian Lance Taylor  <iant@google.com>
75933         * math/libm-test.inc (lround_test): New testcase.
75934         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75936 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75938         * Makefile: Remove support for automatic cvs check-ins.
75939         * Makerules: Likewise.
75940         * config.make.in: Likewise.
75941         * configure.in: Likewise.
75942         * intl/Makefile: Likewise.
75943         * locale/Makefile: Likewise.
75944         * po/Makefile: Likewise.
75945         * posix/Makefile: Likewise.
75946         * sysdeps/gnu/Makefile: Likewise.
75947         * sysdeps/mach/hurd/Makefile: Likewise.
75948         * sysdeps/sparc/sparc32/Makefile: Likewise.
75950         [BZ #13118]
75951         * posix/Makefile (bug-regex32-ENV): Define.
75952         Patch by John Stanley <jpsinthemix@verizon.net>.
75954         * misc/Makefile (headers): Add bits/select2.h.
75955         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75956         * misc/bits/select2.h: New file.
75957         * include/bits/select2.h: New file.
75958         * debug/Makefile (routines): Add fdelt_chk.
75959         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75960         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75961         FD_ISSET.
75962         * debug/fdelt_chk.c: New file.
75964         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75965         * wcsmbs/test-wmemcmp.c: Likewise.
75966         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75967         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75969 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75971         * string/Makefile (strop-tests): Add memcmp.
75972         * string/test-wmemcmp.c: New file.
75973         * string/test-memcmp.c: Add wmemcmp support.
75975 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75977         [BZ #13153]
75978         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75979         2011-07-19 change.
75981         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75982         garbage value in a __mach_port_mod_refs call in the cases of the
75983         task-self and thread-self ports.
75985 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75987         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75989 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75991         * elf/dl-load.c (lose): Check for non-null L.
75993 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75995         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75997         * elf/dl-libc.c (dlerror_run): Pass back error code from
75998         dl_catch_error.
76000         [BZ #13123]
76001         * elf/dl-load.c (lose): Free l_origin if it is valid.
76003         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76004         names.
76005         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76006         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76007         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76008         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76009         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76010         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76012 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76014         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76015         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76016         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76017         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76018         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76019         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76020         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76021         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76022         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76023         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76025 2011-08-15  Alan Modra  <amodra@gmail.com>
76027         [BZ #13092]
76028         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76029         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76030         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76031         ppc_mcount to static-only-routines.
76032         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76033         __mcount_internal.
76034         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76035         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76037 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76039         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76040         for finite and infinity parameters.
76042 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76044         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76045         and add nop instructions for throughput optimization.
76046         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76048 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76050         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76051         aligned copy for power7 with vector-scalar instructions.
76052         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76054 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76056         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76057         AVX check.
76059 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76061         [BZ #13144]
76062         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76063         last change.
76065 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76067         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76068         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76069         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76070         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76071         clock_gettime.
76073 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76075         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76076         Forgot to demangle the pointer.
76078         * sysdeps/i386/sysdep.h: Define atom_text_section.
76079         * sysdeps/x86_64/sysdep.h: Likewise.
76080         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76081         section with atom_text_section.
76082         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76083         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76084         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76085         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76086         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76088         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76089         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76090         already be defined.  Change to take two parameters and don't assign
76091         result to variable.  Adjust all users.
76092         Define INTERNAL_GETTIME if not already defined.
76093         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76094         call.
76095         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76096         HAVE_CLOCK_GETTIME_VSYSCALL.
76097         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76099         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76100         gettimeofday vsyscall, just use time.
76102 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76104         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76105         <errno.h>.
76107 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76109         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76110         syscall on x86-64.
76111         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76112         syscall.
76113         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76114         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76115         syscall if possible.
76117 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76119         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76120         e_ident.  Don't pass to find_mapsXX.
76121         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76123 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76125         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76126         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76127         * sysdeps/x86_64/multiarch/strchr.S: Update.
76128         Check bit_slow_BSF bit.
76129         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76130         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76131         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76133 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76135         [BZ #13134]
76136         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76137         before glibc 2.15.
76138         (tryshell): Define.
76139         (__spawni): Change last parameter to be flag.  Test
76140         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76141         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76142         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76143         * posix/spawni.c: Likewise.
76144         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76145         * posix/spawnp.c: Likewise.  Change normal version to use
76146         SPAWN_XFLAGS_USE_PATH.
76147         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76148         SPAWN_XFLAGS_TRY_SHELL.
76150         [BZ #13150]
76151         * posix/glob.h: Remove gcc 1.x support.
76153         [BZ #13068]
76154         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76156 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76158         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76159         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76160         strrchr-sse2-bsf
76161         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76162         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76163         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76164         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76165         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76166         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76168 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76170         * sysdeps/x86_64/wcscmp.S: New file.
76172         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76173         wcscmp-c wcscmp-sse2
76174         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76175         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76176         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76177         * wcsmbs/wcscmp.c: Allow renaming.
76179 2011-09-05  David S. Miller  <davem@davemloft.net>
76181         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76182         stack slot, rather than the struct return pointer slot.
76183         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76184         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76186         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76188 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76190         * po/ja.po: Update from translation team.
76192         [BZ #13144]
76193         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76194         kernel in 64-bit binaries.
76196 2011-09-01  David S. Miller  <davem@davemloft.net>
76198         * elf/elf.h (HWCAP_SPARC_*): Move to..
76199         * sysdeps/sparc/sysdep.h: this new file and add new values.
76200         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76201         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76202         _DL_HWCAP_COUNT to 24.
76203         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76204         entries.
76205         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76206         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76207         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76208         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76209         instead of magic constants.
76210         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76212 2011-08-31  David S. Miller  <davem@davemloft.net>
76214         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76215         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76216         Reimplement to do errno handling inline.
76217         (SYSCALL_ERROR_HANDLER): New macro.
76218         (__SYSCALL_STRING): Do not do errno handling in asm.
76219         (__CLONE_SYSCALL_STRING): Delete.
76220         (__INTERNAL_SYSCALL_STRING): Delete.
76221         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76222         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76223         (PSEUDO): Reimplement to do errno handling inline.
76224         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76225         (SYSCALL_ERROR_HANDLER): New macro.
76226         (__SYSCALL_STRING): Do not do errno handling in asm.
76227         (__CLONE_SYSCALL_STRING): Delete.
76228         (__INTERNAL_SYSCALL_STRING): Delete.
76229         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76230         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76231         i386.
76232         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76233         (inline_syscall*): Add 'err' argument.
76234         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76235         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76236         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76237         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76239         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76240         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76242 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76244         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76246 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76248         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76249         directive.
76251 2011-08-24  David S. Miller  <davem@davemloft.net>
76253         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76255 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76257         * elf/Makefile: Add rules to build and run unload8 test.
76258         * elf/unload8.c: New file.
76259         * elf/unload8mod1.c: New file.
76260         * elf/unload8mod1x.c: New file.
76261         * elf/unload8mod2.c: New file.
76262         * elf/unload8mod3.c: New file.
76264         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76265         it wasn't used.
76267 2011-08-23  David S. Miller  <davem@davemloft.net>
76269         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76270         subtract stack bias.
76271         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76272         %sp not %fp in calculations.
76273         (_JMPBUF_UNWINDS_ADJ): Likewise.
76275         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76276         (aio_suspend): Call it to force an exception region around the
76277         AIO_MISC_WAIT() invocation.
76279 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76281         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76282         backslash.
76284 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76286         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76287         protection macro.
76288         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76289         and <dl-machine.h>.
76290         (Elf64_FuncDesc): Remove.
76292 2011-08-22  David S. Miller  <davem@davemloft.net>
76294         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76295         sigaltstack check, add missing cfi directives.
76296         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76297         missing cfi directives, and sigaltstack handling.
76299 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76301         [BZ #11724]
76302         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76303         object is seen twice.
76304         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76306         * elf/Makefile (distribute): Add tst-initorder2.c.
76307         (tests): Add tst-initorder2.
76308         (modules-names): Add tst-initorder2a tst-initorder2b
76309         tst-initorder2c tst-initorder2d.  Add rules to build them.
76310         ($(objpfx)tst-initorder2.out): New rule.
76311         * elf/tst-initorder2.c: New file.
76312         * elf/tst-initorder2.exp: New file.
76314 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76316         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76318         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76319         dependencies back to end of function.
76321         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76322         $(elfobjdir)/ld.so.
76324 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76326         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76327         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76328         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76329         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76330         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76331         of __vdso_gettimeofday.
76332         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76333         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76334         attribute_hidden.
76335         (_libc_vdso_platform_setup): Remove initialization of
76336         __vdso_gettimeofday and __vdso_time.
76338 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76340         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76341         and fgetc_unlocked.
76342         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76343         getc_unlocked.
76345         * elf/dl-open.c (add_to_global): Report additions to the global scope
76346         for LD_DEBUG=scopes.
76347         (dl_open_worker): Also print scope of newly loaded dependencies.
76348         (_dl_show_scope): Indicate if there is no scope.
76350         [BZ #13114]
76351         * stdio-common/Makefile (tests): Add bug24.
76352         * stdio-common/bug24.c: New file.
76354 2011-08-19  Andreas Jaeger  <aj@suse.de>
76356         [BZ #13114]
76357         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76358         non-existant file when using close-on-exec mode.
76360 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76362         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76363         the very first instruction.
76365         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76366         the CFI state in the end.
76367         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76368         inclusion of dl-trampoline.h.
76369         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76371 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76373         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76374         expectations for long double.
76376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76377         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76379 2011-08-14  David S. Miller  <davem@davemloft.net>
76381         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76382         artificual limit depends upon the system page size.
76384 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76386         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76387         * resolv/Makefile: Define CFLAGS-libresolv.
76389 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76391         * nss/makedb.c (compute_tables): Make variables used in nested
76392         function static.
76394 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76396         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76397         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76398         if buffer was too small.
76400         * elf/pldd.c (main): Attach to all threads in the process.
76401         Rewrite /proc handling to use *at functions.
76403 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76405         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76406         specifies first scope to show.
76407         (dl_open_worker): Update callers.  Move printing scope of new
76408         object to before the relocation.
76409         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76410         * sysdeps/generic/ldsodefs.h: Update declaration.
76412         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76413         string for the scope number.
76415 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76417         * nscd/servicescache.c (cache_addserv): Make sure written is always
76418         initialized.
76420 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76422         * sysdeps/i386/i486/bits/atomic.h
76423         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76424         statement expression, so as to suppress "set but not used" warning.
76425         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76427         * string/strncat.c (STRNCAT): Use prototype definition.
76429         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76430         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76431         -Iprograms here.
76432         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76433         (localedef-modules): Add localedef.
76434         (locale-modules): Add locale.
76436         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76437         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76438         to avoid a warning.
76440 2011-08-14  David S. Miller  <davem@davemloft.net>
76442         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76443         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76445 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76447         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76448         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76449         * elf/rtld.c (dl_main): Set l_name of vDSO.
76450         Call _dl_show_scope when DL_DEBUG_SCOPES.
76451         (process_dl_debug): Recognize scopes flag and also set it for all.
76452         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76453         Declare _dl_show_scope.
76455         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76456         (do_dlopen): Pass caller_dlopen to dl_open.
76457         (__libc_dlopen_mode): Initialize caller_dlopen.
76459         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76460         of libc.  Make tolower call locale-independent.  Optimize a bit by
76461         using isdigit instead of isalnum.
76462         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76464 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76466         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76467         was a dependency or dynamically loaded.
76469 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76471         * intl/l10nflist.c: Allow architecture-specific pop function.
76472         * sysdeps/x86_64/l10nflist.c: New file.
76474         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76475         classification.
76477 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76479         * include/dirent.h: Add libc_hidden_proto for scandirat and
76480         scandirat64.  Don't declare __scandirat64.
76481         * dirent/scandirat.c: Add libc_hidden_def.
76482         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76483         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76485 2011-08-10  David S. Miller  <davem@davemloft.net>
76487         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76488         enum.
76489         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76490         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76491         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76493 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76495         * Versions.def [libc]: Add GLIBC_2.15.
76496         * dirent/Makefile (routines): Add scandirat and scandirat64.
76497         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76498         GLIBC_2.15.
76499         * dirent/dirent.h: Declare scandirat and scandirat64.
76500         * dirent/scandirat.c: New file.
76501         * dirent/scandirat64.c: New file.
76502         * sysdeps/wordsize-64/scandirat.c: New file.
76503         * sysdeps/wordsize-64/scandirat64.c: New file.
76504         * dirent/opendir.c: Define opendirat.
76505         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76506         using scandirat.
76507         * dirent/scandir64.c: Adjust for scandir.c change.
76508         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76509         __scandirat64, and __scandir_cancel_handler.
76510         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76511         additional parameter and use openat instead of open (outside of ld.so).
76512         Add new __opendir as wrapper around __opendirat.
76513         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76514         here without requiring old scandirat implementation.
76516 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76518         * dirent/scandir.c (cancel_handler): Renamed to
76519         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76520         defined.  Adjust users.
76521         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76522         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76524 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76526         * string/test-string.h (IMPL): Use __STRING to expand name and then
76527         stringify it.
76529         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76530         of cleanups.
76532 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76534         * string/Makefile: Update.
76535         (strop-tests): Append strncat.
76536         * string/test-wcscmp.c: New file.
76537         New comprehensive test for wcscmp.
76538         * string/test-strcmp.c: Update.
76539         (WIDE): New define.
76541 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76543         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76544         line.
76546 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76549         encoding to ACE if AI_IDN.
76551 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76553         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76554         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76556 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76558         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76559         Fix overflow bug in strncat.
76560         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76562         * string/test-strncat.c: Update.
76563         Add new tests for checking overflow bugs.
76565 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76567         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76568         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76569         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76570         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76571         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76572         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76573         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76574         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76575         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76577         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76578         (USE_AS_STRCAT): Define.
76579         Add strcat and strncat support.
76580         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76582 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76584         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76585         __n bigger than INT_MAX+1.
76586         (__strncmp_g): Likewise.
76588 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76590         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76591         * libio/stido.h: Likewise.
76593         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76594         (AF_NFC): Define.
76595         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76596         (AF_NFC): Define.
76598         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76599         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76600         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76601         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76602         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76604         [BZ #13021]
76605         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76606         installed.
76608         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76609         typo.
76610         (_dl_x86_64_save_sse): Likewise.
76612 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76614         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76615         OSXSAVE.
76616         (_dl_x86_64_save_sse): Likewise.
76618         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76620         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76622 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76624         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76625         change.
76626         (_dl_x86_64_save_sse): Use correct AVX check.
76628 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76630         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76631         bug in strncpy/strncat.
76632         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76634 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76636         * string/tester.c (test_strcat): Add tests for different alignments
76637         of source and destination.
76638         (test_strncat): Likewise.
76640 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76642         [BZ #12852]
76643         * posix/glob.c (glob): Check passed in values before using them in
76644         expressions to avoid some overflows.
76645         (glob_in_dir): Likewise.
76647         [BZ #13007]
76648         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76649         check for AVX enablement so that we don't crash with old kernels and
76650         new hardware.
76651         * elf/tst-audit4.c: Add same checks here.
76652         * elf/tst-audit6.c: Likewise.
76654         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76656 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76658         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76660 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76662         * po/cs.po: Update from translation team.
76663         * po/bg.po: Likewise.
76665 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76667         * misc/sys/cdefs.h: Add support for const attribute.
76668         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76669         to gnu_dev_{major,minor,makedev} functions.
76671 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76673         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76675 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76677         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76678         strlen results.
76680 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76682         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76683         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76684         register in order to avoid conflicts with the soft frame pointer
76685         being held in r11 when necessary.
76686         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76687         (INTERNAL_VSYSCALL_NCS): Likewise.
76689 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76691         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76692         * elf/dl-fini.c (_dl_fini): Adjust caller.
76693         * elf/dl-close.c (_dl_close_worker): Likewise.
76694         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76696 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76698         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76699         "aux_cache->nlibs < 0".
76701         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76702         in the reload-count case.
76704 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76707         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76708         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76709         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76710         * sysdeps/x86_64/multiarch/strcat.S: New file.
76711         * sysdeps/x86_64/multiarch/strncat.S: New file.
76712         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76713         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76714         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76715         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76716         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76717         (USE_AS_STRCAT): Define.
76718         Add strcat and strncat support.
76719         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76720         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76721         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76722         * string/strncat.c: Update.
76723         (USE_AS_STRNCAT): Define.
76724         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76725         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76726         and i7.
76727         * sysdeps/x86_64/multiarch/init-arch.h
76728         (bit_Prefer_PMINUB_for_stringop): New.
76729         (index_Prefer_PMINUB_for_stringop): Likewise.
76730         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76731         bit_Prefer_PMINUB_for_stringop.
76733 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76735         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76736         buffer64.
76737         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76738         of casting of buffer.
76739         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76740         buffer32 and buffer64.
76741         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76742         writes instead of casting of buffer.
76743         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76744         buffer32.
76745         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76746         casting of buffer.
76748 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76750         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76752 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76754         * nscd/nscd.c (termination_handler): Don't do anything for a database
76755         if it has not yet been initialized.
76757 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76759         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76761 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76763         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76765 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76767         * po/nl.po: Update from translation team.
76768         * po/sv.po: Likewise.
76770 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76772         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76773         now disallowed by GCC.
76775         * configure.in (use-default-link): Default to yes if a test -shared
76776         link meets our qualifications.
76777         * configure: Regenerated.
76779         * config.make.in (output-format): New variable.
76780         * configure.in: Check for ld --print-output-format support.
76781         * configure: Regenerated.
76782         * Makerules ($(common-objpfx)format.lds)
76783         [$(output-format) != unknown]: Just use $(output-format),
76784         instead of the linker-script munging.
76786 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76788         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76789         of $(common-objpfx)shlib.lds.
76790         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76792         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76793         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76795         * configure.in (-z relro check): Adjust test code to add a large
76796         writable data section after it.
76797         * configure: Regenerated.
76799 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76801         * configure.in (-z relro check): Fix test code to make the variable
76802         truly const.
76803         * configure: Regenerated.
76805 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76807         * nscd/nscd.h (struct traced_file): Define.
76808         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76809         elements.  Add traced_files.
76810         (inotify_fd): Declare.
76811         (register_traced_file): Declare.
76812         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76813         (inotify_fd): Export.
76814         (resolv_conf_descr): Remove.
76815         (nscd_init): Move inotify descriptor creation to main.
76816         Don't register files for notification here.
76817         (register_traced_file): New function.
76818         (invalidate_cache): Don't use reset_res to determine whether to call
76819         res_init, go through the list of registered files.
76820         (main_loop_poll): The inotify descriptors are now stored in the
76821         structures for the traced files.
76822         (main_loop_epoll): Likewise.
76823         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76824         to __nss_disable_nscd.
76825         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76826         for a database anymore.  Check the records for all the registered
76827         files instead.
76828         * nss/Makefile (libnss_files-routines): Add files-init.
76829         (libnss_db-routines): Add db-init.
76830         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76831         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76832         * nss/nss_db/db-init.c: New file.
76833         * nss/nss_files/files-init.c: New file.
76834         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76835         __nss_lookup_function.
76836         (__nss_lookup_function): Call nss_load_library.
76837         (nss_load_all_libraries): New function.
76838         (__nss_disable_nscd): Take parameter with callback function for files
76839         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76840         used for the cached services.
76841         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76842         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76843         options for features to all the files in nscd.
76845         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76847 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76849         * csu/elf-init.c (__libc_csu_init): Comment typo.
76851 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76853         * po/pl.po: Update from translation team.
76854         * po/ja.po: Likewise.
76855         * po/ru.po: Likewise.
76856         * po/ko.po: Likewise.
76857         * po/fr.po: Likewise.
76859 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76861         * configure.in (.ctors/.dtors header and trailer check):
76862         Use an empirical test on a built program.
76863         * configure: Regenerated.
76865         * configure.in (-z relro check): Use an empirical test on a built DSO.
76866         Detect, but do not require, on ia64.
76867         * configure: Regenerated.
76869         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76870         Update tests that use readelf to use $READELF instead.
76871         * configure: Regenerated.
76873 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76875         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76876         if the result is not used.
76878 2011-07-05  Andreas Jaeger  <aj@suse.de>
76880         [BZ#9696]
76881         * stdlib/tst-strtod.c: Add testcase.
76883 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76885         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76886         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76887         The latter has a higher limit.  Take additional parameter to pass to
76888         the new function.
76889         (__pathconf): Pass file to __statfs_link_max.
76890         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76891         __statfs_link_max.
76892         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76893         __statfs_link_max.
76895         [BZ #12868]
76896         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76897         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76898         Handle Lustre.
76899         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76900         (__statfs_filesize_max): Likewise.
76901         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76903 2011-07-05  Andreas Jaeger  <aj@suse.de>
76905         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76907 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76909         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76910         `status' variable.
76911         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76912         Likewise.
76914 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76916         * Makefile (strop-tests): Add strncat.
76917         * string/test-strncat.c: New file.
76919 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76921         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76923 2011-06-21  Andreas Jaeger  <aj@suse.de>
76925         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76926         Copy rule from iconvdata/Makefile.
76928 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76930         [BZ #12922]
76931         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76932         but no long options are defined, just return 'W'.
76934 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76936         [BZ #9696]
76937         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76939 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76941         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76942         netgroups to read.
76943         (innetgr): Likewise.
76945 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76947         * config.make.in (install_root): Default to $(DESTDIR).
76949 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76951         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76953 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76955         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76957         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76958         containing directory rather than embedding absolute directory names.
76960         * scripts/check-local-headers.sh: Rewritten using awk.
76961         Match by word, not by line.  Print error messages for matches.
76962         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76964         * Makerules [shlib-lds-flags empty]:
76965         ($(common-objpfx)libc_pic.opts): New target.
76966         ($(common-objpfx)libc_pic.os.clean): New target.
76967         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76969         * config.make.in (OBJCOPY): New variable.
76970         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76971         * configure: Regenerated.
76973         * config.make.in (use-default-link): New variable.
76974         * configure.in (use_default_link): Grok --with-default-link to set it.
76975         * configure: Regenerated.
76976         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76977         (shlib-lds, shlib-lds-flags): Define to empty.
76979         * Makerules (shlib-lds): New variable.
76980         (shlib-lds-flags): New variable.
76981         (build-shlib, build-moduile, build-module-asneeded): Use it.
76982         ($(common-objpfx)libc.so): Use $(shlib-lds).
76983         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76984         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76986         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76987         DT_FLAGS/DT_FLAGS_1 with zero flags.
76989         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76990         linker script munging.
76992 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76994         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76995         as 128-bit value.
76996         * crypt/sha512.c (sha512_process_block): Perform total addition using
76997         128-bit if possible.
76998         (__sha512_finish_ctx): Likewise.
76999         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77000         as 64-bit value.
77001         * crypt/sha256.c (SWAP64): Define.
77002         (sha256_process_block): Perform total addition using 64-bit if
77003         possible.
77004         (__sha256_finish_ctx): Likewise.
77006 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77008         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77009         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77010         * nscd/hstcache.c (cache_addhst): Likewise.
77011         * nscd/grpcache.c (cache_addgr): Likewise.
77012         * nscd/aicache.c (addhstaiX): Likewise.
77013         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77015 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77017         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77018         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77019         * nscd/hstcache.c (cache_addhst): Likewise.
77020         * nscd/grpcache.c (cache_addgr): Likewise.
77021         * nscd/aicache.c (addhstaiX): Likewise.
77023 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77025         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77026         domain only when needed.
77028 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77030         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77031         is always restored.
77033 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77035         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77036         are re-adding the entry.
77037         * nscd/servicescache.c (cache_addserv): Likewise.
77039 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77041         * sysdeps/generic/dl-irel.h: fix protection against multiple
77042         inclusions.
77043         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77045 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77047         [BZ #12935]
77048         * malloc/memusage.sh: Fix quoting in message.
77049         * debug/xtrace.sh: Likewise.
77051         * configure.in: Remove support for --experimental-malloc option, make
77052         it the default.
77053         * config.make.in: Likewise.
77054         * malloc/Makefile: Likewise.
77056 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77058         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77059         two-byte characters.
77061 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77063         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77064         AC_CACHE_CHECK invocation.
77065         * configure: Regenerated.
77067         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77069 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77071         [BZ #12350]
77072         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77073         bit from old_res_options.
77075         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77077         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77078         value type for setfct.
77080 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77082         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77083         __gettimeofday instead of gettimeofday.
77085 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77087         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77089 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77091         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77093         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77094         info.
77096 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77098         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77099         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77100         strcpy-sse2-unaligned strncpy-sse2-unaligned
77101         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77102         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77103         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77104         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77105         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77106         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77107         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77108         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77109         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77110         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77111         (STRCPY): Support SSE2 and SSSE3 versions.
77113 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77115         [BZ #12874]
77116         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77117         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77118         kernels which artificially limit size of requests.
77120 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77122         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77123         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77124         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77125         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77126         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77127         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77128         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77129         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77130         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77131         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77132         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77133         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77134         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77135         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77136         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77137         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77138         Enable unaligned load optimization for Intel Core i3, i5 and i7
77139         processors.
77140         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77141         Define.
77142         (index_Fast_Unaligned_Load): Define.
77143         (HAS_FAST_UNALIGNED_LOAD): Define.
77145 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77147         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77149 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77151         [BZ #12907]
77152         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77153         until it is clear that the information is realy needed.
77154         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77156 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77160 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77162         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77163         /sys/devices/system/cpu/online if it is usable.
77165         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77166         reading the information from the /proc filesystem to once a second.
77168 2011-06-21  Andreas Jaeger  <aj@suse.de>
77170         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77171         NULL after inclusion of kernel headers.
77173 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77175         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77176         calls to internal_setent.
77178         [BZ #12885]
77179         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77180         addresses using gethostbyname4_r ignore IPv4 addresses.
77182         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77183         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77185         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77187 2011-06-20  David S. Miller  <davem@davemloft.net>
77189         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77190         inclusions.
77191         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77193         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77194         (elf_irel): Use it.
77195         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77196         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77197         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77198         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77199         * sysdeps/x86_64/dl-irel.h: Likewise.
77201         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77202         * elf/dl-sym.c: Likewise.
77204 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77206         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77207         need to dereference resplen2.
77209 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77211         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77213 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77215         * Makeconfig: Define vardbdir and inst_vardbdir.
77216         * nss/Makefile: Add rules to install db-Makefile.
77218         * nss/nss_db/db-XXX.c: Cleanup.
77220         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77221         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77222         GLIBC_PRIVATE.
77223         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77224         * nss/makedb.c: Implement -g option to specify that value strings
77225         are generated and should not be added to table iterated over for
77226         get*ent calls.
77227         * nss/nss_db/db-initgroups.c: New file.
77229         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77230         interface.
77232         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77233         (internal_getgrouplist): Adjust to name change.
77234         Update use_initgroups_entry if this is not the first call.
77235         * nss/databases.def: Add initgroups entry.
77237         * nss/makedb.c (compute_tables): Check result of multiple hash table
77238         sizes to minimize maximum chain length.
77240 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77242         * Versions.def: Add entry for libnss_db.
77243         * shlib-versions: Likewise.
77244         * nss/Makefile: Add rules to build libnss_db.
77245         * nss/Versions: Add libnss_db information.  Organize libnss_files
77246         entries better.
77247         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77248         makedb progra.  Some minor improvements to generate smaller files.
77249         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77250         here from...
77251         * nss/makedb.c: ...here.
77252         Improve database format to be smaller and require less memory at
77253         runtime.
77254         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77255         db anymore.
77256         * nss/nss_db/db-netgrp.c: Likewise.
77257         * nss/nss_db/db-open.c: Likewise.
77258         * nss/nss_files/flies-XXX.x: Adjust comments.
77259         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77260         * nss/nss_files/files-grp.c: Likewise.
77261         * nss/nss_files/files-hosts.c: Likewise.
77262         * nss/nss_files/files-network.c: Likewise.
77263         * nss/nss_files/files-proto.c: Likewise.
77264         * nss/nss_files/files-pwd.c: Likewise.
77265         * nss/nss_files/files-rpc.c: Likewise.
77266         * nss/nss_files/files-service.c: Likewise.
77267         * nss/nss_files/files-sgrp.c: Likewise.
77268         * nss/nss_files/files-spwd.c: Likewise.
77269         * nss/nss_db/db-alias.c: Removed.
77270         * nss/nss_db/dummy-db.h: Removed.
77272 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77274         * nss/makedb.c: Rewritten to not use database library.
77275         * nss/Makefile: Update to build new makedb program.
77277 2011-06-14  Andreas Jaeger  <aj@suse.de>
77279         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77280         memset declaration.
77282 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77284         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77285         tmpbuf.
77287 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77289         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77290         * elf/Makefile ($(objpfx)ld.so): Likewise.
77292         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77293         Don't list ld.so twice in dependencies.
77295         * posix/bug-regex31.c: Include <stdlib.h>.
77297         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77299         * nis/nss_compat/compat-spwd.c
77300         (getspent_next_nss_netgr): Remove unused variable.
77301         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77303         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77304         nonmembers" output to use the right array.
77306         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77308         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77310         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77311         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77312         * catgets/gencat.c (read_input_file): Likewise.
77313         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77315         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77316         variable definition inside #if's controlling its use.
77318         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77320         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77322         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77324         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77325         unreachable code.
77327         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77329         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77330         * configure: Regenerated.
77332         * Makerules: Revert last change.
77333         * elf/Makefile: Likewise.
77335 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77337         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77338         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77339         (reloc-link): Likewise.
77341 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77343         * elf/Makefile: Add rules to build pldd.
77344         * elf/pldd.c: New file.
77345         * elf/pldd-xx.c: New file.
77347 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77349         * version.h: Update for 2.15 development version.
77351 2011-06-07  David S. Miller  <davem@davemloft.net>
77353         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77354         ifuncs.
77355         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77356         elf_machine_lazy_rel): Likewise.
77357         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77358         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77359         elf_machine_lazy_rel): Likewise.
77360         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77361         dl_hwcap via passed in argument.
77362         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77363         Likewise.
77365 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77367         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77369 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77371         [BZ #12849]
77372         * manual/fdl-1.1.texi: New file, verbatim from:
77373         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77374         * manual/lgpl-2.1.texi: New file, verbatim from:
77375         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77376         * manual/Makefile (licenses): New variable, list those new file names.
77377         (texis): Use it.
77378         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77380         * manual/fdl.texi: File removed.
77381         * manual/lesser.texi: File removed.
77382         * manual/libc.texinfo (Copying, Documentation License):
77383         Use new @include file names, put @appendix directive before @include.
77385 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77387         [BZ #12841]
77388         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77389         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77390         (mq_open): Add __NTH.
77392 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77394         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77395         Assume Intel Core i3/i5/i7 processor if AVX is available.
77397 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77399         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77400         typo.
77402 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77404         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77405         memory.  Use alloca_account.  Fix memory leak when retrying.
77407 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77409         * version.h (RELEASE): Bump for 2.14 release.
77410         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77412         * config.make.in (RANLIB): Remove entry.
77414 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77416         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77417         (libc.pot): Work around missing support for .ksh extension in xgettext.
77419         [BZ #12684]
77420         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77421         if both request failed.
77422         (send_dg): In case of server errors clear resplen or *resplen2.
77424         [BZ #12454]
77425         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77426         when there are multiple maps.
77427         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77428         (_dl_fini): Remove test here.
77430         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77432 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77434         [BZ #12350]
77435         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77436         bit from old_res_options.
77437         (gaih_inet): Likewise.
77439         [BZ #11099]
77440         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77441         as signed.
77443         * resolv/res_init.c (res_setoptions): Make the code more compact.
77445         [BZ #11558]
77446         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77447         set RES_USEVC.
77449         [BZ #11634]
77450         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77452         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77454         [BZ #11781]
77455         * malloc/malloc.h: Declare malloc hook variables as volatile.
77457         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77458         in last patch.
77460         [BZ #11799]
77461         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77462         raise in the comment.
77463         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77464         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77465         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77467 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77469         [BZ #12811]
77470         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77471         grow the buffers more if it already has to be sufficient.
77472         (build_wcs_upper_buffer): Likewise.
77473         * posix/regexec.c (check_matching): Likewise.
77474         (clean_state_log_if_needed): Likewise.
77475         (extend_buffers): Don't enlarge buffers beyond size of the input
77476         buffer.
77477         Patches mostly by Emil Wojak <emil@wojak.eu>.
77478         * posix/bug-regex32.c: New file.
77479         * posix/Makefile (tests): Add bug-regex32.
77481         * locale/findlocale.c (_nl_find_locale): Return right away if
77482         _nl_explode_name failed.
77483         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77485         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77487         * debug/xtrace.sh: Unify messages.
77488         * malloc/memusage.sh: Likewise.
77490         [BZ #12813]
77491         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77492         time symbol from vDSO.  Substitute with vsyscall if not available.
77493         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77494         __vdso_time.
77496         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77497         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77498         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77499         Add sendmmsg and internal_sendmmsg.
77500         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77501         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77502         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77504         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77505         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77506         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77508 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77510         [BZ #12813]
77511         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77512         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77513         available.
77514         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77515         __vdso_getcpu.
77517         [BZ #12814]
77518         * iconvdata/Makefile (tests): Add bug-iconv9.
77519         * iconvdata/bug-iconv9.c: New file.
77521 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77523         [BZ #12814]
77524         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77526 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77528         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77529         (struct user_regs_struct): Change intcs field back to cs.
77531 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77533         * po/ja.po: Update from translation team.
77535 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77537         [BZ #12795]
77538         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77539         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77541 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77543         * stdlib/longlong.h: Update from GCC.
77545 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77547         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77548         parameter name.
77549         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77550         Add parameter name.
77551         (__sysconf): Pass it down.
77553 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77555         [BZ #12671]
77556         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77557         some situations.
77558         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77559         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77560         add in in __libc_use_alloca calls.  Adjust callers.
77561         (glob): Use malloc in some situations.
77563         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77564         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77565         pltexit.
77567 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77569         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77570         and CLOCK_BOOTTIME_ALARM.
77572         [BZ #12782]
77573         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77574         is returned.
77576         * string/_strerror.c (__strerror_r): Print negative errors as signed
77577         numbers.
77579         [BZ #12777]
77580         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77581         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77582         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77584         * configure.in: Fix typo in redirection and correct removal of test
77585         files in two cases.
77587         [BZ #12788]
77588         * locale/setlocale.c (new_composite_name): Fix test to check for
77589         identical name of all categories.
77591         [BZ #12792]
77592         * libio/filedoalloc.c (local_isatty): New function.
77593         (_IO_file_doallocate): Use local_isatty.
77594         * stdio-common/perror.c (perror): In case a new stream is used
77595         forward the stream error.
77596         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77597         error flag.
77599 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77601         [BZ #11884]
77602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77603         alloca.
77604         * include/alloca.h (extend_alloca_account): Define.
77606         [BZ #11857]
77607         * posix/regex.h: Fix comments with documentation of user-accessible
77608         fields after compilation and describe correct free'ing of pattern
77609         after re_compile_pattern.
77610         Patch by Reuben Thomas <rrt@sc3d.org>.
77612 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77614         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77615         and -mno-altivec to prevent the compiler from using Altivec and/or
77616         VSX instructions when the corresponding registers are not available.
77618 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77620         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77622 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77624         * libio/freopen.c (freopen): Use __dup2, not dup2.
77625         * libio/freopen64.c (freopen64): Likewise.
77627 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77629         [BZ #12775]
77630         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77631         * math/Makefile (tests): Add test-powl.
77632         (CFLAGS-test-powl.c): Define.
77633         * math/test-powl.c: New file.
77635 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77637         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77639 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77641         [BZ #11837]
77642         * iconvdata/gb18030.c: Update to GB18020-2005.
77644 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77646         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77647         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77648         Patch by Aharon Robbins <arnold@skeeve.com>.
77650         [BZ #11892]
77651         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77652         on the stack.
77654         [BZ #11895]
77655         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77656         through underflows.
77658         [BZ #12766]
77659         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77660         point to strings before performing equality test for error_one_per_line
77661         mode.
77663         [BZ #11697]
77664         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77666         [BZ #11820]
77667         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77668         (struct user_fpregs_struct): Avoid __uint*_t types.
77670         [BZ #6420]
77671         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77672         symbol info.  Use it instead of calling _dl_addr locally.
77673         (lock_and_info): New function.
77674         (tr_freehook): Call lock_and_info and pass symbol info as additional
77675         parameter to tr_where.
77676         (tr_mallochook): Likewise.
77677         (tr_reallochook): Likewise.
77678         (tr_memalignhook): Likewise.
77680         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77681         used and couldn't be at all thread-safe.
77683 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77685         * libio/freopen.c (freopen): Don't close old file descriptor
77686         before the new one is opened.  Instead dup the new file descriptor
77687         to the old one after the new stream is created.
77688         * libio/freopen64.c (freopen64): Likewise.
77689         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77690         * libio/fileops.c (_IO_new_file_close_it): Handle new
77691         _IO_FLAGS2_NOCLOSE flag.
77692         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77693         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77694         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77695         _IO_FLAGS2_NOCLOSE flag.
77696         * include/unistd.h: Add hidden_proto for dup3.
77697         Define __have_dup3.
77698         * io/dup3.c: Define hidden symbol.
77699         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77701         [BZ #7101]
77702         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77703         when an incomplete long option is used.
77704         * posix/tst-getopt_long1.c: New file.
77705         * posix/Makefile (tests): Add tst-getopt_long1.
77707         [BZ #10138]
77708         * scripts/config.guess: Update from autoconf-2.68.
77709         * scripts/config.sub: Likewise.
77711         [BZ #10157]
77712         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77713         tests into ...
77714         (has_cpuclock): ...this.  New function.
77715         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77716         macro here based on has_cpuclock code.
77718         [BZ #10149]
77719         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77720         First byte (not low byte) is now always NUL.
77721         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77723         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77724         Use non-cancelable interfaces.
77726         [BZ #9809]
77727         * locale/iso-639.def: Add entry for Sorani.
77729         [BZ #11901]
77730         * include/stdlib.h: Move include protection to the right place.
77731         Define abort_msg_s.  Declare __abort_msg with it.
77732         * stdlib/abort.c (__abort_msg): Adjust type.
77733         * assert/assert.c (__assert_fail_base): New function.  Majority
77734         of code from __assert_fail.  Allocate memory for __abort_msg with
77735         mmap.
77736         (__assert_fail): Now call __assert_fail_base.
77737         * assert/assert-perr.c: Remove bulk of implementation.  Use
77738         __assert_fail_base.
77739         * include/assert.hL Declare __assert_fail_base.
77740         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77741         mmap.
77742         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77744 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77746         [BZ #11952]
77747         [BZ #12453]
77748         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77749         until all modules are registered in the DTV.
77750         * elf/Makefile: Add rules to build and run tst-tls19.
77751         * elf/tst-tls19.c: New file.
77752         * elf/tst-tls19mod1.c: New file.
77753         * elf/tst-tls19mod2.c: New file.
77754         * elf/tst-tls19mod3.c: New file.
77755         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77757         [BZ #12083]
77758         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77759         correctly.
77761         [BZ #12601]
77762         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77763         two-byte sequence errors.
77764         * iconvdata/Makefile (tests): Add bug-iconv8.
77765         * iconvdata/bug-iconv8.c: New file.
77767         [BZ #12626]
77768         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77769         buf2 definition.
77771         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77773         [BZ #12432]
77774         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77775         (dummy_getcfa): New function.
77776         (init): Get _Unwind_GetCFA address, use dummy if not found.
77777         (backtrace_helper): In recursion check, also check whether CFA changes.
77778         (__backtrace): Completely initialize arg.
77780         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77781         storing incomplete byte sequence in state object.  Avoid testing for
77782         guaranteed too small input if we know there is enough data available.
77784 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77786         * Makeconfig (+link-pie): Indent.
77787         * Rules (binaries-pie): Define if $(have-fpie) and
77788         $(build-shared).
77789         (binaries-shared): Also filter out $(binaries-pie).
77790         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77791         * nscd/Makefile (others-pie): Add nscd.
77792         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77793         ($(objpfx)nscd): Remove command override.
77794         * login/Makefile (others-pie): Add pt_chown.
77795         ($(objpfx)pt_chown): Remove command override.
77796         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77797         remove command overrides.
77799 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77801         * libio/tst_putwc.c: Fix error messages.
77803         [BZ #12724]
77804         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77805         currently writing and seek to current position when not.
77806         * libio/Makefile (tests): Add bug-fclose1.
77807         * libio/bug-fclose1.c: New file.
77809 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77811         [BZ #12511]
77812         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77813         don't set DF_1_NODELETE here.
77814         (do_lookup_x): When entering new entry test for copy relocation
77815         and if necessary set DF_1_NODELETE flag.
77816         * elf/tst-unique4.cc: New file.
77817         * elf/tst-unique4.h: New file.
77818         * elf/tst-unique4lib.cc: New file.
77819         * elf/Makefile: Add rules to build and run tst-unique4.
77820         Patch by Piotr Bury <pbury@goahead.com>.
77822 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77824         [BZ #12052]
77825         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77827         [BZ #12625]
77828         * misc/mntent_r.c (addmntent): Flush the stream after the output
77830         [BZ #12393]
77831         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77832         (is_trusted_path_normalize): Skip initial colon.  Append slash
77833         to empty buffer.  Duplicate is_trusted_path code but allow
77834         constructed patch to be prefix.
77835         (is_dst): Allow $ORIGIN followed by /.
77836         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77837         Correct testing of result of is_trusted_path_normalize
77838         (decompose_rpath): Fix warning.
77840 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77842         [BZ #11257]
77843         * grp/initgroups.c (internal_getgrouplist): When we found the service
77844         list through the initgroups entry in nsswitch.conf do not always
77845         continue on a successful lookup.  Don't always use the
77846         __nss_group_database value if it is set.
77847         * nss/nsswitch.conf (initgroups): Change action for successful db
77848         lookup to continue for compatibility.
77850 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77852         [BZ #11532]
77853         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77854         and CP774 modules.
77855         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77856         and CP774 modules.
77857         * iconvdata/tst-tables.sh: Likewise.
77858         * iconvdata/cp770.c: New file.
77859         * iconvdata/cp771.c: New file.
77860         * iconvdata/cp772.c: New file.
77861         * iconvdata/cp773.c: New file.
77862         * iconvdata/cp774.c: New file.
77863         * iconvdata/testdata/CP770: New file.
77864         * iconvdata/testdata/CP770..UTF8: New file.
77865         * iconvdata/testdata/CP771: New file.
77866         * iconvdata/testdata/CP771..UTF8: New file.
77867         * iconvdata/testdata/CP772: New file.
77868         * iconvdata/testdata/CP772..UTF8: New file.
77869         * iconvdata/testdata/CP773: New file.
77870         * iconvdata/testdata/CP773..UTF8: New file.
77871         * iconvdata/testdata/CP774: New file.
77872         * iconvdata/testdata/CP774..UTF8: New file.
77874         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77875         END CHARMAP line.
77876         * iconvdata/gen-8bit-gap.sh: Likewise.
77877         * iconvdata/gen-8bit.sh: Likewise.
77879         * locale/iso-639.def: Add ary entry.
77881         [BZ #11258]
77882         * locale/C-translit.h.in: Add U20A1 transliteration.
77884         [BZ #12178]
77885         * locale/iso-639.def: Add wae entry.
77886         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77888         [BZ #12545]
77889         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77890         for n.
77892         [BZ #12711]
77893         * locale/C-translit.h.in: Add entry for U20B9.
77894         Patch by pravin.d.s@gmail.com.
77896 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77898         [BZ #12713]
77899         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77900         ENAMETOOLONG use generic getcwd.
77901         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77902         in rtld.  Use *stat64.
77903         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77904         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77905         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77906         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77907         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77908         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77909         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77910         __fstatat64 macros.
77911         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77912         * dirent/rewinddir.c: Add libc_hidden_def.
77913         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77914         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77916         * include/dirent.h (__alloc_dir): Add flags parameter.
77917         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77918         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77919         __alloc_dir.
77920         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77921         from fdopendir if O_CLOEXEC is already set.
77923 2011-03-15  Alan Modra  <amodra@gmail.com>
77925         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77926         l_tls_firstbyte_offset non-zero.  Save padding offset in
77927         l_tls_firstbyte_offset for later use.
77928         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77929         freeing static tls block.
77931 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77933         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77934         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77935         being defined by the kernel headers.
77937 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77939         [BZ #12734]
77940         * resolv/resolv.h: Define RES_NOTLDQUERY.
77941         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77942         no-tld-query and set RES_NOTLDQUERY.
77943         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77944         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77945         modern BIND to search name as TLD unless forbidden.
77947 2011-05-07  Petr Baudis  <pasky@suse.cz>
77948             Ulrich Drepper  <drepper@gmail.com>
77950         [BZ #12393]
77951         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77952         (is_trusted_path): ...to here.
77953         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77954         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77955         using is_trusted_path_normalize() in setuid scripts.
77957 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77959         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77960         __BEGIN/__END_DECLS.
77962 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77964         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77965         NSS_STATUS_NOTFOUND if no record was found.
77967 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77969         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77970         (headers-not-in-tirpc): Remove rpc/netdb.h
77971         * resolv/netdb.h: Revert last change.
77973 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77975         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77976         circular dependency between libgcc.a and libc.a.
77978 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77980         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77981         * nis/Makefile: Don't install rpcsvc/*.
77982         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77983         instead of <rpc/types.h>.
77984         (MAXHOSTNAMELEN): Define.
77986 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77988         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77990 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77992         [BZ #12714]
77993         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77994         gethostbyname4_r when IPv6 results are possible.
77996 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77998         [BZ #12723]
77999         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78000         _PC_PIPE_BUF handling.
78002 2011-04-30  Bruno Haible  <bruno@clisp.org>
78004         [BZ #12717]
78005         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78006         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78007         to 'int'.
78008         * inet/getnameinfo.c (getnameinfo): Likewise.
78010 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78012         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78013         to groups setting in database lookup.
78014         * nss/nsswitch.conf: Add initgroups entry.
78016 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78018         [BZ #12685]
78019         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78020         mode string.
78021         Patch by Eric Blake <eblake@redhat.com>.
78023 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78025         * sunrpc/Makefile (need-export-routines): Add svc_run.
78026         (routines): Remove svc_run.
78027         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78028         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78029         * sunrpc/svc_run.c (svc_run): Likewise.
78030         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78032 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78034         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78035         problem in reallocation in last patch.
78037 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78039         * sunrpc/Makefile: Move inclusion of Rules.
78041 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78043         * nss/nss_files/files-initgroups.c: New file.
78044         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78045         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78046         _nss_files_initgroups_dyn.
78048 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78050         * elf/elf.h (R_ARM_IRELATIVE): Define.
78052 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78054         * po/ru.po: Update from translation team.
78056 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78058         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78059         dependencies.
78061 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78063         [BZ #12653]
78064         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78065         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78066         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78067         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78068         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78070 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78072         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78073         differing bytes.
78074         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78075         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78076         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78078 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78080         [BZ #12420]
78081         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78082         storing it.
78083         * stdlib/bug-getcontext.c: New file.
78084         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78086 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78088         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78089         instructions into .machine "z9-109".
78090         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78091         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78093 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78095         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78096         between environment variables and auxiliary vector.
78098 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78100         * Makefile: Add rules to build linkobj/libc.so.
78101         * include/libc-symbols.h: Define libc_hidden_nolink.
78102         * include/rpc/auth.h: Mark functions which are to be hidden.
78103         * include/rpc/auth_des.h: Likewise.
78104         * include/rpc/auth_unix.h: Likewise.
78105         * include/rpc/clnt.h: Likewise.
78106         * include/rpc/des_crypt.h: Likewise.
78107         * include/rpc/key_prot.h: Likewise.
78108         * include/rpc/pmap_clnt.h: Likewise.
78109         * include/rpc/pmap_prot.h: Likewise.
78110         * include/rpc/pmap_rmt.h: Likewise.
78111         * include/rpc/rpc_msg.h: Likewise.
78112         * include/rpc/svc.h: Likewise.
78113         * include/rpc/svc_auth.h: Likewise.
78114         * include/rpc/xdr.h: Likewise.
78115         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78116         * nss/Makefile: Likewise.
78117         * sunrpc/Makefile: Don't install headers.  Build library with normal
78118         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78119         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78120         for the compat linking library.  Remove use of INTDEF/INTUSE.
78121         * sunrpc/auth_none.c: Likewise.
78122         * sunrpc/auth_unix.c: Likewise.
78123         * sunrpc/authdes_prot.c: Likewise.
78124         * sunrpc/authuxprot.c: Likewise.
78125         * sunrpc/clnt_gen.c: Likewise.
78126         * sunrpc/clnt_perr.c: Likewise.
78127         * sunrpc/clnt_raw.c: Likewise.
78128         * sunrpc/clnt_simp.c: Likewise.
78129         * sunrpc/clnt_tcp.c: Likewise.
78130         * sunrpc/clnt_udp.c: Likewise.
78131         * sunrpc/clnt_unix.c: Likewise.
78132         * sunrpc/des_crypt.c: Likewise.
78133         * sunrpc/des_soft.c: Likewise.
78134         * sunrpc/get_myaddr.c: Likewise.
78135         * sunrpc/key_call.c: Likewise.
78136         * sunrpc/key_prot.c: Likewise.
78137         * sunrpc/netname.c: Likewise.
78138         * sunrpc/pm_getmaps.c: Likewise.
78139         * sunrpc/pm_getport.c: Likewise.
78140         * sunrpc/pmap_clnt.c: Likewise.
78141         * sunrpc/pmap_prot.c: Likewise.
78142         * sunrpc/pmap_prot2.c: Likewise.
78143         * sunrpc/pmap_rmt.c: Likewise.
78144         * sunrpc/publickey.c: Likewise.
78145         * sunrpc/rpc_cmsg.c: Likewise.
78146         * sunrpc/rpc_common.c: Likewise.
78147         * sunrpc/rpc_dtable.c: Likewise.
78148         * sunrpc/rpc_prot.c: Likewise.
78149         * sunrpc/rpc_thread.c: Likewise.
78150         * sunrpc/rtime.c: Likewise.
78151         * sunrpc/svc.c: Likewise.
78152         * sunrpc/svc_auth.c: Likewise.
78153         * sunrpc/svc_authux.c: Likewise.
78154         * sunrpc/svc_raw.c: Likewise.
78155         * sunrpc/svc_run.c: Likewise.
78156         * sunrpc/svc_simple.c: Likewise.
78157         * sunrpc/svc_tcp.c: Likewise.
78158         * sunrpc/svc_udp.c: Likewise.
78159         * sunrpc/svc_unix.c: Likewise.
78160         * sunrpc/svcauth_des.c: Likewise.
78161         * sunrpc/xcrypt.c: Likewise.
78162         * sunrpc/xdr.c: Likewise.
78163         * sunrpc/xdr_array.c: Likewise.
78164         * sunrpc/xdr_float.c: Likewise.
78165         * sunrpc/xdr_intXX_t.c: Likewise.
78166         * sunrpc/xdr_mem.c: Likewise.
78167         * sunrpc/xdr_rec.c: Likewise.
78168         * sunrpc/xdr_ref.c: Likewise.
78169         * sunrpc/xdr_sizeof.c: Likewise.
78170         * sunrpc/xdr_stdio.c: Likewise.
78172 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78174         [BZ #12650]
78175         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78176         * sysdeps/ia64/dl-tls.h: Likewise.
78177         * sysdeps/powerpc/dl-tls.h: Likewise.
78178         * sysdeps/s390/dl-tls.h: Likewise.
78179         * sysdeps/sh/dl-tls.h: Likewise.
78180         * sysdeps/sparc/dl-tls.h: Likewise.
78181         * sysdeps/x86_64/dl-tls.h: Likewise.
78182         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78184 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78186         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78187         rpath element also skip the following colon.
78188         (expand_dynamic_string_token): Add is_path parameter and pass
78189         down to DL_DST_REQUIRED and _dl_dst_substitute.
78190         (decompose_rpath): Call expand_dynamic_string_token with
78191         non-zero is_path.  Ignore empty rpaths.
78192         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78193         with zero is_path.
78195 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78198         Make cancelable.
78200 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78202         [BZ #12655]
78203         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78204         Patch by Filipe David Manana <fdmanana@apache.org>.
78206 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78208         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78209         Maintain aligned stack.
78210         (CHECK_RSP): Remove unused macro.
78212 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78214         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78215         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78217 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78219         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78221         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78223 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78225         [BZ #12518]
78226         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78227         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78228         * sysdeps/x86_64/memmove.c: New file.
78229         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78230         (memcpy): Renamed to ...
78231         (__new_memcpy): This.
78232         (memcpy): Provide GLIBC_2_14 memcpy.
78233         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78234         (memcpy): Provide GLIBC_2_2_5 memcpy.
78236 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78238         [BZ #12631]
78239         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78241 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78243         * misc/syncfs.c: New file.
78244         * misc/Makefile (routines): Add syncfs.
78245         * posix/unistd.h: Declare syncfs.
78246         * sysdeps/unix/syscalls.list: Add syncfs.
78248 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78250         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78251         open_by_handle_at.
78252         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78253         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78254         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78255         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78256         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78257         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78258         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78260 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78262         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78263         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78264         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78265         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78266         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78267         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78268         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78270         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78271         sync_file_range.c with -fexceptions.
78272         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78273         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78274         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78275         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78276         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78277         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78278         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78279         sync_file_range as cancellation point
78280         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78281         now a wrapper around __call_sync_file_range with cancellation handling.
78282         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78283         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78284         function name to __call_sync_file_range.
78285         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78286         Add call_sync_file_range.
78288 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78290         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78291         bits/timex.h.
78293 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78295         * iconv/iconv.h: Fix typo in comment.
78296         * io/fcntl.h: Likewise.
78297         * libio/stdio.h: Likewise.
78298         * posix/spawn.h: Likewise.
78299         * posix/unistd.h: Likewise.
78300         * stdlib/stdlib.h: Likewise.
78301         * time/time.h: Likewise.
78302         * wcsmbs/wchar.h: Likewise.
78304         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78305         open_by_handle): Add.
78306         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78307         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78308         Augment a few comments.
78309         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78310         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78311         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78312         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78313         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78314         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78315         open_by_handle.
78317         * io/fcntl.h (AT_EMPTY_PATH): Define.
78319 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78321         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78322         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78323         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78324         to...
78325         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78326         * Versions.def: Add GLIBC_2.14.
78327         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78328         Export.
78330 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78332         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78333         round counter.
78334         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78336 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78338         [BZ #12597]
78339         * string/test-strncmp.c (do_page_test): New function.
78340         (check2): Likewise.
78341         (test_main): Call check2.
78342         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78344 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78346         [BZ #12587]
78347         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78348         Handle cache information in CPU leaf 4.
78349         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78351 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78353         [BZ #12583]
78354         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78355         character representation.
78356         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78358 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78360         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78361         END(__isnan) to END(__isnanf) to match function entry point/label
78362         EALIGN(__isnanf,...).
78364 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78366         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78368 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78370         [BZ #12510]
78371         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78372         copy from the symbol referenced in the relocation to initialize the
78373         used variable.
78374         Patch by Piotr Bury <pbury@goahead.com>.
78375         * elf/Makefile: Add rules to build and tst-unique3.
78376         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78377         * elf/tst-unique3.cc: New file.
78378         * elf/tst-unique3.h: New file.
78379         * elf/tst-unique3lib.cc: New file.
78380         * elf/tst-unique3lib2.cc: New file.
78382         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78384 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78386         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78387         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78388         to _start.
78390 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78392         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78393         to-be-loaded object along a path to loader is ld.so.
78395 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78396             Ulrich Drepper  <drepper@gmail.com>
78398         * sysdeps/x86_64/memset.S: After aligning destination, code
78399         branches to different locations depending on the value of
78400         misalignment, when multiarch is enabled. Fix this.
78402 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78404         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78405         Set _x86_64_preferred_memory_instruction for AMD processsors.
78406         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78407         Set bit_Prefer_SSE_for_memop for AMD processors.
78409 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78411         * libio/fmemopen.c (fmemopen): Optimize a bit.
78413 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78415         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78417 2011-03-03  Roland McGrath  <roland@redhat.com>
78419         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78421 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78423         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78424         __bzero_ultra1 instead of __memset_ultra1.
78426 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78427             Ulrich Drepper  <drepper@gmail.com>
78429         [BZ #12509]
78430         * include/link.h (struct link_map): Add l_orig_initfini.
78431         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78432         returning unsuccessfully.
78433         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78434         close of a file loaded at startup, restore the original l_initfini
78435         list.
78436         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78437         list, store the pointer.
78438         * elf/Makefile ($(objpfx)noload-mem): New rule.
78439         (noload-ENV): Define.
78440         (tests): Add $(objpfx)noload-mem.
78441         * elf/noload.c: Include <memcheck.h>.
78442         (main): Call mtrace.  Close all opened handles.
78444 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78446         [BZ #12454]
78447         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78448         dependencies are missing.
78450 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78452         Fix __if_freereq crash: Unlike the generic version which uses free,
78453         Hurd needs munmap.
78454         * sysdeps/mach/hurd/ifreq.h: New file.
78456 2011-01-27  Petr Baudis  <pasky@suse.cz>
78457             Ulrich Drepper  <drepper@gmail.com>
78459         [BZ 12445]#
78460         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78461         to extend_alloca().
78462         * stdio-common/bug23.c: New file.
78463         * stdio-common/Makefile (tests): Add bug23.
78465 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78466             Ulrich Drepper  <drepper@gmail.com>
78468         [BZ #12489]
78469         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78470         before performing relro protection.  At old place add assertion
78471         to make sure nothing changed.
78473 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78474             Glauber de Oliveira Costa  <glommer@gmail.com>
78476         * elf/elf.h: Add new ARM TLS relocs.
78478 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78481         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78482         cast from r3.
78483         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78484         'tests' variable.
78485         * sysdeps/wordsize-64/tst-writev.c: New file.
78487 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78489         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78490         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78491         insns in _dl_start to prevent a TOC reference before relocs are
78492         resolved.
78494 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78496         [BZ #12469]
78497         * Makeconfig: Remove RANLIB definition.
78498         * Makerules: Don't use RANLIB.
78499         * aclocal.m4: Remove ranlib test.
78500         * configure.in: No need to check for ranlib.
78501         * elf/rtld-Rules: Don't use RANLIB.
78503 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78505         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78506         protection macro.
78507         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78508         inclusion protection macro.
78510         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78511         SIGRTMIN and SIGRTMAX and print information in that case only when
78512         SIGRTMIN is defined.
78514 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78516         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78517         arginfo fn returning -1.
78519         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78520         and thousands string is zero terminated.
78522 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78524         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78525         sysdeps/unix/sysv/linux/bits/socket.h.
78527 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78529         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78530         (__CPU_COUNT): Remove old macros.
78531         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78532         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78533         (__CPU_ALLOC, __CPU_FREE): Add macros.
78534         (__sched_cpualloc, __sched_cpufree): Add declarations.
78536 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78538         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78539         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78540         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78541         (readdhstai): Return value of addhstaiX call.
78542         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78543         (addgrbyX): Return value returned by cache_addgr.
78544         (readdgrbyname): Return value returned by addgrbyX.
78545         (readdgrbygid): Likewise.
78546         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78547         (addpwbyX): Return value returned by cache_addpw.
78548         (readdpwbyname): Return value returned by addhstbyX.
78549         (readdpwbyuid): Likewise.
78550         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78551         (addservbyX): Return value returned by cache_addserv.
78552         (readdservbyname): Return value returned by addservbyX:
78553         (readdservbyport): Likewise.
78554         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78555         (addhstbyX): Return value returned by cache_addhst.
78556         (readdhstbyname): Return value returned by addhstbyX.
78557         (readdhstbyaddr): Likewise.
78558         (readdhstbynamev6): Likewise.
78559         (readdhstbyaddrv6): Likewise.
78560         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78561         (readdinitgroups): Return value returned by addinitgroupsX.
78562         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78563         (prune_cache): Keep track of timeout value of re-added entries.
78564         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78565         * nscd/nscd.h: Adjust prototypes of readd* functions.
78567 2011-02-04  Roland McGrath  <roland@redhat.com>
78569         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78570         (nis_stats): Likewise.
78571         * nis/nis_modify.c (nis_modify): Likewise.
78572         * nis/nis_remove.c (nis_remove): Likewise.
78573         * nis/nis_add.c (nis_add): Likewise.
78575         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78577         * posix/fnmatch_loop.c: Add some consts.
78579         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78581 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78583         [BZ #12460]
78584         * config.make.in (config-cflags-novzeroupper): Define.
78585         * configure.in: Substitute libc_cv_cc_novzeroupper.
78586         * elf/Makefile (AVX-CFLAGS): Define.
78587         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78588         (CFLAGS-tst-auditmod4a.c): Likewise.
78589         (CFLAGS-tst-auditmod4b.c): Likewise.
78590         (CFLAGS-tst-auditmod6b.c): Likewise.
78591         (CFLAGS-tst-auditmod6c.c): Likewise.
78592         (CFLAGS-tst-auditmod7b.c): Likewise.
78593         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78595 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78597         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78598         function to the callback.
78599         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78601 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78603         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78604         of errno.
78606 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78608         [BZ #11724]
78609         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78610         of constructors.
78611         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78612         of destructors.
78613         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78615         [BZ #11724]
78616         * elf/Makefile: Add rules to build and run new test.
78617         * elf/tst-initorder.c: New file.
78618         * elf/tst-initorder.exp: New file.
78619         * elf/tst-initordera1.c: New file.
78620         * elf/tst-initordera2.c: New file.
78621         * elf/tst-initordera3.c: New file.
78622         * elf/tst-initordera4.c: New file.
78623         * elf/tst-initorderb1.c: New file.
78624         * elf/tst-initorderb2.c: New file.
78625         * elf/tst-order-a1.c: New file.
78626         * elf/tst-order-a2.c: New file.
78627         * elf/tst-order-a3.c: New file.
78628         * elf/tst-order-a4.c: New file.
78629         * elf/tst-order-b1.c: New file.
78630         * elf/tst-order-b2.c: New file.
78631         * elf/tst-order-main.c: New file.
78632         New test case by George Gensure <werkt0@gmail.com>.
78634 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78637         decoding ACE if AI_CANONIDN.
78639 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78641         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78643 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78645         * version.h (RELEASE): Bump for 2.13 release.
78646         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78648         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78650         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78651         MADV_NOHUGEPAGE.
78652         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78653         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78654         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78655         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78656         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78657         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78659         * posix/getconf.c: Update copyright year.
78660         * catgets/gencat.c: Likewise.
78661         * csu/version.c: Likewise.
78662         * debug/catchsegv.sh: Likewise.
78663         * debug/xtrace.sh: Likewise.
78664         * elf/ldconfig.c: Likewise.
78665         * elf/ldd.bash.in: Likewise.
78666         * elf/sprof.c (print_version): Likewise.
78667         * iconv/iconv_prog.c: Likewise.
78668         * iconv/iconvconfig.c: Likewise.
78669         * locale/programs/locale.c: Likewise.
78670         * locale/programs/localedef.c: Likewise.
78671         * malloc/memusage.sh: Likewise.
78672         * malloc/mtrace.pl: Likewise.
78673         * nscd/nscd.c (print_version): Likewise.
78674         * nss/getent.c: Likewise.
78676         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78677         PF_CAIF, and PF_ALG.
78678         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78680 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78682         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78683         (modules-names): Use them.
78684         (ifunc-test-modules, ifunc-pie-tests): Define.
78685         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78686         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78687         (test-extras): Likewise.
78688         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78689         $(compile-command.c).
78690         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78691         (all-built-dso): Define.
78692         (check-textrel.out, check-execstack.out): Depend on it.
78694         * configure.in: Don't override --enable-multi-arch.
78696 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78698         [BZ #6812]
78699         * nscd/hstcache.c (tryagain): Define.
78700         (cache_addhst): Return tryagain not notfound for temporary errors.
78701         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78702         failed.
78704 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78706         [BZ #10563]
78707         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78708         to make the syscall.
78709         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78711         [BZ #12378]
78712         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78713         and fall back to matching as normal character if the string ends before
78714         the matching ']' is found.  This is what POSIX requires.
78715         * posix/testfnm.c: Adjust test result.
78716         * posix/globtest.sh: Adjust test result.  Add new test.
78717         * posix/tst-fnmatch.input: Likewise.
78718         * posix/tst-fnmatch2.c: Add new test.
78720 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78722         * elf/Makefile (check-execstack): Revert last change.  Depend on
78723         check-execstack.h.
78724         (check-execstack.h): New target.
78725         (generated): Add check-execstack.h.
78726         * elf/check-execstack.c: Include "check-execstack.h".
78727         (main): Revert last change.
78728         (handle_file): Return zero if GNU_STACK is absent and
78729         DEFAULT_STACK_PERMS doesn't include PF_X.
78731 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78733         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78734         in child fails because the descriptor is already closed.
78735         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78736         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78737         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78739         [BZ #12397]
78740         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78741         syscall.
78743         [BZ #10484]
78744         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78745         temporary buffer used to handle multi lookups locally.
78746         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78748 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78750         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78751         loader is ld.so.
78753 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78755         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78756         alignment for SSE2.
78758 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78760         [BZ #12394]
78761         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78762         characters.  When rounding increased number of integer digits recompute
78763         number of groups.
78764         * stdio-common/tst-grouping.c: New file.
78765         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78767 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78769         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78770         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78772         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78773         void.
78774         * bits/select.h: Likewise.
78776 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78778         * po/ja.po: Update from translation team.
78780 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78782         [BZ #11155]
78783         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78784         implementation just like for lxstat, fxstatat, et al.
78786 2010-12-27  Jim Meyering  <meyering@redhat.com>
78788         [BZ #12348]
78789         * posix/regexec.c (build_trtable): Return failure indication upon
78790         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78792 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78794         [BZ #12201]
78795         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78796         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78797         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78798         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78800         [BZ #12207]
78801         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78803         [BZ #12204]
78804         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78805         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78807 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78809         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78810         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78811         script has SORT_BY_INIT_PRIORITY.
78812         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78813         NO_CTORS_DTORS_SECTIONS is defined.
78814         * elf/soinit.c: Likewise.
78815         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78816         NO_CTORS_DTORS_SECTIONS is defined.
78817         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78818         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78819         * sysdeps/sh/init-first.c: Likewise.
78820         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78822 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78824         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78825         always use the slow path.
78827 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78829         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78830         similar rule which adds the sysdep directories to the header search in
78831         order to pick up the correct platform stackinfo.h.
78832         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78833         perform test if it is, otherwise return successfully without testing.
78834         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78835         DEFAULT_STACK_PERMS define in stackinfo.h.
78836         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78837         defined in stackinfo.h.
78838         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78839         DEFAULT_STACK_PERMS defined in stackinfo.h.
78840         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78841         * sysdeps/ia64/stackinfo.h: Likewise.
78842         * sysdeps/s390/stackinfo.h: Likewise.
78843         * sysdeps/sh/stackinfo.h: Likewise.
78844         * sysdeps/sparc/stackinfo.h: Likewise.
78845         * sysdeps/x86_64/stackinfo.h: Likewise.
78846         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78847         PF_X for powerpc64.  Retain PF_X for powerpc32.
78849 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78851         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78852         accurately.
78853         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78854         GETDENTS_64BIT_ALIGNED.
78856 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78858         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78860 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78862         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78863         _GNU_SOURCE.
78865         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78866         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78867         Remove __restrict.
78868         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78869         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78871 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78873         [BZ #11655]
78874         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78875         are initialized.
78877 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78879         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78881 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78883         * po/it.po: Update from translation team.
78885 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78887         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78888         unused codes.
78890 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78892         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78894 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78896         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78897         specially.
78898         (gaih_getanswer_slice): Likewise.
78900 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78902         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78904 2010-05-31  Petr Baudis  <pasky@suse.cz>
78906         [BZ #11149]
78907         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78908         silently even in the chroot mode.
78910 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78912         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78913         last patch a bit.  Pretty printing
78915 2010-05-31  Petr Baudis <pasky@suse.cz>
78917         [BZ #10085]
78918         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78919         initialization of skip_initgroups_dyn.
78921 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78923         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78924         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78926 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78928         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78930 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78932         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78933         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78934         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78935         ($(objpfx)tst-fnmatch-mem): New rule.
78936         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78937         * posix/tst-fnmatch.c (main): Call mtrace.
78939 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78942         Support Intel processor model 6 and model 0x2c.
78944 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78946         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78947           signed comparison.
78949 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78951         [BZ #12205]
78952         * string/test-strncasecmp.c (check_result): New function.
78953         (do_one_test): Use it.
78954         (check1): New function.
78955         (test_main): Use it.
78956         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78957         Support strcasecmp and strncasecmp.
78959 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78961         [BZ #12194]
78962         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78963         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78965 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78967         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78968         IFUNC support.
78969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78970         memset-x86-64.
78971         * sysdeps/x86_64/multiarch/bzero.S: New file.
78972         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78973         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78974         * sysdeps/x86_64/multiarch/memset.S: New file.
78975         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78976         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78977         Set bit_Prefer_SSE_for_memop for Intel processors.
78978         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78979         Define.
78980         (index_Prefer_SSE_for_memop): Define.
78981         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78983 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78985         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78986         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78988 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78990         [BZ #12191]
78991         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78992         (__x86_64_raw_data_cache_size_half): Likewise.
78993         (__x86_64_raw_shared_cache_size): Likewise.
78994         (__x86_64_raw_shared_cache_size_half): Likewise.
78996         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78997         (__x86_64_raw_data_cache_size_half): Likewise.
78998         (__x86_64_raw_shared_cache_size): Likewise.
78999         (__x86_64_raw_shared_cache_size_half): Likewise.
79000         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79001         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79002         and __x86_64_raw_shared_cache_size_half.  Round
79003         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79004         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79005         to multiple of 256 bytes.
79007 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79009         [BZ #12167]
79010         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79011         of inacessible symlinks.  Verify result of symlink before returning it.
79012         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79013         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79015 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79017         * math/math.h (isinf): Fix typo in comment.
79019 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79021         * po/da.po: Update from translation team.
79023 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79025         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79026         is added to the list.
79028 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79029             Ulrich Drepper  <drepper@gmail.com>
79031         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79032         the global list here.  Move code to...
79033         (_dl_add_to_namespace_list): ...here.  New function.
79034         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79035         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79036         * elf/dl-load.c (lose): Don't remove the element from the list.
79037         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79038         (_dl_map_object): Likewise.
79040 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79042         [BZ #12159]
79043         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79044         into all bytes of SSE register.
79045         Patch by Richard Li <richardpku@gmail.com>.
79047 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79049         [BZ #12140]
79050         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79051         perturbing.
79053 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79055         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79056         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79057         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79058         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79060         submachine.
79061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79063 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79065         * include/dlfcn.h (__RTLD_SECURE): Define.
79066         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79067         mode & __RTLD_SECURE instead.
79068         (open_path): Rename preloaded parameter to secure.
79069         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79070         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79071         * elf/dl-deps.c (openaux): Likewise.
79072         * elf/rtld.c (struct map_args): Remove is_preloaded.
79073         (map_doit): Don't use it.
79074         (dl_main): Likewise.
79075         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79076         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79078 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79080         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79081         (sysd-rules-targets): Remove duplicates.
79082         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79083         rtld-%.$o dependency.
79085 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79087         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79088         _dl_map_object do it.
79090 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79092         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79093         fast fma builtins, define the macros in the C99 standard.
79094         (FP_FAST_FMAF): Likewise.
79095         (FP_FAST_FMAL): Likewise.
79096         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79098         * bits/mathdef.h: Update copyright year.
79099         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79101 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79103         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79104         builtins, define the macros in the C99 standard.
79105         (FP_FAST_FMAF): Likewise.
79106         (FP_FAST_FMAL): Likewise.
79107         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79108         multiply/add.
79109         (FP_FAST_FMAF): Likewise.
79111 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79113         [BZ #3268]
79114         * math/libm-test.inc (fma_test): Some new testcases.
79115         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79116         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79117         y and infinite z.  Do multiplication by C already in long double.
79118         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79119         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79120         y and infinite z.  Do bitwise or of inexact bit into u.d.
79121         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79122         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79123         * sysdeps/i386/fpu/s_fma.S: Removed.
79124         * sysdeps/i386/fpu/s_fmal.S: Removed.
79126 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79128         [BZ #3268]
79129         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79130         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79131         computation is not scheduled after fetestexcept.  Fix value
79132         of minimum denormal long double.
79134 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79136         [BZ #3268]
79137         * math/libm-test.inc (fma_test): Add some more tests.
79138         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79139         correctly.
79141 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79143         * scripts/data/localplt-s390-linux-gnu.data: New file.
79144         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79146 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79148         [BZ #3268]
79149         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79150         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79151         instead of dbl-64.
79152         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79153         inlines.
79154         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79155         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79156         if one of x and y is very large and the other is subnormal.
79157         * sysdeps/s390/fpu/s_fmaf.c: New file.
79158         * sysdeps/s390/fpu/s_fma.c: New file.
79159         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79160         * sysdeps/powerpc/fpu/s_fma.S: New file.
79161         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79162         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79163         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79165 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79167         [BZ #3268]
79168         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79169         fma tests.
79170         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79171         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79172         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79173         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79174         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79175         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79176         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79178 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79180         [BZ #12078]
79181         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79182         * posix/bug-regex31.input: Add test case.
79184 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79186         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79187         * posix/bug-regex31.input: New file.
79189         [BZ #12078]
79190         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79191         (parse_sub_exp): Fix last change, use postorder.
79193         * posix/bug-regex31.c: New file.
79194         * posix/Makefile: Add rules to build and run bug-regex31.
79196         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79198         [BZ #12078]
79199         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79201         [BZ #12108]
79202         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79203         to have entries in sys_siglist.
79205         [BZ #12093]
79206         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79207         be NULL.
79209 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79211         [BZ #3268]
79212         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79213         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79214         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79215         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79216         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79217         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79218         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79219         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79220         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79221         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79222         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79223         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79224         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79225         * math/ftestexcept.c (fetestexcept): Likewise.
79226         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79227         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79228         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79229         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79230         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79231         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79232         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79234 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79236         [BZ #12107]
79237         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79238         newline.
79240 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79242         * string/bug-strstr1.c: New file.
79243         * string/Makefile: Add rules to build and run bug-strstr1.
79245 2010-10-05  Eric Blake  <eblake@redhat.com>
79247         [BZ #12092]
79248         * string/str-two-way.h (two_way_long_needle): Always clear memory
79249         when skipping input due to the shift table.
79251 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79253         [BZ #12005]
79254         * malloc/mcheck.c: Handle large requests.
79256         [BZ #12077]
79257         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79258         for strncmp and strncasecmp.
79259         * string/stratcliff.c: Add tests for strcmp and strncmp.
79260         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79262 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79264         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79265         __set_fpscr.
79267 2010-09-30  Andreas Jaeger  <aj@suse.de>
79269         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79270         (CGROUP_SUPER_MAGIC): Define.
79271         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79272         Handle btrfs and cgroup file systems.
79273         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79274         Likewise.
79276 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79278         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79279         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79281 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79283         [BZ #12067]
79284         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79285         trying to locate the ELF header.
79287 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79289         [BZ #11611]
79290         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79291         Mask out sign-bit copies when constructing f_fsid.
79293 2010-09-24  Petr Baudis <pasky@suse.cz>
79295         * debug/stack_chk_fail_local.c: Add missing licence exception.
79296         * debug/warning-nop.c: Likewise.
79298 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79300         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79301         implementing getdents64 using getdents syscall, set d_type if
79302         __ASSUME_GETDENTS32_D_TYPE.
79304 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79306         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79307         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79309 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79311         [BZ #12037]
79312         * posix/unistd.h: Undo change of feature selection for ftruncate from
79313         2010-01-11.
79315 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79317         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79318         detection.
79320 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79322         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79323         fanotify_mark.
79324         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79326 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79328         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79329         variables after CHECK_SP call.
79330         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79332 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79333             Ulrich Drepper  <drepper@redhat.com>
79335         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79336         re-relocationg ld.so.
79337         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79338         _dl_init_paths call.
79339         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79340         here anymore.
79342 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79344         * resolv/res_init.c (__res_vinit): Count the default server we added.
79346 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79347             Ulrich Drepper  <drepper@redhat.com>
79349         [BZ #11968]
79350         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79351         (____longjmp_chk): Use %ebx for saving value across system call.
79352         Add unwind info.
79354 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79356         * manual/Makefile: Don't mix pattern rules with normal rules.
79358 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79360         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79361         operation.
79362         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79363         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79364         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79365         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79366         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79367         Likewise.
79369 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79371         [BZ #11979]
79372         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79373         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79375 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79377         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79378         * sysdeps/x86_64/addmul_1.S: Likewise.
79379         * sysdeps/x86_64/lshift.S: Likewise.
79380         * sysdeps/x86_64/mul_1.S: Likewise.
79381         * sysdeps/x86_64/rshift.S: Likewise.
79382         * sysdeps/x86_64/sub_n.S: Likewise.
79383         * sysdeps/x86_64/submul_1.S: Likewise.
79385 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79387         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79388         Define __sched_param instead of SCHED_* and sched_param when
79389         <bits/sched.h> is included with __need_schedparam defined.
79390         * bits/sched.h [__need_schedparam]
79391         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79392         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79393         (__defined_schedparam): Define to 1.
79394         (__sched_param): New structure, identical to sched_param.
79395         (__need_schedparam): Undefine.
79397 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79399         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79400         (epoll_create1): Declare.
79402         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79404 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79406         [BZ #7066]
79407         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79408         shifting retval into place.
79410 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79412         * nis/rpcsvc/nis.h: Update copyright notice.
79413         * nis/rpcsvc/nis.x: Likewise.
79414         * nis/rpcsvc/nis_callback.h: Likewise.
79415         * nis/rpcsvc/nis_callback.x: Likewise.
79416         * nis/rpcsvc/nis_object.x: Likewise.
79417         * nis/rpcsvc/nis_tags.h: Likewise.
79418         * nis/rpcsvc/yp.h: Likewise.
79419         * nis/rpcsvc/yp.x: Likewise.
79420         * nis/rpcsvc/ypupd.h: Likewise.
79421         * nis/yp_xdr.c: Likewise.
79422         * nis/ypupdate_xdr.c: Likewise.
79424         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79425         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79426         (pmap_getport): Use __libc_rpc_getport.
79427         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79428         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79429         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79431 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79434         fanotify_mark.
79436 2010-08-27  Roland McGrath  <roland@redhat.com>
79438         * sysdeps/i386/i686/multiarch/Makefile
79439         (CFLAGS-varshift.c): New variable.
79441 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79443         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79444         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79446         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79448         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79450 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79452         * sysdeps/x86_64/strlen.S: Unroll the loop.
79453         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79454         strlen-sse2 strlen-sse2-bsf.
79455         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79456         __strlen_no_bsf if bit_Slow_BSF is set.
79457         (__strlen_sse42): Removed.
79458         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79459         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79461 2010-08-25  Roland McGrath  <roland@redhat.com>
79463         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79464         * sysdeps/x86_64/multiarch/varshift.c: New file.
79465         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79466         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79467         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79468         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79470 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79472         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79473         strlen-sse2 strlen-sse2-bsf.
79474         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79475         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79476         (__strlen_sse2): Removed.
79477         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79478         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79479         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79480         bit_Slow_BSF for Atom.
79481         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79482         (index_Slow_BSF): Define.
79483         (HAS_SLOW_BSF): Define.
79485 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79487         [BZ #10851]
79488         * resolv/res_init.c (__res_vinit): When no server address at all
79489         is given default to loopback.
79491 2010-08-24  Roland McGrath  <roland@redhat.com>
79493         * configure.in: Remove config-name.h generation.
79494         * configure: Regenerated.
79495         * config-name.in: File removed.
79496         * scripts/config-uname.sh: New file.
79497         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79498         ($(objdir)config-name.h): New target.
79500         * sunrpc/rpc_parse.h: Avoid nested comment.
79502 2010-08-24  Richard Henderson  <rth@redhat.com>
79503             Ulrich Drepper  <drepper@redhat.com>
79504             H.J. Lu  <hongjiu.lu@intel.com>
79506         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79508         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79509         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79510         _mm_alignr_epi8 with _mm_loadu_si128.
79511         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79512         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79513         (__m128i_shift_right): Removed.
79514         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79515         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79516         * sysdeps/x86_64/multiarch/varshift.h: New file.
79517         * sysdeps/x86_64/multiarch/varshift.S: New file.
79519 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79521         * configure.in: Move assembler checks to before sysdep dir checking.
79523 2010-08-20  Petr Baudis  <pasky@suse.cz>
79525         * LICENSES: Sync the sunrpc license.
79527 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79529         * sunrpc/auth_des.c: Update copyright notice once again.
79530         * sunrpc/auth_none.c: Likewise.
79531         * sunrpc/auth_unix.c: Likewise.
79532         * sunrpc/authdes_prot.c: Likewise.
79533         * sunrpc/authuxprot.c: Likewise.
79534         * sunrpc/bindrsvprt.c: Likewise.
79535         * sunrpc/clnt_gen.c: Likewise.
79536         * sunrpc/clnt_perr.c: Likewise.
79537         * sunrpc/clnt_raw.c: Likewise.
79538         * sunrpc/clnt_simp.c: Likewise.
79539         * sunrpc/clnt_tcp.c: Likewise.
79540         * sunrpc/clnt_udp.c: Likewise.
79541         * sunrpc/clnt_unix.c: Likewise.
79542         * sunrpc/des_crypt.c: Likewise.
79543         * sunrpc/des_soft.c: Likewise.
79544         * sunrpc/get_myaddr.c: Likewise.
79545         * sunrpc/getrpcport.c: Likewise.
79546         * sunrpc/key_call.c: Likewise.
79547         * sunrpc/key_prot.c: Likewise.
79548         * sunrpc/openchild.c: Likewise.
79549         * sunrpc/pm_getmaps.c: Likewise.
79550         * sunrpc/pm_getport.c: Likewise.
79551         * sunrpc/pmap_clnt.c: Likewise.
79552         * sunrpc/pmap_prot.c: Likewise.
79553         * sunrpc/pmap_prot2.c: Likewise.
79554         * sunrpc/pmap_rmt.c: Likewise.
79555         * sunrpc/rpc/auth.h: Likewise.
79556         * sunrpc/rpc/auth_unix.h: Likewise.
79557         * sunrpc/rpc/clnt.h: Likewise.
79558         * sunrpc/rpc/des_crypt.h: Likewise.
79559         * sunrpc/rpc/key_prot.h: Likewise.
79560         * sunrpc/rpc/netdb.h: Likewise.
79561         * sunrpc/rpc/pmap_clnt.h: Likewise.
79562         * sunrpc/rpc/pmap_prot.h: Likewise.
79563         * sunrpc/rpc/pmap_rmt.h: Likewise.
79564         * sunrpc/rpc/rpc.h: Likewise.
79565         * sunrpc/rpc/rpc_des.h: Likewise.
79566         * sunrpc/rpc/rpc_msg.h: Likewise.
79567         * sunrpc/rpc/svc.h: Likewise.
79568         * sunrpc/rpc/svc_auth.h: Likewise.
79569         * sunrpc/rpc/types.h: Likewise.
79570         * sunrpc/rpc/xdr.h: Likewise.
79571         * sunrpc/rpc_clntout.c: Likewise.
79572         * sunrpc/rpc_cmsg.c: Likewise.
79573         * sunrpc/rpc_common.c: Likewise.
79574         * sunrpc/rpc_cout.c: Likewise.
79575         * sunrpc/rpc_dtable.c: Likewise.
79576         * sunrpc/rpc_hout.c: Likewise.
79577         * sunrpc/rpc_main.c: Likewise.
79578         * sunrpc/rpc_parse.c: Likewise.
79579         * sunrpc/rpc_parse.h: Likewise.
79580         * sunrpc/rpc_prot.c: Likewise.
79581         * sunrpc/rpc_sample.c: Likewise.
79582         * sunrpc/rpc_scan.c: Likewise.
79583         * sunrpc/rpc_scan.h: Likewise.
79584         * sunrpc/rpc_svcout.c: Likewise.
79585         * sunrpc/rpc_tblout.c: Likewise.
79586         * sunrpc/rpc_util.c: Likewise.
79587         * sunrpc/rpc_util.h: Likewise.
79588         * sunrpc/rpcinfo.c: Likewise.
79589         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79590         * sunrpc/rpcsvc/key_prot.x: Likewise.
79591         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79592         * sunrpc/rpcsvc/mount.x: Likewise.
79593         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79594         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79595         * sunrpc/rpcsvc/rex.x: Likewise.
79596         * sunrpc/rpcsvc/rstat.x: Likewise.
79597         * sunrpc/rpcsvc/rusers.x: Likewise.
79598         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79599         * sunrpc/rpcsvc/spray.x: Likewise.
79600         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79601         * sunrpc/rtime.c: Likewise.
79602         * sunrpc/svc.c: Likewise.
79603         * sunrpc/svc_auth.c: Likewise.
79604         * sunrpc/svc_authux.c: Likewise.
79605         * sunrpc/svc_raw.c: Likewise.
79606         * sunrpc/svc_run.c: Likewise.
79607         * sunrpc/svc_simple.c: Likewise.
79608         * sunrpc/svc_tcp.c: Likewise.
79609         * sunrpc/svc_udp.c: Likewise.
79610         * sunrpc/svc_unix.c: Likewise.
79611         * sunrpc/svcauth_des.c: Likewise.
79612         * sunrpc/xcrypt.c: Likewise.
79613         * sunrpc/xdr.c: Likewise.
79614         * sunrpc/xdr_array.c: Likewise.
79615         * sunrpc/xdr_float.c: Likewise.
79616         * sunrpc/xdr_mem.c: Likewise.
79617         * sunrpc/xdr_rec.c: Likewise.
79618         * sunrpc/xdr_ref.c: Likewise.
79619         * sunrpc/xdr_sizeof.c: Likewise.
79620         * sunrpc/xdr_stdio.c: Likewise.
79622         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79623         handling.
79625 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79627         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79629 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79631         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79632         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79633         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79634         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79635         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79636         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79637         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79638         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79639         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79640         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79641         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79642         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79643         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79644         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79646 2010-07-26  Anton Blanchard  <anton@samba.org>
79648         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79649         * malloc/arena.c (heap_trim): Likewise.
79651 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79653         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79654         here.  Not...
79655         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79656         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79658 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79660         * sysdeps/i386/elf/Makefile: New file.
79662 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79664         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79665         from fanotify_init.
79666         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79667         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79669 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79671         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79672         of strncasecmp_l.
79673         * sysdeps/multiarch/strcmp.S: Likewise.
79675 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79677         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79678         strncase_l-nonascii.
79679         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79680         Add strncase_l-ssse3.
79681         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79682         * sysdeps/x86_64/strcmp.S: Likewise.
79683         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79684         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79685         * sysdeps/x86_64/strncase.S: New file.
79686         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79687         * sysdeps/x86_64/strncase_l.S: New file.
79688         * string/Makefile (strop-tests): Add strncasecmp.
79689         * string/test-strncasecmp.c: New file.
79691         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79692         warning.
79694         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79695         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79697 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79699         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79701 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79703         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79704         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79705         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79707 2010-05-01  Alan Modra  <amodra@gmail.com>
79709         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79710         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79711         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79712         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79713         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79714         tidying.  Don't tail-call __sigjmp_save for static lib.
79715         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79716         save location.
79717         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79718         (CALL_MCOUNT): Add eh info, and nop after bl.
79719         (TAIL_CALL_SYSCALL_ERROR): New macro.
79720         (PSEUDO_RET): Use it.
79721         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79722         Correct save location of integer regs and cr.
79723         (_dl_profile_resolve): Correct cr save location.  Delete nops
79724         after bl when SHARED.  Reduce cfi size a little by better
79725         placement of cfi directives.
79726         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79727         make a stack frame.  Instead use parm save area as a temp.
79728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79729         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79731         Don't make a stack frame for parent, use parm save area.
79732         Increase child stack frame to 112 bytes.  Don't save unused reg,
79733         and adjust reg usage.  Set up cfi on error recovery and
79734         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79736         (__makecontext): Add dummy nop after jump to exit.
79737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79738         Use correct parm save area and cr save, reduce stack frame.
79739         Correct cfi for possible PSEUDO_RET frame setup.
79740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79741         Branch to local label emitted by PSEUDO_RET rather than
79742         __syscall_error.
79744 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79746         [BZ #11904]
79747         * locale/programs/locale.c (print_assignment): New function.
79748         (show_locale_vars): Use it.
79750 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79752         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79753         field.
79754         (struct statfs64): Likewise.
79755         (_STATFS_F_FLAGS): Define.
79756         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79757         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79758         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79759         (ST_VALID): Define locally.
79760         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79761         __statvfs_getflags, use the provided value.
79762         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79763         __ASSUME_STATFS_F_FLAGS.
79765         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79767         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79768         Add sys/fanotify.h.
79769         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79770         fanotify_mask for GLIBC_2.13.
79771         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79772         fanotify_init and fanotify_mark.
79773         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79774         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79776         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79777         Add prlimit.
79778         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79779         prlimit64 for GLIBC_2.13.
79780         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79781         prlimit64.
79782         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79783         syscall.
79784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79785         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79786         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79787         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79788         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79789         add prlimit alias.
79790         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79792         [BZ #11903]
79793         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79794         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79796         * nss/Makefile: Add rules to build and run tst-nss-test1.
79797         * shlib-versions: Add entry for libnss_test1.
79798         * nss/nss_test1.c: New file.
79799         * nss/tst-nss-test1.c: New file.
79801         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79802         (__nss_configure_lookup): Set appropriate entry in
79803         __nss_configure_lookup to true.
79804         * nss/nsswitch.h: Define enum with indeces of databases in
79805         databases and __nss_database_custom arrays.  Declare
79806         __nss_database_custom.
79807         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79808         to avoid using nscd when custom rules are installed.
79809         * nss/getXXbyYY_r.c: Likewise.
79810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79812         * nss/nss_files/files-parse.c: Whitespace fixes.
79814 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79816         [BZ #11883]
79817         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79818         * posix/fnmatch_loop.c: Likewise.
79820 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79822         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79823         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79824         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79825         * Versions.def [GLIBC_2.13]: Add.
79827 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79829         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79830         Also fail if tpwd after pwuid call is NULL.
79832 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79834         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79835         when converting to ms.
79837 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79839         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79840         EOPNOTSUPP errors with ENOTTY.
79841         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79842         EOPNOTSUPP errors with ENOTTY.
79844 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79846         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79847         Add strcasecmp_l-ssse3.
79848         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79849         strcasecmp.
79850         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79851         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79852         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79854 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79856         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79858         * string/Makefile (strop-tests): Add strcasecmp.
79859         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79860         strcasecmp_l-nonascii.
79861         (gen-as-const-headers): Add locale-defines.sym.
79862         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79863         * sysdeps/x86_64/strcasecmp.S: New file.
79864         * sysdeps/x86_64/strcasecmp_l.S: New file.
79865         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79866         * sysdeps/x86_64/locale-defines.sym: New file.
79867         * string/test-strcasecmp.c: New file.
79869         * string/test-strcasestr.c: Test both ends of the range of characters.
79870         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79872 2010-07-29  Roland McGrath  <roland@redhat.com>
79874         [BZ #11856]
79875         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79877 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79879         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79880         for ld.so.
79882 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79884         * manual/memory.texi (Malloc Tunable Parameters): Document
79885         M_PERTURB.
79887 2010-07-26  Roland McGrath  <roland@redhat.com>
79889         [BZ #11840]
79890         * configure.in (-fgnu89-inline check): Set and substitute
79891         gnu89_inline, not libc_cv_gnu89_inline.
79892         * configure: Regenerated.
79893         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79895 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79897         * string/test-strnlen.c: New file.
79898         * string/Makefile (strop-tests): Add strnlen.
79899         * string/tester.c (test_strnlen): Add a few more test cases.
79900         * string/tst-strlen.c: Better error reporting.
79902         * sysdeps/x86_64/strnlen.S: New file.
79904 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79906         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79907         lower-latency instructions.
79909 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79911         * string/test-strcasestr.c: New file.
79912         * string/test-strstr.c: New file.
79913         * string/Makefile (strop-tests): Add strstr and strcasestr.
79914         * string/str-two-way.h: Don't undefine MAX.
79915         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79917 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79919         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79920         strcasestr-nonascii.
79921         (CFLAGS-strcasestr-nonascii.c): Define.
79922         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79923         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79924         Remove unused attribute.
79926 2010-07-20  Roland McGrath  <roland@redhat.com>
79928         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79929         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79930         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79931         like LD_HWCAP_MASK can disable hwcaps.
79933 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79935         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79937 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79939         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79940         call in strcasestr.
79941         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79942         __strcasestr_sse42_nonascii.
79943         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79944         strcasestr-nonascii.c.
79945         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79947 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79949         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79950         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79951         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79952         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79954 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79956         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79957         fcntl.
79959 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79961         [BZ #11577]
79962         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79963         dl_signal_cerror.
79965 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79967         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79968         _PC_PIPE_BUF using F_GETPIPE_SZ.
79970 2010-07-05  Roland McGrath  <roland@redhat.com>
79972         * manual/arith.texi (Rounding Functions): Fix rint description
79973         implicit in round description.
79975 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79977         * elf/Makefile: Fix linking for a few tests to make recent linker
79978         happy.
79980 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79982         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79983         $(common-objpfx)libc_nonshared.a.
79985 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79987         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79988         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79989         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79990         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79991         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79992         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79993         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79994         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80009         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80010         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80011         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80012         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80013         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80014         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80015         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80016         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80017         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80018         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80019         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80020         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80036 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80038         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80039         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80040         * string/memmove.c (memmove): Renamed to ...
80041         (MEMMOVE): ...this.  Default to memmove.
80042         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80043         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80044         (END_CHK): Define.
80045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80046         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80047         mempcpy-ssse3-back memmove-ssse3-back.
80048         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80049         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80050         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80051         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80052         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80053         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80054         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80055         * sysdeps/x86_64/multiarch/memmove.c: New file.
80056         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80057         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80058         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80059         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80060         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80061         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80062         Define.
80063         (index_Fast_Copy_Backward): Define.
80064         (HAS_ARCH_FEATURE): Define.
80065         (HAS_FAST_REP_STRING): Define.
80066         (HAS_FAST_COPY_BACKWARD): Define.
80068 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80070         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80071         Restore proper fallback handling.
80073 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80075         [BZ #11701]
80076         * posix/group_member.c (__group_member): Correct checking loop.
80078         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80079         OOM in getpwuid_r correctly.  Return error number when the caller
80080         should return, otherwise -1.
80081         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80082         call returning > 0 value.
80083         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80085 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80087         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80088         libc_nonshared.a from targets in modules-names.
80090 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80092         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80093         requires it.
80095 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80097         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80098         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80099         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80100         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80102 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80104         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80106 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80108         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80109         and F_GETPIPE_SZ.
80110         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80111         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80112         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80113         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80114         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80115         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80117 2010-06-14  Roland McGrath  <roland@redhat.com>
80119         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80121 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80123         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80124         __REDIRECT followed by __THROW.
80125         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80126         * posix/getopt.h (getopt): Likewise.
80128 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80130         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80131         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80132         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80133         in AT_FLAGS.
80134         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80135         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80137 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80139         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80141 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80143         [BZ #11640]
80144         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80145         Properly check family and model.
80147 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80149         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80151 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80153         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80155 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80157         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80158         symbol reference.
80160 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80162         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80163         symbol reference.
80165 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80167         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80168         and internal_recvmmsg.
80169         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80170         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80171         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80172         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80174         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80175         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80176         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80178 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80180         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80182 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80184         POWER7 optimizations.
80185         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80186         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80188 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80190         * version.h: Update for 2.13 development version.
80192 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80194         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80195         exceptions.  Return 0.
80197 2010-05-07  Roland McGrath  <roland@redhat.com>
80199         * elf/ldconfig.c (main): Add a const.
80201 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80203         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80204         (args_options): Add no-idn option.
80205         (ahosts_keys_int): Add idn_flags to ai_flags.
80206         (parse_option): Handle 'i' option to clear idn_flags.
80208         * malloc/malloc.c (_int_free): Possible race in the most recently
80209         added check.  Only act on the data if no current modification
80210         happened.
80212 See ChangeLog.17 for earlier changes.